:root {
  --paper: #f7f6f3;
  --card: #fffdf9;
  --ink: #222220;
  --muted: #68655f;
  --line: #d8d5ce;
  --accent: #315d71;
  --serif: "Bookman Old Style", Bookman, Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header,
main,
.site-footer { width: min(100% - 80px, 1120px); margin: 0 auto; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.logo,
.footer-brand { display: inline-flex; flex-direction: column; gap: 5px; text-decoration: none; }
.logo span,
.footer-brand span { font: 22px/1.1 var(--serif); letter-spacing: -.02em; }
.logo small,
.footer-brand small { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav,
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 11px 24px; }
.main-nav a,
.site-footer nav a { font-size: 14px; text-decoration: none; }
.main-nav a:hover,
.site-footer nav a:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .76fr); align-items: center; gap: clamp(48px, 7vw, 92px); min-height: 670px; padding: 78px 0 92px; }
.eyebrow { margin: 0 0 25px; color: var(--muted); font-size: 13px; letter-spacing: .13em; text-transform: uppercase; }
h1,
h2,
h3 { font-family: var(--serif); font-weight: 400; }
h1 { margin: 0 0 30px; font-size: clamp(52px, 6.6vw, 88px); letter-spacing: -.048em; line-height: 1.02; }
h2 { margin: 0; font-size: clamp(38px, 5.2vw, 64px); letter-spacing: -.038em; line-height: 1.09; }
.intro { max-width: 650px; margin: 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.hero-actions > * { flex: 0 0 auto; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 23px; border: 1px solid transparent; font-size: 15px; text-decoration: none; transition: .18s ease; }
.button-primary { color: white; background: var(--ink); }
.button-primary:hover { background: var(--accent); }
.text-link { display: inline-block; border-bottom: 1px solid; font-size: 15px; line-height: 1.6; text-decoration: none; }
.hero-image { position: relative; margin: 0; }
.hero-image::before { position: absolute; top: -24px; right: -24px; width: 82%; height: 46%; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); content: ""; pointer-events: none; }
.hero-animation::before { display: none; }
.hero-image img { width: 100%; height: 510px; object-fit: cover; object-position: 53% center; filter: saturate(.78) contrast(1.03); }
.hero-animation img { object-fit: contain; object-position: center; filter: none; }
.hero-image figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.hero-image figcaption span { color: var(--ink); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero-animation figcaption span:last-child { color: var(--muted); font-weight: 400; letter-spacing: 0; text-align: right; text-transform: none; }
.animation-toggle { margin-top: 10px; padding: 0; border: 0; border-bottom: 1px solid var(--muted); color: var(--muted); background: transparent; font: 12px/1.6 var(--sans); cursor: pointer; }
.animation-toggle:hover { color: var(--ink); border-color: var(--ink); }
.hero-animation .animation-toggle { position: absolute; right: 0; bottom: -25px; margin-top: 0; }

.section-rule { padding: 104px 0 118px; border-top: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 56px; }
.section-heading > p:last-child,
.heading-row > p { margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.heading-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr); align-items: end; gap: 80px; max-width: none; }
.heading-row > p { margin: 0 0 4px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { min-height: 420px; padding: 29px 29px 31px; border: 1px solid var(--line); background: var(--card); transition: .18s ease; }
.service-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.card-number { margin: 0 0 64px; color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.service-card h3 { margin: 0 0 18px; font-size: 29px; }
.service-card > p:not(.card-number) { margin: 0; color: #494741; font-size: 16px; line-height: 1.65; }
.service-card ul { margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card li { position: relative; margin: 9px 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.service-card li::before { position: absolute; top: .55em; left: 1px; width: 6px; height: 1px; background: var(--accent); content: ""; }

.feature-band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .75fr); gap: 92px; margin: 0 calc((1120px - 100vw) / 2); padding: 100px max(40px, calc((100vw - 1120px) / 2)); color: white; background: var(--accent); }
.feature-band .eyebrow { color: rgba(255,255,255,.66); }
.feature-text { padding-top: 38px; }
.feature-text p { margin: 0 0 20px; color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.72; }

.project-section { border-top: 0; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 28px; }
.project { margin: 0; }
.project-wide { grid-column: 1 / -1; }
.project-image { overflow: hidden; background: #e6e2d9; }
.project-image img { width: 100%; height: 410px; object-fit: cover; }
.project-image.landscape img { height: auto; object-position: center; }
.project figcaption { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1fr); gap: 22px; padding-top: 18px; }
.project figcaption span { font: 19px/1.35 var(--serif); }
.project figcaption small { color: var(--muted); font-size: 14px; line-height: 1.55; }

.process-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.process-list li { min-height: 285px; padding: 22px 25px 28px 0; border-right: 1px solid var(--line); }
.process-list li:not(:first-child) { padding-left: 25px; }
.process-list li:last-child { border-right: 0; }
.process-list li > span { display: block; margin-bottom: 62px; color: var(--accent); font-size: 12px; }
.process-list h3 { margin: 0 0 13px; font-size: 23px; }
.process-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.audience-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr); align-items: start; gap: 100px; margin-bottom: 118px; padding: 94px 70px; border: 1px solid var(--line); background: var(--card); }
.audience-section ul { margin: 4px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.audience-section li { padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }

.about-section { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(0, 1fr); align-items: center; gap: 105px; }
.about-mark { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: white; }
.about-mark img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.about-animation { position: relative; border: 0; border-radius: 0; background: transparent; }
.about-animation .animation-toggle { position: absolute; bottom: 8px; left: 50%; white-space: nowrap; transform: translateX(-50%); }
.about-lead { margin: 18px 0 28px; color: var(--accent); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.about-copy > p:not(.eyebrow):not(.about-lead) { margin: 0 0 18px; color: #494741; font-size: 17px; line-height: 1.72; }

.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 54px 25px 0; font: 22px/1.35 var(--serif); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 24px; right: 7px; color: var(--accent); content: "+"; font: 300 27px/1 var(--sans); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 740px; margin: -2px 0 27px; color: var(--muted); font-size: 16px; line-height: 1.7; }

.contact-section { padding: 108px clamp(36px, 8vw, 94px); color: white; background: var(--ink); }
.contact-section .eyebrow { color: rgba(255,255,255,.58); }
.contact-section h2 { max-width: 760px; }
.contact-section > p:not(.eyebrow) { max-width: 720px; margin: 31px 0 36px; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.72; }
.button-light { color: var(--ink); border-color: white; background: white; }
.button-light:hover { color: white; background: transparent; }
.contact-section > small { display: block; margin-top: 22px; color: rgba(255,255,255,.52); font-size: 12px; letter-spacing: .08em; }

.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 42px; padding: 45px 0 50px; border-top: 1px solid var(--line); }
.site-footer > p { grid-column: 1 / -1; margin: 8px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

.legal-page { padding: 82px 0 110px; }
.legal-header { max-width: 800px; padding-bottom: 55px; border-bottom: 1px solid var(--line); }
.legal-header h1 { font-size: clamp(48px, 6vw, 76px); }
.legal-intro { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.legal-content { max-width: 800px; padding-top: 18px; }
.legal-content section { padding: 38px 0; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 18px; font-size: clamp(27px, 3vw, 36px); letter-spacing: -.025em; }
.legal-content h3 { margin: 26px 0 10px; font-size: 21px; }
.legal-content p,
.legal-content li { color: #494741; font-size: 16px; line-height: 1.72; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 14px 0; padding-left: 21px; }
.legal-content address { margin: 0 0 17px; font-style: normal; line-height: 1.7; }
.legal-content a { text-underline-offset: 3px; }
.legal-note { padding: 20px 22px; border-left: 3px solid var(--accent); background: var(--card); }
.back-link { display: inline-block; margin-top: 34px; font-size: 15px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 330px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .audience-section,
  .about-section { gap: 60px; }
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer { width: min(100% - 48px, 1120px); }
  .site-header { display: block; padding: 25px 0 20px; }
  .main-nav { justify-content: flex-start; gap: 12px 18px; margin-top: 22px; }
  .main-nav a { font-size: 13px; }
  .hero { display: block; min-height: 0; padding: 66px 0 80px; }
  h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 21px; }
  .hero-image { margin-top: 60px; }
  .hero-image::before { top: -14px; right: -12px; }
  .hero-image img { height: min(125vw, 520px); }
  .hero-image figcaption { display: block; }
  .hero-image figcaption span { display: block; margin-bottom: 3px; }
  .section-rule { padding: 76px 0 84px; }
  .section-heading { margin-bottom: 42px; }
  .heading-row,
  .feature-band,
  .audience-section,
  .about-section { grid-template-columns: 1fr; }
  .heading-row { gap: 24px; }
  .heading-row > p { margin: 0; }
  .service-grid,
  .project-grid { grid-template-columns: 1fr; }
  .service-card:last-child,
  .project-wide { grid-column: auto; }
  .service-card,
  .service-card:last-child { min-height: 0; }
  .card-number { margin-bottom: 42px; }
  .feature-band { gap: 20px; margin: 0 -24px; padding: 76px 24px; }
  .feature-text { padding-top: 8px; }
  .project-image img { height: min(92vw, 430px); }
  .project-image.landscape img { height: auto; }
  .project figcaption { grid-template-columns: 1fr; gap: 6px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li,
  .process-list li:not(:first-child) { min-height: 0; padding: 23px 0 30px; border-right: 0; border-top: 1px solid var(--line); }
  .process-list li:first-child { border-top: 0; }
  .process-list li > span { margin-bottom: 30px; }
  .audience-section { gap: 44px; margin-bottom: 84px; padding: 65px 28px; }
  .about-section { gap: 58px; }
  .about-mark { width: min(100%, 430px); margin: 0 auto; }
  .faq-list summary { font-size: 19px; }
  .contact-section { margin: 0 -24px; padding: 78px 24px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .legal-page { padding: 62px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
