:root {
  --ink: #0a0a0a;
  --paper: #f7f5f0;
  --white: #ffffff;
  --gold: #d9a93b;
  --gold-light: #f0cc74;
  --muted: #706d66;
  --line: rgba(10, 10, 10, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.site-header { height: 84px; padding: 0 clamp(24px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: var(--white); position: relative; z-index: 2; }
.wordmark { display: inline-flex; gap: 11px; align-items: center; font-family: "Playfair Display", serif; letter-spacing: .09em; font-size: 1.08rem; }
.wordmark span { color: var(--gold-light); font-size: 1.35rem; letter-spacing: -.12em; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: .94rem; }
nav a:hover { color: var(--gold-light); }
.section-nav[aria-current="page"] { color: var(--gold-light); }
.nav-cta { border: 1px solid var(--gold); padding: 9px 18px; }

.hero { min-height: auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: center; gap: clamp(30px, 5vw, 76px); padding: clamp(58px, 7vw, 100px) clamp(24px, 7vw, 110px); background: var(--ink); color: var(--white); overflow: hidden; }
.hero-copy { max-width: 860px; }
.eyebrow { margin: 0 0 17px; color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: "Playfair Display", serif; line-height: 1.05; }
h1 { margin-bottom: 22px; font-size: clamp(3.25rem, 7.1vw, 7.2rem); letter-spacing: -.045em; }
h1 em { color: var(--gold-light); font-weight: inherit; }
.lede { max-width: 700px; margin: 0 0 30px; color: #cfcdc8; font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 15px 22px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--ink); }
.button-primary:hover { background: var(--gold-light); }
.text-link { display: inline-block; border-bottom: 1px solid currentColor; font-weight: 600; }
.brand-card { width: min(100%, 330px); margin: 0; align-self: center; justify-self: end; }
.brand-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(217,169,59,.4); }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.proof-strip div { min-height: 118px; padding: 25px clamp(20px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { font-family: "Playfair Display", serif; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.proof-strip span { color: var(--muted); font-size: .9rem; }

.section { padding: clamp(62px, 8vw, 110px) clamp(24px, 7vw, 110px); }
.section h2, .contact h2 { margin-bottom: 24px; font-size: clamp(2.6rem, 5vw, 5.2rem); letter-spacing: -.04em; }
.section-intro { max-width: 760px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-intro > p:last-child { max-width: 610px; color: var(--muted); font-size: 1.1rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 252px; padding: clamp(28px, 3.8vw, 48px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-no { display: block; margin-bottom: 24px; color: var(--gold); font-size: .83rem; font-weight: 600; }
.service-grid h3 { max-width: 450px; margin-bottom: 20px; font-size: clamp(1.65rem, 2.6vw, 2.5rem); }
.service-grid p { max-width: 500px; color: var(--muted); }

.portfolio-teaser { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: clamp(42px, 7vw, 100px); border-top: 1px solid var(--line); background: var(--gold); }
.portfolio-teaser h2 { max-width: 780px; margin-bottom: 0; }
.portfolio-teaser .eyebrow { color: rgba(10,10,10,.68); }
.portfolio-teaser-copy { max-width: 590px; }
.portfolio-teaser-copy p { margin: 0 0 28px; font-size: 1.1rem; }
.button-dark { background: var(--ink); color: var(--white); }

.advantages { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(42px, 7vw, 96px); background: var(--ink); color: var(--white); }
.quote-block { align-self: stretch; display: flex; align-items: flex-end; padding: clamp(32px, 5vw, 64px); border: 1px solid rgba(217,169,59,.45); background: linear-gradient(145deg, rgba(217,169,59,.12), transparent 58%); }
.quote-block p { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(1.8rem, 3vw, 3.4rem); line-height: 1.18; }
.advantage-copy ul { margin: 30px 0 0; padding: 0; list-style: none; }
.advantage-copy li { padding: 16px 0; color: #bbb8b1; border-top: 1px solid rgba(255,255,255,.16); }
.advantage-copy li strong { display: block; margin-bottom: 5px; color: var(--white); font-size: 1.07rem; }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(42px, 7vw, 100px); }
.about-copy { max-width: 710px; font-size: 1.1rem; }
.about-copy p { margin-top: 0; margin-bottom: 18px; }
.about-copy .text-link { margin-top: 12px; }

.contact { padding: clamp(62px, 8vw, 105px) clamp(24px, 12vw, 190px); text-align: center; background: var(--gold); }
.contact .eyebrow { color: rgba(10,10,10,.7); }
.contact > p:not(.eyebrow) { max-width: 630px; margin: 0 auto 26px; font-size: 1.15rem; }
.contact-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 26px; }
.button-light { background: var(--ink); color: var(--white); }
.contact-actions > a:not(.button) { font-weight: 600; border-bottom: 1px solid currentColor; }
.contact-form { max-width: 820px; margin: 42px auto 0; padding: clamp(25px, 4vw, 42px); text-align: left; border: 1px solid rgba(10,10,10,.38); background: rgba(255,255,255,.18); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.contact-form label span { font-size: .9rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(10,10,10,.46); border-radius: 0; padding: 13px 14px; background: var(--paper); color: var(--ink); font: inherit; line-height: 1.45; }
.contact-form textarea { min-height: 145px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.form-wide { grid-column: 1 / -1; }
.form-submit { margin-top: 24px; border: 0; cursor: pointer; font: inherit; }
.contact-form .form-note { max-width: none; margin: 14px 0 0; color: rgba(10,10,10,.68); font-size: .84rem; }
.form-honeypot { position: absolute; left: -9999px; }

footer { padding: 29px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; background: var(--ink); color: #aaa7a0; font-size: .86rem; }
footer .wordmark { color: var(--white); }
footer p { margin: 0; }
footer p:last-child { text-align: right; }

.thanks-page { min-height: calc(100vh - 84px); padding: clamp(70px, 12vw, 170px) clamp(24px, 12vw, 190px); background: var(--ink); color: var(--white); }
.thanks-page h1 { max-width: 900px; }
.thanks-page > p:not(.eyebrow) { margin: 0 0 32px; color: #cfcdc8; font-size: 1.18rem; }

.blog-hero, .portfolio-hero { padding: clamp(62px, 8vw, 110px) clamp(24px, 12vw, 190px) clamp(54px, 7vw, 90px); background: var(--ink); color: var(--white); }
.blog-hero h1, .portfolio-hero h1 { max-width: 900px; margin-bottom: 26px; }
.blog-hero .lede, .portfolio-hero .lede { margin-bottom: 0; }
.blog-list { min-height: 330px; padding: clamp(54px, 7vw, 92px) clamp(24px, 12vw, 190px); }
.portfolio-list { min-height: 330px; padding: clamp(54px, 7vw, 92px) clamp(24px, 12vw, 190px); }
.content-empty { max-width: 800px; padding: clamp(30px, 4vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.content-empty .eyebrow { margin-bottom: 18px; }
.content-empty h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 4rem); }
.content-empty p { max-width: 610px; margin: 0; color: var(--muted); font-size: 1.08rem; }

@media (max-width: 880px) {
  .site-header nav a:not(.nav-cta):not(.section-nav) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .brand-card { width: min(70vw, 300px); justify-self: start; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .portfolio-teaser, .advantages, .about { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .wordmark { justify-content: center; }
  footer p:last-child { text-align: center; }
}

@media (max-width: 590px) {
  .site-header { height: 72px; }
  .site-header .nav-cta { display: none; }
  .hero { padding-top: 48px; padding-bottom: 54px; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .proof-strip, .service-grid { grid-template-columns: 1fr; }
  .proof-strip div { min-height: 94px; border-right: 0; }
  .service-grid article { min-height: auto; }
  .service-no { margin-bottom: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .form-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
