/* =========================================================
   ANNA HARALSON — PORTFOLIO STYLES
   One stylesheet for every page.

   ✎ EASY EDITS: change the colors and fonts in the
   ":root" block right below. Everything else uses them.
   ========================================================= */

:root {
  /* ---- Colors: from the velvet / animal-print moodboard ---- */
  --paper:      #E7DCC6;  /* light sand velvet: main background */
  --paper-deep: #D8C8AA;  /* deeper sand for panels */
  --butter:     #F3ECDD;  /* soft cream panels (details boxes) */
  --ink:        #2B1D1C;  /* espresso: main text */
  --ink-soft:   #5B4640;  /* soft brown: captions */
  --rule:       #BFA985;  /* thin divider lines */
  --red:        #5E1420;  /* plum wine: main accent */
  --yellow:     #4B2517;  /* chocolate velvet */
  --green:      #585C2C;  /* olive velvet */
  --oxblood:    #3B1119;  /* deep plum */
  --navy:       #8497B6;  /* slate blue */
  --rose:       #A5646C;  /* dusty rose: About page background */
  --mauve:      #7A4B50;  /* mauve velvet */
  --cream:      #F6EEDF;  /* cream for text on dark colors */
  --tape:       rgba(246, 238, 223, 0.8); /* see-through tape */

  /* ---- Fonts (loaded from Google Fonts in each page's <head>) ---- */
  --display: "Bodoni Moda", "Didot", Georgia, serif;          /* big headlines */
  --body:    "Newsreader", Georgia, serif;                    /* paragraphs */
  --label:   "Archivo Narrow", "Arial Narrow", sans-serif;    /* small caps labels */
  --marker:  "Caveat Brush", "Marker Felt", cursive;          /* handwriting */

  /* ---- Layout ---- */
  --gutter: clamp(16px, 4vw, 56px);
  --max:    1320px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(17px, 1.05vw + 10px, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Type helpers ---------- */
.label {
  font-family: var(--label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.label--red { color: var(--red); }
.marker {
  font-family: var(--marker);
  color: var(--red);
  font-weight: 400;
  line-height: 1;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; }
.display-xl { font-size: clamp(3.2rem, 10vw, 9.5rem); letter-spacing: -0.02em; }
.display-l  { font-size: clamp(2.6rem, 6.5vw, 5.8rem); letter-spacing: -0.015em; }
.display-m  { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.italic { font-style: italic; }
.lede { font-size: clamp(1.2rem, 1.6vw + 0.6rem, 1.6rem); line-height: 1.45; }
.muted { color: var(--ink-soft); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(231, 220, 198, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo em { color: var(--red); font-style: italic; }
.nav-list { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-family: var(--label); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-list a:hover { color: var(--red); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--red); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  font-family: var(--label); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; font-size: .78rem; color: var(--ink);
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 64px 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav-list a { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--rule); }
  .nav-list a[aria-current="page"] { color: var(--red); border-bottom-color: var(--rule); }
}

/* Magazine running header (the thin line under the nav) */
.running-head {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 14px; padding-bottom: 14px;
  color: var(--ink-soft);
}
.running-head span:nth-child(2) { display: none; }
@media (min-width: 760px) { .running-head span:nth-child(2) { display: inline; } }

/* ---------- HOME: full-screen hero ---------- */
.hero {
  position: relative;
  height: calc(100svh - 64px);
  min-height: 520px;
  overflow: hidden;
  background: var(--paper-deep);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0) 45%, rgba(20,16,12,.55) 100%);
}
.hero__text {
  position: absolute; left: 0; right: 0; bottom: 0;
  color: #FBF7EE;
  padding-bottom: clamp(28px, 6vh, 64px);
}
.hero__name { font-size: clamp(3.4rem, 12vw, 11rem); line-height: .9; letter-spacing: -0.025em; }
.hero__name em { font-style: italic; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; }
.hero__note {
  position: absolute; top: clamp(20px, 6vh, 60px); right: var(--gutter);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  transform: rotate(-6deg);
  color: #F2D14A;
  text-shadow: 0 1px 12px rgba(0,0,0,.25);
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 140px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--butter { background: var(--butter); }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 14px; margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head__kicker { display: block; margin-bottom: 10px; }

/* Intro block (home) */
.intro {
  display: grid; gap: clamp(32px, 6vw, 96px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) { .intro { grid-template-columns: 5fr 7fr; } }
.intro__text p { margin: 0 0 1.1em; }
/* (drop cap turned off; to turn it on again, remove the word 'off-' below) */
.intro__text .lede.off-dropcap::first-letter {
  font-family: var(--display); float: left;
  font-size: 4.2em; line-height: .82; padding: 6px 10px 0 0; color: var(--red);
}

/* ---------- Taped photo (scrapbook detail) ---------- */
.taped {
  position: relative; margin: 0;
  background: #FBF8F1;
  padding: 12px 12px 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 12px 30px -12px rgba(60,40,20,.28);
  transform: rotate(var(--tilt, -1.5deg));
}
.taped img { width: 100%; height: auto; aspect-ratio: var(--ratio, 4/5); object-fit: cover; }
.taped::before, .taped::after {
  content: ""; position: absolute; width: 96px; height: 28px;
  background: var(--tape);
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.taped::before { top: -12px; left: 18%; transform: rotate(-4deg); }
.taped::after  { top: -12px; right: 14%; transform: rotate(5deg); }
.taped--one::after { display: none; }
.taped--one::before { left: 50%; margin-left: -48px; }
.taped figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); }

/* ---------- Project cards ---------- */
.cards {
  display: grid; gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { text-decoration: none; display: block; }
.card__img-wrap { overflow: hidden; background: var(--paper-deep); position: relative; }
.card__img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card__img { transform: scale(1.035); }
.card__num {
  position: absolute; top: 12px; left: 12px;
  background: var(--paper); padding: 3px 8px;
}
.card__body { padding-top: 16px; border-top: 1px solid var(--ink); margin-top: 16px; }
.card__meta { display: flex; justify-content: space-between; gap: 12px; }
.card__title { font-size: clamp(1.5rem, 2vw, 1.9rem); margin: 10px 0 6px; transition: color .2s; }
.card:hover .card__title { color: var(--red); }
.card__desc { margin: 0; color: var(--ink-soft); font-size: .95em; }
.card[hidden] { display: none; }

/* Filter buttons (Selected Work page) */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); }
.filter-btn {
  font-family: var(--label); font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 9px 18px; cursor: pointer; transition: background .2s, color .2s;
}
.filter-btn:hover { background: var(--paper-deep); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--label); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: color .2s, gap .2s;
}
.btn:hover { color: var(--red); gap: 16px; }

/* ---------- PROJECT PAGE ---------- */
.project-hero { position: relative; height: 78svh; min-height: 460px; overflow: hidden; background: var(--paper-deep); }
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-title-block { padding-top: clamp(40px, 6vw, 80px); }
.project-title-block .label { display: block; margin-bottom: 16px; }

.project-layout {
  display: grid; gap: clamp(40px, 6vw, 96px);
  grid-template-columns: 1fr;
  padding-top: clamp(40px, 6vw, 72px);
}
@media (min-width: 900px) { .project-layout { grid-template-columns: 4fr 8fr; } }

/* The "credits" box — Role / Client / Year */
.credits {
  background: var(--butter);
  padding: 26px 26px 10px;
  border-top: 3px solid var(--red);
  align-self: start;
}
@media (min-width: 900px) { .credits { position: sticky; top: 96px; } }
.credits dl { margin: 0; }
.credits div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.credits div:last-child { border-bottom: 0; }
.credits dt { margin-bottom: 4px; color: var(--ink-soft); }
.credits dd { margin: 0; font-family: var(--display); font-size: 1.15rem; }

.story section { margin-bottom: clamp(40px, 5vw, 64px); }
.story h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 16px;
}
.story h2 .label { color: var(--red); }
.story p { margin: 0 0 1em; max-width: 64ch; }
.story ul { padding-left: 1.1em; max-width: 64ch; }
.story li { margin-bottom: .5em; }
.story li::marker { color: var(--red); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin: 28px 0 8px; }
.stat { border-top: 1px solid var(--ink); padding-top: 12px; }
.stat__num { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--red); }
.stat__label { margin-top: 8px; }

.pull-quote {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.25;
  border-left: 3px solid var(--yellow); padding-left: 22px; margin: 32px 0;
  max-width: 30ch;
}

/* Scrapbook-style gallery: taped portrait photos, two per row */
.gallery {
  display: grid; gap: clamp(48px, 6vw, 72px) clamp(24px, 4vw, 56px);
  grid-template-columns: 1fr;
  padding: 24px 0;
}
@media (min-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; align-items: start; }
  .gallery > :nth-child(odd)  { --tilt: -1.6deg; }
  .gallery > :nth-child(even) { --tilt: 1.4deg; margin-top: 64px; }
}
.gallery .taped { max-width: 560px; }

.next-project {
  display: block; text-decoration: none;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: clamp(32px, 5vw, 56px) 0;
}
.next-project:hover h2 { color: var(--red); }
.next-project h2 { transition: color .2s; margin-top: 10px; }

/* ---------- ABOUT PAGE ---------- */
.about-grid {
  display: grid; gap: clamp(40px, 6vw, 96px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 7fr; } }
.about-grid .taped { max-width: 460px; }
.about-copy p { margin: 0 0 1.1em; max-width: 62ch; }
.hand-note { display: block; font-size: 1.8rem; margin-top: 24px; transform: rotate(-3deg); }

/* Experience list — styled like a magazine masthead */
.masthead { list-style: none; margin: 0; padding: 0; }
.masthead li {
  display: grid; gap: 4px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .masthead li { grid-template-columns: 160px 1fr 1.4fr; align-items: baseline; } }
.masthead__role { font-family: var(--display); font-size: 1.35rem; }
.masthead__org { font-style: italic; color: var(--ink-soft); }
.masthead p { margin: 0; font-size: .95em; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .92em; }

.two-col { display: grid; gap: clamp(40px, 6vw, 80px); grid-template-columns: 1fr; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col h3 { font-size: 1.6rem; margin-bottom: 18px; }

/* ---------- CONTACT PAGE ---------- */
.contact { min-height: calc(100svh - 64px - 200px); display: flex; align-items: center; }
.contact__email {
  font-family: var(--display); font-style: italic;
  font-size: clamp(2rem, 7vw, 6rem); line-height: 1.05;
  text-decoration: none; word-break: break-word;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .4s, color .2s;
}
.contact__email:hover { background-size: 100% 3px; color: var(--red); }
.contact__links { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 44px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--ink); padding: 32px 0 40px; margin-top: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.footer-links { display: flex; gap: 24px; }

/* polka-dot strip (from the yellow ribbon in the scrapbook) */
.polka-strip {
  height: 14px;
  background-color: var(--yellow);
  background-image: radial-gradient(var(--ink) 1.4px, transparent 1.6px);
  background-size: 12px 12px;
}

/* ---------- Gentle scroll-in animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card__img, .btn, .contact__email { transition: none; }
}


/* =========================================================
   ADDED FOR REAL PHOTOS (portrait-shaped)
   ========================================================= */

/* Home hero: three photos side by side, like a magazine spread */
.hero__grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; gap: 4px; background: var(--ink); }
.hero__grid img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero__grid img:not(:first-child) { display: none; }
@media (min-width: 760px) {
  .hero__grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero__grid img:not(:first-child) { display: block; }
}

/* "As seen at" strip on Home */
.seen-at { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; text-align: center; }
.seen-at span { font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.seen-at span + span::before { content: "·"; color: var(--red); margin-right: 28px; font-style: normal; }

/* Project page top: title + details on the left, big photo on the right */
.project-top {
  display: grid; gap: clamp(32px, 5vw, 72px);
  grid-template-columns: 1fr; align-items: start;
  padding-top: clamp(32px, 5vw, 64px);
}
@media (min-width: 900px) { .project-top { grid-template-columns: 5fr 6fr; } }
.project-top__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }
.project-top .credits { position: static; margin-top: 32px; }
.project-top h1 { margin-top: 14px; }

/* Text-only cover (for PR / events work with no photos) */
.type-cover {
  aspect-ratio: 4/5; width: 100%;
  background: var(--butter);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 56px clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px);
  border-top: 3px solid var(--red);
  position: relative; overflow: hidden;
}
.type-cover__name { font-family: var(--display); font-style: italic; font-size: clamp(1.8rem, 2.6vw, 3rem); line-height: 1.05; overflow-wrap: anywhere; }
.type-cover__note { font-family: var(--marker); color: var(--red); font-size: 1.6rem; transform: rotate(-4deg); align-self: flex-end; }
.card .type-cover { transition: background .3s; }
.card:hover .type-cover { background: #EFE7B0; }
.card--type .card__img-wrap { background: none; }

/* Styling credits list (Work page) */
.credit-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.credit-list li {
  display: grid; grid-template-columns: 1fr; gap: 2px 24px;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
@media (min-width: 700px) { .credit-list li { grid-template-columns: 1.2fr 1.4fr 80px; align-items: baseline; } }
.credit-list__name { font-family: var(--display); font-size: 1.4rem; }
.credit-list a { text-decoration: none; }
.credit-list a:hover { color: var(--red); }

/* About page: taped index card instead of a portrait */
.note-card {
  position: relative; background: #FBF8F1;
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(192,50,42,.12) 31px 32px);
  padding: 44px 32px 36px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 12px 30px -12px rgba(60,40,20,.28);
  transform: rotate(-2deg); max-width: 440px;
}
.note-card::before {
  content: ""; position: absolute; top: -12px; left: 50%; margin-left: -48px;
  width: 96px; height: 28px; background: var(--tape);
}
.note-card p { margin: 0; font-family: var(--marker); font-size: 1.7rem; line-height: 32px; color: var(--ink); }
.note-card p .red { color: var(--red); }

@media (max-width: 759px) { .hero__note { display: none; } }
.credit-list li > :last-child { text-align: right; }

/* =========================================================
   CLICK-TO-PLAY REEL COVER (Iris Kendall page)
   A "wall" with taped photos and handwritten notes.
   Clicking it swaps in the video (see js/main.js).
   ========================================================= */
.reel-cover {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4/5; container-type: inline-size;
  background: #FAF8F2; border: 0; padding: 0; margin: 0;
  box-shadow: inset 0 0 0 1px var(--rule), 0 14px 34px -18px rgba(60,40,20,.35);
  cursor: pointer; text-align: left; color: var(--ink); overflow: hidden;
  font: inherit;
  transition: transform .3s ease;
}
.reel-cover:hover { transform: translateY(-3px); }
.reel-cover__title {
  position: absolute; top: 3.5%; left: 6%; right: 6%;
  font-family: var(--marker); font-size: 6.6cqw; line-height: 1.05;
}
.reel-cover__title span { display: block; }
.reel-cover__title span + span { margin-left: 10%; }
.reel-cover__photo {
  position: absolute; background: #fff; padding: 1.6cqw 1.6cqw 2.4cqw;
  box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 10px 22px -12px rgba(60,40,20,.35);
}
.reel-cover__photo img { width: 100%; height: auto; display: block; }
.reel-cover__photo::before {
  content: ""; position: absolute; top: -2.6cqw; left: 50%; margin-left: -9cqw;
  width: 18cqw; height: 5cqw; background: var(--tape);
}
.reel-cover__photo--a { left: 6%; top: 23%; width: 50%; transform: rotate(-3deg); }
.reel-cover__photo--b { right: 6%; top: 47%; width: 42%; transform: rotate(2.5deg); z-index: 1; }
.reel-cover__note {
  position: absolute; font-family: var(--marker); font-size: 4.8cqw; line-height: 1.1;
}
.reel-cover__note--a { right: 5%; top: 25%; width: 34%; text-align: center; transform: rotate(4deg); }
.reel-cover__note--b { left: 7%; top: 61%; width: 38%; transform: rotate(-3deg); }
.reel-cover__cta {
  position: absolute; left: 6%; bottom: 7%;
  font-family: var(--marker); font-size: 7cqw; color: var(--red);
  padding: 2.4cqw 5cqw; transform: rotate(-4deg);
}
.reel-cover__cta svg { position: absolute; inset: -8% -10%; width: 120%; height: 116%; overflow: visible; }
.reel-cover__arrows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.reel-cover__arrows path { fill: none; stroke: var(--ink); stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .reel-cover:hover .reel-cover__cta { animation: wiggle .5s ease-in-out 2; }
}
@keyframes wiggle { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(2deg) scale(1.05); } }
.reel-video { width: 100%; aspect-ratio: 4/5; display: block; background: #111; object-fit: contain; }

/* Software tiles (About page) */
.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.tool {
  background: #FBF8F1; border: 1px solid var(--rule); padding: 16px 14px 14px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 6px 16px -12px rgba(60,40,20,.35);
}
.tool:nth-child(odd)  { transform: rotate(-0.8deg); }
.tool:nth-child(even) { transform: rotate(0.7deg); }
.tool svg { width: 30px; height: 30px; margin-bottom: 8px; fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tool__name { font-family: var(--display); font-size: 1.1rem; line-height: 1.15; }
.tool__use { color: var(--ink-soft); font-size: .62rem; }

/* Slide gallery for presentation projects */
.gallery--deck .taped { max-width: none; }
@media (min-width: 700px) { .gallery--deck > :nth-child(even) { margin-top: 40px; } }

/* Card cover for presentation projects: title slide taped onto a yellow page */
.card__deck {
  aspect-ratio: 4/5; background: var(--butter); border-top: 3px solid var(--red);
  display: flex; align-items: center; justify-content: center; padding: 0 8%;
}
.card__deck img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #fff;
  border: 6px solid #FBF8F1; box-shadow: 0 10px 22px -12px rgba(60,40,20,.4);
  transform: rotate(-2deg); transition: transform .5s ease;
}
.card:hover .card__deck img { transform: rotate(0deg) scale(1.04); }

/* Grid of vertical videos (LeadAbroad page) */
.reel-grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.reel-tile video { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; background: #111; }
.reel-tile:nth-child(odd)  { --tilt: -1.2deg; }
.reel-tile:nth-child(even) { --tilt: 1.2deg; margin-top: 28px; }
.reel-tile img { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }

/* Gallery-wall layout: presentation cards are wide (horizontal) and span two columns */
.cards { grid-auto-flow: row dense; align-items: start; }
.card__img--wide { aspect-ratio: 16/9; }
@media (min-width: 640px) { .card--wide { grid-column: span 2; } }
.card--wide .type-cover { aspect-ratio: 16/9; }

/* Gallery-wall feel: portrait photos come in a few different shapes */
.cards--wall .card:not(.card--wide):nth-child(3n+1) .card__img { aspect-ratio: 3/4; }
.cards--wall .card:not(.card--wide):nth-child(3n+2) .card__img { aspect-ratio: 4/5; }
.cards--wall .card:not(.card--wide):nth-child(3n)   .card__img { aspect-ratio: 2/3; }

/* Iris page: handwritten note above the auto-playing reel */
.reel-note { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; color: var(--ink); margin: 0 0 22px; transform: rotate(-2deg); }
.taped .reel-video { aspect-ratio: 9/16; object-fit: cover; }
video.card__img { object-fit: cover; background: #111; }


/* =========================================================
   MOODBOARD COLOR BLOCKS
   Sections take turns in the moodboard colors:
   green, ruby, blue, with zebra and ticking-stripe details.
   ========================================================= */
.section--green, .section--ruby, .section--oxblood { color: var(--cream); }
.section--green   { background: var(--green); }
.section--ruby    { background: var(--red); }
.section--oxblood { background: var(--oxblood); }
.section--blue    { background: var(--butter); }
:is(.section--green, .section--ruby, .section--oxblood) :is(.label--red, .card__meta .label--red) { color: #F0B37E; }
:is(.section--green, .section--ruby, .section--oxblood) :is(.section-head, .card__body) { border-color: var(--cream); }
:is(.section--green, .section--ruby, .section--oxblood) :is(.card__desc, .muted, .masthead__org) { color: #E4D8B4; }
:is(.section--green, .section--ruby, .section--oxblood) .card:hover .card__title { color: #F0B37E; }
:is(.section--green, .section--ruby, .section--oxblood) .btn:hover { color: #F0B37E; }
:is(.section--green, .section--ruby, .section--oxblood) .card__num { background: var(--cream); color: var(--ink); }
.section--ruby .credit-list { border-top-color: var(--cream); }
.section--ruby .credit-list li { border-bottom-color: rgba(251,246,228,.28); }
.section--ruby .credit-list a:hover { color: #F0B37E; }

/* Zebra strip above the footer (replaces the polka dots) */
.polka-strip {
  height: 22px;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22'%3E%3Cpath d='M0 3 C20 0 30 8 50 5 S90 2 120 6 L120 9 C95 6 70 12 45 9 S15 6 0 8Z M0 14 C25 11 40 19 65 15 S100 12 120 16 L120 19 C95 16 75 22 50 19 S20 16 0 18Z' fill='%231E1714'/%3E%3C/svg%3E");
  background-size: 120px 22px;
}
.site-footer { background: var(--oxblood); color: var(--cream); border-top: 0; margin-top: 0; padding: 36px 0 44px; }
.site-footer a:hover { color: #F0B37E; }

/* Ticking stripe under the header */
.site-header { border-bottom: 0; box-shadow: 0 1px 0 var(--rule); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 5px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 6px, var(--cream) 6px 11px);
}

/* Text-only cards become burnt-orange linen */
.type-cover { background: var(--yellow); color: var(--cream); border-top-color: var(--red); }
.type-cover .label { color: var(--cream); }
.type-cover__note { color: #FBF6E4; }
.card:hover .type-cover { background: #8E4619; }

/* Project details box: pale blue with a ruby top edge */
.credits { background: var(--butter); }

/* Filter buttons */
.filter-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--cream); }

/* Photo "prints" and tiles on warm white */
.taped, .tool, .note-card { background: #FFFBEE; }
.pull-quote { border-left-color: var(--yellow); }
.tool svg { stroke: var(--red); }
.tags li { background: rgba(255,251,238,.55); }

/* Blue background: tags get a white fill so they stand out */
.tags li { background: rgba(255,255,255,.45); }


/* =========================================================
   ANIMAL PRINTS + VELVET (latest moodboard)
   ========================================================= */
/* Header: cheetah strip. Footer: zebra strip */
.site-header::after { height: 8px; bottom: -8px; background: url("../images/tex-leopard.jpg") center / 90px auto repeat; }
.polka-strip { height: 26px; background: url("../images/tex-zebra.jpg") center / 140px auto repeat; }
.site-footer { background: var(--yellow); }

/* Slate blue replaces the old light blue sections */
.section--blue { background: var(--navy); }
.section--blue .label--red { color: var(--oxblood); }

/* Cheetah frame around Anna's photo */
.taped--leopard { background: url("../images/tex-leopard.jpg") center / 150px auto repeat; padding: 16px 16px 12px; }
.taped--leopard figcaption { color: var(--cream); background: rgba(43,29,28,.7); margin: 10px -4px 0; padding: 4px 8px; }

/* Text-only project card: zebra print with a plaque */
.type-cover { background: url("../images/tex-zebra.jpg") center / 220px auto repeat; border-top-color: var(--red); }
.type-cover > * { background: var(--oxblood); color: var(--cream); padding: 6px 12px; align-self: flex-start; }
.type-cover .type-cover__note { align-self: flex-end; background: var(--cream); color: var(--red); }
.card:hover .type-cover { background: url("../images/tex-zebra.jpg") center / 240px auto repeat; }

/* Active filter button in cheetah */
.filter-btn[aria-pressed="true"] { background: url("../images/tex-leopard.jpg") center / 70px auto; color: var(--cream); border-color: var(--ink); text-shadow: 0 1px 3px #000; }

/* ABOUT PAGE: dusty rose background */
body.page-about { background-color: var(--rose); color: #1C1011; }
body.page-about .site-header { background: rgba(165, 100, 108, 0.95); }
body.page-about .muted, body.page-about .masthead__org { color: #3A2224; }
body.page-about .label--red, body.page-about .running-head { color: var(--oxblood); }
body.page-about .hand-note { color: var(--cream); }
body.page-about .section--blue { background: var(--mauve); color: var(--cream); }
body.page-about .section--blue .label--red { color: #F2C9C4; }
body.page-about .section--blue .section-head, body.page-about .section--blue .masthead li { border-color: rgba(246,238,223,.35); }
body.page-about .section--blue .masthead__org { color: #EAD3CF; }
body.page-about .tags li { border-color: #1C1011; background: rgba(246,238,223,.3); }
body.page-about .masthead { border-color: #1C1011; }

/* Contact email: always on one line, sized to fit the screen */
.contact__email { white-space: nowrap; word-break: normal; overflow-wrap: normal; font-size: min(5.2rem, 6.4vw); display: inline-block; }

/* =========================================================
   SOFTWARE: phone home-screen style app icons
   ========================================================= */
.apps {
  list-style: none; margin: 0; padding: 22px 18px 18px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 10px;
  background: rgba(43,29,28,.88); border-radius: 30px; max-width: 420px;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.6);
}
.app { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.app__icon {
  width: 62px; height: 62px; border-radius: 15px; display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 12px -6px rgba(0,0,0,.6);
  transition: transform .25s cubic-bezier(.3,1.6,.5,1);
}
.app:hover .app__icon { transform: translateY(-4px) scale(1.06) rotate(-3deg); }
.app__icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.app__name { font-family: var(--label); font-size: .72rem; line-height: 1.2; color: var(--cream); letter-spacing: .02em; }
.app__icon--plum     { background: linear-gradient(160deg, #8A2A3A, #5E1420); }
.app__icon--olive    { background: linear-gradient(160deg, #7C8240, #585C2C); }
.app__icon--slate    { background: linear-gradient(160deg, #9CB0CF, #6F84A6); }
.app__icon--choc     { background: linear-gradient(160deg, #6B3824, #4B2517); }
.app__icon--mauve    { background: linear-gradient(160deg, #C27F88, #A5646C); }
.app__icon--espresso { background: linear-gradient(160deg, #4A3634, #2B1D1C); }
.app__icon--leopard  { background: url("../images/tex-leopard.jpg") center / 70px auto; }
.app__icon--leopard svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,.8)); }
@media (max-width: 380px) { .apps { grid-template-columns: repeat(3, 1fr); } }
