/* ==========================================================================
   danschembri.mt
   Layout idea: a black studio with one moving key light. Glass is the only
   material, and it shows where the light lands. Type is white, large, tight.
   Single theme by choice: the site is black everywhere.
   ========================================================================== */
:root{
  color-scheme: dark;

  --black: #000;
  --ink:   #fff;
  --ink-2: rgba(255,255,255,.80);
  --ink-3: rgba(255,255,255,.68);
  --glass: rgba(255,255,255,.07);
  --rim:   rgba(255,255,255,.26);

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.8,.2,1);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; }
body{
  background:var(--black); color:var(--ink);
  font-family:var(--font-body); font-size:17px; line-height:1.47; letter-spacing:-.011em;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden; overflow-x:clip;
}
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; }
ul{ list-style:none; }
:focus-visible{ outline:2px solid #fff; outline-offset:3px; }

/* ---------- Light: the only thing that moves ---------- */
.stage{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.orb{ position:absolute; border-radius:50%; will-change:transform; }
.orb.a{ width:54vmax; height:54vmax; left:-16vmax; top:-22vmax;
  background:radial-gradient(circle, rgba(255,255,255,.20), rgba(255,255,255,.05) 40%, transparent 66%);
  animation:driftA 38s ease-in-out infinite alternate; }
.orb.b{ width:44vmax; height:44vmax; right:-16vmax; top:36vh;
  background:radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,.04) 40%, transparent 66%);
  animation:driftB 46s ease-in-out infinite alternate; }
.orb.c{ width:36vmax; height:36vmax; left:18vw; bottom:-20vmax;
  background:radial-gradient(circle, rgba(255,255,255,.11), rgba(255,255,255,.03) 40%, transparent 66%);
  animation:driftC 54s ease-in-out infinite alternate; }
@keyframes driftA{ to{ transform:translate3d(14vw, 10vh, 0) scale(1.1); } }
@keyframes driftB{ to{ transform:translate3d(-18vw, -16vh, 0) scale(.92); } }
@keyframes driftC{ to{ transform:translate3d(16vw, -10vh, 0) scale(1.14); } }
.key{ position:absolute; left:0; top:0; width:620px; height:620px; margin:-310px 0 0 -310px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.17), rgba(255,255,255,.05) 38%, transparent 66%);
  transform:translate3d(50vw, 32vh, 0); will-change:transform; }

/* ---------- Glass ---------- */
.glass{
  position:relative; isolation:isolate;
  background:linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  -webkit-backdrop-filter:blur(26px) saturate(160%) brightness(1.08);
          backdrop-filter:blur(26px) saturate(160%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -1px 0 rgba(255,255,255,.07),
    0 24px 60px -20px rgba(0,0,0,.8);
}
/* rim light: bright where light enters and leaves the edge */
.glass::before{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; pointer-events:none; z-index:2;
  background:linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.07) 32%, rgba(255,255,255,.05) 66%, rgba(255,255,255,.38));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
}
/* specular: follows the pointer across the surface */
.glass::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:0;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,0%), rgba(255,255,255,.16), transparent 62%);
  opacity:0; transition:opacity .35s ease;
}
.glass:hover::after{ opacity:1; }
.glass > *{ position:relative; z-index:1; }

/* ---------- Layout ---------- */
main, footer{ position:relative; z-index:1; }
.wrap{ width:100%; max-width:calc(var(--wrap) + var(--gutter) * 2); margin-inline:auto; padding-inline:var(--gutter); }
.section{ padding-block:clamp(72px, 11vh, 132px); scroll-margin-top:72px; }
.sec-head{ text-align:center; margin-bottom:clamp(32px, 5vh, 56px); display:grid; gap:14px; justify-items:center; }
.sec-head h2{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(2.3rem, 6vw, 4.6rem); line-height:1; letter-spacing:-.045em; text-wrap:balance;
}
.sec-head p{ color:var(--ink-2); font-size:clamp(1.05rem, 1.7vw, 1.3rem); max-width:36ch; text-wrap:balance; }
.note{ margin-top:18px; text-align:center; font-size:13px; color:var(--ink-3); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:52px; padding:0 28px; border-radius:999px; border:0; cursor:pointer;
  font-family:var(--font-body); font-size:16px; font-weight:600; letter-spacing:-.01em; white-space:nowrap;
  transition:transform .3s var(--ease), background .3s ease;
}
.btn:hover{ transform:scale(1.035); }
.btn:active{ transform:scale(.98); }
.btn.solid{ background:#fff; color:#000; }
.btn.clear{ color:#fff; }
.btn.small{ height:38px; padding:0 18px; font-size:14px; }

/* ---------- Nav ---------- */
.nav{
  position:fixed; top:14px; left:50%; transform:translateX(-50%); z-index:50;
  display:flex; align-items:center; gap:4px; padding:6px 6px 6px 22px;
  border-radius:999px; width:max-content; max-width:calc(100% - 32px);
}
.nav .mark{ font-family:var(--font-display); font-weight:600; font-size:15px; letter-spacing:-.02em; margin-right:12px; white-space:nowrap; }
.nav .link{ font-size:14px; color:var(--ink-2); padding:8px 13px; border-radius:999px; white-space:nowrap; transition:color .2s, background .2s; }
.nav .link:hover{ color:#fff; background:rgba(255,255,255,.1); }
.nav .btn{ margin-left:8px; }

/* ---------- Hero ---------- */
.hero{ text-align:center; padding-block:clamp(150px, 23vh, 240px) clamp(64px, 9vh, 110px); display:grid; justify-items:center; gap:clamp(20px, 3vh, 30px); }
.hero .eyebrow{ font-size:14px; font-weight:500; color:var(--ink-2); letter-spacing:0; }
.hero h1{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(3.5rem, 11.4vw, 9.6rem); line-height:.94; letter-spacing:-.055em; text-wrap:balance;
  padding-bottom:.08em;
  color:#fff;
}
.hero .sub{ color:var(--ink-2); font-size:clamp(1.15rem, 2.1vw, 1.6rem); line-height:1.28; letter-spacing:-.022em; max-width:27em; text-wrap:balance; }
.hero .cta{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:8px; }

/* ---------- Logo wall ---------- */
.logos{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.logo{ flex:0 0 calc((100% - 56px) / 5); aspect-ratio:16/10; border-radius:28px; display:grid; place-items:center; padding:18px; text-align:center;
  transition:transform .5s var(--ease); }
.logo:hover{ transform:translateY(-4px); }
.logo span{ font-family:var(--font-display); font-weight:600; font-size:clamp(13px, 1.3vw, 17px); line-height:1.2; letter-spacing:-.01em; color:rgba(255,255,255,.82); text-wrap:balance; }
.logo img{ max-width:68%; max-height:46%; object-fit:contain; }

/* ---------- Start a project ---------- */
.brief{ max-width:820px; margin-inline:auto; border-radius:38px; padding:clamp(22px, 4vw, 46px); }
.brief-top{ display:flex; align-items:center; gap:16px; margin-bottom:clamp(22px, 3vw, 34px); }
.count{ font-size:13px; color:var(--ink-3); font-variant-numeric:tabular-nums; white-space:nowrap; }
.track{ flex:1; height:4px; border-radius:99px; background:rgba(255,255,255,.14); overflow:hidden; }
.track i{ display:block; height:100%; width:0; border-radius:inherit; background:#fff; transition:width .7s var(--ease); }
.stepbody{ min-height:318px; display:flex; flex-direction:column; }
.stepbody.swap{ animation:swap .45s var(--ease); }
@keyframes swap{ from{ opacity:0; transform:translateY(10px); } }
.q{ font-family:var(--font-display); font-weight:600; font-size:clamp(1.65rem, 3.7vw, 2.7rem); line-height:1.06; letter-spacing:-.04em; text-wrap:balance; }
.opts{ display:grid; grid-template-columns:repeat(2, 1fr); grid-auto-flow:column; grid-template-rows:repeat(var(--rows, 3), auto); gap:10px; margin-top:clamp(20px, 3vw, 30px); }
.opt{
  min-height:60px; padding:10px 20px; border-radius:20px; text-align:left; cursor:pointer;
  font-size:17px; font-weight:500; letter-spacing:-.015em; color:#fff;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.13);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  transition:background .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease);
}
.opt:hover{ background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.3); }
.opt:active{ transform:scale(.985); }
.opt[aria-pressed="true"]{ background:#fff; color:#000; border-color:#fff; }
.brief-foot{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:auto; padding-top:22px; min-height:60px; }
.textbtn{ background:none; border:0; cursor:pointer; font-size:15px; color:var(--ink-2); padding:8px 4px; border-radius:8px; }
.textbtn:hover{ color:#fff; }
.textbtn[hidden]{ display:none; }
.hint{ font-size:13px; color:var(--ink-3); margin-left:auto; }

.done-label{ margin-top:22px; font-size:13px; color:var(--ink-3); }
.bubble{
  margin-top:8px; padding:18px 20px; border-radius:20px; max-width:520px; user-select:text;
  background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.14);
  font-size:15.5px; line-height:1.5; white-space:pre-wrap; color:rgba(255,255,255,.92);
}
.done-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:auto; padding-top:24px; }

/* ---------- Testimonials ---------- */
.quotes{ display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:0;
  padding:4px 2px 18px; margin:-4px -2px 0; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.3) transparent; overscroll-behavior-x:contain; }
.quotes::-webkit-scrollbar{ height:6px; }
.quotes::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.3); border-radius:99px; }
.quote{ flex:0 0 calc((100% - 28px) / 3); scroll-snap-align:start; border-radius:32px; padding:clamp(24px, 3vw, 34px);
  min-height:300px; display:flex; flex-direction:column; justify-content:space-between; gap:28px; }
.quote blockquote p{ font-family:var(--font-display); font-weight:600; font-size:clamp(1.25rem, 1.9vw, 1.55rem); line-height:1.2; letter-spacing:-.03em; text-wrap:pretty; }
.quote blockquote p::before{ content:"\201C"; }
.quote blockquote p::after{ content:"\201D"; }
.by{ display:grid; gap:2px; font-size:15px; }
.by-name{ font-weight:600; }
.by-role{ color:var(--ink-2); }
.carousel-ctrl{ display:flex; justify-content:flex-end; gap:10px; margin-top:8px; }
.arrow{ width:44px; height:44px; border-radius:50%; border:0; cursor:pointer; color:#fff; font-size:18px; display:grid; place-items:center;
  transition:background .25s, color .25s, opacity .25s; }
.arrow:hover{ background:#fff; color:#000; }
.arrow:disabled{ opacity:.35; cursor:default; background:transparent; color:#fff; }
@media (max-width:900px){ .quote{ flex-basis:calc((100% - 14px) / 2); } }
@media (max-width:680px){ .quote{ flex-basis:86%; min-height:260px; } }

/* ---------- Journal ---------- */
.posts{ display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.post{
  border-radius:32px; padding:28px; min-height:320px; justify-content:flex-start !important; text-align:left; color:#fff;
  display:flex; flex-direction:column; justify-content:space-between; gap:28px;
  transition:transform .5s var(--ease);
}
.post:hover, .post:focus-within{ transform:translateY(-4px); }
.post-open{ all:unset; cursor:pointer; }
.post-open::after{ content:""; position:absolute; inset:0; border-radius:32px; z-index:3; }
.post-open:focus-visible::after{ outline:2px solid #fff; outline-offset:3px; }
.post .tag{ font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
.post h2, .post h3{ font-family:var(--font-display); font-weight:600; font-size:clamp(1.45rem, 2.4vw, 2rem); line-height:1.08; letter-spacing:-.035em; text-wrap:balance; }
.post .meta{ display:flex; justify-content:space-between; align-items:center; font-size:14px; color:var(--ink-3); }
.post .go{ width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.1); color:#fff; font-size:18px; transition:background .25s, color .25s; }
.post:hover .go, .post:focus-within .go{ background:#fff; color:#000; }

/* featured image: WordPress post thumbnail, 16:9 */
.post-img{ display:block; width:calc(100% + 32px); max-width:none; height:auto; aspect-ratio:16/9; object-fit:cover; margin:-16px -16px 4px; border-radius:22px; background:#111; }
.post .meta{ margin-top:auto; }
.sheet-img{ display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:24px; margin-top:26px; background:#111; }

/* ---------- Article sheet ---------- */
dialog.sheet{
  margin:auto; width:min(760px, calc(100% - 24px)); max-height:min(86vh, 860px);
  border:0; padding:0; background:transparent; color:#fff; border-radius:36px; overflow:visible;
}
dialog.sheet::backdrop{ background:rgba(0,0,0,.62); -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); }
.sheet-inner{ border-radius:36px; padding:clamp(26px, 5vw, 56px); max-height:min(86vh, 860px); overflow:auto;
  background:linear-gradient(180deg, rgba(34,34,36,.86), rgba(14,14,15,.9)); }
/* scrolling panels: the rim and highlight layers would scroll with the text, so use a fixed border instead */
.sheet-inner.glass::before, .sheet-inner.glass::after{ display:none; }
.sheet-inner{ border:1px solid rgba(255,255,255,.24); }
.sheet-inner .tag{ font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
.sheet-inner h2{ margin-top:14px; font-family:var(--font-display); font-weight:600; font-size:clamp(2rem, 5vw, 3.4rem); line-height:1.02; letter-spacing:-.045em; text-wrap:balance; }
.sheet-inner .meta{ margin-top:14px; font-size:14px; color:var(--ink-3); }
.sheet-inner .body{ margin-top:30px; display:grid; gap:18px; max-width:62ch; font-size:19px; line-height:1.55; color:rgba(255,255,255,.86); letter-spacing:-.014em; }
.sheet-inner .end{ margin-top:34px; padding-top:26px; border-top:1px solid rgba(255,255,255,.14); display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; }
.sheet-inner .end p{ font-family:var(--font-display); font-weight:600; font-size:1.3rem; letter-spacing:-.03em; }
.close{ position:absolute; top:16px; right:16px; z-index:3; width:40px; height:40px; border-radius:50%; border:0; cursor:pointer;
  background:rgba(255,255,255,.12); color:#fff; font-size:20px; line-height:1; display:grid; place-items:center; }
.close:hover{ background:#fff; color:#000; }

/* ---------- Careers ---------- */
.jobs{ max-width:860px; margin-inline:auto; display:grid; gap:14px; }
.job{ border-radius:32px; padding:clamp(24px, 4vw, 40px); display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:24px; }
.job .tag{ font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
.job h3{ margin-top:10px; font-family:var(--font-display); font-weight:600; font-size:clamp(1.9rem, 4vw, 3rem); line-height:1; letter-spacing:-.045em; }
.job-copy{ margin-top:12px; color:var(--ink-2); font-size:clamp(1.05rem, 1.6vw, 1.25rem); }
.job-act{ display:grid; gap:10px; justify-items:start; }
.job-mail{ font-size:14px; color:var(--ink-3); user-select:all; }
.job{ transition:transform .5s var(--ease); }
.job:hover, .job:focus-within{ transform:translateY(-4px); }
.job-open{ all:unset; cursor:pointer; }
/* let the click area stretch over the whole card */
.job > .job-main, .job h3, .post > h3{ position:static; }
.post > .tag, .post > .meta, .post > .post-img, .job .tag, .job-copy, .job-more{ pointer-events:none; }
.job-open::after{ content:""; position:absolute; inset:0; border-radius:32px; z-index:3; }
.job-open:focus-visible::after{ outline:2px solid #fff; outline-offset:3px; }
.job-more{ display:inline-flex; align-items:center; gap:10px; font-size:15px; font-weight:600; color:var(--ink-2); }
.job-more .go{ width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.1); color:#fff; font-size:18px; transition:background .25s, color .25s; }
.job:hover .job-more .go, .job:focus-within .job-more .go{ background:#fff; color:#000; }
.jobsheet .body h3{ font-family:var(--font-display); font-weight:600; font-size:1.25rem; letter-spacing:-.02em; color:#fff; margin-top:8px; }
.jobsheet .body ul{ list-style:disc; padding-left:1.2em; display:grid; gap:6px; }

/* ---------- About ---------- */
.bio{ max-width:860px; margin-inline:auto; }
.bio-head{ display:flex; align-items:center; gap:18px; }
.portrait{ position:relative; flex:0 0 auto; width:88px; height:88px; margin:0; border-radius:50%; overflow:hidden;
  box-shadow:0 0 0 1px rgba(255,255,255,.28), 0 10px 30px -10px rgba(0,0,0,.8); }
.portrait svg{ position:absolute; inset:0; display:block; width:100%; height:100%; }
.bio-text{ border-radius:36px; padding:clamp(26px, 4vw, 52px); display:flex; flex-direction:column; gap:18px; }
.bio-role{ display:grid; gap:2px; font-size:15px; color:var(--ink-2); }
.bio-name{ font-size:18px; font-weight:600; color:#fff; letter-spacing:-.015em; }
.bio-text h3{ font-family:var(--font-display); font-weight:600; font-size:clamp(1.8rem, 3.6vw, 2.8rem); line-height:1.04; letter-spacing:-.04em; text-wrap:balance; margin-top:8px; }
.bio-text > p{ color:var(--ink-2); font-size:18px; line-height:1.55; max-width:62ch; }
.bio-text .btn{ align-self:flex-start; margin-top:8px; }
@media (max-width:680px){ .portrait{ width:72px; height:72px; } }
@media (max-width:680px){
  .motion{ width:44px; padding:0; justify-content:center; right:12px; bottom:12px; }
  .motion #motion-label{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
}

/* ---------- Accessibility helpers ---------- */
.sr-only{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip{ position:fixed; left:16px; top:-80px; z-index:100; background:#fff; color:#000; font-weight:600; font-size:15px;
  padding:12px 18px; border-radius:999px; transition:top .2s ease; }
.skip:focus{ top:16px; }
.navlinks{ display:contents; }
[tabindex="-1"]:focus{ outline:none; }
.motion{ position:fixed; right:16px; bottom:16px; z-index:40; height:44px; padding:0 16px; border-radius:999px; border:0; cursor:pointer;
  font-size:13px; font-weight:600; color:#fff; display:inline-flex; align-items:center; gap:8px; }
.motion svg{ width:12px; height:12px; fill:currentColor; }
.motion:hover{ background:rgba(255,255,255,.18); }
body.still .orb{ animation-play-state:paused; }
.foot .linkbtn{ background:none; border:0; cursor:pointer; font-size:15px; color:var(--ink-2); padding:8px 14px; border-radius:999px; transition:color .2s, background .2s; }
.foot .linkbtn:hover{ color:#fff; background:rgba(255,255,255,.1); }
.statement .body h3{ font-family:var(--font-display); font-weight:600; font-size:1.25rem; letter-spacing:-.02em; color:#fff; margin-top:8px; }
.statement .body ul{ list-style:disc; padding-left:1.2em; display:grid; gap:6px; }
.statement .body a{ text-decoration:underline; text-underline-offset:3px; }

/* ---------- Footer ---------- */
.foot{ padding-block:clamp(56px, 8vh, 96px) 44px; display:grid; gap:26px; justify-items:center; text-align:center; }
.foot .big{ font-family:var(--font-display); font-weight:600; font-size:clamp(1.8rem, 4.4vw, 3.2rem); line-height:1; letter-spacing:-.045em; }
.foot .who{ color:var(--ink-2); margin-top:-12px; }
.foot nav{ display:flex; flex-wrap:wrap; gap:6px 10px; justify-content:center; }
.foot nav a{ font-size:15px; color:var(--ink-2); padding:8px 14px; border-radius:999px; transition:color .2s, background .2s; }
.foot nav a:hover{ color:#fff; background:rgba(255,255,255,.1); }
.foot .fine{ font-size:12.5px; color:var(--ink-3); padding-top:22px; border-top:1px solid rgba(255,255,255,.12); width:100%; }

/* ---------- Small screens ---------- */
@media (max-width:900px){
  .logo{ flex-basis:calc((100% - 28px) / 3); }
  .posts{ grid-template-columns:1fr; }
  .post{ min-height:220px; }
}
@media (max-width:680px){
  .nav{ padding-left:18px; }
  .nav .link{ display:none; }
  .nav .mark{ margin-right:6px; }
  .opts{ grid-template-columns:1fr; grid-template-rows:none; grid-auto-flow:row; }
  .stepbody{ min-height:0; }
  .logo{ flex-basis:calc((100% - 14px) / 2); border-radius:22px; aspect-ratio:16/11; }
  .brief{ border-radius:30px; }
}
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{ animation:none !important; transition:none !important; }
}

/* ==========================================================================
   Multi-page build: cards are links, articles and jobs have their own pages
   ========================================================================== */
a.post, a.job{ color:#fff; text-decoration:none; display:flex; }
a.job{ flex-wrap:wrap; }
a.post:focus-visible, a.job:focus-visible{ outline:2px solid #fff; outline-offset:4px; }

.page{ padding-block:clamp(120px, 18vh, 170px) clamp(56px, 8vh, 90px); }
.back{ display:inline-flex; align-items:center; gap:8px; font-size:15px; color:var(--ink-2); padding:8px 14px; margin-left:-14px; border-radius:999px; transition:color .2s, background .2s; }
.back:hover{ color:#fff; background:rgba(255,255,255,.1); }
.doc{ max-width:780px; margin-inline:auto; border-radius:36px; padding:clamp(26px, 5vw, 56px); margin-top:18px; }
.doc .tag{ font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
.doc h1{ margin-top:14px; font-family:var(--font-display); font-weight:600; font-size:clamp(2.2rem, 5.6vw, 3.8rem); line-height:1.02; letter-spacing:-.045em; text-wrap:balance; }
.doc .meta{ margin-top:14px; font-size:14px; color:var(--ink-3); }
.doc .hero-img{ display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:24px; margin-top:28px; background:#111; }
.prose{ margin-top:30px; display:grid; gap:18px; max-width:64ch; font-size:19px; line-height:1.6; color:rgba(255,255,255,.86); letter-spacing:-.014em; }
.prose h2{ font-family:var(--font-display); font-weight:600; font-size:1.55rem; line-height:1.15; letter-spacing:-.03em; color:#fff; margin-top:10px; }
.prose h3{ font-family:var(--font-display); font-weight:600; font-size:1.25rem; letter-spacing:-.02em; color:#fff; margin-top:6px; }
.prose ul, .prose ol{ padding-left:1.2em; display:grid; gap:6px; }
.prose ul{ list-style:disc; } .prose ol{ list-style:decimal; }
.prose a{ color:#fff; text-decoration:underline; text-underline-offset:3px; }
.prose img{ width:100%; height:auto; border-radius:20px; }
.prose figure{ margin:8px 0; } .prose figcaption{ font-size:14px; color:var(--ink-3); margin-top:8px; }
.prose blockquote{ border-left:2px solid rgba(255,255,255,.4); padding-left:18px; font-family:var(--font-display); font-weight:600; font-size:1.35rem; line-height:1.3; color:#fff; }
.prose .video{ position:relative; aspect-ratio:16/9; border-radius:20px; overflow:hidden; background:#111; }
.prose .video iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.doc .end{ margin-top:34px; padding-top:26px; border-top:1px solid rgba(255,255,255,.14); display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; }
.doc .end p{ font-family:var(--font-display); font-weight:600; font-size:1.3rem; letter-spacing:-.03em; }
.more{ max-width:780px; margin:40px auto 0; }
.more h2{ font-family:var(--font-display); font-weight:600; font-size:1.4rem; letter-spacing:-.03em; margin-bottom:14px; }
.more .posts{ grid-template-columns:repeat(2, 1fr); }
@media (max-width:680px){ .more .posts{ grid-template-columns:1fr; } }
.job-main, .job .tag, .job-copy{ display:block; }
.job h3{ margin-top:10px; }
.sec-head h1{ font-family:var(--font-display); font-weight:600; font-size:clamp(2.3rem, 6vw, 4.6rem); line-height:1; letter-spacing:-.045em; text-wrap:balance; }
.page.section{ padding-top:clamp(120px, 18vh, 170px); }
.portrait img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.page > .back{ margin-left:calc(max(0px, (100% - 780px) / 2) - 14px); }
.hero .soon{ margin-top:clamp(8px, 2vh, 20px); font-size:15px; font-weight:500; color:var(--ink-2); letter-spacing:.02em; }
