/* ─── Reset & Base ─────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #F2EFE9;
  --surface:     #FAFAF8;
  --white:       #FFFFFF;
  --text:        #1A1919;
  --text-muted:  #5E5B56;
  --accent:      #2B5E4C;
  --accent-light:#E8F2EE;
  --border:      #DDD9D2;

  --font-sans:   'Inter', system-ui, sans-serif;
  --font-serif:  'DM Serif Display', Georgia, serif;

  --max-w: 1080px;
  --pad-x: clamp(1.25rem, 5vw, 3rem);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Layout ────────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ─── Header ────────────────────────────────────────────────────────────────── */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo-mark {
  flex-shrink: 0;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.header-nav a:hover {
  color: var(--accent);
}

.header-nav a:last-child {
  color: var(--text);
}

.header-nav a:last-child:hover {
  color: var(--accent);
}

/* ─── Mobile Nav Toggle ────────────────────────────────────────────────────── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  padding: 6rem 0 5.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  background: var(--accent);
  padding: 0.8rem 1.75rem;
  border-radius: 3px;
  transition: opacity 0.15s;
}

.hero-cta:hover {
  opacity: 0.88;
}

/* ─── Hero Panel ────────────────────────────────────────────────────────────── */

.hero-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.25rem 2rem;
}

.hero-panel-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-panel-list li {
  font-size: 0.9375rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.4;
}

.hero-panel-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ─── Section Headers ───────────────────────────────────────────────────────── */

.section-header {
  margin-bottom: 2.75rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
}

/* ─── About ─────────────────────────────────────────────────────────────────── */

.about {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.about-content {
  max-width: 680px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-callout {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-light);
  border-radius: 0 3px 3px 0;
  font-size: 1.025rem;
  color: var(--text);
  line-height: 1.65;
  font-style: normal;
}

/* ─── Selected Work ─────────────────────────────────────────────────────────── */

.work {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.work-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.work-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 72ch;
}

.work-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.work-list li {
  font-size: 0.95rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.work-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.work-cta {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.7rem 1.5rem;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}

.work-cta:hover {
  background: var(--accent);
  color: var(--white);
}

.work-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 18ch;
  line-height: 1.4;
}

/* ─── Process ──────────────────────────────────────────────────────────────── */

.process {
  padding: 5rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.process-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.process-step h3 {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

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

/* ─── Services ──────────────────────────────────────────────────────────────── */

.services {
  padding: 5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--white);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

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

/* ─── Contact ───────────────────────────────────────────────────────────────── */

.contact {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.contact-text p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-email-note {
  margin-top: 1.5rem;
  font-size: 0.875rem !important;
}

.contact-email-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-email-note a:hover {
  opacity: 0.8;
}

/* ─── Contact Form ──────────────────────────────────────────────────────────── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.65rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A8A49E;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 94, 76, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

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

.submit-btn {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  background: var(--accent);
  border: none;
  border-radius: 3px;
  padding: 0.9rem 1.75rem;
  width: 100%;
  cursor: pointer;
  transition: opacity 0.15s;
}

.submit-btn:hover:not(:disabled) {
  opacity: 0.88;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.875rem;
  line-height: 1.4;
}

.form-status.status-success {
  color: var(--accent);
}

.form-status.status-error {
  color: #B04040;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */

.site-footer {
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-brand {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.footer-privacy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.footer-privacy:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .header-nav.nav-open {
    max-height: 300px;
  }

  .header-nav a {
    display: block;
    padding: 0.9rem var(--pad-x);
    font-size: 0.95rem;
    border-top: 1px solid var(--border);
  }

  .header-nav a:first-child {
    border-top: none;
  }

  .site-header {
    position: relative;
  }
}

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .process-step:first-child {
    padding-top: 0;
  }

  .process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-label {
    margin-bottom: 1rem;
  }

  .hero-headline {
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    display: block;
    text-align: center;
    padding: 0.9rem 1.75rem;
  }

  .hero-panel {
    padding: 1.5rem 1.25rem;
  }

  .about,
  .work,
  .process,
  .services,
  .contact {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .work-stats {
    gap: 1.5rem 2rem;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .work-cta {
    display: block;
    text-align: center;
  }

  .service-card {
    padding: 1.5rem 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
    padding: 0.75rem 0.85rem;
  }

  .submit-btn {
    padding: 1rem 1.75rem;
    font-size: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.4rem;
  }
}
