/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-terracotta: #8B5E3C;
  --color-terracotta-dark: #6D4C2E;
  --color-terracotta-light: #A87B5A;
  --color-sand: #F5F0EB;
  --color-sand-dark: #E8E0D6;
  --color-cream: #FAF8F5;
  --color-charcoal: #2C2420;
  --color-dark: #1A1410;
  --color-text: #3D3028;
  --color-text-light: #6B5B50;
  --color-text-muted: #9B8B7E;
  --color-line: #E0D6CC;
  --color-white: #FFFFFF;
  
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-terracotta-dark);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ─── Typography ─── */
.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

.section-title--center {
  text-align: center;
}

.section-title--light {
  color: var(--color-white);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-light);
  max-width: 540px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-terracotta);
  color: var(--color-white);
  border-color: var(--color-terracotta);
}

.btn-primary:hover {
  background-color: var(--color-terracotta-dark);
  border-color: var(--color-terracotta-dark);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

.btn-light {
  background-color: var(--color-white);
  color: var(--color-terracotta);
  border-color: var(--color-white);
}

.btn-light:hover {
  background-color: var(--color-sand);
  border-color: var(--color-sand);
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 20px rgba(44, 36, 32, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-charcoal);
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-terracotta);
  border: 1.5px solid var(--color-terracotta);
  padding: 0.25rem 0.5rem;
  letter-spacing: 0.05em;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-menu a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--color-terracotta);
}

.nav-cta {
  color: var(--color-terracotta) !important;
  font-weight: 400 !important;
  border: 1px solid var(--color-terracotta);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease !important;
}

.nav-cta:hover {
  background-color: var(--color-terracotta) !important;
  color: var(--color-white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-charcoal);
  transition: all 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 20, 16, 0.55) 0%,
    rgba(26, 20, 16, 0.70) 50%,
    rgba(26, 20, 16, 0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: var(--space-xl) var(--space-md);
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Intro ─── */
.intro {
  padding: var(--space-2xl) 0;
  background-color: var(--color-cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.intro-text .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-terracotta);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.intro-text .link-arrow:hover {
  gap: 0.875rem;
}

.intro-image {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.intro-image:hover img {
  transform: scale(1.02);
}

/* ─── Services ─── */
.services {
  padding: var(--space-2xl) 0;
  background-color: var(--color-sand);
}

.services .section-title {
  margin-bottom: var(--space-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--color-terracotta-light);
  box-shadow: 0 8px 32px rgba(139, 94, 60, 0.08);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--color-terracotta);
  margin-bottom: var(--space-sm);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ─── About ─── */
.about {
  padding: var(--space-2xl) 0;
  background-color: var(--color-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-image-col {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.about-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.about-stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-terracotta);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background-color: var(--color-line);
}

/* ─── Craft (parallax section) ─── */
.craft {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.craft-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.craft-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 20, 16, 0.85) 0%,
    rgba(26, 20, 16, 0.70) 100%
  );
}

.craft-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.craft-content .section-title {
  margin-bottom: var(--space-sm);
}

.craft-text {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
}

.craft-materials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.material-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.material-tag:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

/* ─── Process ─── */
.process {
  padding: var(--space-2xl) 0;
  background-color: var(--color-cream);
}

.process .section-title {
  margin-bottom: var(--space-lg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.process-step {
  position: relative;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-line);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-sand-dark);
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: block;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
}

.process-step p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ─── CTA / Contact ─── */
.cta {
  padding: var(--space-2xl) 0;
  background-color: var(--color-charcoal);
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner .section-title {
  margin-bottom: var(--space-sm);
}

.cta-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-lg);
}

.cta-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.cta-phone,
.cta-email {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  color: var(--color-white);
  transition: color 0.2s ease;
}

.cta-phone:hover,
.cta-email:hover {
  color: var(--color-terracotta-light);
}

.cta-address {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
}

.cta-form {
  text-align: left;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-terracotta-light);
  background-color: rgba(255, 255, 255, 0.09);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.cta-form .btn {
  width: 100%;
  margin-top: var(--space-xs);
}

.form-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: var(--space-sm);
  text-align: center;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  color: var(--color-white);
}

.form-success svg {
  color: var(--color-terracotta-light);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
}

.form-success p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ─── Footer ─── */
.site-footer {
  background-color: var(--color-dark);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand .logo-mark {
  display: inline-block;
  width: fit-content;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-terracotta-light);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-contact a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--color-terracotta-light);
}

.footer-contact span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ─── Scroll reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    inset: 0;
    background-color: var(--color-cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .nav-menu.open {
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-menu a {
    font-size: 1rem;
  }
  
  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .intro-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .intro-image {
    order: -1;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .about-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .stat-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}
