/* Agent site — one stylesheet, five looks. Theme values arrive as CSS variables
   on <body>; layout differences hang off body.hero-<variant>. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.6 var(--body);-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.08;margin:0 0 .5em;letter-spacing:-.01em}
h2{font-size:clamp(1.8rem,3.2vw,2.6rem)}
h3{font-size:1.15rem}
p{margin:0 0 1em;max-width:62ch}
main>section,.a-head,.a-foot{padding-left:max(24px,calc((100vw - 1160px)/2));padding-right:max(24px,calc((100vw - 1160px)/2))}

/* Demo bar (only on template demos) */
.demo-bar{position:sticky;top:0;z-index:20;display:flex;gap:16px;align-items:center;justify-content:space-between;padding:10px max(16px,calc((100vw - 1160px)/2));background:#141A24;color:#fff;font:500 14px/1.3 'Hanken Grotesk',system-ui,sans-serif}
.demo-bar p{margin:0}.demo-bar span{opacity:.75}
.demo-bar nav{display:flex;gap:16px;align-items:center;white-space:nowrap}
.demo-bar a{color:#fff}
.demo-bar .demo-cta{background:#fff;color:#141A24;padding:7px 14px;border-radius:999px;text-decoration:none;font-weight:600}
.is-thumb .demo-bar{display:none}
@media (max-width:640px){.demo-bar span{display:none}}

/* Header */
.a-head{display:flex;justify-content:space-between;align-items:center;padding-top:22px;padding-bottom:22px;gap:16px}
.a-brand{font:600 1.25rem/1 var(--display);text-decoration:none}
.a-head nav{display:flex;gap:22px;align-items:center;font-size:15px}
.a-head nav a{text-decoration:none}
@media (max-width:700px){.a-head nav a:not(.a-btn){display:none}}

/* Buttons */
.a-btn{display:inline-block;background:var(--accent);color:var(--accent-ink);padding:14px 24px;border-radius:var(--r);text-decoration:none;font-weight:600;border:0;font-family:inherit;font-size:16px;cursor:pointer}
.a-btn-sm{padding:9px 16px;font-size:14px}
.a-link{font-weight:600;text-underline-offset:4px}
.a-ctas{display:flex;flex-wrap:wrap;gap:22px;align-items:center;margin-top:28px}

/* Hero base */
.a-hero{padding-top:48px;padding-bottom:88px}
.a-hero h1{font-size:clamp(2.6rem,6vw,4.8rem)}
.a-kicker{font-size:15px;color:var(--muted);margin-bottom:18px}
.a-lede{font-size:clamp(1.2rem,2vw,1.45rem);line-height:1.4}
.a-photo{margin:0;overflow:hidden;border-radius:var(--r);aspect-ratio:4/5}
.a-photo svg{width:100%;height:100%}

/* Sections */
.a-sec{padding-top:88px;padding-bottom:88px;border-top:1px solid var(--line)}
.a-about-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:64px;margin-top:24px}
.a-bio p:first-child{font-size:1.2rem;line-height:1.5}
.a-spec ul{list-style:none;padding:0;margin:0 0 20px}
.a-spec li{padding:12px 0;border-bottom:1px solid var(--line)}
.a-area{color:var(--muted);font-size:15px}
.a-props{list-style:none;padding:0;margin:32px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.a-props figure{margin:0}
.a-props svg{aspect-ratio:4/3;width:100%;height:auto;border-radius:var(--r)}
.a-props figcaption{display:flex;flex-direction:column;gap:2px;padding-top:14px}
.a-props figcaption span:last-child{color:var(--muted);font-size:15px}
.a-status{font-size:13px;font-weight:600;color:var(--accent)}
.a-note{font-size:14px;color:var(--muted);margin-top:24px}
.a-quotes{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:24px}
.a-quotes figure{margin:0}
.a-quotes blockquote{margin:0 0 14px;font:500 clamp(1.3rem,2.2vw,1.7rem)/1.35 var(--display)}
.a-quotes figcaption{color:var(--muted);font-size:15px}
.a-social-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:12px}
.a-handles{display:flex;gap:18px;margin:0}
.a-ig{list-style:none;padding:0;margin:24px 0 0;display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.a-ig svg{aspect-ratio:1;width:100%;height:auto;border-radius:calc(var(--r) / 2)}
.a-ig span{display:block;font-size:13px;color:var(--muted);margin-top:6px;line-height:1.3}
.a-links ul{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;gap:12px}
.a-links a{display:inline-block;padding:14px 22px;border:1.5px solid var(--ink);border-radius:var(--r);text-decoration:none;font-weight:600}
.a-contact{display:grid;grid-template-columns:1fr 1fr;gap:64px}
.a-contact dl{display:grid;grid-template-columns:auto 1fr;gap:8px 20px;margin:28px 0 0}
.a-contact dt{color:var(--muted)}.a-contact dd{margin:0;font-weight:600}
.a-form{display:grid;gap:16px;background:var(--surface);padding:32px;border-radius:var(--r)}
.a-form label{display:grid;gap:6px;font-size:15px;font-weight:600}
.a-form label span{font-weight:400;color:var(--muted)}
.a-form input,.a-form textarea{font:inherit;padding:12px 14px;border:1px solid var(--line);border-radius:calc(var(--r) / 2);background:var(--bg);color:var(--ink)}
.a-form-msg{margin:0;font-size:15px}
.a-foot{padding-top:48px;padding-bottom:56px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.a-foot div{display:flex;flex-direction:column;margin-bottom:16px;color:var(--ink)}
.a-foot p{margin:0 0 8px}
.a-made{margin-top:20px!important}

/* 1. Heritage: split */
.hero-split .a-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:72px;align-items:center}
.hero-split .a-hero h1{font-weight:500;font-size:clamp(3rem,7vw,5.6rem)}
.hero-split h2{font-weight:500}
.hero-split .a-photo{border:1px solid var(--line);padding:14px;background:var(--surface)}

/* 2. Meridian: giant type */
.hero-type .a-hero h1{font-size:clamp(4rem,15vw,13rem);font-weight:800;font-stretch:72%;line-height:.86;letter-spacing:-.04em;text-transform:uppercase;margin-bottom:40px}
.hero-type .a-hero-row{display:grid;grid-template-columns:1fr 340px;gap:56px;align-items:end;border-top:2px solid var(--ink);padding-top:28px}
.hero-type .a-photo{aspect-ratio:1}
.hero-type h2{font-weight:800;font-stretch:80%;text-transform:uppercase;letter-spacing:-.02em}
.hero-type .a-sec{border-top:2px solid var(--ink)}
.hero-type .a-links a{border-width:2px}
.hero-type .a-spec li{border-color:#ccc}

/* 3. Tidewater: centered */
.hero-centered .a-hero{text-align:center;display:flex;flex-direction:column;align-items:center}
.hero-centered .a-hero p{margin-left:auto;margin-right:auto}
.hero-centered .a-hero h1{font-weight:500;max-width:14ch;font-variation-settings:'SOFT' 100}
.hero-centered .a-photo{width:168px;aspect-ratio:1;border-radius:50%;margin-bottom:28px;border:6px solid var(--surface);box-shadow:0 0 0 1px var(--line)}
.hero-centered .a-ctas{justify-content:center}
.hero-centered .a-sec{border:0}
.hero-centered .a-reviews,.hero-centered .a-links{background:var(--surface)}
.hero-centered h2{font-weight:500}
.hero-centered .a-btn,.hero-centered .a-links a{border-radius:999px}

/* 4. Estate: full-bleed illustration */
.hero-fullbleed .a-hero{position:relative;min-height:78vh;display:flex;align-items:flex-end;padding-top:0;overflow:hidden}
.hero-fullbleed .a-hero-art{position:absolute;inset:0;opacity:.55}
.hero-fullbleed .a-hero-art svg{width:100%;height:100%}
.hero-fullbleed .a-hero-copy{position:relative;max-width:720px;background:var(--bg);padding:40px 44px 44px;margin-left:-44px}
.hero-fullbleed .a-hero h1{font-weight:500;letter-spacing:.02em}
.hero-fullbleed h2{font-weight:500;letter-spacing:.02em}
.hero-fullbleed .a-kicker{color:var(--accent)}
.hero-fullbleed .a-links a{border-color:var(--accent);color:var(--accent)}
.hero-fullbleed .a-head{border-bottom:1px solid var(--line)}
@media (max-width:800px){.hero-fullbleed .a-hero-copy{margin-left:0;padding:28px}}

/* 5. Studio: editorial, bold color */
.hero-editorial .a-hero{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center}
.hero-editorial .a-hero h1{font-weight:800;font-size:clamp(2.8rem,6.4vw,5.4rem);letter-spacing:-.035em}
.hero-editorial h2{font-weight:800;letter-spacing:-.03em}
.hero-editorial .a-hero-stack{position:relative}
.hero-editorial .a-photo{transform:rotate(2deg);border:8px solid var(--surface);box-shadow:0 18px 40px -20px rgba(43,27,75,.45)}
.hero-editorial .a-sticker{position:absolute;left:-28px;bottom:36px;background:var(--accent);color:var(--accent-ink);padding:14px 20px;border-radius:999px;font-weight:800;transform:rotate(-6deg);margin:0}
.hero-editorial .a-sec{border:0}
.hero-editorial .a-reviews{background:var(--accent);color:var(--accent-ink)}
.hero-editorial .a-reviews figcaption,.hero-editorial .a-reviews .a-note{color:var(--accent-ink);opacity:.8}
.hero-editorial .a-links a{background:var(--surface);border-color:transparent}

/* Responsive */
@media (max-width:860px){
  .hero-split .a-hero,.hero-editorial .a-hero,.a-about-grid,.a-contact,.a-quotes{grid-template-columns:1fr;gap:40px}
  .hero-type .a-hero-row{grid-template-columns:1fr}
  .hero-type .a-photo{max-width:280px}
  .hero-split .a-photo,.hero-editorial .a-hero-stack{max-width:360px}
  .a-props{grid-template-columns:1fr 1fr}
  .a-ig{grid-template-columns:repeat(3,1fr)}
  .a-sec{padding-top:64px;padding-bottom:64px}
}
@media (max-width:520px){.a-props{grid-template-columns:1fr}.a-form{padding:22px}.hero-editorial .a-sticker{left:8px}}
/* Photos (when provided) */
.a-photo img{width:100%;height:100%;object-fit:cover;display:block}
.a-props img{aspect-ratio:4/3;width:100%;height:auto;object-fit:cover;border-radius:var(--r);display:block}
.a-cover{width:100%;height:100%;object-fit:cover;display:block}
.hero-fullbleed .a-hero-art:has(img){opacity:1}
.hero-fullbleed .a-hero-art:has(img)::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,39,31,.75),rgba(20,39,31,.15))}
