/* =========================================================
   Saffan Shaikh — Portfolio
   Paper + ink editorial. Work first, words minimal.
   ========================================================= */

:root {
  --paper: #f4ede0;
  --paper-2: #ece3d2;
  --card: #fbf7ef;
  --ink: #1b1a17;
  --ink-2: #4a463f;
  --muted: #8a8378;
  --line: rgba(27, 26, 23, .14);
  --rule: rgba(70, 110, 160, .16);   /* notebook lines */
  --margin: rgba(217, 74, 56, .35);  /* notebook margin */

  --orange: #ff9a1f;
  --coral: #f2614c;
  --lilac: #a99bf5;
  --yellow: #ffdc5e;
  --green: #2fae6b;
  --red: #d94a38;
  --gold: #b08d57;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-serif: "DM Serif Display", Georgia, serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 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(--f-display);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* subtle paper grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* clip (not hidden) keeps position: sticky working for the rail */
html, body, main { overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }

/* ---------- type helpers ---------- */
.label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin: 0 0 10px;
}
.mono-sm { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hand { font-family: var(--f-hand); font-weight: 700; }
.center { text-align: center; }
.hl {
  background: none; color: inherit; padding: 0 .12em; margin: 0 -.06em;
  background-image: linear-gradient(transparent 8%, var(--yellow) 8%, var(--yellow) 92%, transparent 92%);
  border-radius: .18em .3em .22em .34em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  background-size: 0% 100%; background-repeat: no-repeat;
  transition: background-size 1s var(--ease) .2s;
}
.is-in .hl, .hl.is-in, .hero.is-in .hl { background-size: 100% 100%; }
.hl--green { --yellow: #8fe3b0; }
.hl--orange { --yellow: var(--orange); color: var(--ink); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--paper);
  display: grid; place-items: center; transition: transform 1s var(--ease) .1s;
}
.loader.is-done { transform: translateY(-100%); }
.loader__mark { font-family: var(--f-serif); font-size: clamp(64px, 12vw, 150px); line-height: 1; letter-spacing: -.02em; }
.loader__mark span, .nav__logo span { color: var(--orange); }
.loader__count { position: absolute; bottom: 9vh; font-family: var(--f-mono); font-size: 13px; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--ink); display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s;
}
.cursor span { font: 700 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-media { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--yellow); }
.cursor.is-media span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 14px var(--gutter) auto; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__left { display: flex; gap: 8px; }
.nav__right { display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
.nav__logo { font-family: var(--f-serif); font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.nav__time { color: var(--ink-2); height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 99px; background: rgba(251, 247, 239, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 99px;
  background: rgba(251, 247, 239, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); font-size: 14px; font-weight: 600;
  transition: transform .3s var(--ease), background .3s;
}
.pill:hover { transform: translateY(-2px); background: var(--card); }
.pill--dark { background: var(--ink); color: var(--paper); border-color: rgba(244, 237, 224, .28); }
.pill--dark:hover { background: #000; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 99px;
  font-weight: 600; font-size: 15px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--dark { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--orange); }
.btn--dark:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--orange); }
.btn--ghost { border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--card); transform: translateY(-2px); }

/* ---------- doodles ---------- */
.doodle--burst path { fill: var(--orange); }
.doodle path, .hero__scroll path, .contact__arrow path, .fw-sq path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.doodle--burst path { stroke: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; padding: 130px var(--gutter) 70px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 4vw;
}
.hero__label { grid-column: 1; }
.hero__title {
  grid-column: 1; margin: 0; font-weight: 800; text-transform: uppercase;
  font-size: clamp(54px, 8.6vw, 168px); line-height: .86; letter-spacing: -.045em;
}
.hero__title .line { display: block; overflow: hidden; padding: .04em 0; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero.is-in .line > span { transform: none; }
.hero.is-in .line:nth-child(2) > span { transition-delay: .08s; }
.hero.is-in .line:nth-child(3) > span { transition-delay: .16s; }
.hero__title .hl { transition-delay: 1s; }
.hero__burst { display: inline-block; width: .62em; height: .62em; margin: 0 0 0 .08em; vertical-align: top; animation: wiggle 3s ease-in-out infinite; }
@keyframes wiggle { 50% { transform: rotate(-4deg) scale(1.06); } }

.hero__meta { grid-column: 1; align-self: end; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: end; margin-top: 40px; }
.hero__lede { max-width: 360px; margin: 0; font-size: 17px; color: var(--ink-2); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__collage { grid-column: 2; grid-row: 1 / span 3; position: relative; min-height: 560px; }
.hero__collage .tape-card {
  position: absolute; margin: 0; background: var(--card); padding: 8px; border-radius: 6px;
  box-shadow: 0 18px 40px -18px rgba(40, 30, 10, .45), 0 2px 0 rgba(0,0,0,.04);
  transition: transform .6s var(--ease);
}
.tape-card::before { /* tape */
  content: ""; position: absolute; z-index: 3; top: -14px; left: 50%; width: 92px; height: 26px; margin-left: -46px;
  background: rgba(255, 220, 94, .7); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0,0,0,.08);
  clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 50%);
}
.tape-card .media { border-radius: 3px; }
.tc-1 { width: 42%; left: 6%; top: 8%; transform: rotate(-5deg); z-index: 3; }
.tc-2 { width: 38%; right: 2%; top: 0; transform: rotate(4deg); z-index: 2; }
.tc-3 { width: 33%; right: 6%; top: 46%; transform: rotate(-2deg); z-index: 4; }
.tc-4 { width: 34%; left: 24%; top: 58%; transform: rotate(6deg); z-index: 1; }
.tc-2::before { background: rgba(169, 155, 245, .65); }
.tc-4::before { background: rgba(242, 97, 76, .55); }
.tape-card:hover { transform: rotate(0) scale(1.04); z-index: 6; }

.sticker {
  position: absolute; width: 118px; height: 118px; left: -2%; top: 52%; z-index: 5;
  display: grid; place-items: center; background: var(--orange); border-radius: 50%;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.4);
}
.sticker svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.sticker text { font: 700 9.5px var(--f-mono); letter-spacing: .14em; fill: var(--ink); }
.sticker b { font-size: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__note { position: absolute; right: 0; bottom: -2%; font-size: 26px; line-height: 1; transform: rotate(-6deg); color: var(--ink-2); z-index: 5; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
  font-size: 20px; color: var(--ink-2); white-space: nowrap;
}
.hero__scroll svg { width: 22px; height: 30px; }
.hero__scroll path { stroke: var(--ink-2); stroke-width: 3; }

/* =========================================================
   TICKER
   ========================================================= */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; transform: rotate(-1.4deg); margin: 30px -10px 40px; }
.ticker__track { display: flex; gap: 32px; width: max-content; animation: marquee 32s linear infinite; align-items: center; }
.ticker span { font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -.03em; }
.ticker span:nth-of-type(even) { font-family: var(--f-serif); font-style: italic; text-transform: none; font-weight: 400; letter-spacing: 0; }
.ticker i { color: var(--orange); font-style: normal; font-size: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   MEDIA (rendered by main.js)
   ========================================================= */
.m { margin: 0; position: relative; }
.media {
  position: relative; overflow: hidden; background: var(--paper-2); border-radius: 12px; cursor: pointer;
  isolation: isolate;
}
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media:hover img, .media:hover video { transform: scale(1.035); }
.media__dur {
  position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 4px 8px 3px; border-radius: 99px;
  background: rgba(27,26,23,.72); color: #fff; font: 700 10px/1 var(--f-mono); letter-spacing: .08em;
  display: flex; align-items: center; gap: 6px; backdrop-filter: blur(6px);
}
.media__dur::before { content: ""; width: 0; height: 0; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.media.is-playing .media__dur::before { width: 6px; height: 8px; border: 0; border-left: 2px solid; border-right: 2px solid; }
.frame .media { border-radius: 14px; }
.pin .media, .tape-card .media { border-radius: 4px; }

/* category tag — the small label beside each visual */
.work-item { position: relative; }
.tag {
  display: inline-flex; align-items: center; margin: 0 0 10px; white-space: nowrap;
  font: 700 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.tag[data-c="DVC"] { --c: var(--orange); }
.tag[data-c="Ad Reel"] { --c: var(--coral); }
.tag[data-c="Social"], .tag[data-c="Social Media"] { --c: var(--lilac); }
.tag[data-c="Campaign"] { --c: var(--green); }
.tag[data-c="Store Branding"] { --c: #e0b400; }
.tag[data-c="Brand Film"] { --c: var(--ink); }
.cap { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); }
.cap b { color: var(--ink); }

/* =========================================================
   CHAPTERS
   ========================================================= */
.work { padding-top: 20px; }
.chapter { padding: clamp(70px, 11vw, 150px) var(--gutter); position: relative; }
.ch-head { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 40px); margin-bottom: clamp(36px, 5vw, 70px); }
.ch-num {
  font-family: var(--f-serif); font-size: clamp(72px, 11vw, 180px); line-height: .78; color: transparent;
  -webkit-text-stroke: 1.5px var(--ink); letter-spacing: -.03em;
}
.ch-title { margin: 0; font-weight: 800; font-size: clamp(44px, 7.4vw, 128px); line-height: .88; letter-spacing: -.045em; text-transform: uppercase; }
.ch-title em { font-family: var(--f-serif); font-weight: 400; font-style: italic; text-transform: none; letter-spacing: -.02em; }

/* reveal */
.reveal { opacity: 0; transform: translateY(60px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* 01 · Sobha */
/* video · statement · video — fills the full width */
.duo {
  --vw: min(30vw, calc(82vh * 9 / 16));
  display: grid; grid-template-columns: var(--vw) minmax(0, 1fr) var(--vw); gap: clamp(24px, 4vw, 72px); align-items: start;
}
.duo__b { margin-top: 18vh; }
.duo__mid { align-self: center; display: flex; flex-direction: column; gap: 26px; padding: 4vh 0; }
.duo__note { margin: 0; font-size: clamp(24px, 2.4vw, 36px); line-height: 1; transform: rotate(-4deg); transform-origin: left; color: var(--ink-2); }
.duo__quote { margin: 0; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 80px); line-height: .9; letter-spacing: -.045em; }
.duo__quote em { font-family: var(--f-serif); font-weight: 400; text-transform: none; letter-spacing: -.02em; white-space: nowrap; }
.duo__quote .hl { white-space: nowrap; }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.specs div { padding: 12px 12px 12px 0; border-bottom: 1px dashed var(--line); }
.specs dt { font: 700 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.specs dd { margin: 0; font-weight: 600; font-size: clamp(14px, 1.2vw, 17px); }
.play-both {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 22px 0 6px; border-radius: 99px;
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; transition: transform .3s var(--ease);
}
.play-both span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--ink); font-size: 13px; padding-left: 2px; }
.play-both:hover { transform: translateX(4px); }

/* 02 · Mobex rail (pinned horizontal scroll on desktop) */
.ch-rail { padding: 0; background: var(--ink); color: var(--paper); border-radius: 36px; margin: 0 clamp(6px, 1vw, 14px); }
.rail-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 70px 0 40px; }
.ch-head--rail { padding: 0 var(--gutter); margin-bottom: 4vh; }
.ch-rail .ch-num { -webkit-text-stroke-color: var(--paper); }
.ch-rail .label { color: var(--orange); }
.rail-hint { margin: 0 0 0 auto; font-size: 26px; line-height: 1; transform: rotate(-4deg); color: var(--yellow); text-align: right; }
.rail-hint small { font-size: 18px; color: rgba(244,237,224,.6); }
.rail { overflow: hidden; }
.rail__track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; align-items: flex-end; }
.rail__item { width: calc(min(58vh, 520px) * 9 / 16); flex: none; }
.rail__item--static { width: calc(min(58vh, 520px) * 4 / 5); }
.rail__item .tag { color: var(--paper); }
.rail__item .media { background: #2a2824; }
.rail__item:nth-child(3n+2) { transform: translateY(-26px); }
.rail__progress { margin: 4vh var(--gutter) 0; height: 2px; background: rgba(244,237,224,.15); border-radius: 2px; }
.rail__progress i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 2px; }

/* 03 · Epic board */
.board { columns: 4 240px; column-gap: clamp(16px, 2.4vw, 34px); }
.board .work-item { break-inside: avoid; margin-bottom: clamp(28px, 3.4vw, 48px); }
.pin .media { box-shadow: 0 20px 34px -20px rgba(40, 30, 10, .55); transition: transform .6s var(--ease); }
.board .work-item:nth-child(4n+1) .media { transform: rotate(-1.6deg); }
.board .work-item:nth-child(4n+2) .media { transform: rotate(1.2deg); }
.board .work-item:nth-child(4n+3) .media { transform: rotate(-.6deg); }
.board .work-item:nth-child(4n) .media { transform: rotate(1.8deg); }
.board .work-item .media:hover { transform: rotate(0) translateY(-6px); }
.postit {
  break-inside: avoid; display: block; padding: 28px 22px; margin: 10px 8px 40px; font-size: 30px; line-height: 1.05;
  transform: rotate(-3deg); box-shadow: 0 14px 22px -14px rgba(0,0,0,.4);
}
.postit small { display: block; margin-top: 10px; font-size: 20px; color: var(--ink-2); }
.postit--pink { background: #f9c6d3; }

/* 04 · Hydrolo */
.ch-hydrolo__dvc {
  --hv: min(19vw, calc(66vh * 9 / 16));
  display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, var(--hv)); gap: clamp(18px, 2.6vw, 44px); align-items: start;
  margin-bottom: clamp(70px, 9vw, 130px);
}
.hy-info { align-self: center; display: flex; flex-direction: column; gap: 26px; padding-right: 2vw; }
.ch-hydrolo__dvc .work-item:nth-child(3) { margin-top: 80px; }
.ch-hydrolo__dvc .work-item:nth-child(4) { margin-top: 30px; }
.billboards { display: grid; gap: clamp(36px, 5vw, 70px); }
.bb .media { border-radius: 6px; box-shadow: 0 30px 50px -30px rgba(40, 30, 10, .6); }
.bb .cap { text-align: right; }
.bb--thin { max-width: 100%; }

/* 05 · Film (dark) */
.ch-film { background: var(--ink); color: var(--paper); border-radius: 36px; margin: 0 clamp(6px, 1vw, 14px); }
.ch-film .ch-num { -webkit-text-stroke-color: var(--paper); }
.ch-film .label { color: var(--orange); }
.ch-film .tag { color: var(--paper); }
.cine .media { border-radius: 10px; background: #2a2824; }
.film-hero { margin-bottom: clamp(26px, 3vw, 44px); }
.film-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 30px); }
.film-note { position: absolute; right: var(--gutter); top: clamp(80px, 10vw, 150px); margin: 0; font-size: clamp(26px, 3vw, 44px); color: var(--yellow); transform: rotate(-5deg); }

/* 06 · Magson */
.ch-magson__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: clamp(16px, 2.4vw, 36px); align-items: end; }
.mg-word { grid-column: 1; grid-row: 1; align-self: start; font-weight: 800; font-size: clamp(40px, 5.4vw, 92px); line-height: .9; letter-spacing: -.045em; text-transform: uppercase; }
.mg-a { grid-column: 2; grid-row: 1; }
.mg-b { grid-column: 3; grid-row: 1; transform: translateY(-60px); }
.mg-c { grid-column: 4; grid-row: 1; }

/* 07 · Sierra */
.ch-sierra__grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: clamp(16px, 2.4vw, 36px); align-items: center; }
.sr-a { transform: translateY(-40px); }
.sr-c { transform: translateY(50px); }

/* =========================================================
   PAPER SECTIONS (notebook — reference 2)
   ========================================================= */
.paper {
  position: relative; padding: clamp(80px, 11vw, 150px) var(--gutter);
  background-color: var(--card);
  background-image:
    linear-gradient(90deg, transparent calc(var(--gutter) * .6), var(--margin) calc(var(--gutter) * .6), var(--margin) calc(var(--gutter) * .6 + 1.5px), transparent calc(var(--gutter) * .6 + 1.5px)),
    repeating-linear-gradient(transparent 0 35px, var(--rule) 35px 36px);
}
.big-hand { font-family: var(--f-hand); font-weight: 700; font-size: clamp(44px, 6.4vw, 96px); line-height: 1; margin: 0 0 clamp(36px, 5vw, 64px); letter-spacing: -.01em; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); max-width: 1200px; margin: 0 auto; }
.card {
  background: var(--card); border: 2px solid var(--ink); padding: 22px 22px 26px; min-height: 190px;
  border-radius: 255px 14px 225px 14px / 14px 225px 14px 255px;
  box-shadow: 5px 6px 0 var(--ink); transition: transform .4s var(--ease);
}
.card:nth-child(odd) { transform: rotate(-1.2deg); }
.card:nth-child(even) { transform: rotate(1deg); }
.card:hover { transform: rotate(0) translateY(-6px); }
.card__face { font-family: var(--f-hand); font-size: 44px; line-height: 1; color: var(--orange); }
.card h3 { font-family: var(--f-hand); font-size: 36px; margin: 26px 0 0; line-height: 1; }
.card p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }

/* =========================================================
   BRANDS
   ========================================================= */
.brands { padding: clamp(80px, 10vw, 140px) 0; }
.brands__title { padding: 0 var(--gutter); margin: 0 0 40px; font-weight: 800; font-size: clamp(54px, 9vw, 150px); letter-spacing: -.05em; line-height: .85; color: #cdc3b1; }
.brands__title .hand { display: block; font-size: .36em; color: var(--ink); letter-spacing: 0; margin: 6px 0 0 .2em; transform: rotate(-2deg); transform-origin: left; }
.brand-strip { overflow: hidden; }
.brand-strip + .brand-strip { margin-top: 4px; }
.brand-strip--rev .brand-strip__track { animation-direction: reverse; animation-duration: 36s; }
.brand-strip__track { display: flex; gap: 14px; width: max-content; animation: marquee 30s linear infinite; padding: 10px 0 20px; }
.brand-strip:hover .brand-strip__track { animation-play-state: paused; }
.bt {
  flex: none; display: grid; place-items: center; width: clamp(180px, 18vw, 250px); height: 120px; border-radius: 22px;
  background: var(--card); box-shadow: 0 10px 22px -16px rgba(0,0,0,.4); font-size: 30px; line-height: 1; transition: transform .4s var(--ease);
}
.bt:hover { transform: translateY(-6px) rotate(-2deg); }
.bt { background: #fff; overflow: hidden; }
.bt--logo img { max-width: 76%; max-height: 74px; object-fit: contain; }
.bt--plain { font-weight: 700; font-size: 24px; }
.bt--sobha { font-family: var(--f-serif); letter-spacing: .28em; font-size: 24px; color: #1f3b63; }
.bt--mobex { font-weight: 800; letter-spacing: -.03em; color: var(--coral); }
.bt--epic { font-weight: 800; color: #d7261e; font-size: 34px; text-align: center; }
.bt--epic small { display: block; font: 700 10px var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.bt--hydrolo { font-weight: 600; letter-spacing: -.02em; color: #2c4a6b; }
.bt--radhe { font-family: var(--f-serif); font-style: italic; color: #4d6b2e; font-size: 28px; }
.bt--magson { font-weight: 800; background: var(--green); color: #fff; }
.bt--sierra { font-weight: 400; font-family: var(--f-mono); letter-spacing: .3em; font-size: 22px; }

/* =========================================================
   ARCHIVE
   ========================================================= */
.archive { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.archive__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; justify-content: flex-end; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 600;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--ink); color: var(--paper); }
.masonry { columns: 5 200px; column-gap: 16px; }
.masonry .work-item { break-inside: avoid; margin-bottom: 22px; transition: opacity .4s; }
.masonry .work-item.is-hidden { display: none; }
.masonry .tag { margin-bottom: 8px; }
.masonry .brand { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.masonry .media { border-radius: 10px; }

/* =========================================================
   ABOUT + CERTIFICATE
   ========================================================= */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.about__text { font-size: clamp(17px, 1.5vw, 20px); max-width: 500px; color: var(--ink-2); line-height: 1.75; margin: 0 0 24px; }
.langs { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: 12px; }
.skills { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.skill { font-family: var(--f-hand); font-size: 26px; padding: 2px 16px; border: 1.5px dashed var(--ink-2); border-radius: 99px; background: var(--card); }
.skill:nth-child(3n) { background: var(--yellow); border-style: solid; }

.cert {
  position: relative; padding: clamp(20px, 2.6vw, 34px); background: #f8ecd2;
  background-image: repeating-linear-gradient(135deg, rgba(176,141,87,.07) 0 2px, transparent 2px 10px);
  border: 2px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -10px;
  box-shadow: 0 30px 50px -30px rgba(60, 40, 10, .6); transform: rotate(1.5deg);
}
.cert.is-in { transform: rotate(1.5deg); }
.cert__top { display: flex; justify-content: space-between; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px dashed var(--gold); }
.cert__no { background: var(--gold); color: #fff; padding: 2px 8px; }
.cert__kind { color: var(--gold); margin: 16px 0 12px; letter-spacing: .2em; }
.cert__body { display: flex; gap: 20px; align-items: center; }
.cert__face { flex: none; width: 92px; height: 92px; border: 2px solid var(--ink); background: var(--card); display: grid; place-items: center; }
.cert__face svg { width: 70px; }
.cert__face circle, .cert__face path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.cert__face circle:nth-child(2), .cert__face circle:nth-child(3) { fill: var(--ink); }
.cert__name { font-size: clamp(36px, 4vw, 54px); margin: 0; line-height: 1; }
.cert__role { margin: 2px 0 12px; color: var(--ink-2); font-size: 14px; }
.cert__grid { display: flex; gap: 22px; color: var(--muted); font-size: 9.5px; }
.cert__grid b { display: block; color: var(--ink); font-size: 12px; margin-top: 2px; }
.cert__exp { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px dashed var(--gold); }
.cert__exp li { display: grid; grid-template-columns: 150px 1fr; column-gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(176,141,87,.5); }
.cert__exp li span { grid-row: span 2; color: var(--gold); padding-top: 3px; }
.cert__exp b { font-size: 17px; }
.cert__exp em { font-style: normal; color: var(--ink-2); font-size: 14px; }
.cert__mrz { margin: 16px 0 0; color: var(--ink-2); font-size: 10px; word-break: break-all; letter-spacing: .14em; opacity: .7; }
.cert__stamp {
  position: absolute; right: -28px; bottom: -34px; width: 110px; height: 110px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; transform: rotate(-16deg);
  background: radial-gradient(circle, #e8c98a 0 55%, #d9b26a 56% 100%); border: 3px double #9c7840;
  font: 700 11px/1.2 var(--f-mono); letter-spacing: .1em; color: #7a5a26; opacity: .92;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative; overflow: hidden; margin: 0 clamp(6px, 1vw, 14px); border-radius: 36px; background: var(--ink); color: var(--paper);
  padding: clamp(100px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 140px); text-align: center;
}
.contact__title { margin: 0; font-weight: 800; text-transform: uppercase; font-size: clamp(50px, 10vw, 180px); line-height: .86; letter-spacing: -.05em; }
.contact__title span { display: block; }
.contact__title span:first-child { font-family: var(--f-serif); font-weight: 400; text-transform: none; letter-spacing: -.02em; font-style: italic; font-size: .7em; }
.contact__arrow { width: 40px; height: 60px; margin: 30px auto 10px; display: block; }
.contact__arrow path { stroke: var(--paper); stroke-width: 3; }
.contact__mail { display: inline-block; font-weight: 600; font-size: clamp(22px, 3.2vw, 44px); border-bottom: 2px solid var(--orange); padding-bottom: 4px; transition: color .3s; word-break: break-all; }
.contact__mail:hover { color: var(--orange); }
.contact__phone { display: block; margin-top: 18px; color: rgba(244,237,224,.7); font-size: 13px; }
.c-burst-1 { position: absolute; width: clamp(70px, 9vw, 140px); left: 10%; top: 12%; transform: rotate(-20deg); }
.c-burst-1 path:nth-child(1) { fill: var(--coral); }
.c-squig { position: absolute; width: clamp(90px, 12vw, 180px); right: 9%; top: 18%; }
.c-squig path { stroke: var(--lilac); stroke-width: 7; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 30px var(--gutter) 30px; overflow: hidden; }
.footer__word {
  position: relative; font-family: var(--f-serif); font-size: clamp(110px, 27vw, 460px); line-height: .82; letter-spacing: -.04em;
  text-align: center; margin: 4vw 0 30px;
}
.fw-sq { position: absolute; width: 14%; }
.fw-sq path { stroke: var(--orange); stroke-width: 6; }
.fw-sq-1 { left: 8%; top: 30%; }
.fw-sq-2 { right: 6%; top: 8%; }
.footer__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; }
.footer__row p { margin: 0; color: var(--ink-2); line-height: 1.8; }
.footer__row p b { font-family: var(--f-display); font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.footer__links { display: grid; gap: 10px; }
.flink { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 22px 0 6px; min-width: 240px; border-radius: 99px; background: var(--paper-2); font-weight: 600; transition: transform .3s var(--ease); }
.flink i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); font-style: normal; font-size: 20px; }
.flink:hover { transform: translateX(6px); }
.back { justify-self: end; font-size: 30px; line-height: .95; text-align: right; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb {
  position: fixed; inset: 0; z-index: 180; background: rgba(20, 19, 17, .95); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 70px 100px 18px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lb.is-open { opacity: 1; visibility: visible; }
/* media is sized against the screen itself, so it is never cropped */
.lb__stage { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.lb__stage img, .lb__stage video {
  display: block; width: auto; height: auto; object-fit: contain; border-radius: 12px; background: #000;
  max-width: min(100%, calc(100vw - 200px)); max-height: calc(100vh - 150px); max-height: calc(100svh - 150px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.lb__nav, .lb__close { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 20px; transition: transform .25s var(--ease); }
.lb__nav { top: 50%; margin-top: -26px; }
.lb__prev { left: 28px; } .lb__next { right: 28px; }
.lb__nav:hover, .lb__close:hover { transform: scale(1.08); }
.lb__close { top: 16px; right: 18px; }
.lb__cap { flex: none; display: flex; gap: 16px; justify-content: center; align-items: center; color: var(--paper); margin: 0; }
.lb__cap .tag { margin: 0; color: var(--paper); }
.lb__cap b { font-size: 18px; }
.lb__cap .mono-sm { color: rgba(244,237,224,.55); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .board { columns: 3 200px; }
  .ch-magson__grid { grid-template-columns: 1fr 1fr 1fr; }
  .mg-word { grid-column: 1 / -1; grid-row: 1; margin-bottom: 20px; }
  .mg-a, .mg-b, .mg-c { grid-row: 2; }
  .mg-a { grid-column: 1; } .mg-b { grid-column: 2; transform: translateY(-30px); } .mg-c { grid-column: 3; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__logo { grid-column: 1; grid-row: 1; }
  .nav__left { grid-column: 3; grid-row: 1; justify-content: flex-end; }
  .nav__right { display: none; }
  .pill--hide-sm { display: none; }

  .hero { grid-template-columns: 1fr; grid-template-rows: none; padding-top: 104px; padding-bottom: 90px; }
  .hero__collage { grid-column: 1; grid-row: auto; min-height: 0; height: 118vw; max-height: 620px; margin-top: 40px; }
  .hero__meta { margin-top: 28px; }

  .nav__logo { height: 40px; display: inline-flex; align-items: center; padding: 0 14px 2px; border-radius: 99px; font-size: 24px; background: rgba(251, 247, 239, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); }
  .ch-head { margin-bottom: 30px; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
  .ch-num { font-size: 60px; }
  .ch-title { font-size: clamp(40px, 12vw, 64px); }
  .rail-hint { width: 100%; text-align: left; margin: 4px 0 0; font-size: 22px; }
  .duo { grid-template-columns: 1fr 1fr; gap: 14px; }
  .duo__a { grid-column: 1; grid-row: 1; }
  .duo__b { grid-column: 2; grid-row: 1; margin-top: 70px; }
  .duo__mid { grid-column: 1 / -1; grid-row: 2; padding: 30px 0 0; gap: 20px; }
  .duo__quote { font-size: clamp(36px, 11vw, 56px); }

  /* rail becomes a native swipe strip */
  .ch-rail { height: auto !important; }
  .rail-pin { position: static; height: auto; padding: 60px 0; }
  .rail { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail__track { transform: none !important; padding-top: 30px; }
  .rail__item { width: 62vw; scroll-snap-align: center; }
  .rail__item--static { width: 74vw; }
  .rail__item:nth-child(3n+2) { transform: none; }
  .rail-hint small { display: none; }
  .rail__progress { display: none; }

  .board { columns: 2 140px; column-gap: 14px; }
  .postit { font-size: 24px; }
  .ch-hydrolo__dvc { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hy-info { grid-column: 1 / -1; padding: 0 0 20px; gap: 20px; }
  .ch-hydrolo__dvc .work-item:nth-child(3) { margin-top: 40px; }
  .ch-hydrolo__dvc .work-item:nth-child(4) { margin-top: 0; }
  .ch-hydrolo__dvc .tag { font-size: 9px; letter-spacing: .08em; }
  .film-row { grid-template-columns: 1fr; }
  .film-note { position: static; margin-top: 28px; }
  .ch-magson__grid { grid-template-columns: 1fr 1fr; }
  .mg-a { grid-column: 1; grid-row: 2; } .mg-b { grid-column: 2; grid-row: 2; transform: none; } .mg-c { grid-column: 1 / -1; grid-row: 3; width: 60%; justify-self: center; }
  .ch-sierra__grid { grid-template-columns: 1fr 1fr; }
  .sr-b { grid-column: 1 / -1; grid-row: 2; }
  .sr-a, .sr-c { transform: none; }
  .masonry { columns: 2 140px; column-gap: 12px; }
  .filters { justify-content: flex-start; }
  .about { grid-template-columns: 1fr; }
  .cert__exp li { grid-template-columns: 1fr; }
  .cert__exp li span { grid-row: auto; }
  .cert__stamp { width: 84px; height: 84px; font-size: 9px; right: -8px; bottom: -30px; }
  .footer__row { grid-template-columns: 1fr; }
  .back { justify-self: start; text-align: left; }
  .lb { padding: 64px 12px 84px; }
  .lb__stage img, .lb__stage video { max-width: calc(100vw - 24px); max-height: calc(100vh - 200px); max-height: calc(100svh - 200px); }
  .lb__nav { top: auto; bottom: 18px; margin: 0; width: 48px; height: 48px; }
  .lb__prev { left: 16px; } .lb__next { right: 16px; }
  .lb__cap { position: absolute; bottom: 30px; left: 72px; right: 72px; flex-wrap: wrap; gap: 4px 12px; }
  .lb__cap b { font-size: 15px; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .cert__body { flex-direction: column; align-items: flex-start; }
  .cert__grid { flex-wrap: wrap; gap: 14px; }
  .flink { min-width: 0; }
  .sticker { width: 92px; height: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   CHAPTER META + FLOATING INDICATOR
   ========================================================= */
.ch-meta {
  margin: 0 0 6px auto; font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  display: flex; align-items: baseline; gap: 8px; white-space: nowrap;
}
.ch-meta b { font: 400 clamp(28px, 3vw, 44px)/1 var(--f-serif); letter-spacing: -.02em; color: var(--ink); }
.ch-rail .ch-meta, .ch-film .ch-meta { color: rgba(244,237,224,.6); }
.ch-rail .ch-meta b, .ch-film .ch-meta b { color: var(--paper); }
.ch-head--rail .ch-meta { margin-right: 40px; }
.ch-head--rail .rail-hint { margin-left: 0; }

.ch-ind {
  position: fixed; left: var(--gutter); bottom: 18px; z-index: 95; display: flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 18px 0 6px; border-radius: 99px; background: var(--ink); color: var(--paper);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); font-weight: 600; font-size: 14px; white-space: nowrap;
  opacity: 0; transform: translateY(20px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none;
}
.ch-ind.is-on { opacity: 1; transform: none; }
.ch-ind__num { height: 28px; padding: 0 10px; border-radius: 99px; display: grid; place-items: center; background: var(--orange); color: var(--ink); font: 700 11px/1 var(--f-mono); letter-spacing: .08em; }

@media (max-width: 860px) {
  .ch-meta { margin: 0; width: 100%; }
  .ch-head--rail .ch-meta { margin: 0; }
  .ch-ind { left: 50%; transform: translate(-50%, 20px); bottom: 14px; font-size: 13px; }
  .ch-ind.is-on { transform: translate(-50%, 0); }
}

/* LinkedIn button (contact section) */
.contact__li {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; height: 52px; padding: 0 24px 0 7px;
  border-radius: 99px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 15px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact__li svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: #0a66c2; fill: #fff; }
.contact__li:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -10px rgba(10, 102, 194, .8); }

/* =========================================================
   08 · STRATEGY DECKS
   ========================================================= */
.decks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 100px); padding-top: 20px; }
.deck:nth-child(2) { margin-top: clamp(40px, 8vw, 120px); }
.deck__stack {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; margin: 26px 0 0; cursor: pointer;
}
.deck__stack img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: #fff;
  box-shadow: 0 24px 44px -24px rgba(40, 30, 10, .55), 0 0 0 1px rgba(0,0,0,.05);
  transition: transform .7s var(--ease);
}
/* peeks sit inside the column (scaled down) so nothing pokes past the page edge */
.deck__peek--2 { transform: rotate(5deg) translate(3%, -8%) scale(.86); }
.deck__peek--1 { transform: rotate(-4deg) translate(-3%, -6%) scale(.9); }
.deck__cover { transform: rotate(-.5deg); }
.deck__stack:hover .deck__peek--2 { transform: rotate(8deg) translate(7%, -13%) scale(.84); }
.deck__stack:hover .deck__peek--1 { transform: rotate(-7deg) translate(-6%, -10%) scale(.88); }
.deck__stack:hover .deck__cover { transform: rotate(0) translateY(-6px); }
.deck__count {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; padding: 6px 10px 5px; border-radius: 99px;
  background: rgba(27,26,23,.8); color: #fff; font: 700 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
}
.deck__info { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.deck__brand { margin: 0; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3vw, 48px); line-height: .9; letter-spacing: -.04em; }
.deck__title { margin: 6px 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 1.8vw, 28px); color: var(--ink-2); }
.deck__open {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 5px; border-radius: 99px;
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: 14px; transition: transform .3s var(--ease);
}
.deck__open span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--ink); }
.deck__open:hover { transform: translateX(4px); }

@media (max-width: 860px) {
  .decks { grid-template-columns: 1fr; gap: 70px; }
  .deck:nth-child(2) { margin-top: 0; }
}

/* =========================================================
   PHOTO — hero chip, About polaroid, certificate
   ========================================================= */
.hero__top { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__top .hero__label { margin: 0 0 10px; }
.me-chip {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 5px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 24px -16px rgba(40, 30, 10, .5);
  font-size: 15px; transition: transform .3s var(--ease);
}
.me-chip img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.me-chip b { font-weight: 800; }
.me-chip:hover { transform: translateY(-2px) rotate(-1deg); }

.about { grid-template-columns: minmax(0, .72fr) minmax(0, .95fr) minmax(0, 1.3fr); }
.polaroid {
  position: relative; margin: 0; padding: 12px 12px 0; background: #fff; transform: rotate(-3deg);
  box-shadow: 0 30px 50px -28px rgba(40, 30, 10, .6), 0 0 0 1px rgba(0,0,0,.04);
}
.polaroid.is-in { transform: rotate(-3deg); }
.polaroid::before { /* tape */
  content: ""; position: absolute; z-index: 2; top: -14px; left: 50%; width: 110px; height: 28px; margin-left: -55px;
  background: rgba(255, 220, 94, .75); transform: rotate(3deg);
  clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 50%);
}
.polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption { padding: 12px 4px 16px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; text-align: center; color: var(--ink-2); }

.cert__face { overflow: hidden; padding: 0; }
.cert__face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.05); }

@media (max-width: 1100px) and (min-width: 861px) {
  .about { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .about .cert { grid-column: 1 / -1; max-width: 720px; justify-self: center; width: 100%; }
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .polaroid { width: min(78%, 340px); justify-self: center; }
  .me-chip { height: 48px; font-size: 14px; }
  .me-chip img { width: 38px; height: 38px; }
}
