/* =========================================================
   HARRY SALCE: styles
   Palette & type tokens up top; change these to restyle.
   ========================================================= */
:root {
  --paper: #EFECE6;
  --paper-2: #E6E2DA;
  --ink: #15152B;
  --ink-2: #2A2A44;
  --muted: #77746D;
  --line: rgba(21, 21, 43, .14);
  --accent: #F8A000;          /* Harry Salce orange */
  --draft: #FFE36E;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --script: "Homemade Apple", "Bradley Hand", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: clamp(14px, 1.6vw, 22px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: var(--ink); }

/* handwritten accent words, *like this*, in content.js */
.s {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  font-size: .62em;
  letter-spacing: 0;
  line-height: 0;
  padding: 0 .12em;
  position: relative;
  top: -.08em;
}
mark.draft {
  background: rgba(255, 227, 110, .6);
  color: inherit;
  border-radius: .15em;
  padding: 0 .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section--dark mark.draft { background: rgba(255, 227, 110, .2); box-shadow: inset 0 -1px 0 rgba(255, 227, 110, .6); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: 15px;
  padding: .8em 1.3em; border-radius: 999px;
  border: 1.5px solid var(--ink);
  transition: background .3s, color .3s, transform .3s var(--ease);
  white-space: nowrap;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--lg { font-size: 17px; padding: 1em 1.6em; margin-top: 28px; }
.circle {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--ink); font-size: 18px;
  transition: background .25s, color .25s;
}
.circle:hover { background: var(--ink); color: var(--paper); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  transition: transform .45s var(--ease), background .3s, box-shadow .3s;
}
.nav.is-solid { background: rgba(239, 236, 230, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { font-weight: 800; letter-spacing: -.03em; font-size: 20px; text-transform: uppercase; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 96px var(--gutter) 40px;
  font-weight: 800; letter-spacing: -.045em; font-size: clamp(40px, 11vw, 64px); line-height: 1.05;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu-open { overflow: hidden; }
.menu__socials { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 16px; font-weight: 600; letter-spacing: 0; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 48px;
  max-width: var(--max); margin: 0 auto;
}
.hero__title {
  margin: 0 0 clamp(40px, 7vh, 80px);
  font-weight: 800;
  font-size: clamp(48px, 10.4vw, 168px);
  line-height: .9;
  letter-spacing: -.055em;
}
.hero__line { display: block; }
.hero__title u { text-decoration-thickness: .06em; text-underline-offset: .08em; text-transform: uppercase; }
.hero__name { white-space: nowrap; }
@media (max-width: 600px) {
  .hero__iam { display: block; }
  .hero__title { font-size: min(14.4vw, 96px); }
}
.hero__roles span { display: inline-block; transition: opacity .38s var(--ease), transform .38s var(--ease), filter .38s; }
.hero__roles span.out { opacity: 0; transform: translateY(.25em); filter: blur(6px); }

.tabs {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 16px;
}
.tabs button { padding: 14px 0; text-align: left; opacity: .5; transition: opacity .25s; }
.tabs button[aria-selected="true"], .tabs button:hover { opacity: 1; }
.tabs__bar { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }

.hero__panel {
  margin: 36px 0 0;
  max-width: 1100px;
  font-weight: 700;
  font-size: clamp(24px, 3.1vw, 44px);
  line-height: 1.12;
  letter-spacing: -.035em;
  min-height: 3.4em;
  transition: opacity .18s, transform .18s;
}
.hero__panel.swap { opacity: 0; transform: translateY(6px); }
.hero__down { align-self: center; margin-top: 48px; font-weight: 800; font-size: 28px; letter-spacing: -.04em; text-align: center; }
.hero__down span { display: block; font-weight: 400; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

@media (max-width: 600px) {
  .tabs { grid-template-columns: repeat(4, auto); justify-content: space-between; font-size: 14px; }
  .hero__panel { min-height: 5.8em; }
}

/* =========================================================
   INDEX (three pillars)
   ========================================================= */
.index { position: relative; max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 80px; }
.index__row {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center;
  padding: clamp(16px, 2.4vw, 30px) 0;
  border-top: 1px solid var(--line);
  font-weight: 800; letter-spacing: -.05em;
  font-size: clamp(40px, 8vw, 128px); line-height: 1;
  transition: padding .45s var(--ease), color .3s;
}
.index__row:last-of-type { border-bottom: 1px solid var(--line); }
.index__num { font-size: 15px; font-weight: 600; letter-spacing: 0; align-self: start; margin-top: .6em; color: var(--muted); }
.index__arrow { font-weight: 300; transition: transform .45s var(--ease); }
.index__row:hover { padding-left: 24px; }
.index__row:hover .index__arrow { transform: rotate(-45deg); }
.index__float {
  position: absolute; left: 0; top: 0; width: 240px; aspect-ratio: 9/14; object-fit: cover;
  border-radius: 14px; pointer-events: none; z-index: 2;
  opacity: 0; scale: .7; transition: opacity .3s, scale .45s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(21, 21, 43, .45);
}
.index__float.on { opacity: 1; scale: 1; }
@media (max-width: 600px) { .index__row { grid-template-columns: 44px 1fr auto; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { display: block; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track--slow { animation-duration: 26s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { font-weight: 800; letter-spacing: -.04em; font-size: clamp(28px, 4vw, 56px); padding: 0 .45em; white-space: nowrap; text-transform: uppercase; }
.marquee__label { font-size: clamp(28px, 4vw, 56px); padding: 0 .4em; white-space: nowrap; }
.marquee__label .s { font-size: .55em; }
.marquee__dot { color: var(--accent); font-size: clamp(18px, 2.4vw, 32px); }
.marquee--big { border: 0; padding: clamp(24px, 4vw, 56px) 0; }
.marquee--big .marquee__item { font-size: clamp(56px, 11vw, 180px); }
.marquee__arrow { font-size: clamp(48px, 9vw, 150px); font-weight: 300; padding: 0 .3em; transition: color .3s; }
.marquee--big:hover .marquee__arrow { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section--dark {
  max-width: none; background: var(--ink); color: var(--paper);
  --line: rgba(239, 236, 230, .16); --muted: #A6A39C;
}
.section--dark > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.kicker { margin: 0 0 14px; font-weight: 600; font-size: 14px; letter-spacing: .02em; color: var(--muted); }
.display {
  margin: 0; font-weight: 800; letter-spacing: -.055em; line-height: .9;
  font-size: clamp(56px, 11vw, 176px);
}
.display .s { font-size: .36em; top: -.35em; padding-right: .2em; }
.lead { margin: 24px 0 0; max-width: 820px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; font-size: clamp(21px, 2.3vw, 32px); }
.h3 { margin: 0 0 18px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-bottom: 56px; }
.stat { padding: 22px 18px 0 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line); }
.stat__v { margin: 0; font-weight: 800; letter-spacing: -.05em; font-size: clamp(36px, 5vw, 72px); line-height: 1; }
.stat__l { margin: 8px 0 0; font-size: 14px; color: var(--muted); font-weight: 500; }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
}

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: .55em 1.05em; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--line); transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- video reel ---------- */
.reel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.reel-nav { display: flex; gap: 8px; }
.reel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px;
  scrollbar-width: none; scroll-padding: 0 var(--gutter);
}
.reel::-webkit-scrollbar { display: none; }
.vid { margin: 0; flex: 0 0 clamp(220px, 22vw, 300px); scroll-snap-align: start; cursor: pointer; }
.vid[hidden] { display: none; }
.vid__frame { position: relative; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.vid__frame video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vid:hover video { transform: scale(1.03); }
.vid__sound {
  position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(239, 236, 230, .9) center/18px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315152B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4V5z'/%3E%3Cpath d='m23 9-6 6M17 9l6 6'/%3E%3C/svg%3E");
}
.vid.loud .vid__sound {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315152B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4V5z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E");
}
.vid figcaption { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.vid figcaption strong { font-weight: 700; letter-spacing: -.02em; font-size: 16px; }
.vid figcaption span { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .vid { flex-basis: 62vw; } .reel-nav { display: none; } }

/* ---------- partnerships + offer ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px); margin-top: clamp(72px, 9vw, 120px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ledger__row { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger__brand { font-weight: 800; letter-spacing: -.04em; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; }
.ledger__what { font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.ledger__what em { font-style: normal; color: var(--muted); font-size: 13px; }
.ledger__year { font-size: 14px; font-weight: 600; color: var(--muted); }
@media (max-width: 600px) { .ledger__row { grid-template-columns: 1fr auto; } .ledger__what { grid-column: 1 / -1; order: 3; } }

.offer { border-top: 1px solid var(--line); }
.offer__item { display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.offer__n { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 4px; }
.offer h4 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.03em; font-weight: 700; }
.offer p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* =========================================================
   MARKETING (dark)
   ========================================================= */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-bottom: clamp(64px, 8vw, 110px); }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }
.case { background: rgba(239, 236, 230, .05); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case__media {
  position: relative; aspect-ratio: 16/10; background: var(--bg); color: var(--ink);
  display: grid; place-items: center; overflow: hidden;
}
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__mark { font-weight: 800; letter-spacing: -.06em; font-size: clamp(40px, 6vw, 88px); line-height: .9; text-align: center; padding: 0 6%; transition: transform .8s var(--ease); }
.case:hover .case__mark { transform: scale(1.05) rotate(-2deg); }
.badge { position: absolute; top: 16px; left: 16px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; padding: .45em .9em; border-radius: 999px; }
.case__body { padding: clamp(22px, 3vw, 36px); }
.case__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.case__title { margin: 10px 0 10px; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.045em; font-weight: 800; line-height: 1; }
.case__body p { margin: 0 0 18px; color: rgba(239, 236, 230, .82); }
.case__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case__list li { font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: .45em .9em; }
.caps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.caps li {
  font-weight: 800; letter-spacing: -.045em; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.15;
  padding: 10px 0; margin-right: .5em;
}
.caps li:not(:last-child)::after { content: "/"; font-weight: 300; color: var(--accent); margin-left: .5em; }

/* =========================================================
   DESIGN GALLERY
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: clamp(14px, 2vw, 24px); }
.piece { margin: 0; cursor: zoom-in; display: flex; flex-direction: column; }
.piece:not([data-full]) { cursor: default; }
.piece--tall { grid-row: span 2; }
.piece--wide { grid-column: span 2; }
.piece__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); aspect-ratio: 4/5; }
.piece--tall .piece__media { aspect-ratio: auto; flex: 1; min-height: 0; }
.piece--wide .piece__media { aspect-ratio: 1.64; }
.piece--wide .piece__media img { object-fit: contain; }
.piece__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.piece:hover img { transform: scale(1.035); }
.ph__word {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 8%;
  font-weight: 800; letter-spacing: -.055em; font-size: clamp(30px, 3.6vw, 56px); line-height: .92; color: rgba(21, 21, 43, .85);
}
.ph__word mark.draft { background: none; }
.piece figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 12px 2px 0; font-size: 14px; min-height: 40px; }
.piece figcaption strong { font-weight: 700; letter-spacing: -.02em; }
.piece figcaption span { color: var(--muted); text-align: right; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .piece--wide { grid-column: auto; }
  .piece--tall { grid-row: auto; }
  .piece--tall .piece__media, .piece--wide .piece__media { aspect-ratio: 4/5; flex: none; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(21, 21, 43, .92);
  display: grid; place-items: center; padding: 4vh 4vw;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lightbox.on { opacity: 1; pointer-events: auto; cursor: zoom-out; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 10px; cursor: default; }
.lightbox.multi img { cursor: e-resize; }
.lb__x { position: absolute; top: 16px; right: 20px; color: var(--paper); font-size: 40px; line-height: 1; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(239, 236, 230, .14); color: var(--paper); font-size: 22px; display: none; }
.lb__nav:hover { background: var(--accent); color: var(--ink); }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }
.lightbox.multi .lb__nav { display: block; }
.lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--paper); font-size: 14px; font-weight: 600; }
@media (max-width: 600px) { .lb__nav { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; } }
.case__media.is-gallery { cursor: zoom-in; }
.case__media.is-gallery img { object-fit: contain; padding: 6% 7%; transition: transform 1s var(--ease); }
.case:hover .case__media.is-gallery img { transform: scale(1.03); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.about__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; position: sticky; top: 100px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about__body { margin-top: 32px; }
.about__body p { margin: 0 0 .9em; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; font-size: clamp(20px, 2vw, 28px); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__photo { position: static; max-width: 520px; } }

/* =========================================================
   RÉSUMÉ
   ========================================================= */
.resume { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(36px, 6vw, 110px); border-top: 1px solid var(--line); }
.resume__side { position: sticky; top: 100px; align-self: start; }
.resume__side .lead { font-size: clamp(19px, 1.8vw, 24px); }
.resume__block + .resume__block { margin-top: clamp(48px, 6vw, 80px); }
.job { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.job:last-child { border-bottom: 1px solid var(--line); }
.job__when { font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 6px; }
.job__role { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.job__org { margin: 4px 0 10px; font-weight: 600; font-size: 15px; }
.job ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: 15px; }
.job li { margin: 3px 0; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { list-style: none; font-size: 14px; font-weight: 600; padding: .5em 1em; border-radius: 999px; background: var(--paper-2); }
.tools { padding: 0; margin: 0; }
@media (max-width: 900px) {
  .resume { grid-template-columns: 1fr; }
  .resume__side { position: static; }
}
@media (max-width: 560px) { .job { grid-template-columns: 1fr; gap: 6px; } .job__when { padding: 0; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { border-top: 1px solid var(--line); }
.form { max-width: 1000px; }
.form__types { border: 0; padding: 0; margin: 0 0 28px; }
.form__types legend { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.field { display: flex; flex-direction: column; border-bottom: 1.5px solid var(--line); padding: 18px 0 8px; transition: border-color .25s; }
.field:focus-within { border-color: var(--ink); }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em;
  background: transparent; border: 0; outline: 0; color: var(--ink); padding: 6px 0; resize: vertical;
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315152B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center/20px no-repeat; }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__alt { margin: 28px 0 0; font-size: 15px; color: var(--muted); }
.form__alt a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form__note { min-height: 1.4em; font-size: 14px; font-weight: 600; margin: 14px 0 0; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--paper); padding: 40px var(--gutter) 28px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
.footer__socials { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__socials a:hover, .footer__up:hover { color: var(--accent); }
.footer__word {
  margin: clamp(40px, 8vw, 100px) 0 0; font-weight: 800; text-transform: uppercase;
  letter-spacing: -.065em; line-height: .8; white-space: nowrap;
  font-size: clamp(48px, 15.2vw, 270px);
}
.footer__small { margin: 20px 0 0; font-size: 13px; color: #A6A39C; }
.footer mark.draft { background: none; color: inherit; }

/* a single marketing card fills the row: slide on the left, text on the right */
.case:only-child { grid-column: 1 / -1; }
@media (min-width: 901px) {
  .case:only-child { flex-direction: row; }
  .case:only-child .case__media { flex: 1.2; aspect-ratio: auto; min-height: 420px; }
  .case:only-child .case__body { flex: 1; align-self: center; }
}
