/* ==========================================================
   Marina Yanil Acevedo — Portfolio site
   Look & feel from her PDF portfolio (ivory paper, extended
   italic headlines, light geometric body) with layout ideas
   from Oasis Creative: pill buttons, ribbon, rounded images,
   project carousel and big-link footer; plus a process section
   built from her own boards.
   ========================================================== */
:root {
  --paper: #fbf7ee;
  --paper-2: #f3ecdf;
  --blush: #ecd5ca;
  --sand: #e9dfcc;
  --ink: #1a1918;
  --muted: #8b857a;
  --line: rgba(26, 25, 24, 0.16);

  --f-display: "Archivo", "Arial Black", sans-serif;
  --f-body: "Jost", "Century Gothic", "Futura", sans-serif;

  --gutter: clamp(16px, 3.2vw, 44px);
  --radius: 22px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-weight: 300; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { 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(--ink); color: var(--paper); }

/* Type helpers */
.display, em {
  font-family: var(--f-display); font-style: italic; font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em;
}
em { font-weight: 800; text-transform: none; letter-spacing: 0; }
.thin { font-weight: 300; text-transform: uppercase; letter-spacing: 0.04em; }
.label { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- BUTTONS (pills) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: transparent; color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--sm { padding: 9px 20px; font-size: 11px; }
.round {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink);
  font-size: 18px; transition: background 0.25s, color 0.25s;
}
.round:hover { background: var(--ink); color: var(--paper); }
.icon { display: inline-grid; place-items: center; width: 30px; height: 30px; transition: opacity 0.2s; }
.icon svg { width: 18px; height: 18px; }
.icon:hover { opacity: 0.55; }

/* ---------- HEADER ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--gutter); border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
.nav.is-scrolled { background: rgba(251, 247, 238, 0.88); backdrop-filter: blur(10px); border-color: var(--line); }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 32px); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__brand {
  font-family: var(--f-display); font-style: italic; font-stretch: 125%; font-weight: 900;
  font-size: 15px; text-transform: uppercase; white-space: nowrap;
}
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.nav__right .btn { margin-left: 10px; }
.nav__menu { display: none; }

/* Mobile menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 35; background: var(--paper);
  display: flex; align-items: center; padding: var(--nav-h) var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s 0.4s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  font-family: var(--f-display); font-style: italic; font-stretch: 125%; font-weight: 900;
  font-size: 12vw; text-transform: uppercase; line-height: 1.05;
}

/* ---------- COVER ---------- */
/* Soft gradient in the site palette: ivory base, blush (from her
   sheer-fabric cover photo) and warm sand. */
.cover {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 48px) var(--gutter) clamp(40px, 8vh, 88px);
  background:
    linear-gradient(to bottom, rgba(251, 247, 238, 0) 72%, var(--paper) 100%),
    radial-gradient(70% 80% at 88% 12%, var(--blush) 0%, rgba(236, 213, 202, 0) 70%),
    radial-gradient(60% 70% at 6% 96%, var(--sand) 0%, rgba(233, 223, 204, 0) 70%),
    var(--paper);
}
.cover__name {
  font-family: var(--f-display); font-style: italic; font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; line-height: 0.9; letter-spacing: -0.01em;
  font-size: clamp(40px, 7vw, 124px);
}
.cover__line { display: block; animation: rise 1.2s var(--ease) both; }
.cover__line + .cover__line { animation-delay: 0.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.cover__roles {
  list-style: none; margin-top: clamp(28px, 5vh, 56px); padding-top: clamp(20px, 3vh, 32px);
  border-top: 1px solid var(--line);
  font-weight: 300; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15;
  font-size: clamp(22px, 3vw, 48px);
}
.cover__roles li { animation: rise 1.2s var(--ease) both; }
.cover__roles li:nth-child(1) { animation-delay: 0.25s; }
.cover__roles li:nth-child(2) { animation-delay: 0.35s; }
.cover__roles li:nth-child(3) { animation-delay: 0.45s; }

/* ---------- RIBBON ---------- */
.ribbon { position: relative; padding: clamp(56px, 9vh, 96px) 0; overflow: hidden; }
.ribbon__track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  padding: 10px 0; border-block: 1px solid var(--ink);
  font-weight: 300; font-size: clamp(34px, 5vw, 76px); text-transform: uppercase; line-height: 1.1; white-space: nowrap;
  animation: ribbon 40s linear infinite;
}
.ribbon__track i { font-style: normal; font-size: 0.6em; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.ribbon__blob {
  position: absolute; top: 50%; width: clamp(96px, 11vw, 160px); aspect-ratio: 1; object-fit: cover;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  translate: 0 -50%; animation: float 7s ease-in-out infinite;
}
.ribbon__blob--a { left: 16%; rotate: -6deg; }
.ribbon__blob--b { right: 18%; rotate: 5deg; animation-delay: -3.5s; border-radius: 58% 42% 50% 50% / 44% 56% 44% 56%; }
@keyframes float { 50% { translate: 0 calc(-50% - 10px); } }

/* ---------- INTRO + SERVICES ---------- */
.intro {
  display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center;
  padding: clamp(40px, 8vh, 96px) var(--gutter) clamp(96px, 16vh, 180px);
}
.intro__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__title { font-size: clamp(32px, 4vw, 64px); line-height: 0.92; margin: 16px 0 24px; }
.intro__bio { max-width: 560px; font-size: 17px; line-height: 1.65; }
.intro__note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.intro__clients { margin: 28px 0 32px; font-size: 15px; }
.intro__clients .label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; }

.acc { margin-top: 32px; border-top: 1px solid var(--ink); max-width: 560px; }
.acc__item { border-bottom: 1px solid var(--ink); }
.acc__head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 2px; text-align: left; font-size: 15px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
}
.acc__icon { position: relative; width: 14px; height: 14px; flex: none; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.2px; background: currentColor;
  transition: transform 0.4s var(--ease);
}
.acc__icon::after { transform: rotate(90deg); }
.acc__item.is-open .acc__icon::after { transform: rotate(0deg); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc__body > p { overflow: hidden; font-size: 15px; color: #4a463f; }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__item.is-open .acc__body > p { padding: 0 2px 20px; }

/* ---------- CONTENTS (her PDF index) ---------- */
.contents { padding: 0 0 clamp(96px, 14vh, 160px); }
.contents__top {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 0 var(--gutter); font-size: 13px;
}
.contents__top em { font-size: 13px; margin: 0 6px; }
.contents__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 0 var(--gutter); margin-top: clamp(48px, 9vh, 96px); }
.cat { display: flex; flex-direction: column; text-align: left; }
.cat__text { min-height: 180px; display: flex; flex-direction: column; padding-right: 8px; }
.cat__title { font-family: var(--f-display); font-style: italic; font-stretch: 125%; font-weight: 800; font-size: clamp(13px, 1.1vw, 16px); text-transform: uppercase; line-height: 1.2; }
.cat__items { list-style: none; margin-top: 20px; font-size: 14px; line-height: 1.45; }
.cat__brand { margin-top: auto; padding: 16px 0 18px; text-align: right; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.cat__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat:hover .cat__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- PROCESS ---------- */
/* Her real workflow; each step swaps in the matching board from the PDF. */
.process { padding: clamp(88px, 14vh, 160px) var(--gutter); background: var(--ink); color: var(--paper); }
.process__intro { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 32px; align-items: end; margin-bottom: clamp(40px, 7vh, 72px); }
.process__title { font-size: clamp(34px, 4.6vw, 76px); line-height: 0.92; margin-top: 14px; }
.process__lead { font-size: 15px; color: #b9b2a5; }
.process__body { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.process__steps { list-style: none; border-top: 1px solid rgba(251, 247, 238, 0.2); }
.step { border-bottom: 1px solid rgba(251, 247, 238, 0.2); position: relative; }
.step__btn {
  width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 12px;
  padding: 18px 0 16px; text-align: left; opacity: 0.38; transition: opacity 0.4s;
}
.step:hover .step__btn, .step.is-active .step__btn { opacity: 1; }
.step__num { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; }
.step__name { font-family: var(--f-display); font-style: italic; font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 2.3vw, 34px); line-height: 1; }
.step__arrow { font-size: 18px; transition: transform 0.4s var(--ease); }
.step.is-active .step__arrow { transform: translateX(6px); }
.step__desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.step__desc > p { overflow: hidden; padding-left: 56px; font-size: 15px; color: #cfc8ba; }
.step.is-active .step__desc { grid-template-rows: 1fr; }
.step.is-active .step__desc > p { padding-bottom: 18px; }
.step__bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--paper); }
.step.is-active .step__bar { animation: stepbar var(--step-ms, 4200ms) linear forwards; }
.process.is-paused .step.is-active .step__bar { animation-play-state: paused; }
@keyframes stepbar { to { width: 100%; } }
.process__frame { position: sticky; top: calc(var(--nav-h) + 24px); }
.process__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #2a2825; }
.process__stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.03); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease);
}
.process__stage img.is-board { object-fit: contain; background: var(--paper); }
.process__stage img.is-active { opacity: 1; transform: none; }
.process__caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #b9b2a5; }

/* ---------- WORK CAROUSEL ---------- */
.work { padding: clamp(96px, 14vh, 160px) 0; }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--gutter); margin-bottom: 36px; }
.work__title { font-size: clamp(36px, 5vw, 80px); line-height: 0.92; margin-top: 12px; }
.work__ctrl { display: flex; gap: 10px; }
.work__track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter) 8px; scrollbar-width: none; cursor: grab;
}
.work__track::-webkit-scrollbar { display: none; }
.work__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.card { flex: 0 0 clamp(240px, 26vw, 360px); scroll-snap-align: start; text-align: left; }
.card__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.card:hover .card__img img { transform: scale(1.05); }
.card__view {
  position: absolute; left: 50%; bottom: 16px; translate: -50% 10px; opacity: 0;
  padding: 8px 18px; border-radius: 999px; background: var(--paper); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  transition: opacity 0.35s, translate 0.35s var(--ease);
}
.card:hover .card__view { opacity: 1; translate: -50% 0; }
.card__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.card__title { font-weight: 500; }
.card__info { color: var(--muted); white-space: nowrap; }

/* ---------- CONTACT ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end;
  padding: clamp(96px, 16vh, 180px) var(--gutter);
  background: linear-gradient(160deg, var(--paper-2), var(--blush));
}
.contact__title { font-size: clamp(44px, 6.4vw, 104px); line-height: 0.9; margin: 18px 0 28px; }
.contact__lead { max-width: 420px; font-size: 17px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.contact__list { list-style: none; border-top: 1px solid var(--ink); }
.contact__list li { border-bottom: 1px solid var(--ink); }
.contact__list a {
  position: relative; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 16px;
  padding: 20px 14px; overflow: hidden;
}
.contact__list a::before {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease);
}
.contact__list a:hover::before { transform: scaleY(1); }
.contact__list span { position: relative; transition: color 0.3s; }
.contact__list a:hover span { color: var(--paper); }
.contact__list .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact__list .v { font-size: clamp(17px, 1.7vw, 22px); font-weight: 400; overflow-wrap: anywhere; }
.contact__list .arr { transition: transform 0.4s var(--ease), color 0.3s; }
.contact__list a:hover .arr { transform: translate(3px, -3px); }

/* ---------- FOOTER ---------- */
.footer { padding: clamp(72px, 12vh, 120px) var(--gutter) 24px; }
.footer__top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: end; }
.footer__links { display: flex; flex-direction: column; margin-top: 16px; }
.footer__links a {
  width: fit-content; font-weight: 400; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.12; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 92% / 0 2px no-repeat; transition: background-size 0.45s var(--ease);
}
.footer__links a:hover { background-size: 100% 2px; }
.footer__brand { text-align: right; }
.footer__name { font-size: clamp(26px, 3.6vw, 56px); line-height: 0.95; }
.footer__roles { margin-top: 12px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer__icons { display: flex; justify-content: flex-end; gap: 6px; margin-top: 18px; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: clamp(56px, 9vh, 96px); padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- PROJECT SHEET ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(100%); visibility: hidden;
  transition: transform 0.7s var(--ease), visibility 0s 0.7s;
}
.sheet.is-open { transform: none; visibility: visible; transition: transform 0.7s var(--ease); }
.sheet__bar {
  position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter); background: rgba(251, 247, 238, 0.92); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--line);
}
.sheet__nav { display: flex; justify-content: flex-end; gap: 18px; }
.sheet__btn { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.sheet__btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.sheet__btn:first-child { justify-self: start; }
.sheet__head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end;
  padding: clamp(56px, 10vh, 120px) var(--gutter) clamp(40px, 7vh, 80px);
}
.sheet__title { font-size: clamp(38px, 6vw, 96px); line-height: 0.9; }
.sheet__sub { margin-top: 14px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.sheet__desc { font-size: 17px; line-height: 1.65; }
.sheet__meta { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.sheet__meta li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sheet__meta .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-top: 2px; }
.sheet__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.4vw, 20px);
  padding: 0 var(--gutter) clamp(64px, 10vh, 120px);
}
.sheet__item { position: relative; overflow: hidden; border-radius: 14px; background: var(--paper-2); cursor: zoom-in; }
.sheet__item--wide { grid-column: 1 / -1; }
.sheet__item img { width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.sheet__item:not(.sheet__item--wide):hover img { transform: scale(1.03); }
.sheet__item figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 14px; border-radius: 999px;
  background: rgba(251, 247, 238, 0.92); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em;
  opacity: 0; transform: translateY(6px); transition: 0.35s var(--ease);
}
.sheet__item:hover figcaption { opacity: 1; transform: none; }
.sheet__next {
  display: block; width: 100%; padding: clamp(56px, 10vh, 110px) var(--gutter); border-top: 1px solid var(--line);
  text-align: center; background: var(--paper-2);
}
.sheet__next small { display: block; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.sheet__next .display { font-size: clamp(30px, 5vw, 80px); line-height: 0.95; transition: letter-spacing 0.5s var(--ease); }
.sheet__next:hover .display { letter-spacing: 0.02em; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(18, 18, 18, 0.97); color: var(--paper);
  display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: minmax(0, 1fr) auto; align-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__stage { grid-column: 2; display: grid; place-items: center; height: 100%; min-height: 0; padding: 64px 0 12px; overflow: hidden; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; border-radius: 8px; animation: lbIn 0.45s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(0.98); } }
.lightbox__nav { font-size: 24px; height: 100%; opacity: 0.6; transition: opacity 0.2s; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__close { position: absolute; top: 20px; right: var(--gutter); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; }
.lightbox__meta {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter) 22px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__right .icon, .nav__right .btn--dark { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__brand { justify-self: start; }
}
@media (max-width: 900px) {
  .intro, .contact, .sheet__head, .footer__top, .process__intro, .process__body { grid-template-columns: 1fr; }
  .process__frame { position: static; order: -1; }
  .intro__img { max-width: 520px; }
  .footer__brand { text-align: left; }
  .footer__icons { justify-content: flex-start; }
  .contents__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; gap: 14px; }
  .contents__grid::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 62vw; scroll-snap-align: start; }
  .contact__list a { grid-template-columns: 84px 1fr auto; padding: 16px 6px; }
}
@media (max-width: 600px) {
  .cover__word { display: block; }
  .cover__name { font-size: 11.5vw; }
  .cover__roles { font-size: 6vw; }
  .ribbon__blob { width: 84px; }
  .ribbon__blob--a { left: 6%; }
  .ribbon__blob--b { right: 6%; }
  .work__ctrl { display: none; }
  .card { flex-basis: 74vw; }
  .sheet__grid { grid-template-columns: 1fr; }
  .sheet__bar { grid-template-columns: auto 1fr; }
  .sheet__count { display: none; }
  .lightbox { grid-template-columns: 40px 1fr 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
