/* =========================================================
   Daniela Arce — Portfolio
   Design system built from her personal Design Statement:
   confident, expressive, refined with an edge. Neutrals as a
   base, a strong pop of saturated color when it matters.
   ========================================================= */

/* ---------- Fonts ----------
   Space Grotesk (display/headings) + Inter (body)
   Loaded via Google Fonts in each HTML <head>. See references
   section in the footer for full attribution. */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-red) var(--color-pink);
}

/* Custom scrollbar (WebKit/Blink) matching the palette instead of the
   generic system gray. */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--color-pink);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-red);
  border-radius: 999px;
  border: 2px solid var(--color-pink);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-red-dark);
}

body,
h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[class], ol[class] {
  list-style: none;
  padding: 0;
  margin: 0;
}

img, picture, svg {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

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

/* ---------- Design tokens ---------- */
:root {
  /* Color: burgundy, blush pink, white and cream — Daniela's actual logo
     palette. --color-red/--color-red-dark keep their original names (used
     across dozens of rules below) but now carry a deep burgundy value
     instead of bright red. --color-ink (used everywhere for body text and
     "dark" backgrounds/buttons) is a deep wine burgundy instead of
     near-black, so nothing on the site reads as plain black. */
  /* Strictly 3 colors site-wide: white, pink, and burgundy as an
     accent — no separate cream/off-white tone competing with the pink. */
  --color-ink: #3a1420;
  --color-paper: #ffffff;
  --color-paper-alt: #ffffff;
  --color-line: #e6d6d2;
  --color-red: #7a1f36;
  --color-red-dark: #4a1220;
  --color-pink: #f0cdd4;
  --color-blue: #ffffff;
  --color-white: #ffffff;
  --color-cream: #ffffff;
  --color-blush: #f0cdd4;

  /* Text on dark surfaces */
  --color-ink-contrast: #ffffff;

  /* Typography — max two typefaces per layout:
     Space Grotesk (sharp, geometric) for headlines/display,
     Inter (clean modern sans) for body copy and uppercase labels. */
  --font-display: "Space Grotesk", "Arial Black", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  /* Was a flat 8rem. Clamped so tablet widths (~700-1100px) get a
     proportional in-between value instead of jumping straight from
     --space-xl (5rem) to the full desktop 8rem — sections don't feel
     disproportionately empty right before the 900/1024px breakpoints. */
  --space-2xl: clamp(5rem, 3.5rem + 6vw, 8rem);

  /* Layout */
  --content-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background-color: var(--color-paper);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  transition: opacity 0.18s ease;
}

/* Applied just before an internal link navigates (see script.js), so
   the page fades out instead of cutting straight to white while the
   next page loads. */
body.page-exit {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  body.page-exit {
    opacity: 1;
    transition: none;
  }
}

/* Subtle paper grain over the whole site — keeps flat color blocks from
   feeling like a slick digital gradient. Original texture, generated with
   an SVG noise filter (no external image). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@media (prefers-reduced-motion: reduce) {
  body::after { opacity: 0.045; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.75rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: var(--color-red);
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-ink);
  max-width: 42ch;
}

/* ---------- Scroll reveal ----------
   Elements marked .reveal fade + rise into place the first time they
   cross into view (see script.js). Content is fully visible without
   JS or if IntersectionObserver isn't supported — this only enhances. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Scale-in variant: used on the work grid so it doesn't rise with the
   exact same motion as every other .reveal element on the page — two
   classes (higher specificity than .reveal alone) so this cleanly
   overrides the default translateY instead of fighting it. */
.reveal.reveal--scale {
  transform: scale(0.94);
}

.reveal.reveal--scale.is-visible {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal.reveal--scale {
    transform: none;
  }
}

/* Wipe variant: reveals left-to-right via clip-path instead of
   fade+rise — used once, on the pull quote, so that single line of
   copy gets its own signature moment instead of the generic motion
   every other section uses. The clip-path lives on an inner wrapper
   (.reveal--wipe__inner), never on the observed .reveal element
   itself — Chromium's IntersectionObserver treats a clip-path'd
   element as having ~0 visible area while it's clipped, so watching
   the clipped node directly means it never crosses the visibility
   threshold and .is-visible never gets added. Watching the plain
   (unclipped) <p> and clipping only its child sidesteps that. */
.reveal.reveal--wipe {
  opacity: 1;
  transform: none;
}

.reveal--wipe__inner {
  display: block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease);
}

.reveal.reveal--wipe.is-visible .reveal--wipe__inner {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal--wipe__inner {
    clip-path: inset(0 0 0 0);
    transition: none;
  }
}

/* Staggered rise for rows/cards revealed together */
.orbit__item.reveal:nth-child(2) { transition-delay: 0s; }
.orbit__item.reveal:nth-child(3) { transition-delay: 0.1s; }
.orbit__item.reveal:nth-child(4) { transition-delay: 0.2s; }
.orbit__item.reveal:nth-child(5) { transition-delay: 0.3s; }

.portfolio-grid .project-card.reveal:nth-child(1) { transition-delay: 0s; }
.portfolio-grid .project-card.reveal:nth-child(2) { transition-delay: 0.1s; }

/* ---------- Layout helpers ---------- */
.wrapper {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

@media (min-width: 640px) {
  .wrapper { padding-inline: var(--space-lg); }
}

.section {
  padding-block: var(--space-2xl);
}

.section--tight {
  padding-block: var(--space-xl);
}

/* Intro sits right under the cover's diagonal seam — a tighter
   top gap than the default section--tight so the strip and the text
   don't feel disconnected. Bottom padding stays the same. */
#intro {
  padding-top: var(--space-md);
}

.section--dark {
  background-color: var(--color-pink);
  color: var(--color-ink);
}

.section--red {
  background-color: var(--color-red);
  color: var(--color-white);
}

.section--alt {
  background-color: var(--color-paper-alt);
}

/* Diagonal seam between sections whose background color actually
   changes — a cut instead of a flat line, at the boundaries where it
   reads (skipped between two sections that already share a color). */
.diag-seam {
  position: relative;
  z-index: 2;
  height: clamp(32px, 5vw, 64px);
  margin-top: clamp(-64px, -5vw, -32px);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.diag-seam--rev {
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

/* ---------- Custom cursor (fine-pointer devices only, injected by script.js) ---------- */
html.custom-cursor-enabled *,
html.custom-cursor-enabled *::before,
html.custom-cursor-enabled *::after {
  cursor: none !important;
}

html.custom-cursor-enabled input,
html.custom-cursor-enabled textarea {
  cursor: text !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-red);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    opacity 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: width, height, transform;
}

.custom-cursor span {
  opacity: 0;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ink);
  transition: opacity 0.2s var(--ease);
  white-space: nowrap;
}

.custom-cursor.is-active {
  width: 74px;
  height: 74px;
  background-color: var(--color-white);
  border: 2px solid var(--color-red);
}

.custom-cursor.is-active span {
  opacity: 1;
}

.custom-cursor.is-hidden {
  opacity: 0;
}

/* Skip link for keyboard/screen-reader accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 1em 1.5em;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* Visible, high-contrast focus states everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 3px;
}

/* ---------- Buttons ----------
   "Corner ticks" instead of a filled pill: two viewfinder-style
   brackets that spring outward on hover. No fill, no drop-shadow —
   reads as a design-studio mark, not a SaaS CTA. Tick color always
   follows the text color (currentColor), so this works unmodified on
   every background in the palette (white, cream, pink). */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9em 1.8em;
  border-radius: 0;
  border: none;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: color 0.25s var(--ease);
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  transition: top 0.25s var(--ease), left 0.25s var(--ease), right 0.25s var(--ease), bottom 0.25s var(--ease);
}

.btn::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.btn::after {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

.btn:hover::before {
  top: -6px;
  left: -6px;
}

.btn:hover::after {
  bottom: -6px;
  right: -6px;
}

.btn--primary {
  color: var(--color-red);
}

.btn--primary:hover {
  color: var(--color-ink);
}

.btn--outline {
  color: var(--color-ink);
}

.btn--outline:hover {
  color: var(--color-red);
}

/* ---------- Rail nav + full-screen menu ----------
   A permanent left-edge margin (like a mat border on a print), on
   every page: a hamburger icon up top, the wordmark running vertically
   at the bottom. Click it and a full-screen pink takeover opens with
   the site map as oversized stacked type — no sticky bar, no inline
   link row, no logo lockup. */
:root {
  --rail-w: 52px;
}

@media (min-width: 640px) {
  :root { --rail-w: 68px; }
}

body {
  padding-left: var(--rail-w);
}

.rail {
  position: fixed;
  inset-block: 0;
  left: 0;
  width: var(--rail-w);
  z-index: 80;
  background-color: var(--color-white);
  border-right: 1px dashed var(--color-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-sm);
}

.rail__toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.rail__toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background-color: var(--color-ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.rail__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.rail__toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.rail__name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
  white-space: nowrap;
}

/* ---------- Menu panel (partial-width slide-out, not full-screen) ---------- */
.site-menu-backdrop {
  position: fixed;
  inset: 0;
  left: var(--rail-w);
  z-index: 70;
  background-color: rgba(58, 20, 32, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.site-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.site-menu {
  position: fixed;
  inset-block: 0;
  left: var(--rail-w);
  width: min(86vw, 420px);
  z-index: 75;
  background-color: var(--color-pink);
  border-right: 2px solid var(--color-ink);
  visibility: hidden;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  overflow-y: auto;
}

@media (min-width: 640px) {
  .site-menu { width: min(50vw, 560px); }
}

.site-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.site-menu__top {
  display: flex;
  justify-content: flex-end;
}

.site-menu__socials {
  text-align: right;
}

.site-menu__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.4em;
}

.site-menu__socials a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  color: var(--color-ink);
  font-size: 0.95rem;
  padding: 0.1em 0;
}

.site-menu__socials a:hover {
  color: var(--color-red);
}

.site-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-block: var(--space-lg);
}

.site-menu__links a {
  font-family: "Saira Extra Condensed", var(--font-display), "Arial Narrow", sans-serif;
  font-weight: 900;
  text-decoration: none;
  color: var(--color-ink);
  font-size: clamp(2.5rem, 11vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.site-menu__links a:hover,
.site-menu__links a[aria-current="page"] {
  color: var(--color-white);
  -webkit-text-stroke: 1.5px var(--color-ink);
  padding-left: 0.15em;
}

.site-menu__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-red);
  letter-spacing: 0.04em;
}

.site-menu__clock {
  margin: 0;
  text-transform: uppercase;
}

.site-menu__copyright {
  margin: 0;
}

/* Body-scroll lock while the menu is open (class toggled from script.js) */
.menu-open {
  overflow: hidden;
}

/* Body-scroll lock while the image lightbox is open (class toggled from
   script.js) — same idea as .menu-open above. */
.lightbox-open {
  overflow: hidden;
}

/* ---------- Cover (full-screen entrance, Home only) ---------- */
.cover {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 45%,
    #f2dcd8 0%, #ddaeb0 32%, #a05f68 62%, #4f232c 100%);
  isolation: isolate;
}

/* Full-bleed: the portrait IS the cover, edge to edge, not a card
   floating in the middle. */
.cover__portrait {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.cover__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
  animation: coverPhotoZoomOut 1.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Camera-shutter-opening entrance: the photo starts zoomed in and
   settles to its normal size, then the type develops on top of it
   like an exposure coming into focus. Runs once on page load. */
@keyframes coverPhotoZoomOut {
  from { transform: scale(1.22); }
  to   { transform: scale(1); }
}

@keyframes coverNameBlockIn {
  from { opacity: 0; transform: translateY(calc(-50% + 16px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

@keyframes coverNameRightIn {
  from { opacity: 0; transform: translateY(calc(-50% + 16px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

@keyframes coverScrollCueIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 0.7; transform: translateX(-50%) translateY(0); }
}

.cover__name-block {
  animation: coverNameBlockIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.75s;
}

.cover__name--right {
  animation: coverNameRightIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.9s;
}

.cover__scroll-cue {
  animation: coverScrollCueIn 0.8s var(--ease) both;
  animation-delay: 1.4s;
}

@media (prefers-reduced-motion: reduce) {
  .cover__portrait img,
  .cover__name-block,
  .cover__name--right,
  .cover__scroll-cue {
    animation: none;
  }
}

/* Darkens the edges of the full-bleed photo so the white DANI / ARCE
   type stays readable no matter what's behind it in the photo itself. */
.cover__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(120% 120% at 50% 45%,
    rgba(20, 8, 11, 0) 0%, rgba(20, 8, 11, 0) 38%,
    rgba(20, 8, 11, 0.45) 72%, rgba(20, 8, 11, 0.72) 100%);
}

/* Flower shadow spans the whole screen — over the background AND the
   portrait, like one continuous shadow cast across the whole scene. */
.cover__flower {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.65;
  filter: blur(7px);
  color: #a9636f;
}

.cover__flower .petal path {
  fill: currentColor;
}

.cover__flower .petal {
  transition: transform 0.7s var(--ease);
}

.cover__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.cover__name {
  font-family: "Saira Extra Condensed", var(--font-display), "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(3.25rem, 13vw, 9rem);
  line-height: 0.82;
  letter-spacing: 0;
  color: var(--color-white);
  text-shadow: 0 4px 26px rgba(58, 20, 32, 0.35);
  user-select: none;
  white-space: nowrap;
}

/* Solo elemento (ARCE) — sigue posicionado directo, sin subtítulo. */
.cover__name--right {
  position: absolute;
  top: 50%;
  right: clamp(1.25rem, 4vw, 3.5rem);
  transform: translateY(-50%);
  z-index: 4;
}

/* DANIELA is centered on the exact same vertical midpoint as ARCE — the
   block's own box is sized to the name text only (position:relative,
   no flex), and the subtitle is pinned below it with position:absolute
   so it doesn't shift that centering. */
.cover__name-block {
  position: absolute;
  top: 50%;
  left: clamp(1.25rem, 4vw, 3.5rem);
  transform: translateY(-50%);
  z-index: 4;
}

.cover__name-block .cover__name {
  position: relative;
  display: block;
}

.cover__subtitle {
  position: absolute;
  top: 100%;
  left: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.8rem, 1.4vw, 1.05rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 2px 12px rgba(58, 20, 32, 0.35);
  margin-top: 0.3em;
  white-space: nowrap;
}

.cover__scroll-cue {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  opacity: 0.7;
  text-decoration: none;
}

@media (max-width: 640px) {
  .cover {
    flex-direction: column;
    gap: 1rem;
    padding-block: 6rem 4rem;
  }

  .cover__name-block,
  .cover__name--right {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    align-items: center;
  }

  .cover__name {
    font-size: clamp(2.5rem, 15vw, 4rem);
    text-align: center;
  }

  .cover__subtitle {
    position: static;
    text-align: center;
  }

  .cover__flower {
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cover__flower .petal {
    transition: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: var(--space-xl) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero__title {
  text-transform: uppercase;
}

.hero__title .highlight {
  color: var(--color-red);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* Tools band: borderless, background-less strip of the software and
   platforms Daniela works in. Sits full-width inside the intro section
   (breaking out of the .wrapper max-width), scrolling on its own loop in
   the opposite direction from the work marquee above for a bit of
   variety. Names are set in the same hand-drawn trazo mark used
   elsewhere on the site instead of literal brand-icon artwork. */
.tools-band {
  overflow: hidden;
  margin-top: var(--space-xl);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tools-band__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: toolsBandScroll 34s linear infinite;
}

.tools-band:hover .tools-band__track {
  animation-play-state: paused;
}

.tools-band__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tools-band__item {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-red);
  white-space: nowrap;
  padding-inline: var(--space-sm);
}

.tools-band__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 10px;
  overflow: visible;
  color: var(--color-line);
}

.tools-band__mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes toolsBandScroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .tools-band__track { animation: none; }
}

.hero__portrait {
  position: relative;
  justify-self: center;
}

.hero__portrait-frame {
  width: min(340px, 80vw);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  border: 4px solid var(--color-ink);
  background: var(--color-paper-alt);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 14px 14px 0 var(--color-pink);
}

.hero__portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cutout photo, floating free with no frame/box — sits directly on the
   page with a solid geometric block behind it, like a poster cutout. */
.hero__photo-block {
  position: absolute;
  inset: 6% 4% 2% 10%;
  z-index: 0;
  background-color: var(--color-red);
  border-radius: var(--radius-md);
  transform: rotate(-3deg);
}

.hero__photo,
.cutout-photo {
  position: relative;
  z-index: 1;
  width: min(340px, 78vw);
  display: block;
  margin-inline: auto;
  filter: drop-shadow(6px 8px 6px rgba(58, 20, 32, 0.45));
  transform: rotate(-3deg);
}

.cutout-photo--flip { transform: rotate(3deg) scaleX(-1); }

.hero__photo img,
.cutout-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-photo-wrap {
  position: relative;
}

.placeholder-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-ink);
  text-align: center;
  padding: var(--space-md);
  font-family: var(--font-display);
}

.placeholder-portrait__initials {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-red);
}

/* ---------- CTA band (Home + Works closer) ----------
   Same pink surface as the rest of the page (no separate red block).
   No border/rule at the top — the diagonal seam right above this
   section already does the transition; a flat black line on top of
   that cut just reads as a stray ruler line. Heading and button sit
   bottom-aligned rather than centered, so the button hangs off the
   last line instead of floating dead-center. */

.cta-band__wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
}

.cta-band__heading {
  margin: 0 0 var(--space-lg);
  max-width: 14ch;
}

/* ---------- Pull quote (breather line before the CTA band, Home) ----------
   Left-aligned editorial quote with an oversized quotation mark
   watermark behind it, instead of a centered "poster" banner. */
.pull-quote {
  position: relative;
  overflow: hidden;
}

.pull-quote__wrapper {
  position: relative;
  max-width: 760px;
}

.pull-quote__mark {
  position: absolute;
  top: -0.5em;
  left: -0.05em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 1;
  color: var(--color-white);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.pull-quote__text {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  line-height: 1.15;
}

/* The single pop of burgundy on the pull quote — a filled pill instead
   of text color, restrained until it's not. */
.hl-pill {
  display: inline-block;
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 0.03em 0.35em;
  border-radius: 6px;
}

.pull-quote__end {
  white-space: nowrap;
}

/* ---------- "What I bring to the table" — circular orbit (Home) ----------
   The headline sits at the center; the four things she does are
   arranged around it instead of a numbered list — no 01/02/03/04. Each
   item is identified by a small hand-drawn underline instead of an
   icon — an editorial, sketched mark rather than a stock glyph. Mobile:
   a plain centered stack (a circle doesn't reflow); 900px+: true
   circular placement, with a small burgundy dot drifting slowly around
   the guide circle for a bit of motion + color. */
.orbit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
}

.orbit__center {
  order: -1;
  max-width: 22ch;
}

.orbit__center h2 { margin: 0; }

.orbit__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  max-width: 34ch;
}

.orbit__item h3 { margin: 0; }
.orbit__item p { margin: 0; }

@media (min-width: 900px) {
  .orbit {
    position: relative;
    display: block;
    width: min(100%, 900px);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
  }

  .orbit::before {
    content: "";
    position: absolute;
    inset: 20%;
    border: 1px dashed var(--color-ink);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
  }

  .orbit__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    max-width: none;
    z-index: 1;
  }

  .orbit__center h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  }

  .orbit__item {
    position: absolute;
    width: 220px;
    max-width: none;
    gap: 0.5em;
  }

  .orbit__item--1 {
    top: -8%;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .orbit__item--2 {
    top: 50%;
    right: -8%;
    transform: translate(0, -50%);
    align-items: flex-start;
    text-align: left;
  }

  .orbit__item--3 {
    bottom: -8%;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .orbit__item--4 {
    top: 50%;
    left: -8%;
    transform: translate(0, -50%);
    align-items: flex-start;
    text-align: left;
  }

  /* .reveal's fade-up sets its own `transform: translateY(...)`, which
     would otherwise completely replace (not add to) the translate()
     these items use to center themselves on their anchor point — same
     CSS property, only one value wins. Folding the reveal offset into
     the same transform keeps both the fade-up AND the circular
     centering intact once the item settles into view. */
  .orbit__center.reveal { transform: translate(-50%, calc(-50% + 28px)); }
  .orbit__center.reveal.is-visible { transform: translate(-50%, -50%); }

  .orbit__item--1.reveal,
  .orbit__item--3.reveal { transform: translate(-50%, 28px); }
  .orbit__item--1.reveal.is-visible,
  .orbit__item--3.reveal.is-visible { transform: translate(-50%, 0); }

  .orbit__item--2.reveal,
  .orbit__item--4.reveal { transform: translate(0, calc(-50% + 28px)); }
  .orbit__item--2.reveal.is-visible,
  .orbit__item--4.reveal.is-visible { transform: translate(0, -50%); }
}

/* Hand-drawn underline mark — replaces the old icon badges. Drawn on
   with a stroke-dashoffset reveal the moment its item scrolls into
   view, echoing a pen actually sketching it in. */
.orbit__trazo {
  width: 60px;
  height: 14px;
  overflow: visible;
  color: var(--color-red);
}

.orbit__trazo path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.9s ease 0.25s;
}

.orbit__item.is-visible .orbit__trazo path {
  stroke-dashoffset: 0;
}

.orbit__item--1 .orbit__trazo { transform: rotate(-2deg); }
.orbit__item--2 .orbit__trazo { transform: rotate(1.5deg); }
.orbit__item--3 .orbit__trazo { transform: rotate(-1.5deg); }
.orbit__item--4 .orbit__trazo { transform: rotate(2deg); }

@media (prefers-reduced-motion: reduce) {
  .orbit__trazo path {
    transition: none;
    stroke-dashoffset: 0;
  }
}

/* The small burgundy dot that drifts around the guide circle — the
   "pop of color" + slow loop. Desktop-only: on mobile there's no
   circle for it to travel around. */
.orbit__pop {
  display: none;
}

@media (min-width: 900px) {
  .orbit__pop {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: var(--color-red);
    box-shadow: 0 0 0 5px rgba(122, 31, 54, 0.14);
    offset-path: circle(30% at 50% 50%);
    offset-rotate: 0deg;
    animation: orbitPopDrift 11s linear infinite;
  }

  @keyframes orbitPopDrift {
    to { offset-distance: 100%; }
  }
}

@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .orbit__pop { animation: none; }
}

/* ---------- Section headings ---------- */
.section__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  max-width: 60ch;
}

/* Work section heading: the big headline sits left, with a small
   instructional hint pinned to the far (right) edge of the row — a
   little marginal note telling people what to do, mirroring the rail
   on the opposite edge of the page. */
.work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
}

.work-head h2 { margin: 0; }

.work-head__hint {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  line-height: 1.4;
  max-width: 14ch;
  text-align: right;
  margin-left: auto;
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.about-photo {
  border-radius: var(--radius-md);
  border: 4px solid var(--color-ink);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-paper-alt);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy p + p {
  margin-top: var(--space-sm);
}

.about-copy p {
  max-width: 62ch;
}

/* ---------- About hero: full-bleed color band, photo anchored to the
   bottom edge instead of floating in a blob — a punchier, more editorial
   opening for the About page. ---------- */
.about-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-blue);
  border-bottom: 2px solid var(--color-ink);
}

.about-hero__grid {
  padding-block: var(--space-2xl);
}

.about-hero__copy {
  position: relative;
  z-index: 1;
}

.about-hero__copy p + p {
  margin-top: var(--space-sm);
}

.about-hero__copy p {
  max-width: 62ch;
}

/* Mobile: photo sits in normal flow below the copy, centered */
.about-hero__photo {
  display: flex;
  justify-content: center;
  padding: 0 var(--space-sm) var(--space-lg);
}

.about-hero__photo img {
  width: min(380px, 78vw);
  display: block;
  filter: grayscale(1) contrast(1.05) saturate(1.15) drop-shadow(6px 8px 6px rgba(58, 20, 32, 0.55));
  transition: filter 3.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s, transform 0.4s ease-out;
}

/* Develops from black-and-white into full color the moment it scrolls
   into view — she went from a world of numbers to one of color, so the
   photo makes that same move. Stays fully opaque/positioned throughout;
   only the color itself is the "reveal". Settles into a gentle cursor
   parallax once visible (see script.js). */
.about-hero__photo.reveal,
.about-hero__photo.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.about-hero__photo.reveal.is-visible img {
  filter: grayscale(0) contrast(1) saturate(1) drop-shadow(6px 8px 6px rgba(58, 20, 32, 0.55));
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__photo img { transition: none; }
}

/* Desktop: photo breaks out of the wrapper entirely and pins flush to
   the section's right edge, large — just under half the section width.
   Sized in two tiers so the copy column never collides with the photo
   on narrower desktop widths. */
@media (min-width: 900px) {
  .about-hero { min-height: 640px; display: flex; align-items: center; }
  .about-hero__grid { padding-block: var(--space-xl); width: 100%; }
  .about-hero__copy { max-width: 460px; }

  .about-hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(40%, 480px);
    padding: 0;
  }

  .about-hero__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
  }
}

@media (min-width: 1280px) {
  .about-hero { min-height: 680px; }
  .about-hero__copy { max-width: 560px; }
  .about-hero__photo { width: min(48%, 700px); }
}

.speech-tag {
  display: block;
  width: fit-content;
  background-color: var(--color-ink);
  color: var(--color-paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 0.7em 1.1em;
  border-radius: var(--radius-md);
  transform: rotate(-4deg);
  margin-bottom: var(--space-lg);
}

/* Fun-fact chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-md);
}

.chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5em 1em;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-ink);
  background-color: var(--color-white);
}

/* My Approach cards */
.approach-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .approach-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Pinned to a corkboard, not stamped from a template: each card rests
   at its own slight angle, pops into place as it scrolls into view,
   and straightens when you hover it — like picking it up to read. */
.approach-card {
  --rot: 0deg;
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(58, 20, 32, 0.10), 0 2px 8px rgba(58, 20, 32, 0.06);
  transform: rotate(var(--rot));
  transform-origin: top center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.approach-grid .approach-card:nth-child(1) { --rot: -3deg; }
.approach-grid .approach-card:nth-child(2) { --rot: 2deg; }
.approach-grid .approach-card:nth-child(3) { --rot: -2.5deg; }
.approach-grid .approach-card:nth-child(4) { --rot: 3deg; }

/* Wobbles like a real note flicked on its pin, then settles straight —
   re-triggers every time the mouse enters. */
.approach-card.reveal.is-visible:hover,
.approach-card.reveal.is-visible:focus-within {
  animation: cardWobble 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  box-shadow: 0 20px 40px rgba(58, 20, 32, 0.18), 0 6px 14px rgba(58, 20, 32, 0.1);
  z-index: 2;
}

@keyframes cardWobble {
  0%   { transform: rotate(var(--rot)) translateY(0) scale(1); }
  10%  { transform: rotate(calc(var(--rot) + 11deg)) translateY(-3px) scale(1.01); }
  25%  { transform: rotate(calc(var(--rot) - 9deg)) translateY(-6px) scale(1.02); }
  40%  { transform: rotate(calc(var(--rot) + 6deg)) translateY(-7px) scale(1.02); }
  55%  { transform: rotate(calc(var(--rot) - 3.5deg)) translateY(-8px) scale(1.03); }
  70%  { transform: rotate(calc(var(--rot) + 1.5deg)) translateY(-8px) scale(1.03); }
  85%  { transform: rotate(-0.5deg) translateY(-8px) scale(1.03); }
  100% { transform: rotate(0deg) translateY(-8px) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .approach-card.reveal.is-visible:hover,
  .approach-card.reveal.is-visible:focus-within {
    animation: none;
    transform: rotate(0deg);
  }
}

/* The "thumbtack" pinning each note to the board. */
.approach-card__pin {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-red);
  box-shadow: 0 3px 6px rgba(58, 20, 32, 0.35), inset 0 -2px 3px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.approach-card__pin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

/* Hand-drawn underline mark — same motif as Home's "What I bring to
   the table", identifying each card instead of a 01-04 number. Draws
   itself on the moment the card scrolls into view. */
.approach-card__mark {
  width: 56px;
  height: 13px;
  overflow: visible;
  color: var(--color-red);
  margin-top: -0.2rem;
}

.approach-card__mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.8s ease 0.4s;
}

.approach-card.is-visible .approach-card__mark path {
  stroke-dashoffset: 0;
}

/* Pop-in: cards start smaller, tilted further, and dropped in — then
   spring into their resting angle with a slight overshoot, like a
   note being pinned up. Staggered so they land one after another. */
.approach-card.reveal {
  opacity: 0;
  transform: rotate(calc(var(--rot) * 2.4)) translateY(36px) scale(0.82);
  transition: opacity 0.6s var(--ease), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.approach-card.reveal.is-visible {
  opacity: 1;
  transform: rotate(var(--rot)) translateY(0) scale(1);
}

.approach-card.reveal:nth-child(1) { transition-delay: 0s; }
.approach-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.approach-card.reveal:nth-child(3) { transition-delay: 0.24s; }
.approach-card.reveal:nth-child(4) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .approach-card.reveal {
    opacity: 1;
    transform: rotate(var(--rot));
    transition: none;
  }
  .approach-card__mark path {
    transition: none;
    stroke-dashoffset: 0;
  }
}

/* ---------- Sticker-style icons ----------
   Flat geometric badge: square corner, thick outline, hard offset
   shadow, slight rotation. Graphic rather than "hand-cut". */
.sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 2.5px solid var(--color-ink);
  box-shadow: 3px 3px 0 var(--color-ink);
  flex-shrink: 0;
}

.sticker svg {
  width: 24px;
  height: 24px;
}

.sticker--rot-l { transform: rotate(-6deg); }
.sticker--rot-r { transform: rotate(5deg); }

.sticker--red { background-color: var(--color-red); color: var(--color-white); }
.sticker--ink { background-color: var(--color-ink); color: var(--color-white); }
.sticker--paper { background-color: var(--color-paper); color: var(--color-ink); border-color: var(--color-ink); }

/* Fun-fact chips upgraded with sticker icons */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.chip .sticker {
  width: 32px;
  height: 32px;
  box-shadow: 2px 2px 0 var(--color-ink);
}

.chip .sticker svg { width: 18px; height: 18px; }

/* ---------- Skills: neutral stacked rows, color lives in the icon ---------- */
.skill-block {
  padding-block: var(--space-lg);
  border-bottom: 2px solid var(--color-ink);
  background-color: var(--color-paper);
}

.skill-block:nth-of-type(even) {
  background-color: var(--color-paper-alt);
}

.skill-block__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: var(--space-sm);
  column-gap: var(--space-lg);
}

.skill-block__title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 0 0 auto;
}

.skill-block__title h3 {
  white-space: nowrap;
}

.skill-block__inner > p {
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 46ch;
  margin: 0;
}

.skill-block__tools {
  flex: 1 1 100%;
}

@media (min-width: 1100px) {
  .skill-block__tools {
    flex: 0 1 auto;
    margin-left: auto;
  }
}

.skill-block__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-block__tools span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  border: 2px solid currentColor;
  white-space: nowrap;
}


/* ---------- Portfolio grid ---------- */
.portfolio-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

.project-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(58, 20, 32, 0.10), 0 2px 8px rgba(58, 20, 32, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(58, 20, 32, 0.18), 0 4px 14px rgba(58, 20, 32, 0.10);
}

.project-card__media {
  aspect-ratio: 4 / 3;
  background-color: var(--color-paper-alt);
  position: relative;
  overflow: hidden;
}

.project-card__media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.project-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  padding: var(--space-sm);
  background-image: repeating-linear-gradient(
    45deg,
    var(--color-paper-alt),
    var(--color-paper-alt) 12px,
    var(--color-line) 12px,
    var(--color-line) 13px
  );
}

.project-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.project-card__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
}

.project-card__title {
  font-size: 1.4rem;
}

/* ---------- Work marquee (decorative auto-scroll strip, below the hero) ---------- */
.work-marquee {
  overflow: hidden;
  background-color: var(--color-pink);
}

.work-marquee__track {
  display: flex;
  width: max-content;
  animation: workMarqueeScroll 42s linear infinite;
}

.work-marquee:hover .work-marquee__track {
  animation-play-state: paused;
}

.work-marquee__group {
  display: flex;
  flex-shrink: 0;
}

.work-marquee__item {
  flex: 0 0 auto;
  width: clamp(130px, 17vw, 220px);
  aspect-ratio: 4 / 5;
  margin-right: 3px;
  overflow: hidden;
  background-color: var(--color-pink);
  display: block;
}

.work-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.work-marquee__item:hover img,
.work-marquee__item:focus-visible img {
  transform: scale(1.05);
}

.work-marquee__item:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: -2px;
}

@keyframes workMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .work-marquee__track { animation: none; }
}

/* ---------- Works (dark portfolio grid) ---------- */
.works-hero {
  padding-block: var(--space-2xl) var(--space-lg);
}

.works-hero .eyebrow { color: var(--color-red); }
.contact-hero .eyebrow { color: var(--color-red); }

.works-hero__tags {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-red);
  font-size: 1.1rem;
  margin-top: var(--space-sm);
}

.works-grid {
  display: grid;
  gap: 2px;
  background-color: var(--color-ink);
  border-top: 2px solid var(--color-ink);
}

@media (min-width: 640px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}

.works-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: var(--color-pink);
}

.works-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-pink);
  position: relative;
}

.works-card__media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.works-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.works-card:hover .works-card__media img,
.works-card:focus-visible .works-card__media img {
  transform: scale(1.08);
}

.works-card__media .placeholder-media {
  background-image: repeating-linear-gradient(
    45deg, #232019, #232019 12px, #2d2a22 12px, #2d2a22 13px
  );
  color: var(--color-ink-contrast);
}

/* Name + category stay hidden until the card is hovered, revealed
   together with the image zoom over a light paper scrim for legibility
   — keeps the palette to pink/white with burgundy only as text/accent,
   instead of a dark burgundy overlay. */
.works-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.3em;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 78%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.works-card:hover .works-card__overlay,
.works-card:focus-visible .works-card__overlay {
  opacity: 1;
}

.works-card__overlay h2 {
  font-size: 1.2rem;
  color: var(--color-ink);
  margin: 0;
}

.works-card__category {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-red);
  white-space: nowrap;
}

/* Touch devices can't hover, so keep the overlay visible there —
   otherwise the project name would never be reachable. */
@media (hover: none) {
  .works-card__overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.7) 55%, rgba(255, 255, 255, 0) 100%);
  }
}

/* ---------- Work collage (asymmetric, for the one-page Work section) ---------- */
/* True masonry via plain JS (see script.js), not CSS columns or CSS
   Grid. CSS multi-column masonry balances each column's TOTAL height,
   not its actual bottom edge, so a taller last tile could leave a big
   empty block under the shorter columns — CSS Grid's own auto-placement
   has the same shared-row limitation. script.js instead measures every
   card's real height and places it (via plain left/top positioning)
   into whichever column is currently shortest, the classic masonry
   algorithm — columns end within a couple pixels of each other, not
   hundreds apart. .work-collage's own height is also set by the script,
   since a container of only absolutely-positioned children has no
   natural height of its own. */
.work-collage {
  position: relative;
  background-color: var(--color-pink);
  padding: 3px;
}

.work-collage .works-card {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.work-collage .works-card__media { aspect-ratio: 4 / 5; height: auto; }
.work-collage .works-card--lg .works-card__media { aspect-ratio: 5 / 4; }
.work-collage .works-card--tall .works-card__media { aspect-ratio: 5 / 6; }
.work-collage .works-card--wide .works-card__media { aspect-ratio: 16 / 11; }

/* Movement inside each tile: a slow, continuous drift/zoom on the
   picture wrapper (not the img itself, so it doesn't fight with the
   existing hover-zoom transition on the img). Durations/delays are
   staggered per tile so the whole collage feels alive, not synced. */
@keyframes workDrift {
  0%   { transform: scale(1.06) translate(0, 0); }
  50%  { transform: scale(1.14) translate(-2%, -1.5%); }
  100% { transform: scale(1.06) translate(0, 0); }
}

.work-collage .works-card__media picture {
  animation: workDrift 17s ease-in-out infinite;
}

.work-collage .works-card:nth-child(2n) .works-card__media picture { animation-duration: 21s; animation-delay: -5s; }
.work-collage .works-card:nth-child(3n) .works-card__media picture { animation-duration: 14s; animation-delay: -9s; }
.work-collage .works-card:nth-child(4n) .works-card__media picture { animation-duration: 19s; animation-delay: -2s; }
.work-collage .works-card:nth-child(5n) .works-card__media picture { animation-duration: 16s; animation-delay: -11s; }

@media (prefers-reduced-motion: reduce) {
  .work-collage .works-card__media picture { animation: none; }
}

/* ---------- Reels grid (vertical video content) ---------- */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background-color: var(--color-ink);
  border-top: 2px solid var(--color-ink);
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .reels-grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
}

.reel-card {
  background-color: var(--color-pink);
  min-width: 0;
}

.reel-card__media {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background-color: var(--color-pink);
  position: relative;
}

.reel-card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-card__caption {
  padding: var(--space-sm) var(--space-md);
}

.reel-card__caption h3 {
  font-size: 1rem;
  color: var(--color-ink);
  margin: 0 0 0.2em;
}

.reel-card__caption p {
  color: var(--color-ink);
  opacity: 0.75;
  font-size: 0.9rem;
  margin: 0 0 0.4em;
}

/* Smaller, quieter heading for the reels section — the client name
   (Ohana) should read clearly without the heading dominating the page. */
.section__head--quiet h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

/* Reels are secondary to the main portfolio work — kept deliberately
   small: capped width, smaller type, tighter padding, no full-bleed
   grid like the Work collage above it. */
.reels-section--compact {
  padding-block: var(--space-lg);
}

.reels-section--compact .section__head--quiet {
  margin-bottom: var(--space-md);
}

.reels-section--compact .section__head--quiet h3 {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin: 0;
}

.reels-section--compact .reels-grid {
  max-width: 520px;
  margin: 0;
  border-top: none;
}

.reels-section--compact .reel-card__caption {
  padding: var(--space-xs) var(--space-sm);
}

.reels-section--compact .reel-card__caption h3 {
  font-size: 0.85rem;
}

.reels-section--compact .reel-card__caption p {
  font-size: 0.75rem;
}

.reels-section--compact .works-card__category {
  font-size: 0.7rem;
}

/* ---------- Carousel (horizontal swipe gallery) ---------- */
.carousel {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  background-color: var(--color-pink);
  border-top: 2px solid var(--color-ink);
  -webkit-overflow-scrolling: touch;
}

.carousel-slide {
  flex: 0 0 78%;
  scroll-snap-align: center;
}

@media (min-width: 640px) {
  .carousel-slide { flex-basis: 42%; }
}

@media (min-width: 960px) {
  .carousel-slide { flex-basis: 26%; }
}

.carousel-slide__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--color-pink);
}

.carousel-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-hint {
  color: var(--color-red);
  font-size: 0.85rem;
  margin-top: var(--space-xs);
}

/* ---------- Case study (individual project page) ---------- */
.case-hero {
  background-color: var(--color-pink);
  color: var(--color-ink);
  padding-block: var(--space-2xl) var(--space-lg);
}

.case-hero h1 {
  text-transform: none;
}

.case-meta {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(58, 20, 32, 0.2);
}

@media (min-width: 640px) {
  .case-meta { grid-template-columns: repeat(4, 1fr); }
}

.case-meta dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3em;
  color: var(--color-red);
}

.case-meta dd {
  margin: 0;
  font-weight: 600;
}

.case-body {
  background-color: var(--color-paper);
  color: var(--color-ink);
  padding-bottom: var(--space-2xl);
}

.case-body__grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .case-body__grid { grid-template-columns: 1fr 1.4fr; align-items: start; }
}

.case-body__grid p + p { margin-top: var(--space-sm); }

.case-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-pink);
  aspect-ratio: 4 / 5;
  position: relative;
  cursor: zoom-in;
}

.case-image picture {
  position: absolute;
  inset: 0;
  display: block;
}

.case-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.case-image:hover img,
.case-image:focus-visible img {
  transform: scale(1.05);
}

.case-image:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

.case-gallery {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  margin-top: var(--space-xl);
}

@media (min-width: 640px) {
  .case-gallery { grid-template-columns: repeat(2, 1fr); }
}

.case-gallery .case-image { aspect-ratio: 4 / 3; }

.case-quote {
  max-width: 62ch;
  margin: var(--space-2xl) auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 600;
}

.case-quote footer {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.8;
}

.case-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-md);
  border-top: 1px solid var(--color-line);
  margin-top: var(--space-2xl);
}

/* ---------- Image lightbox (case-study galleries) ----------
   Built once per page by script.js from every .case-image on that
   page, in DOM order, so prev/next cycles through the whole project
   regardless of which grid an image started in. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(20, 8, 11, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0s;
}

.lightbox__figure {
  position: relative;
  max-width: min(90vw, 1400px);
  max-height: 84vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  display: block;
  max-width: min(90vw, 1400px);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.lightbox__img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--color-white);
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.lightbox__close {
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  line-height: 1;
  z-index: 2;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
}

.lightbox__prev { left: var(--space-md); }
.lightbox__next { right: var(--space-md); }

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover,
.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

.lightbox__prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox__next:hover { transform: translateY(-50%) translateX(2px); }

.lightbox__counter {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

@media (max-width: 640px) {
  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox__prev { left: var(--space-xs); }
  .lightbox__next { right: var(--space-xs); }

  .lightbox__close {
    top: var(--space-sm);
    right: var(--space-sm);
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__img {
    transition: none;
  }
}

/* ---------- Timeline (My Journey) ---------- */
.timeline {
  position: relative;
  padding-left: var(--space-lg);
  border-left: 3px solid var(--color-ink);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-lg) - 9px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--color-ink);
  background-color: var(--dot-color, var(--color-red));
}

.timeline__item:nth-child(4n+1) { --dot-color: var(--color-red); }
.timeline__item:nth-child(4n+2) { --dot-color: var(--color-ink); }
.timeline__item:nth-child(4n+3) { --dot-color: var(--color-ink); }
.timeline__item:nth-child(4n+4) { --dot-color: var(--color-ink); }

.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-red);
}

.timeline__item p {
  margin-top: 0.2em;
}

/* ---------- Accordion (My Process / FAQ) ---------- */
.accordion {
  border-top: 2px solid var(--color-ink);
}

.accordion-item {
  border-bottom: 2px solid var(--color-ink);
}

.accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0.25rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.35s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

/* Same "+" glyph throughout — rotating it 45° is what turns it into an
   "×", instead of an instant unicode swap. */
.accordion-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

/* Smooth expand/collapse via the CSS grid-rows trick — animates height
   without JS. The wrapper stays laid out (overriding the browser's
   default display:none on closed <details> content) so 0fr → 1fr can
   actually transition; the inner element clips the content while it's
   collapsed. */
.accordion-item__body-wrap {
  display: grid;
  /* minmax(0, 0fr), not bare 0fr: with auto container height, a plain
     0fr row still floors at the item's own automatic minimum size
     (here, its padding) — minmax forces the true minimum to 0 so it
     actually collapses instead of leaving a ~28px sliver. */
  grid-template-rows: minmax(0, 0fr);
  overflow: hidden;
  transition: grid-template-rows 0.4s var(--ease);
}

.accordion-item[open] .accordion-item__body-wrap {
  grid-template-rows: minmax(0, 1fr);
}

.accordion-item__body-wrap .accordion-item__body {
  overflow: hidden;
  min-height: 0;
}

.accordion-item.reveal:nth-child(1) { transition-delay: 0s; }
.accordion-item.reveal:nth-child(2) { transition-delay: 0.08s; }
.accordion-item.reveal:nth-child(3) { transition-delay: 0.16s; }
.accordion-item.reveal:nth-child(4) { transition-delay: 0.24s; }
.accordion-item.reveal:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .accordion-item__body-wrap { transition: none; }
}

/* ---------- Process aside: photo + quote card beside the accordion ---------- */
.process-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 860px) {
  .process-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
}

.process-aside {
  background-color: var(--color-paper-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(58, 20, 32, 0.12), 0 2px 8px rgba(58, 20, 32, 0.08);
  transform: rotate(-2deg);
}

@media (min-width: 860px) {
  .process-aside { margin-top: var(--space-md); }
}

/* Reveal's own translateY() would replace this permanent tilt outright
   (same property, one wins) — fold the tilt into both reveal states so
   it survives the fade-up, same fix as the orbit and pinned cards. */
.process-aside.reveal {
  transform: rotate(-2deg) translateY(28px);
}

.process-aside.reveal.is-visible {
  transform: rotate(-2deg) translateY(0);
}

.process-aside__photo {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--space-md);
}

.process-aside__photo img {
  width: 78%;
  height: auto;
  display: block;
  filter: grayscale(1) contrast(1.05);
}

/* Full-bleed color photo variant (already has its own background/art —
   no grayscale, fills the card like a framed print instead of floating) */
.process-aside__photo--color {
  padding-top: 0;
  align-items: stretch;
}

.process-aside__photo--color img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) saturate(1.15);
  transition: filter 3s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.process-aside.reveal.is-visible .process-aside__photo--color img {
  filter: grayscale(0) contrast(1) saturate(1);
}

@media (prefers-reduced-motion: reduce) {
  .process-aside__photo--color img { transition: none; }
}

.process-aside__quote {
  padding: var(--space-md);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
}

.process-aside__quote p { max-width: none; }

.process-aside__quote footer {
  margin-top: 0.6em;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.75;
}

.accordion-item summary:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 4px;
}

.accordion-item__body {
  padding: 0 0.25rem var(--space-md);
  max-width: 62ch;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 640px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  padding: 0.9em 1em;
  border-radius: var(--radius-sm);
  border: none;
  background-color: var(--color-white);
  color: var(--color-ink);
  box-shadow: 0 10px 30px rgba(58, 20, 32, 0.10), 0 2px 8px rgba(58, 20, 32, 0.06);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  color: var(--color-ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(58, 20, 32, 0.10), 0 2px 8px rgba(58, 20, 32, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-info-item:hover,
.contact-info-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(58, 20, 32, 0.16), 0 4px 12px rgba(58, 20, 32, 0.08);
}

.contact-info-item--disabled {
  opacity: 0.6;
  cursor: default;
}

.contact-info-item--disabled:hover {
  transform: none;
  box-shadow: none;
}

.contact-info-item__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Honeypot field for Netlify form spam protection — hidden from all users */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-pink);
  color: var(--color-ink);
  border-top: 2px solid var(--color-ink);
  padding-block: var(--space-lg) var(--space-md);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-red);
  margin-bottom: var(--space-xs);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-red);
}

.footer-references {
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-references li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  border-top: 1px solid rgba(58, 20, 32, 0.2);
  padding-top: var(--space-md);
  font-size: 0.85rem;
}
