/* =========================================================
   Ivey Becker — moody night-in-Austin film look, hot pink accents,
   bright flash-photo polaroids and handwriting. Change the colors here and they
   update everywhere.
   ========================================================= */
:root {
  /* One dark "night in Austin" canvas for the whole site */
  --bg: #1f1917;          /* espresso: every section sits on this */
  --panel: rgba(24, 19, 18, 0.62);  /* smoked-glass panels over photos */
  --paper: #fffdf8;       /* polaroid frames + the taped note stay bright */
  --ink: #efe6dc;         /* warm cream text */
  --ink-strong: #f6eee4;  /* headings */
  --muted: #bfb1a6;       /* softer taupe body copy */
  --line: rgba(239, 230, 220, 0.18);  /* hairline borders */
  --paper-ink: #2a2422;   /* text written on paper (captions) */

  --pink: #ff5cb8;        /* hot pink: buttons, links, accents */
  --pink-hover: #ff85c9;
  --blush: #f5dcd8;
  --butter: #f6ecc9;
  --sage: #dfe5d3;
  --sky: #dde8f2;

  --gold: #fbefb3;        /* pale butter: small labels + the script name */
  --credits-pink: #ff5cb8;  /* Rosemary's Baby title pink */
  --credits-edge: #8a1457;
  --radius: 6px;
  --shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.7);
  --snap-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.75);
  --header-h: 68px;
  --display: "Federo", "Euphemia UCAS", sans-serif;
  --hand: "Ivey Script", "Caveat", "Bradley Hand", cursive;
}

/* Ivey's own handwriting */
@font-face {
  font-family: "Ivey Script";
  src: url("fonts/IveyScript.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  size-adjust: 135%; /* the handwriting is drawn small; scale it up to match the layout */
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  /* Euphemia UCAS ships with Macs, iPhones and iPads; other devices fall back to Inter */
  font-family: "Euphemia UCAS", "Euphemia", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* faint film grain over the entire page, so every section reads as one film */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.09;
  mix-blend-mode: screen;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 500; letter-spacing: -0.02em; }
/* Headers: Federo, a free stand-in for ITC Rennie Mackintosh (swap the name here if you buy it) */
h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; color: var(--ink-strong); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

a { color: var(--pink); }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--pink); color: var(--bg); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9em;
}

.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px;
  border: 0; border-radius: 2px;
  background: var(--pink); color: var(--bg);
  font: inherit; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 28px -12px rgba(255, 92, 184, 0.75);
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--pink-hover); transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(31, 25, 23, 0.82);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }

/* While the skyline is showing, the header is see-through with light text */
.site-header:not(.scrolled):not(.menu-open) {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header:not(.scrolled):not(.menu-open) .brand,
.site-header:not(.scrolled):not(.menu-open) .site-nav a { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.site-header:not(.scrolled):not(.menu-open) .bow { stroke: #fff; }
.site-header:not(.scrolled):not(.menu-open) .bow circle { fill: #fff; }
.site-header:not(.scrolled):not(.menu-open) .site-nav a:hover { color: var(--gold); }
.site-header:not(.scrolled):not(.menu-open) .site-nav .nav-cta { border-color: rgba(255, 255, 255, 0.85); }
.site-header:not(.scrolled):not(.menu-open) .site-nav .nav-cta:hover { background: var(--pink); border-color: var(--pink); color: var(--bg); text-shadow: none; }
.site-header:not(.scrolled):not(.menu-open) .burger span { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }

.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
}
.bow { width: 30px; height: 18px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bow circle { fill: var(--pink); stroke: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.site-nav a {
  position: relative;
  color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 50%; bottom: -8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--pink); transform: translateX(-50%) scale(0);
  transition: transform 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--pink); }
.site-nav a.active::after { transform: translateX(-50%) scale(1); }

.site-nav .nav-cta {
  padding: 8px 18px; border-radius: 2px;
  border: 1px solid var(--pink); color: var(--pink);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.site-nav .nav-cta:hover, .site-nav .nav-cta.active { background: var(--pink); color: var(--bg); }

/* Burger (hidden on desktop) */
.burger {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform 0.25s, opacity 0.2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Polaroid snapshots ---------- */
.snap {
  margin: 0;
  background: var(--paper);
  padding: 10px 10px 0;
  border-radius: 4px;
  box-shadow: var(--snap-shadow);
  position: relative;
  transition: transform 0.3s ease;
}
.snap-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  display: grid; place-items: center;
  /* placeholder: a warm "flash photo" glow until a real image is added */
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.75), transparent 45%),
    linear-gradient(160deg, var(--tone, var(--blush)), color-mix(in srgb, var(--tone, var(--blush)) 70%, #c9b8a8));
}
.snap-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* thin pen strokes: thicken slightly so they read at small sizes */
.snap figcaption, .note, .signature, .ex-list .hand { -webkit-text-stroke: 0.35px currentColor; }

.snap figcaption {
  font-family: var(--hand);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--paper-ink);
  text-align: center;
  padding: 12px 6px 14px;
}
/* Ivey's handwritten captions, scanned from paper */
.snap figcaption .cap-img { display: block; height: 40px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.snap-wall .snap figcaption { padding: 10px 2px 12px; }
.tone-blush  { --tone: var(--blush); }
.tone-butter { --tone: var(--butter); }
.tone-sage   { --tone: var(--sage); }
.tone-sky    { --tone: var(--sky); }

.ph-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* A strip of washi tape */
.tape {
  position: absolute; z-index: 2;
  top: -14px; left: 50%;
  width: 110px; height: 30px;
  transform: translateX(-50%) rotate(-3deg);
  background: repeating-linear-gradient(45deg, rgba(245, 220, 216, 0.9) 0 7px, rgba(251, 239, 179, 0.9) 7px 14px);
  box-shadow: 0 1px 2px rgba(42, 36, 34, 0.12);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 32px) 20px 96px;
  color: #fff;
  background: #6f7f99 url("images/skyline.jpg") center 42% / cover no-repeat;
}
/* soft tint so the lettering reads on any part of the photo */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28, 22, 36, 0.38) 0%, rgba(28, 22, 36, 0.12) 38%, rgba(28, 22, 36, 0.2) 62%, rgba(31, 25, 23, 0.7) 86%, #1f1917 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); margin-bottom: 2.2em; }

.hero-title {
  position: relative;
  display: inline-block;
  margin: 0 0 0.3em;
  padding: 0 0.35em;
  font-family: "Great Vibes", "Snell Roundhand", cursive;
  font-weight: 400;
  font-size: clamp(5.2rem, 16vw, 11rem);
  line-height: 0.82;
  letter-spacing: 0;
  color: var(--gold);
  text-shadow: 0 2px 2px rgba(60, 40, 20, 0.25), 0 4px 30px rgba(0, 0, 0, 0.35);
}
.ht-line { display: block; }
.ht-1 { transform: translateX(-16%); }
.ht-2 { transform: translateX(16%); }

.sparkle {
  position: absolute;
  fill: var(--gold);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  animation: twinkle 3.2s ease-in-out infinite;
}
.sp-1 { width: 0.5em;  top: -0.18em; right: 0.02em; }
.sp-2 { width: 0.2em;  top: 0.34em;  right: -0.12em; animation-delay: 0.8s; }
.sp-3 { width: 0.36em; bottom: 0.02em; left: -0.06em; animation-delay: 1.6s; }
.sp-4 { width: 0.16em; top: 0.12em;  left: 0.5em;   animation-delay: 2.3s; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50%      { transform: scale(0.78) rotate(12deg); opacity: 0.75; }
}

.hero-sub {
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  max-width: 600px; margin: 0 auto 2em;
  text-wrap: balance; /* even line lengths, no lonely last word */
}

.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 26px;
  width: 26px; height: 42px; transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 999px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: #fff;
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
/* each section paints its own dark background and stacks in order, so the
   sticky sunset photo behind Experience can never bleed into the next section */
main > section:not(.hero) { position: relative; z-index: 1; background-color: var(--bg); }
.section-tint { background: var(--bg); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-lede { color: var(--muted); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.about-text p { color: var(--muted); }
.about-pull {
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--pink) !important;
  border-left: 2px solid var(--pink);
  padding-left: 16px;
  margin: 1.4em 0 1.2em;
}
.signature { font-family: var(--hand); font-size: 1.9rem; color: var(--pink) !important; margin-top: 0.4em; }

.about-photo { max-width: 400px; width: 100%; justify-self: center; transform: rotate(2.5deg); padding: 14px 14px 0; }
.about-photo:hover { transform: rotate(0deg); }
.about-photo img { object-position: center; }
.about-photo figcaption { font-size: 1.6rem; padding: 16px 6px 18px; }

/* Experience timeline: center line, cards alternate sides */
.timeline {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 1000px;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%;
  width: 2px; transform: translateX(-50%);
  background-image: radial-gradient(var(--pink) 1.6px, transparent 2px);
  background-size: 2px 12px;
  background-repeat: repeat-y;
  opacity: 0.45;
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 44px 0 0;
  margin-bottom: 28px;
}
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 0 44px; }

/* marker dot on the line */
.tl-item::after {
  content: ""; position: absolute; top: 30px; right: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--pink);
  box-shadow: 0 0 0 5px rgba(255, 92, 184, 0.15);
}
.tl-item:nth-child(even)::after { right: auto; left: -9px; }

.tl-card {
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
          backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
/* pink border on hover: the inset ring makes it 2px thick without shifting the layout */
.tl-card:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
  box-shadow: inset 0 0 0 1px var(--pink), var(--shadow);
}
.tl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tl-badge {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.tl-badge img { width: 72%; height: 72%; object-fit: contain; }
.tl-date { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--pink); letter-spacing: 0.02em; }
.tl-card h3 { margin-bottom: 0.25em; }
.tl-org { font-size: 0.92rem; font-weight: 500; color: var(--ink); margin-bottom: 0.6em; }
.tl-card li { color: #d4c8be; }
.tl-desc { font-size: 0.9rem; color: var(--muted); font-style: italic; margin-bottom: 0.8em; }
.tl-card ul { margin: 0; padding-left: 1.1em; }
.tl-card li { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.55em; }
.tl-card li::marker { color: var(--pink); }
.tl-more { text-align: center; margin: 40px 0 0; }
.tl-more a { font-weight: 500; text-decoration: none; }
.tl-more a:hover { text-decoration: underline; }

/* Experience over Ivey's sunset photo */
.exp-photo { position: relative; background: var(--bg); padding: 0; }
.exp-bg {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  margin-bottom: -100vh; margin-bottom: -100svh;
  background: url("images/experience-bg.jpg") center 58% / cover no-repeat;
  z-index: 0;
}
.exp-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #1f1917 0%, rgba(24, 20, 28, 0.45) 16%, rgba(20, 18, 30, 0.3) 50%, rgba(24, 20, 28, 0.5) 84%, #1f1917 100%);
}
.exp-photo .container { position: relative; z-index: 1; padding: clamp(72px, 10vw, 120px) 0; }
/* dissolve the sunset photo into the dark at the end of the section */
.exp-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 340px; z-index: 2;
  background: linear-gradient(180deg, rgba(31, 25, 23, 0), #1f1917);
  pointer-events: none;
}
.exp-photo .section-head .eyebrow { color: var(--gold); }
.exp-photo .section-head h2 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.exp-photo .section-lede { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.exp-photo .timeline::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.95) 1.6px, transparent 2px);
  opacity: 0.7;
}
.exp-photo .tl-item::after { background: var(--bg); border-color: var(--pink); box-shadow: 0 0 0 5px rgba(255, 92, 184, 0.18); }
.exp-photo .tl-more a { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }

/* What my boss says: pull quotes, no cards */
.praise { padding-top: 0; padding-bottom: clamp(56px, 8vw, 96px); }
/* title card over Ivey's view from her San Francisco office */
.credits.credits-sf {
  background:
    linear-gradient(180deg, #1f1917 0%, rgba(31, 25, 23, 0.6) 10%, rgba(31, 25, 23, 0) 28%),
    #9aa3a6 url("images/sf-credits.jpg") center 55% / cover no-repeat;
}
.praise blockquote { margin: 0; }
.praise .credits { margin-bottom: clamp(56px, 8vw, 96px); }
.praise-lead {
  position: relative;
  max-width: 900px;
  padding-left: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(36px, 5vw, 56px) !important;
}
.praise-lead::before {
  content: "\201C";
  position: absolute; left: -6px; top: -0.32em;
  font-family: "Great Vibes", cursive;
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 1;
  color: var(--pink);
}
/* closing quote mark, inline at the end of the lead quote */
.praise-lead p::after {
  content: "\201D";
  font-family: "Great Vibes", cursive;
  font-size: 2.8em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-left: 0.06em;
  color: var(--pink);
}
.praise-lead p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.3;
  color: var(--ink-strong);
}
.praise-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.praise-grid blockquote { padding: 22px 32px 20px 0; }
.praise-grid blockquote:nth-child(even) { padding: 22px 0 20px 32px; border-left: 1px solid var(--line); }
.praise-grid blockquote:nth-child(n+3) { border-top: 1px solid var(--line); }
/* odd number of quotes: the last one runs full width */
.praise-grid blockquote:last-child:nth-child(odd) { grid-column: 1 / -1; padding-right: 0; }
.praise-grid p { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.55; }
.praise-credit {
  margin: 32px 0 0; padding-top: 18px;
  border-top: 2px solid var(--gold);
  display: inline-block;
  font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted);
}
.praise-name { display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.01em; color: var(--gold); margin-bottom: 2px; }

@media (max-width: 760px) {
  .praise-grid { grid-template-columns: 1fr; border-top: 0; }
  .praise-grid blockquote:nth-child(n) {
    padding: 18px 0; border-left: 0; border-top: 1px solid var(--line);
  }
  .praise-grid blockquote:first-child { border-top: 0; }
}

/* Skills I'm learning at McCombs: editorial ledger, no cards */
.mc-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 48px); }
.mc-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; }
.mc-label {
  font-family: "Euphemia UCAS", "Euphemia", "Inter", sans-serif;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pink); margin: clamp(48px, 7vw, 72px) 0 0;
}
.mc-label:first-of-type { margin-top: 0; }

.mc-ledger { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.mc-row {
  display: grid; grid-template-columns: 260px 1fr; gap: 32px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.mc-status { margin: 0 0 6px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.mc-status.mc-now { color: var(--gold); }
.mc-course h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: var(--ink-strong); line-height: 1.2; }
.mc-detail p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.mc-detail .mc-note { margin-top: 10px; color: var(--ink); font-size: 0.92rem; font-style: italic; }

.mc-project {
  margin-top: 16px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.mc-project-meta { margin: 0 0 14px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.mc-project-intro { color: var(--ink); max-width: 760px; }
.mc-takeaways { margin: 18px 0 0; padding-left: 1.3em; display: grid; gap: 12px; max-width: 820px; }
.mc-takeaways li { color: var(--muted); font-size: 0.98rem; }
.mc-takeaways li::marker { color: var(--pink); font-family: var(--display); }
.mc-takeaways strong { color: var(--ink-strong); font-weight: 600; }

.mc-clubs { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.mc-clubs li {
  display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.mc-club { font-family: var(--display); font-size: 1.15rem; color: var(--ink-strong); }
.mc-club-what { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 760px) {
  .mc-row, .mc-clubs li { grid-template-columns: 1fr; gap: 8px; }
}

/* Reveal on scroll (only when JS is running) */
.js .tl-item { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .tl-item.in { opacity: 1; transform: none; }

/* Expertise: dark, moody, editorial (no cards, no icons) */
.moody {
  position: relative;
  background: var(--bg);
  color: #efe6dc;
  overflow: hidden;
}
.moody .container { position: relative; }
.moody .eyebrow { color: var(--gold); }

/* "Rosemary's Baby" style title card over a faded aerial of Austin */
.moody { padding-top: 0; margin-top: -2px; } /* tuck under the photo above so no hairline seam shows */
.credits {
  position: relative; z-index: 3;
  min-height: clamp(360px, 62vh, 620px);
  display: grid; place-items: center;
  text-align: center;
  padding: 60px 20px;
  margin-bottom: clamp(48px, 7vw, 88px);
  background:
    linear-gradient(180deg, #1f1917 0%, rgba(31, 25, 23, 0.75) 14%, rgba(31, 25, 23, 0.3) 30%, rgba(31, 25, 23, 0) 46%),
    #9aa3a6 url("images/austin-credits.jpg") center 40% / cover no-repeat;
}
/* fade the photo into the dark section below */
.credits::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(180deg, rgba(31, 25, 23, 0), #1f1917);
  pointer-events: none;
}
.credits-inner { position: relative; z-index: 1; }
.credits-small {
  margin: 0 0 0.5em;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--credits-pink);
  text-shadow:
    1px 1px 0 var(--credits-edge), -1px -1px 0 var(--credits-edge),
    1px -1px 0 var(--credits-edge), -1px 1px 0 var(--credits-edge),
    2px 3px 0 rgba(90, 10, 55, 0.5), 0 0 12px rgba(255, 70, 170, 0.5);
}
.credits-title {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(3.4rem, 10vw, 8rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--credits-pink);
  /* thin dark-magenta edge + soft glow, like 60s optical-printer titles */
  text-shadow:
    1px 1px 0 var(--credits-edge),
    -1px -1px 0 var(--credits-edge),
    1px -1px 0 var(--credits-edge),
    -1px 1px 0 var(--credits-edge),
    3px 4px 0 rgba(90, 10, 55, 0.55),
    0 0 24px rgba(255, 70, 170, 0.5);
}
.credits-and { font-size: 0.8em; padding: 0 0.08em; }

/* Same title card, reused for the McCombs section over the UT Tower */
.mc-section { padding-top: 0; }
.credits.credits-ut {
  background:
    linear-gradient(180deg, #1f1917 0%, rgba(31, 25, 23, 0.4) 8%, rgba(31, 25, 23, 0) 22%),
    #9aa3a6 url("images/ut-credits.jpg") 30% 22% / cover no-repeat;
  place-items: center end;            /* title sits over the dark trees, the Tower stays clear on the left */
  padding-right: clamp(20px, 9vw, 140px);
}
@media (max-width: 760px) {
  .credits-ut { place-items: end center; padding: 60px 20px 48px; background-position: 38% 20%, 38% 20%; }
}

.ex-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-top: 1px solid rgba(239, 230, 220, 0.22);
}
.ex-col { padding: 28px 32px 8px; }
.ex-col:first-child { padding-left: 0; }
.ex-col:last-child { padding-right: 0; }
.ex-col + .ex-col { border-left: 1px solid rgba(239, 230, 220, 0.22); }

.ex-num {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.6em;
}
.ex-col h3 { font-size: 1.45rem; font-weight: 400; letter-spacing: 0.01em; color: #f6eee4; margin-bottom: 0.7em; }
.ex-col p { color: #bfb1a6; font-size: 0.98rem; }

/* skills ledger: number | skill + proof */
.skill-list { list-style: none; margin: 0; padding: 0; }
.skill-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  padding: 18px 0; border-top: 1px solid rgba(239, 230, 220, 0.12);
}
.skill-list li:first-child { border-top: 0; padding-top: 0; }
.skill-no { font-family: var(--display); font-size: 1.3rem; color: var(--pink); line-height: 1.2; }
.ex-skills h3 { font-size: 1.3rem; margin-bottom: 0.35em; }
.ex-skills p { margin: 0; }
.ex-list { list-style: none; margin: 4px 0 0; padding: 0; }
.ex-list li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(239, 230, 220, 0.12);
  color: #efe6dc;
  font-size: 0.98rem;
}
.ex-list li:first-child { border-top: 1px solid rgba(239, 230, 220, 0.12); }
.ex-list .hand { font-family: var(--hand); font-size: 1.3rem; color: var(--gold); line-height: 1; margin-left: 4px; }

/* Hand embroidery gallery, under the interests list */
.emb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.emb-grid figure { margin: 0; overflow: hidden; border-radius: 2px; border: 1px solid rgba(239, 230, 220, 0.14); aspect-ratio: 1; }
.emb-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.emb-grid figure:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .emb-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .emb-grid { grid-template-columns: 1fr 1fr; } }

/* Real estate band, below the skills ledger */
.re-band { margin-top: clamp(56px, 8vw, 88px); border-top: 1px solid rgba(239, 230, 220, 0.22); padding-top: 28px; }
.re-head { margin-bottom: 26px; }
.re-head .ex-num { margin: 0 0 10px; }
.re-head h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink-strong); }
.re-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.re-list li { padding: 0 22px; }
.re-list li:first-child { padding-left: 0; }
.re-list li:last-child { padding-right: 0; }
.re-list li + li { border-left: 1px solid rgba(239, 230, 220, 0.16); }
.re-angle { margin: 0 0 8px; font-family: var(--display); font-size: 1.1rem; color: var(--pink) !important; }
.re-list p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

@media (max-width: 1000px) {
  .re-list { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .re-list li, .re-list li:first-child, .re-list li:last-child { padding: 0 20px 0 0; border-left: 0; }
  .re-list li + li { border-left: 0; }
}
@media (max-width: 600px) {
  .re-list { grid-template-columns: 1fr; gap: 0; }
  .re-list li { padding: 16px 0 !important; border-top: 1px solid rgba(239, 230, 220, 0.12); }
  .re-list li:first-child { border-top: 0; padding-top: 0 !important; }
}

/* Lately: photo wall */
.snap-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px 24px;
  align-items: start;
}
.snap-wall .snap:nth-child(3n+1) { transform: rotate(-3deg); }
.snap-wall .snap:nth-child(3n+2) { transform: rotate(2deg) translateY(16px); }
.snap-wall .snap:nth-child(3n)   { transform: rotate(-1deg) translateY(6px); }
.snap-wall .snap:hover { transform: rotate(0) scale(1.03); z-index: 3; }

.note {
  position: relative;
  align-self: center;
  background: var(--paper);
  padding: 30px 24px 22px;
  border-radius: 4px;
  box-shadow: var(--snap-shadow);
  transform: rotate(2deg);
  font-family: var(--hand);
  font-size: 1.12rem;
  line-height: 34px;
  color: var(--paper-ink);
}
.note p, .note ol { margin: 0; }
.note-scan { background-image: none; padding: 26px 16px 16px; }
.note-scan img { display: block; width: 100%; height: auto; }
/* On wide screens the note is small, so it lifts and enlarges when hovered (or focused by keyboard) */
@media (min-width: 1101px) {
  .note-scan { cursor: zoom-in; transition: transform 0.35s ease, box-shadow 0.35s ease; position: relative; z-index: 2; }
  .note-scan:hover, .note-scan:focus-visible {
    transform: rotate(0deg) scale(1.9);
    z-index: 10;
    box-shadow: 0 34px 70px -20px rgba(0, 0, 0, 0.85);
  }
}
.note-title { color: var(--pink); }
.note ol { padding-left: 1.4em; }

/* Contact form: editorial, underline-only fields */
.contact-wrap { max-width: 640px; }
.contact-form { background: none; border: 0; padding: 0; }
.field { margin-bottom: 30px; }
.field label {
  display: block; margin-bottom: 4px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.field input,
.field textarea {
  width: 100%;
  padding: 10px 0;
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(239, 230, 220, 0.35);
  border-radius: 0;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--pink); }
.field [aria-invalid="true"] { border-bottom-color: #ff8aa8; }
.field-error { color: #ff8aa8; font-size: 0.85rem; margin: 6px 0 0; }
.field-error:empty { display: none; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; text-align: center; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.success { color: #a8e0bf; }
.form-status.error { color: #ff8aa8; }

/* Footer */
.site-footer {
  padding: 36px 0; text-align: center;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.9rem;
}
.site-footer p { margin: 0; }
.contact-alt { margin-top: -0.4em; font-size: 0.95rem; color: var(--muted); }
.contact-alt a { color: var(--pink); text-decoration: none; border-bottom: 1px solid rgba(255, 92, 184, 0.5); }
.contact-alt a:hover { border-bottom-color: var(--pink); }
.footer-link { color: var(--pink); text-decoration: none; }
.footer-link:hover { text-decoration: underline; }
.form-status a { color: var(--pink); }
.credit { font-size: 0.75rem; margin-top: 8px !important; }
.credit a { color: inherit; }
.footer-note { margin-bottom: 14px !important; }
/* Ivey's handwritten sign-off, scanned from paper; the mask lets us tint the ink */
.footer-sig {
  display: inline-block;
  width: min(340px, 80vw);
  aspect-ratio: 1200 / 206;
  background: var(--gold);
  -webkit-mask: url("images/thanks-for-stopping-by.png") center / contain no-repeat;
          mask: url("images/thanks-for-stopping-by.png") center / contain no-repeat;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .snap-wall { grid-template-columns: repeat(3, 1fr); }
  .note { grid-column: 1 / -1; max-width: 360px; justify-self: center; order: -1; }
}

@media (max-width: 900px) {
  /* Timeline: line moves to the left, all cards on one side */
  .timeline::before { left: 9px; transform: none; }
  .tl-item,
  .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 0 40px; }
  .tl-item::after,
  .tl-item:nth-child(even)::after { left: 0; right: auto; top: 26px; }
  .tl-card { padding: 22px 20px 18px; }

  .ex-grid { grid-template-columns: 1fr; border-top: 0; }
  .ex-col, .ex-col:first-child, .ex-col:last-child { padding: 26px 0 18px; border-top: 1px solid rgba(239, 230, 220, 0.22); }
  .ex-col + .ex-col { border-left: 0; }
  .ex-num { margin-bottom: 0.9em; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; }
  .snap-wall { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .snap-wall .snap:nth-child(n) { transform: rotate(-2deg); }
  .snap-wall .snap:nth-child(even) { transform: rotate(2deg) translateY(14px); }
  .note { max-width: 340px; transform: rotate(-1.5deg); }
  /* 9 photos in 2 columns: center the last one */
  .snap-wall .snap:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }

  .hero { background-position: 38% 42%; }
}

@media (max-width: 760px) {
  .burger { display: block; }

  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.8);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
  }
  .site-nav.open { max-height: 460px; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; }
  .site-nav a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.nav-cta)::after { left: auto; right: 6px; bottom: 50%; transform: translateY(50%) scale(0); }
  .site-nav a.active::after { transform: translateY(50%) scale(1); }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 1px solid var(--pink); }
}

@media (max-width: 420px) {
  .snap-wall { gap: 24px 14px; }
  .snap figcaption { font-size: 1.1rem; }
}

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