/* By Emma | shared styles */
:root {
  --background: #f7f4ef;
  --foreground: #1a1410;
  --card: #f2ede5;
  --primary: #2c1f14;
  --primary-foreground: #f7f4ef;
  --secondary: #e8e0d4;
  --muted: #e4ddd3;
  --muted-foreground: #7a6e63;
  --accent: #c8b89a;
  --border: #d9d2c8;
  --radius: 3px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--card { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--dark { background: var(--primary); color: var(--primary-foreground); }

.eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 22px;
}
.section--dark .eyebrow { color: var(--accent); }

h1 { font-size: clamp(38px, 6vw, 62px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 26px; }
.lead { font-size: 19px; color: var(--foreground); max-width: 520px; }
.muted { color: var(--muted-foreground); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 17px 32px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn--solid { background: var(--primary); color: var(--primary-foreground); }
.btn--solid:hover { background: #432f20; }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--accent); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--light { background: var(--primary-foreground); color: var(--primary); border-color: var(--primary-foreground); }
.btn--light:hover { background: var(--secondary); }
.btn--ghost-light { background: transparent; color: var(--primary-foreground); border-color: rgba(247,244,239,0.4); }
.btn--ghost-light:hover { border-color: var(--primary-foreground); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,239,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: block; line-height: 1; }
.brand-logo { display: block; height: 52px; width: auto; margin-left: -4px; }
.brand-domain { display: block; margin-top: 4px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a.nav-link { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; color: var(--muted-foreground); padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--foreground); border-bottom-color: var(--accent); }
.nav .btn { padding: 12px 22px; font-size: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--foreground); }
.nav-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 7px 0; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { padding: 72px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lead, .hero .sub { font-size: 17px; line-height: 1.7; color: var(--muted-foreground); max-width: 480px; }
.hero .lead { margin-bottom: 14px; }
.hero .sub { margin-bottom: 38px; }

.photo-frame { position: relative; width: 100%; max-width: 380px; }
/* Hero image: workspace photo with offset outline and quote card */
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px; border: 1px solid var(--border); z-index: 0; }
.hero-media img { position: relative; z-index: 1; width: 100%; height: 520px; object-fit: cover; object-position: 50% 55%; background: var(--muted); }
.hero-quote { position: absolute; right: 24px; bottom: 24px; z-index: 2; padding: 16px 20px; background: rgba(247,244,239,0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--border); font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--primary); }
.about-grid .photo-frame { justify-self: center; max-width: 340px; }
.photo-frame::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--accent);
  transform: translate(18px, 18px);
  border-radius: var(--radius);
  z-index: 0;
}
.photo-frame img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius); background: var(--muted); }
.quote-line { margin-top: 56px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted-foreground); }

/* About the brand */
.brand-statement { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.brand-statement p { color: var(--muted-foreground); font-size: 18px; }

/* Services */
.section-head { max-width: 640px; margin-bottom: 56px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 34px; transition: border-color 0.25s ease, transform 0.25s ease; }
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-num { font-family: var(--serif); font-size: 15px; color: var(--accent); letter-spacing: 0.1em; display: block; margin-bottom: 22px; }
.service-card h3 { margin-bottom: 14px; }
.service-card > p { color: var(--muted-foreground); font-size: 16px; margin-bottom: 26px; }
.tick-list li { position: relative; padding: 9px 0 9px 22px; font-size: 15.5px; border-top: 1px solid var(--border); }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.service-card--featured {
  grid-column: 1 / -1;
  background: var(--primary); color: var(--primary-foreground);
  border-color: var(--primary);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding: 52px 52px;
}
.service-card--featured:hover { border-color: var(--primary); transform: translateY(-3px); }
.service-card--featured .service-num { color: var(--accent); }
.service-card--featured > div > p { color: #cdbfae; font-size: 17px; margin-bottom: 30px; max-width: 460px; }
.service-card--featured h3 { font-size: 34px; margin-bottom: 16px; }
.featured-badge { display: inline-block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; background: var(--accent); color: var(--foreground); padding: 6px 14px; border-radius: 100px; margin-bottom: 22px; }
.service-card--featured .tick-list li { border-top-color: rgba(247,244,239,0.16); color: #ece4d8; }
.service-card--featured .tick-list li::before { background: var(--accent); }

.services-cta { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 36px; }
.services-cta p { font-family: var(--serif); font-size: 24px; font-weight: 300; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.why-item { border-top: 1px solid var(--accent); padding-top: 24px; }
.why-item h3 { font-size: 22px; margin-bottom: 10px; }
.why-item p { color: var(--muted-foreground); font-size: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; }
.about-grid h2 { margin-bottom: 28px; }
.about-grid .copy p { margin-bottom: 18px; color: var(--muted-foreground); }
.about-grid .copy .quote-line { margin-top: 30px; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 8px; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--accent); }
.step .service-num { margin-bottom: 14px; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted-foreground); font-size: 16px; }
.process-grid--four { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.section--dark .step { border-top-color: rgba(200,184,154,0.5); }
.section--dark .step p { color: #cdbfae; }

/* CTA band */
.cta-band { text-align: center; padding: 104px 0; }
.cta-band h2 { max-width: 640px; margin: 0 auto 22px; }
.cta-band p { max-width: 560px; margin: 0 auto 38px; color: var(--muted-foreground); }
.section--dark.cta-band p { color: #cdbfae; }
.cta-band .btn-row { justify-content: center; }

/* Contact */
.page-hero { padding: 72px 0 24px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { color: var(--muted-foreground); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; padding-top: 40px; padding-bottom: 112px; align-items: start; }
.contact-details li { padding: 22px 0; border-top: 1px solid var(--border); }
.contact-details li:last-child { border-bottom: 1px solid var(--border); }
.contact-details .label { display: block; font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 400; margin-bottom: 6px; }
.contact-details a, .contact-details span.value { font-family: var(--serif); font-size: 22px; font-weight: 300; }
.contact-details a:hover { color: var(--muted-foreground); }
.form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; color: var(--muted-foreground); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 17px; font-weight: 300; color: var(--foreground);
  background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0;
  padding: 10px 0; outline: none; transition: border-color 0.2s ease;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%), linear-gradient(135deg, var(--muted-foreground) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-note { margin-top: 18px; font-size: 14px; color: var(--muted-foreground); min-height: 22px; }

/* AI walkthrough page */
.ai-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.ai-hero h1 { margin-bottom: 26px; }
.stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; min-height: 440px; }
.mock-photo { width: 46%; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--secondary), var(--muted)); border: 1px solid var(--border); border-radius: var(--radius); position: relative; transform: rotate(-4deg) translateX(8%); box-shadow: 0 18px 40px rgba(44,31,20,0.08); }
.mock-photo::after { content: "Your photo"; position: absolute; left: 16px; bottom: 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 400; }
.mock-photo svg { position: absolute; inset: 18% 18% 30% 18%; width: 64%; height: 52%; opacity: 0.55; }
.mock-video { width: 44%; aspect-ratio: 9 / 16; background: var(--primary); border-radius: 22px; position: relative; transform: rotate(3deg) translateX(-8%); box-shadow: 0 24px 50px rgba(44,31,20,0.22); overflow: hidden; border: 6px solid var(--primary); }
.mock-video .screen { position: absolute; inset: 0; background: linear-gradient(170deg, #5a4331 0%, #2c1f14 70%); }
.mock-video .play { position: absolute; left: 50%; top: 46%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; border: 1px solid rgba(247,244,239,0.7); display: flex; align-items: center; justify-content: center; }
.mock-video .play::after { content: ""; margin-left: 4px; border-left: 14px solid var(--primary-foreground); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.mock-video .bar { position: absolute; left: 16px; right: 16px; bottom: 22px; height: 2px; background: rgba(247,244,239,0.25); }
.mock-video .bar::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 38%; background: var(--accent); }
.mock-video .cap { position: absolute; left: 16px; top: 18px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 400; }
.arrow { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; background: var(--background); border: 1px solid var(--accent); border-radius: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; }
.arrow svg { width: 18px; height: 18px; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; }
.benefit h3 { font-size: 22px; margin-bottom: 10px; }
.benefit p { color: var(--muted-foreground); font-size: 16px; }
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.two-col h2 { margin-bottom: 20px; }
.two-col p.muted { margin-bottom: 18px; }
.use-list li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--border); }
.use-list li:last-child { border-bottom: 1px solid var(--border); }
.use-list h4 { font-size: 21px; margin-bottom: 4px; }
.use-list p { color: var(--muted-foreground); font-size: 16px; }
.use-list .service-num { margin: 4px 0 0; min-width: 28px; }
.faq details { border-top: 1px solid var(--border); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 21px; font-weight: 300; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 22px; color: var(--accent); transition: transform 0.2s ease; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 14px; color: var(--muted-foreground); max-width: 640px; }
.note-box { margin-top: 34px; padding: 22px 26px; border-left: 2px solid var(--accent); background: var(--card); font-size: 15.5px; color: var(--muted-foreground); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 40px; background: var(--card); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-logo { display: block; width: 260px; max-width: 100%; height: auto; }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-nav a { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; color: var(--muted-foreground); }
.footer-nav a:hover { color: var(--foreground); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--muted-foreground); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .brand-statement, .about-grid, .contact-grid, .ai-hero-grid, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .services-grid, .benefit-grid, .process-grid { grid-template-columns: 1fr; }
  .process-grid--four { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .service-card--featured { grid-template-columns: 1fr; gap: 28px; padding: 40px 32px; }
  .photo-frame, .about-grid .photo-frame { max-width: 320px; margin-right: 18px; justify-self: start; }
  .hero-media { margin: 16px 0 0 16px; }
  .hero-media img { height: 320px; }
  .hero-quote { right: 14px; bottom: 14px; padding: 12px 14px; font-size: 13px; white-space: nowrap; }
  .about-grid .photo-frame { order: -1; }
  .stage { min-height: 380px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 72px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 88px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--background); border-bottom: 1px solid var(--border);
    padding: 8px 24px 24px; display: none;
  }
  .nav.open { display: flex; }
  .nav a.nav-link { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 20px; }
  .form { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .why-grid, .process-grid--four { grid-template-columns: 1fr; }
  .services-cta { flex-direction: column; align-items: flex-start; }
  .btn { padding: 16px 26px; }
  .cta-band { padding: 80px 0; }
}
.not-found { padding: 120px 0 140px; }
.not-found .btn-row { margin-top: 36px; }
