/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background-color: #0c0a09; /* stone-950 */
  color: #f5f5f4;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* Layout helpers */
.page-root {
  min-height: 100vh;
  background-color: #0c0a09;
  color: #f5f5f4;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

.center {
  text-align: center;
}

.narrow {
  max-width: 768px;
}

/* Typography */
.brand,
.hero-title,
.philosophy-line1,
.service-number,
.service-title,
.experience-title,
.final-title,
.modal-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 300;
}

p,
button,
input,
textarea,
label {
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  padding: 2rem 0;
  transition: background-color 0.4s ease, padding 0.4s ease,
    box-shadow 0.4s ease;
  background-color: transparent;
}

.site-header.scrolled {
  padding: 1rem 0;
  background-color: rgba(12, 10, 9, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fef3c7; /* amber-100 */
  white-space: nowrap;
}

/* Navigation */
.nav-main {
  display: none;
}

@media (min-width: 768px) {
  .nav-main {
    display: flex;
    gap: 3rem;
  }
}

.nav-link {
  border: none;
  background: none;
  padding: 0;
  color: #fef3c7;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fde68a;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1600&q=80");
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) contrast(1.2) saturate(0.9);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 25, 23, 0.8),
    rgba(12, 10, 9, 0.9)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 768px;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: 0.12em;
  color: #fffbeb;
}

.hero-divider {
  width: 6rem;
  height: 1px;
  margin: 0 auto 2rem;
  background-color: rgba(254, 240, 138, 0.4);
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e7e5e4;
  margin-bottom: 3rem;
}

/* Buttons */
.btn-outline,
.btn-solid {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 3rem;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-outline {
  border-color: #fef3c7;
  background-color: transparent;
  color: #fef3c7;
}

.btn-outline:hover {
  background-color: #fef3c7;
  color: #0c0a09;
}

.btn-solid {
  background-color: #fef3c7;
  color: #0c0a09;
}

.btn-solid:hover {
  background-color: #fde68a;
}

.btn-full {
  width: 100%;
}

/* Chevron */
.hero-chevron {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 1.5s infinite;
}

.chevron-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(254, 240, 138, 0.6);
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -0.5rem);
  }
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.section-philosophy {
  background-color: #0c0a09;
}

.philosophy-line1 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #f5f5f4;
}

.philosophy-line2 {
  font-size: 1rem;
  line-height: 1.8;
  color: #a8a29e;
}

/* Services */
.section-services {
  background-color: rgba(28, 25, 23, 0.7);
}

.services-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  text-align: center;
}

.service-number {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
  color: rgba(120, 53, 15, 0.4);
}

.service-title {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fffbeb;
}

.service-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #a8a29e;
}

/* Scarcity */
.section-scarcity {
  background-color: #0c0a09;
  border-top: 1px solid rgba(120, 53, 15, 0.3);
  border-bottom: 1px solid rgba(120, 53, 15, 0.3);
}

.scarcity-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(254, 240, 138, 0.7);
  margin-bottom: 1rem;
}

.scarcity-main {
  font-size: 1.4rem;
  color: #e7e5e4;
}

.scarcity-sub {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #78716c;
}

/* Experience */
.section-experience {
  background-color: rgba(28, 25, 23, 0.7);
}

.experience-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.experience-copy {
  max-width: 32rem;
}

.experience-title {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.3;
  margin-bottom: 2rem;
  color: #fffbeb;
}

.experience-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #a8a29e;
  margin-bottom: 1rem;
}

.experience-image {
  height: 18rem;
  background-image: url("https://images.unsplash.com/photo-1559339352-11d035aa65de?w=800&q=80");
  background-size: cover;
  background-position: center;
  filter: brightness(0.7) contrast(1.1) saturate(0.8);
}

/* Final CTA */
.section-final-cta {
  background-color: #0c0a09;
}

.final-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fffbeb;
}

.final-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #a8a29e;
  margin-bottom: 2.5rem;
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem;
  background-color: #0c0a09;
  border-top: 1px solid rgba(120, 53, 15, 0.3);
}

.footer-location {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: #78716c;
}

.footer-copy {
  margin-top: 2rem;
  font-size: 0.7rem;
  color: #57534e;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  position: relative;
  background-color: #1c1917;
  border: 1px solid rgba(120, 53, 15, 0.4);
  max-width: 640px;
  width: 100%;
  padding: 3rem;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #fffbeb;
}

.modal-close {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  border: none;
  background: none;
  font-size: 1.6rem;
  color: #78716c;
  cursor: pointer;
}

.modal-close:hover {
  color: #fde68a;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(254, 240, 138, 0.7);
}

.input,
.textarea {
  width: 100%;
  border: 1px solid rgba(120, 53, 15, 0.5);
  background-color: #0c0a09;
  padding: 0.8rem 1rem;
  color: #f5f5f4;
  font-size: 0.9rem;
  outline: none;
}

.input::placeholder,
.textarea::placeholder {
  color: #57534e;
}

.input:focus,
.textarea:focus {
  border-color: #b45309;
}

.textarea {
  resize: vertical;
  min-height: 120px;
}

.modal-note {
  font-size: 0.7rem;
  line-height: 1.7;
  text-align: center;
  color: #78716c;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .modal {
    padding: 2rem 1.5rem;
  }

  .brand {
    font-size: 1.1rem;
    letter-spacing: 0.26em;
  }
}
