:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6da;
  --card: #fbfaf6;
  --ink: #141414;
  --ink-2: #2b2b2b;
  --muted: #6a655b;
  --line: #d8d1c2;
  --line-soft: #e4dfd3;
  --accent: #1d5c46;
  --accent-ink: #f4f1ea;
  --mint: #7fe0b5;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 761px) { .container { padding: 0 32px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.86);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1; }
.logo-mark { font-family: var(--serif); font-style: italic; font-size: 1.9rem; letter-spacing: -0.02em; }
.logo-word { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; font-size: 0.95rem; color: var(--ink-2); }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.97rem; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--accent); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--mint); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 0.9rem; }

/* Labels */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 6.4rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500;
  max-width: 13ch;
}
.hero h1 em { color: var(--accent); letter-spacing: -0.02em; }
.hero-meta {
  margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-meta p { max-width: 560px; font-size: 1.12rem; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mosaic {
  margin-top: 48px; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
  height: clamp(420px, 52vw, 640px);
}
.mosaic figure { position: relative; overflow: hidden; border-radius: 6px; background: var(--paper-2); }
.mosaic figure:first-child { grid-row: 1 / 3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  background: rgba(244, 241, 234, 0.92); color: var(--ink);
}

/* Capabilities strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 72px; overflow: hidden; }
.strip-track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.strip-track span {
  display: inline-flex; align-items: center; gap: 28px; padding: 22px 28px 22px 0;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); white-space: nowrap;
}
.strip-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.section-head h2, .h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; margin-top: 18px;
}
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 460px; justify-self: end; }

/* Intro statement */
.statement { padding: 120px 0 40px; }
.statement p {
  font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.18; letter-spacing: -0.03em; font-weight: 450; max-width: 22ch;
}
.statement p { max-width: 30ch; }
.statement p em { color: var(--accent); }
.facts { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 22px 24px 0 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font-weight: 600; }
.facts span { color: var(--muted); font-size: 0.95rem; }

/* Services */
.services { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.services-photo { position: sticky; top: 100px; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.services-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-list { list-style: none; border-top: 1px solid var(--ink); }
.service { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-num { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--accent); line-height: 1.5; }
.service h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.service p { margin-top: 8px; color: var(--muted); }
.tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 0.8rem; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }

/* Content types */
.creates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.create figure { overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 5; background: var(--paper-2); }
.create img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.create:hover img { transform: scale(1.04); }
.create h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.create p { margin-top: 4px; color: var(--muted); font-size: 0.97rem; }

/* Process (dark) */
.dark { background: var(--ink); color: var(--paper); }
.dark .label { color: rgba(244, 241, 234, 0.6); }
.dark .section-head p { color: rgba(244, 241, 234, 0.65); }
.dark h2 em { color: var(--mint); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(244, 241, 234, 0.18); }
.step { padding: 32px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid rgba(244, 241, 234, 0.18); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--mint); }
.step h3 { margin-top: 26px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: rgba(244, 241, 234, 0.68); font-size: 0.97rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--card); }
.plan { display: flex; flex-direction: column; padding: 38px 34px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { background: var(--accent); color: var(--accent-ink); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; }
.plan .pill { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--mint); color: var(--ink); }
.plan .for { margin-top: 8px; color: var(--muted); font-size: 0.97rem; min-height: 52px; }
.plan.featured .for { color: rgba(244, 241, 234, 0.75); }
.price { margin-top: 26px; display: flex; align-items: baseline; gap: 8px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.plan.featured .price { border-color: rgba(244, 241, 234, 0.25); }
.price strong { font-size: 3.1rem; letter-spacing: -0.04em; line-height: 1; font-weight: 500; }
.price strong.serif { font-size: 2.9rem; }
.price span { color: var(--muted); }
.plan.featured .price span { color: rgba(244, 241, 234, 0.75); }
.plan ul { list-style: none; margin: 26px 0 32px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 12px; font-size: 0.97rem; }
.plan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--accent); }
.plan.featured li::before { background: var(--mint); }
.plan .btn { width: 100%; }
.plan.featured .btn-line { border-color: var(--paper); color: var(--paper); }
.plan.featured .btn-line:hover { background: var(--paper); color: var(--ink); }
.pricing-notes { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; color: var(--muted); font-size: 0.95rem; }
.pricing-notes b { color: var(--ink); font-weight: 600; }
.pricing-notes a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .h2 { margin-top: 18px; }
.faq-wrap .side p { margin-top: 20px; color: var(--muted); max-width: 340px; }
.faq-wrap .side a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); }
.faq a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 8px; overflow: hidden; background: var(--ink); color: var(--paper); }
.contact-photo { min-height: 520px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-body { padding: 64px 56px; display: flex; flex-direction: column; }
.contact-body .label { color: rgba(244, 241, 234, 0.6); }
.contact-body .h2 { margin-top: 18px; }
.contact-body .h2 em { color: var(--mint); }
.contact-body > p { margin-top: 18px; color: rgba(244, 241, 234, 0.72); max-width: 440px; }
.contact-mail {
  margin-top: 36px; display: inline-block; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); border-bottom: 1px solid rgba(244, 241, 234, 0.35); padding-bottom: 6px;
  word-break: break-all; align-self: flex-start; transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-mail:hover { color: var(--mint); border-color: var(--mint); }
.contact-details { margin-top: auto; padding-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: 0.95rem; }
.contact-details small { display: block; color: rgba(244, 241, 234, 0.55); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }

/* Footer */
.site-footer { padding: 96px 0 32px; }
.footer-word {
  font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 14vw, 13rem); line-height: 0.9; letter-spacing: -0.04em;
  border-bottom: 1px solid var(--ink); padding-bottom: 24px; white-space: nowrap; overflow: hidden;
}
.footer-grid { margin-top: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; font-size: 0.95rem; }
.footer-grid h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--ink-2); max-width: 320px; }
.footer-bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 0.85rem;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* Legal pages */
.legal { max-width: 820px; padding: 72px 20px 110px; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.legal .back:hover { color: var(--ink); }
.legal h1 { margin-top: 28px; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.04em; line-height: 1; font-weight: 500; }
.legal .updated { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.legal .intro { margin-top: 36px; padding: 24px 26px; border-left: 2px solid var(--accent); background: var(--card); color: var(--ink-2); }
.legal h2 { margin-top: 52px; font-size: 1.45rem; font-weight: 500; letter-spacing: -0.02em; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { font-weight: 600; color: var(--ink); }
.legal-footer { border-top: 1px solid var(--line); padding: 26px 0 32px; color: var(--muted); font-size: 0.88rem; }
.legal-footer .container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.legal-footer a:hover { color: var(--ink); }

/* Focus */
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Responsive */
@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr; gap: 40px; }
  .services-photo { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid rgba(244, 241, 234, 0.18); margin-top: 24px; }
  .pricing { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact { grid-template-columns: 1fr; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hero { padding: 44px 0 24px; }
  .hero-meta { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .mosaic figure:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaic figure:not(:first-child) { aspect-ratio: 3 / 4; }
  .strip { margin-top: 48px; }
  .section { padding: 84px 0; }
  .statement { padding: 84px 0 24px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .section-head p { justify-self: start; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .service { grid-template-columns: 44px 1fr; }
  .creates { grid-template-columns: 1fr; gap: 36px; }
  .create figure { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step, .step:nth-child(3) { padding: 26px 0; border-left: 0; margin-top: 0; }
  .step + .step { border-top: 1px solid rgba(244, 241, 234, 0.18); }
  .plan { padding: 32px 24px; }
  .plan .for { min-height: 0; }
  .pricing-notes { grid-template-columns: 1fr; }
  .contact-body { padding: 40px 24px; }
  .contact-details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .strip-track { animation: none; }
}
