/* Micky L.K., art director portfolio. Light only by brief: white paper, ink, one signal red. Sharp corners everywhere. */
:root {
  --paper: #fbfbfa;
  --ink: #141414;
  --muted: #5b5b58;
  --line: #e2e2de;
  --red: #e0261d;
  --red-text: #c8190f;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 Archivo, system-ui, sans-serif; font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; }

/* Display type: Archivo pushed wide and heavy */
h1, h2, .mark, .award b, .mail, .next b {
  font-stretch: 118%; font-variation-settings: "wdth" 118; font-weight: 800;
  letter-spacing: -.03em; line-height: .98;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 20; height: 64px;
  display: flex; align-items: center; gap: 20px; padding: 0 var(--pad);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mark { font-size: 22px; text-decoration: none; display: inline-flex; align-items: baseline; }
.mark i { width: .26em; height: .26em; background: var(--red); margin-left: .06em; display: inline-block; }
.role { color: var(--muted); font-size: 14px; }
.top nav { margin-left: auto; display: flex; gap: clamp(14px, 2.4vw, 32px); font-size: 15px; font-weight: 500; }
.top nav a { text-decoration: none; position: relative; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top nav a:hover::after { transform: scaleX(1); }

/* Hero: copy left, 4:5 reel right */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px);
  align-items: end; padding: clamp(28px, 6vh, 72px) var(--pad) clamp(40px, 8vh, 96px);
  min-height: calc(100dvh - 64px);
}
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.live { width: 9px; height: 9px; background: var(--red); animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero h1 { font-size: clamp(44px, 6.6vw, 104px); max-width: 11ch; }
.hero h1 em { font-style: italic; color: var(--red); padding-right: .06em; }
.sub { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 42ch; margin-top: 28px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  padding: 16px 26px; font-weight: 600; white-space: nowrap; transition: background .25s, transform .15s;
}
.btn:hover { background: var(--red); }
.btn:active { transform: translateY(1px); }
.link { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--red); }
.reel { position: relative; justify-self: end; width: min(100%, calc((100dvh - 200px) * .8)); }
.reel video { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: #ddd; }
.reel::before { /* folder tab: "pasta" is Portuguese for folder */
  content: ""; position: absolute; left: 0; top: -14px; width: 38%; height: 14px; background: var(--red);
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}
.reel figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.now { color: var(--ink); font-weight: 700; text-decoration: none; }
.now:hover { color: var(--red-text); }

/* Recognition: one typographic band */
.awards { padding: clamp(48px, 8vw, 96px) var(--pad); border-top: 1px solid var(--ink); }
.awards h2, .work h2 { font-size: clamp(30px, 3.6vw, 52px); margin-bottom: clamp(28px, 4vw, 48px); }
.award-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.award {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  padding: 0 clamp(12px, 1.6vw, 24px) 6px; border-left: 1px solid var(--line); font-size: 15px; color: var(--muted);
}
.award:first-child { padding-left: 0; border-left: 0; }
.award b { font-size: clamp(30px, 3.3vw, 52px); color: var(--ink); margin-bottom: 14px; transition: color .25s; }
.award:hover b { color: var(--red); }
.award .show { color: var(--ink); font-weight: 700; }
.award .for { margin-top: auto; padding-top: 12px; color: var(--ink); }

/* Work grid: 12 columns, staggered spans */
.work { padding: clamp(48px, 8vw, 96px) var(--pad); }
.work h2 small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 12px; font-variation-settings: "wdth" 100; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px) clamp(16px, 2vw, 28px); align-items: start; }
.card { grid-column: span var(--span); text-decoration: none; display: block; }
.card .media { position: relative; display: block; aspect-ratio: var(--ratio); overflow: hidden; background: #e9e9e6; }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.card video { opacity: 0; }
.card.playing video { opacity: 1; }
.card:hover img, .card:hover video { transform: scale(1.03); }
.cap { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-top: 14px; }
.who { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.25; }
.who b { font-weight: 800; }
.flag { color: var(--red-text); font-weight: 700; font-size: 14px; white-space: nowrap; align-self: center; }
.what { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.card:hover .who { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* About */
.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px);
  padding: clamp(48px, 8vw, 112px) var(--pad); border-top: 1px solid var(--ink); align-items: start;
}
.portrait { width: 100%; aspect-ratio: 3/4; object-fit: cover; position: sticky; top: 88px; }
.about h2 { font-size: clamp(32px, 3.6vw, 56px); margin-bottom: 28px; }
.about-copy > p { max-width: 62ch; margin-bottom: 16px; }
.about .lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; font-weight: 500; }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.ledger h3 { font-size: 14px; font-weight: 700; margin: 0 0 14px; color: var(--red-text); }
.ledger h3:not(:first-child) { margin-top: 28px; }
.ledger p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.ledger b { display: block; color: var(--ink); font-weight: 700; }

/* Contact */
.contact { padding: clamp(64px, 11vw, 160px) var(--pad); background: var(--red); color: #fff; }
.contact h2 { font-size: clamp(26px, 3vw, 44px); max-width: 22ch; margin-bottom: clamp(24px, 4vw, 48px); }
.mail { display: inline-block; font-size: clamp(36px, 8.4vw, 148px); text-decoration: none; word-break: break-all; transition: letter-spacing .4s var(--ease); }
.mail:hover { letter-spacing: -.01em; }
.contact p { max-width: 52ch; margin-top: 32px; font-size: 18px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px var(--pad) 40px; font-size: 14px; color: var(--muted); }
.foot span:last-child { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Case pages */
.case { padding: 28px var(--pad) clamp(48px, 8vw, 96px); }
.back { display: inline-block; font-size: 15px; font-weight: 600; text-decoration: none; margin-bottom: clamp(28px, 5vw, 64px); }
.back::before { content: "\2190\00a0"; color: var(--red); }
.case-head .client { font-size: 15px; font-weight: 700; color: var(--red-text); margin-bottom: 14px; }
.case-head h1 { font-size: clamp(42px, 7.2vw, 120px); max-width: 16ch; }
.case-head .line { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.35; max-width: 40ch; margin-top: 24px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); padding-top: 18px; border-top: 1px solid var(--ink); }
.facts dt { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.facts dd { font-size: 17px; font-weight: 600; }
.facts ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts .mine li { background: var(--ink); color: #fff; font-size: 14px; padding: 3px 9px; font-weight: 600; }
.film { background: #111; }
.film.tall { max-width: 560px; }
.film video { width: 100%; }
.play { all: unset; cursor: pointer; position: relative; display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.film.tall .play { aspect-ratio: 4/5; }
.play img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .3s; }
.play:hover img { transform: scale(1.02); opacity: .85; }
.play span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--red); color: #fff; font-weight: 700; padding: 16px 26px; white-space: nowrap;
}
.play span::before { content: ""; display: inline-block; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-right: 12px; vertical-align: -1px; }
.play:focus-visible span { outline: 2px solid #fff; outline-offset: 3px; }
.film iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.film.tall iframe { aspect-ratio: 4/5; }
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); margin: clamp(40px, 6vw, 80px) 0; }
.story p { font-size: clamp(17px, 1.35vw, 20px); max-width: 60ch; margin-bottom: 18px; }
.press a { font-weight: 700; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.won { border-top: 4px solid var(--red); padding-top: 18px; align-self: start; }
.won h2 { font-size: 22px; margin-bottom: 14px; }
.won ul { list-style: none; padding: 0; }
.won li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.gallery { columns: 3 280px; column-gap: clamp(12px, 1.6vw, 24px); }
.shot { all: unset; cursor: zoom-in; display: block; margin-bottom: clamp(12px, 1.6vw, 24px); break-inside: avoid; }
.shot img { width: 100%; }
.shot:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.next {
  display: grid; grid-template-columns: 1fr minmax(120px, 30%); align-items: end; gap: 8px 24px;
  margin-top: clamp(48px, 8vw, 112px); padding-top: 20px; border-top: 1px solid var(--ink); text-decoration: none;
}
.next span { grid-column: 1; font-weight: 600; color: var(--red-text); }
.next b { grid-column: 1; font-size: clamp(30px, 4.6vw, 72px); }
.next img { grid-column: 2; grid-row: 1 / 3; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.next:hover b { color: var(--red); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; margin: auto; }
.lightbox::backdrop { background: rgba(251, 251, 250, .96); }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox form { text-align: right; margin-bottom: 10px; }
.lightbox button { font: inherit; font-weight: 700; background: var(--ink); color: #fff; border: 0; padding: 8px 14px; cursor: pointer; }

/* Reveal on scroll, only when JS runs and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise 1s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live { animation: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .role { display: none; }
  .award-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .award:nth-child(4) { padding-left: 0; border-left: 0; }
  .card { grid-column: span 6; }
  .card[style*="--span:12"] { grid-column: span 12; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phone: everything single column */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .top { gap: 12px; }
  .mark { font-size: 19px; }
  .top nav { gap: 16px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 32px; }
  .reel { justify-self: stretch; width: 100%; margin-top: 18px; }
  .award-row { grid-template-columns: 1fr 1fr; }
  .award, .award:nth-child(4) { padding: 0 0 0 14px; border-left: 1px solid var(--line); }
  .award:nth-child(odd) { padding-left: 0; border-left: 0; }
  .grid { grid-template-columns: 1fr; }
  .card, .card[style*="--span:12"] { grid-column: auto; }
  .card .media { aspect-ratio: 4/3; }
  .card[style*="4/5"] .media { aspect-ratio: 4/5; }
  .about, .story { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 420px; }
  .ledger { grid-template-columns: 1fr; }
  .next { grid-template-columns: 1fr; }
  .next img { grid-column: 1; grid-row: auto; }
}
