/*
  style.css — Samantha André, Director / DP / Editor
  DP = Director of Photography (defined here; see also data.js and README.md)

  DESIGN TOKENS
  -------------
  Color
    --bg        #0e0e0f  near-black charcoal, a projection-room dark, not pure black
    --paper     #f2eee4  warm bone white (name/logo, primary reading text)
    --muted     #9a958c  warm secondary gray for captions/meta
    --line      #302f2c  hairline dividers on dark
    --teal      #3e6b72  cinema-glow teal — cool accent, used for links/focus
    --brass     #ab8a56  brass/timecode accent — warm accent, used for the numbering signature only

  Type
    --font-display : "Fraunces"   — the name, pull quotes, film titles (editorial serif, used with restraint)
    --font-label   : "Archivo"    — nav, credits, buttons (tracked uppercase, a "film-credit" register)
    --font-body    : "Work Sans"  — running text, synopses, bios
    --font-mono    : "IBM Plex Mono" — the reel-log timecode numbers (signature element)

  Signature element: "Reel Log" — each project tile is treated like a logged clip.
  On hover a hairline frame appears with a mono timecode-style counter (e.g. 03 / 18)
  in brass, and the role/title stack in label + display type, echoing an editor's bin.
*/

:root {
  --bg: #0e0e0f;
  --bg-raised: #141414;
  --paper: #f2eee4;
  --muted: #9a958c;
  --line: #302f2c;
  --teal: #6f9aa1;
  --brass: #c7a869;

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-label: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --header-h: 76px;
  --gutter: 1px;
  --inset: 10%;      /* side inset shared by the grids and the detail pages */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(14,14,15,0.92), rgba(14,14,15,0));
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}

.site-header.is-scrolled {
  background: rgba(14,14,15,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.wordmark {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 19px;
  letter-spacing: 0.06em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Free Spirit Cinema mark, sitting to the left of the name */
.brand-mark {
  height: 34px;
  width: auto;
  flex: 0 0 auto;
}

.wordmark small {
  display: block;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }

.main-nav a {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transition: right .25s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--paper); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 0; }

.nav-toggle {
  display: none;
  background: none; border: 0; color: var(--paper);
  font-family: var(--font-label);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px clamp(20px, 4vw, 56px) 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.site-footer .foot-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--muted);
}

.foot-links { display: flex; gap: 4px; align-items: center; margin-right: -10px; }

/* Brand glyphs. The 40px box is a comfortable tap target around a 20px
   icon; the glyph itself inherits the link colour via fill="currentColor". */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--muted);
  transition: color .25s ease, transform .25s ease;
}

.social-link svg { width: 20px; height: 20px; display: block; }

.social-link:hover { color: var(--teal); transform: translateY(-2px); }

/* ---------- Hero (top of Films / Photography pages) ---------- */

/* The Films and Photography overviews are inset ~10% of the page width on
   both sides; the hero uses the same inset so its left edge lines up with
   the grid below it. */
.page-hero {
  padding: calc(var(--header-h) + 64px) var(--inset) 40px;
}

.grid-pad { padding: 0 var(--inset); }

.page-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--brass);
  margin: 0 0 14px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.page-hero p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

/* ---------- Reel Grid (2-column project grid — signature interaction) ---------- */

.reel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
  background: var(--line);
  border-top: 1px solid var(--line);
}

.reel-cell {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-raised);
  isolation: isolate;
}

.reel-cell .cell-media {
  position: absolute; inset: 0;
}

.reel-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
  filter: grayscale(35%) brightness(.86);
}

.reel-cell:hover img { transform: scale(1.08); filter: grayscale(0%) brightness(.72); }

/* Status tag pinned to a cover (e.g. "In Production") */
.cell-status {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 6px 10px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(14,14,15,0.72);
  border: 1px solid rgba(242,238,228,0.35);
  pointer-events: none;
}

.cell-media.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(135deg, rgba(242,238,228,0.035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--ph-a, #23302f), var(--ph-b, #171b1d));
}

.cell-media.is-placeholder span {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242,238,228,0.45);
}

.reel-cell::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(242,238,228,0.25);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 2;
}
.reel-cell:hover::before { opacity: 1; }

.reel-cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,14,15,0.92) 0%, rgba(14,14,15,0.15) 46%, transparent 62%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 1;
}
.reel-cell:hover::after { opacity: 1; }

.cell-caption {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

.reel-cell:hover .cell-caption { opacity: 1; transform: translateY(0); }

.cell-caption .role {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
}

.cell-caption .title {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
  color: var(--paper);
}

.cell-caption .brand {
  display: block;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 720px) {
  :root { --inset: 5%; }
  .reel-grid { grid-template-columns: 1fr; }
  .reel-cell .cell-caption { opacity: 1; transform: none; }
  .reel-cell::after { opacity: 0.9; }
  .reel-cell img { filter: grayscale(10%) brightness(.8); transform: none; }
}

/* ---------- Detail page (film / photo-set) ---------- */

.detail-hero {
  margin-top: var(--header-h);
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--bg-raised);
}

.detail-hero img { width: 100%; height: 100%; object-fit: cover; }

.detail-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,14,15,0.95), rgba(14,14,15,0.1) 60%);
  pointer-events: none;
}

/* Playable hero: the still is the poster, the play button sits over it. Once
   pressed the whole frame becomes the player at the video's own 16:9 ratio,
   so nothing is cropped off the picture. */
.detail-hero.has-video img { transition: transform .6s ease, filter .6s ease; }
.detail-hero.has-video:hover img { transform: scale(1.02); filter: brightness(.85); }

.detail-hero.is-playing,
.video-tile.is-playing {
  aspect-ratio: 16 / 9;
  background: #000;
}
.detail-hero.is-playing::after,
.video-tile.is-playing::after { display: none; }

.detail-hero iframe,
.video-tile iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

.play-btn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
}

.play-btn svg {
  width: 96px; height: 96px;
  color: var(--paper);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.7)) drop-shadow(0 0 14px rgba(0,0,0,.5));
  transition: transform .25s ease, color .25s ease;
}

.play-btn:hover svg,
.play-btn:focus-visible svg,
.video-tile:hover .play-btn svg,
.video-tile:focus-visible .play-btn svg {
  transform: scale(1.08);
}

.play-btn:focus-visible { outline: none; }
.play-btn:focus-visible svg { color: var(--teal); }

@media (max-width: 720px) {
  .play-btn span { display: none; }
  .play-btn svg { width: 68px; height: 68px; }
}

/* Credits table, in the film-credit register (tracked label, plain value) */

.credits-wrap {
  padding: 36px var(--inset) 0;
}

.credits {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(150px, max-content) 1fr;
  column-gap: 32px;
  row-gap: 14px;
}

.credits dt,
.credits dd {
  margin: 0;
  padding: 0;
}

.credits dt {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 4px;
}

.credits dd {
  font-size: 15px;
  color: var(--muted);
}

.credits dd .me { color: var(--paper); }

.credits dd a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.credits dd a:hover { border-bottom-color: var(--muted); }

@media (max-width: 560px) {
  .credits { grid-template-columns: 1fr; row-gap: 4px; }
  .credits dd { margin-bottom: 12px; }
}

/* Extra videos on the same page (series episodes, companion pieces) */

.more-videos {
  padding: 48px var(--inset) 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.video-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-raised);
  cursor: pointer;
}

.video-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(.8);
  transition: transform .6s ease, filter .6s ease;
}

.video-tile:hover img { transform: scale(1.03); filter: none; }

.video-tile .play-btn svg { width: 56px; height: 56px; }

.video-tile:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.detail-header {
  padding: 44px var(--inset) 30px;
}

.detail-header .role-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 12px;
}

.detail-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.detail-header .brand-line {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0;
}

.detail-body {
  padding: 0 var(--inset) 20px;
  display: grid;
  gap: 26px;
}

.detail-body .synopsis {
  color: var(--paper);
  font-size: 17px;
}

.detail-body .her-note {
  border-left: 2px solid var(--teal);
  padding: 4px 0 4px 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--paper);
}

.detail-body .her-note cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-label);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Filmstrip scroll gallery */

.filmstrip-wrap {
  margin: 56px 0 90px;
  padding-left: var(--inset);
}

.filmstrip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 18px;
  padding-right: var(--inset);
  scroll-snap-type: x proximity;
}

.filmstrip::-webkit-scrollbar { height: 6px; }
.filmstrip::-webkit-scrollbar-thumb { background: var(--line); }
.filmstrip::-webkit-scrollbar-track { background: transparent; }

.strip-frame {
  position: relative;
  flex: 0 0 auto;
  width: min(72vw, 420px);
  aspect-ratio: 3 / 2;
  scroll-snap-align: start;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  overflow: hidden;
}

.strip-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}

/* Hover: the still eases up and brightens; click opens it in the lightbox. */
.strip-frame { cursor: zoom-in; }
.strip-frame:hover img,
.strip-frame:focus-visible img { transform: scale(1.06); filter: brightness(1.08); }
.strip-frame:focus-visible { outline: 1px solid var(--brass); outline-offset: 2px; }

/* Photo-set gallery: the same 2-column grid as the Photography overview,
   in place of the horizontal filmstrip the film pages use. Frames keep the
   .strip-frame class so the lightbox behaves identically. */
.photo-grid-wrap { margin: 56px 0 90px; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
  background: var(--line);
  border-top: 1px solid var(--line);
}

.photo-grid .strip-frame {
  width: auto;
  aspect-ratio: 4 / 3;
  border: 0;
}

@media (max-width: 720px) {
  .photo-grid { grid-template-columns: 1fr; }
}

/* Lightbox */

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(14,14,15,0.94);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
body.lb-locked { overflow: hidden; }

.lb-figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lb-img {
  display: block;
  max-width: min(92vw, 1600px);
  max-height: 84vh;
  width: auto; height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--bg-raised);
}
.lb-caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

.lightbox button {
  position: absolute;
  background: none; border: 0;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 26px; line-height: 1;
  padding: 12px 16px;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s ease, color .2s ease;
}
.lightbox button:hover,
.lightbox button:focus-visible { opacity: 1; color: var(--brass); outline: none; }
.lb-close { top: 14px; right: 18px; font-size: 34px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

@media (max-width: 720px) {
  .lb-img { max-width: 100vw; max-height: 78vh; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}

.detail-nav {
  display: flex;
  justify-content: space-between;
  padding: 0 var(--inset) 70px;
}

.detail-nav.is-back-only { justify-content: flex-start; }

.detail-nav a {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-nav a:hover { color: var(--brass); }

/* ---------- About page ---------- */

.about-layout {
  margin-top: var(--header-h);
  display: grid;
  grid-template-columns: minmax(320px, 55%) 1fr;
  gap: 0;
  min-height: calc(100vh - var(--header-h));
}

.about-portrait { position: relative; background: var(--bg-raised); min-height: 340px; }

/* The portrait is a 3:2 frame with Samantha and the camera just right of
   centre. A tall column crops it hard, so anchor the crop slightly right of
   centre to keep her and the camera in frame. */
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 45% center;
  position: absolute; inset: 0;
}

.about-copy {
  padding: 64px clamp(24px, 4vw, 56px);
  max-width: 560px;
  align-self: center;
}

.about-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 22px;
}

.about-copy p { color: var(--paper); font-size: 16.5px; margin: 0 0 18px; }
.about-copy p.muted { color: var(--muted); }

.about-copy .contact-line {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-copy .contact-line a { color: var(--teal); }

@media (max-width: 980px) {
  .about-layout { grid-template-columns: minmax(280px, 46%) 1fr; }
}

@media (max-width: 780px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { min-height: 52vh; }
  .about-copy { align-self: start; padding-top: 40px; }
}

/* ---------- CV page ---------- */

.cv-layout {
  margin-top: var(--header-h);
  padding: 56px clamp(20px, 4vw, 56px) 90px;
  max-width: 860px;
}

.cv-top {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
  margin-bottom: 40px;
}

.cv-top h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 8px;
}

.cv-top p { margin: 0; color: var(--muted); font-family: var(--font-label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--brass);
  color: var(--paper);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 13px 20px;
  transition: background-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.download-btn:hover { background: var(--brass); color: var(--bg); }

.cv-section { margin-bottom: 38px; }

.cv-section h2 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 18px;
}

.cv-entry {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.cv-entry:first-child { border-top: none; }

.cv-entry .cv-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  padding-top: 2px;
}

.cv-entry .cv-role {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 4px;
}

.cv-entry .cv-detail { margin: 0; color: var(--paper); font-size: 15.5px; }
.cv-entry .cv-detail span { color: var(--muted); }
.cv-entry .cv-detail a { border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease; }
.cv-entry .cv-detail a:hover,
.cv-entry .cv-detail a:focus-visible { color: var(--teal); border-bottom-color: var(--teal); }

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skills-list li {
  list-style: none;
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--paper);
}

/* ---------- Mobile nav ---------- */

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  /* the logo costs horizontal room, so tighten the name to keep the
     header on a single line at narrow widths */
  .wordmark { gap: 9px; font-size: 15px; }
  .wordmark small { font-size: 9px; letter-spacing: 0.18em; }
  .brand-mark { height: 24px; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px clamp(20px,4vw,56px) 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.is-open {
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .cv-top { flex-direction: column; align-items: flex-start; }
}
