/* =========================================================
   Robby Spring - site styles
   Concept: warm ground, light serif statements, portraits that
   dissolve into the page, one confident rose.
   Palette and type live in :root. Change once, applies everywhere.
   ========================================================= */
:root {
  --bg: #F6F1EB;            /* warm greige ground */
  --bg-deep: #EFE8E0;       /* slightly deeper band */
  --ink: #23201E;
  --ink-soft: #443F3A;
  --muted: #6F6862;
  --rose: #BC7275;          /* the one accent, decorative use only */
  --rose-ink: #96484C;      /* rose for text */
  --rose-btn: #96484C;      /* button fill: passes contrast with white text */
  --rose-btn-hover: #7C3A3E;
  --rose-soft: #E9CFCF;
  --line: rgba(35,32,30,.20);

  --display: "Inter", system-ui, -apple-system, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --measure: 640px;
  --wide: 1200px;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17.5px; line-height: 1.72; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; color: var(--ink-soft); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 300; color: var(--ink); letter-spacing: -0.025em; line-height: 1.12; }
h2 { font-size: clamp(2.6rem, 5vw, 4.1rem); }
h3 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); line-height: 1.18; }
em { font-style: italic; color: var(--rose-ink); }

.wide { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.section-head { max-width: 780px; margin: 0 0 clamp(40px, 5vw, 64px); text-align: left; }
.section-head .statement { margin-bottom: 20px; }
.section-head > p:last-child { margin-bottom: 0; max-width: 62ch; }
.center .measure { margin-left: auto; margin-right: auto; }
.label { display: block; font-family: var(--sans); font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-ink); margin-bottom: 20px; line-height: 1.2; }
.statement { font-family: var(--display); font-weight: 300; letter-spacing: -0.025em; font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 1.18; color: var(--ink); letter-spacing: -0.01em; margin: 0 0 28px; }
.lead { font-size: inherit; line-height: 1.72; color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 34px; border-radius: 999px; font-family: var(--sans); font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; line-height: 1; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--rose-btn); color: #fff; }
.btn-primary:hover { background: var(--rose-btn-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--rose); transition: color .2s, gap .2s; }
.link:hover { color: var(--rose-ink); gap: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,241,235,.82); backdrop-filter: blur(14px) saturate(140%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { font-family: var(--sans); font-weight: 600; font-size: .88rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); border-color: var(--rose); }
.nav-links .btn { padding: 12px 22px; border: 1px solid var(--rose-btn); color: #fff; background: var(--rose-btn); }
.nav-links .btn:hover { background: var(--rose-btn-hover); border-color: var(--rose-btn-hover); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: var(--ink); margin: 7px 0; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 26px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 18px; display: inline-flex; border-bottom: 1px solid var(--rose); }
}

/* ---------- Rhythm ---------- */
section { padding: clamp(96px, 11vw, 170px) 0; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero: contained portrait beside the copy ---------- */
.hero { padding: clamp(36px, 5vw, 84px) 0 clamp(88px, 10vw, 150px); }
.hero-inner { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 12%; border-radius: 28px; }
.hero h1 { font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.hero .title { font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 30px; }
.hero .tagline { font-family: var(--display); font-weight: 300; font-size: clamp(2.8rem, 5.2vw, 4.3rem); line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 28px; }
.hero .tagline em { color: var(--rose-ink); }
.hero .lead { max-width: 34em; }
.hero-copy p:not(.lead):not(.title):not(.tagline) { color: var(--ink-soft); }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 380px; }
}

/* ---------- Full-bleed image moment ---------- */
.moment { padding: 0; }
.moment figure { margin: 0; position: relative; }
.moment img { width: 100%; height: clamp(360px, 60vw, 760px); object-fit: cover; }
.moment figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px var(--gutter); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: linear-gradient(to top, rgba(20,18,16,.55), rgba(20,18,16,0)); }
.moment.pair .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.moment.pair img { height: clamp(260px, 40vw, 560px); }
@media (max-width: 640px) { .moment.pair .grid { grid-template-columns: 1fr; } }

/* ---------- About: text left, portrait right ---------- */
.about { position: relative; }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 28px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Work With Me: click-to-open panels ---------- */
.offer > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 28px; gap: 0 clamp(20px, 3vw, 40px); align-items: center; }
.offer > summary .preview { margin: 8px 0 0; font-size: inherit; line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }
.offer > summary:hover .preview { color: var(--ink-soft); }
.offer-body .link { margin-top: 20px; }
.offer > summary::-webkit-details-marker { display: none; }
.offer > summary h3 { margin: 0; }
.offer > summary .chev { width: 13px; height: 13px; border-right: 1.5px solid var(--rose-ink); border-bottom: 1.5px solid var(--rose-ink); transform: rotate(45deg) translate(-3px,-3px); transition: transform .25s ease; justify-self: end; }
.offer[open] > summary .chev { transform: rotate(-135deg) translate(-3px,-3px); }
.offer > summary:hover h3 { color: var(--rose-ink); }
.offer-panel { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(24px, 4vw, 56px); align-items: start; padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--line); }
.offer-panel > .spacer { }
@media (max-width: 860px) {
  .offer > summary { grid-template-columns: 40px 1fr 24px; }
  .offer-panel { grid-template-columns: 1fr; gap: 12px; }
  .offer-panel > .spacer { display: none; }
}

.offers { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 1.6vw, 20px); margin-top: clamp(48px, 6vw, 80px); max-width: 1000px; margin-left: auto; margin-right: auto; }
.offer { display: block; background: #FBF8F4; border: 1px solid rgba(35,32,30,.06); border-radius: 28px; padding: clamp(32px, 3.4vw, 48px) clamp(28px, 3.4vw, 52px); box-shadow: 0 1px 0 rgba(35,32,30,.03), 0 24px 60px -40px rgba(35,32,30,.25); }
.offer .num { font-family: var(--display); font-weight: 300; font-size: 1.1rem; color: var(--rose-ink); letter-spacing: .04em; padding-top: .35em; }
.offer-head img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; margin-top: 26px; filter: none; }
.offer h3 { margin-bottom: 10px; font-size: clamp(1.5rem, 2vw, 1.85rem); }
.offer .for { font-size: inherit; color: var(--ink-soft); margin: 0; }
.offer-body p { font-size: inherit; }
.offer .fit { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); }
@media (max-width: 800px) {
  .offer-head img { max-width: 360px; }
  .offer-head { margin-bottom: 4px; }
}

/* ---------- Bridge statement between hero and About ---------- */


/* ---------- Deep band (Selected Work) ---------- */
.deep { background: var(--bg-deep); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); margin-top: clamp(48px, 6vw, 80px); }
.work-item .org { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-ink); font-weight: 500; margin: 0 0 18px; }
.work-item h3 { margin-bottom: 12px; }
.work-item .role { font-size: .92rem; color: var(--muted); margin: 0 0 18px; }
.work-item .desc { margin-bottom: 26px; }
@media (max-width: 800px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Featured / media lists: conversation rows ---------- */
.rows { border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.row { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 12px clamp(24px, 4vw, 56px); padding: clamp(28px, 3.5vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.row.has-image { grid-template-columns: 200px 220px minmax(0, 1fr) auto; }
.row .kicker { margin: 0; padding-top: 6px; }
.row .kicker .type { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-ink); font-weight: 500; margin-bottom: 6px; }
.row .kicker .org, .row .kicker .date { display: block; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.row .thumb { margin: 0; }
.row .thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.row h3 { font-family: var(--sans); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.4; letter-spacing: 0; margin-bottom: 8px; }
.row h3 a:hover { color: var(--rose-ink); }
.row .desc { margin: 0; max-width: 60ch; }
.row .side { padding-top: 8px; white-space: nowrap; }
.row .role { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 800px) {
  .row, .row.has-image { grid-template-columns: 1fr; gap: 8px; }
  .row .kicker { padding: 0; }
  .row .thumb { max-width: 320px; }
  .row .side { padding-top: 6px; white-space: normal; }
}
.more { margin-top: 44px; }

/* ---------- Follow ---------- */
.follow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) { .follow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .follow-grid { grid-template-columns: 1fr; gap: 28px; } }
.follow-item .platform { font-family: var(--display); font-weight: 300; font-size: 1.7rem; margin-bottom: 10px; }
.follow-item p { font-size: .96rem; }


/* ---------- Contact ---------- */
.form { display: grid; gap: 34px; margin-top: 48px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
label { display: grid; gap: 10px; font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
input, select, textarea { font-family: var(--sans); font-size: 1.05rem; color: var(--ink); padding: 12px 14px; width: 100%; border: 1px solid rgba(35,32,30,.55); border-radius: 8px; background: rgba(255,255,255,.55); transition: border-color .2s, background .2s; }
select { appearance: none; -webkit-appearance: none; background-color: rgba(255,255,255,.55); background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 2px; border-color: var(--rose-ink); }
input:focus, select:focus, textarea:focus { border-color: var(--rose-ink); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: center; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 52px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-grid .tagline { color: var(--muted); font-size: .8rem; margin: 10px 0 0; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.footer-links a:hover { color: var(--rose-ink); }
.copyright { margin-top: 48px; color: var(--muted); font-size: .8rem; }

/* ---------- Media page ---------- */
.page-hero { padding: clamp(64px, 8vw, 120px) 0 0; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin-bottom: 26px; }
.page-hero .lead { margin: 0 auto; }
.subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.subnav a { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.subnav a:hover { color: var(--rose-ink); }
.media-group { padding: clamp(56px, 7vw, 100px) 0 0; }
.media-group:last-of-type { padding-bottom: clamp(56px, 7vw, 100px); }
.media-group h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.media-group .rows { margin-top: 28px; }
.media-group[hidden] { display: none; }
.clips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.clip-card video, .clip-card iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; display: block; background: #000; }
.clip-card .org { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
@media (max-width: 800px) { .clips-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Hero: headline full width, then photo and copy in two columns ---------- */
.hero { padding: clamp(40px,5vw,84px) 0 clamp(88px,10vw,150px); }
.hero-copy { max-width: 900px; }
.hero-copy h1 { margin-top: 0; }
.hero .tagline { max-width: none; margin-bottom: 34px; }
.hero-split { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: clamp(28px,3.8vw,48px); align-items: start; }
.hero-photo { margin: 0; align-self: stretch; }
.hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 12%; border-radius: 24px; }
.hero-para p:last-child { margin-bottom: 0; }

/* ---------- About: the portrait sits in the text and the words flow around it ---------- */
.flow { max-width: 860px; }
.flow::after { content: ""; display: block; clear: both; }
.flow p { max-width: none; }
.about-grid { display: block; }
.about-photo { float: right; width: 36%; margin: 6px 0 22px clamp(28px,3.4vw,44px); }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: 24px; }

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-photo { max-width: 340px; }
  .hero-photo img { height: auto; aspect-ratio: 4 / 5; }
}
@media (max-width: 720px) {
  .about-photo { float: none; width: 100%; max-width: 340px; margin: 0 0 28px; }
}

/* ---------- Very narrow phones: keep the service cards inside the screen ---------- */
@media (max-width: 400px) {
  .offer { padding: 26px 20px; border-radius: 22px; }
  .offer > summary { grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 0 14px; }
  .offer h3 { font-size: 1.28rem; overflow-wrap: break-word; }
}
