/* Thais Maya - thaismaya.com
 *
 * One stylesheet for every page. No inline style attributes anywhere,
 * no third-party origins: the faces below are self-hosted (SIL OFL).
 *
 * Palette: warm cream paper, blush and petal for soft fields, deep wine for
 * type and the signature, rose for accents. Rose is decorative; wherever it
 * carries small text it is the darker --rose-ink, which clears 4.5:1 on
 * cream.
 */

@font-face {
  font-family: "Vollkorn";
  src: url("../fonts/vollkorn.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vollkorn";
  src: url("../fonts/vollkorn-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #faf5f0;
  --paper: #fffdfb;
  --blush: #f5e6df;
  --petal: #ecd3c8;
  --rose: #c9877a;
  --rose-ink: #9c5546;
  --wine: #6e2639;
  --wine-deep: #4a1726;
  --ink: #2b1b20;
  --muted: #65555a;
  --line: #e6d6cf;
  --gold: #b8925a;

  --serif: "Vollkorn", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --arch: 999px 999px var(--radius) var(--radius);
  --shadow: 0 30px 60px -30px rgba(74, 23, 38, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; color: var(--wine); }
em, .it { font-style: italic; }
::selection { background: var(--petal); color: var(--wine-deep); }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--wine); color: var(--cream); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }

/* ------------------------------------------------------------------ */
/* Type helpers                                                        */
/* ------------------------------------------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-ink);
  margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: currentColor; }

.h-section { font-size: clamp(2.4rem, 5vw, 4.1rem); letter-spacing: -0.01em; }
.h-section em { color: var(--rose-ink); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34em; }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: var(--cream);
  font: 700 13px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { background: var(--wine-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(74, 23, 38, 0.6); }
.btn-ghost { background: transparent; color: var(--wine); }
.btn-ghost:hover { background: var(--wine); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--wine); border-color: var(--cream); }
.btn-light:hover { background: var(--paper); color: var(--wine-deep); }
.btn .icon { width: 16px; height: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 13px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rose);
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
.link-arrow:hover { gap: 16px; border-color: var(--wine); }

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(250, 245, 240, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: var(--wine);
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--rose-ink); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--wine); }
.nav .btn { padding: 12px 22px; font-size: 11px; color: var(--cream); }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--wine);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bars { position: relative; width: 18px; height: 10px; }
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1.5px; background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { top: 8px; }
.nav-open .nav-toggle .bars::before { top: 4px; transform: rotate(45deg); }
.nav-open .nav-toggle .bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 60; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav a { font-family: var(--serif); font-style: italic; font-size: 34px; letter-spacing: 0; text-transform: none; color: var(--wine); }
  .nav .btn { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 12px; padding: 16px 30px; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .logo { position: relative; z-index: 60; }
}

/* ------------------------------------------------------------------ */
/* Home hero                                                           */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -12vw; top: -18vw;
  width: 62vw; height: 62vw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--blush), rgba(245, 230, 223, 0) 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
}
.hero-name {
  font-size: clamp(4.4rem, 11.5vw, 10.5rem);
  line-height: 0.86;
  font-style: italic;
  letter-spacing: -0.035em;
  margin: 0 0 30px;
}
.hero-name .line { display: block; }
.hero-name .line + .line { padding-left: 0.62em; color: var(--rose-ink); }
.hero-tag {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 21em;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-bottom: 46px; }
.hero-handle { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font-weight: 600; }
.hero-handle:hover { color: var(--wine); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  padding: 22px 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta strong { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 22px; color: var(--wine); line-height: 1.2; }

.hero-art { position: relative; justify-self: end; width: min(100%, 470px); }
.hero-art .frame {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5.6;
}
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-art .outline {
  position: absolute;
  inset: -22px 22px 22px -22px;
  border: 1px solid var(--rose);
  border-radius: var(--arch);
  pointer-events: none;
}
.hero-art .badge {
  position: absolute;
  left: -58px; bottom: 64px;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--cream);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px -18px rgba(74, 23, 38, 0.7);
}
.hero-art .badge .ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero-art .badge text { fill: var(--cream); font: 600 10.4px var(--sans); letter-spacing: 0.32em; text-transform: uppercase; }
.hero-art .badge .heart { width: 26px; height: 26px; fill: var(--petal); stroke: none; }
.hero-art .note {
  position: absolute;
  right: -18px; top: 48px;
  background: var(--paper);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  box-shadow: 0 16px 36px -18px rgba(74, 23, 38, 0.45);
}
.hero-art .note strong { display: block; color: var(--wine); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .hero { padding: 120px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; width: min(86%, 400px); margin-top: 18px; order: -1; }
  .hero-art .badge { left: -30px; bottom: 30px; width: 108px; height: 108px; }
  .hero-art .badge text { font-size: 8.6px; }
  .hero-art .note { right: -12px; }
  .hero-name .line + .line { padding-left: 0.4em; }
}

/* ------------------------------------------------------------------ */
/* Ticker                                                              */
/* ------------------------------------------------------------------ */

.ticker {
  background: var(--wine);
  color: var(--cream);
  overflow: hidden;
  padding: 22px 0;
  transform: rotate(-1.2deg);
  margin: 10px -20px 0;
  box-shadow: 0 20px 40px -26px rgba(74, 23, 38, 0.8);
}
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.ticker li {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  white-space: nowrap;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 56px;
}
.ticker li::after { content: "\2726"; font-style: normal; font-size: 0.55em; color: var(--rose); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */

.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h-section { max-width: 13em; }
.tint { background: var(--blush); }
.tint-deep { background: linear-gradient(180deg, var(--blush), var(--cream)); }

/* About teaser */
.intro-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1.08; }
.collage .a,
.collage .b { position: absolute; overflow: hidden; box-shadow: var(--shadow); background: var(--petal); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .a { left: 0; top: 0; width: 64%; height: 82%; border-radius: var(--arch); }
.collage .a img { object-position: 50% 30%; }
.collage .b { right: 0; bottom: 0; width: 50%; height: 54%; border-radius: var(--radius); border: 8px solid var(--cream); }
.collage .script {
  position: absolute;
  right: 4%; top: 6%;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--rose-ink);
  transform: rotate(6deg);
  max-width: 9em;
  line-height: 1.25;
  text-align: center;
}
.quote-big {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  color: var(--wine);
  margin: 0 0 14px;
}
.quote-by { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-ink); font-weight: 700; margin-bottom: 34px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(60px, 8vw, 100px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 30px 24px 0 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; color: var(--wine); margin-bottom: 10px; }
.facts strong em { color: var(--rose-ink); }
.facts span { font-size: 14px; color: var(--muted); }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .collage { max-width: 520px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Brands wall */
.brands { text-align: center; }
.brands .h-section { margin: 0 auto 16px; }
.brand-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 48px;
  margin: 46px auto 0;
  padding: 0;
  list-style: none;
  max-width: 1040px;
}
.brand-list li {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  color: var(--ink);
  display: flex;
  align-items: center;
}
.brand-list li:nth-child(even) { font-style: italic; color: var(--wine); }

/* Portfolio teaser */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(70px, 8.4vw, 112px);
  gap: clamp(12px, 1.6vw, 22px);
}
.mosaic a {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--petal);
  display: block;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; }
.mosaic a:hover img { transform: scale(1.06); }
.mosaic a::after {
  content: attr(data-label);
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--paper);
  text-shadow: 0 2px 16px rgba(43, 27, 32, 0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mosaic a:hover::after { opacity: 1; transform: none; }
.mosaic .m1 { grid-column: 1 / 5; grid-row: span 6; border-radius: var(--arch); }
.mosaic .m2 { grid-column: 5 / 9; grid-row: span 3; }
.mosaic .m3 { grid-column: 9 / 13; grid-row: span 4; }
.mosaic .m4 { grid-column: 5 / 9; grid-row: span 3; }
.mosaic .m5 { grid-column: 9 / 13; grid-row: span 2; }
.mosaic .m1 img { object-position: 50% 20%; }
.mosaic .m3 img { object-position: 50% 15%; }

@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .mosaic .m1 { grid-column: 1 / 3; grid-row: span 3; }
  .mosaic .m2, .mosaic .m3, .mosaic .m4, .mosaic .m5 { grid-column: auto; grid-row: span 2; }
  .mosaic .m5 { display: none; }
}

/* Reels */
.reels { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 36px); }
.reel {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.reel img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: transform 1.2s var(--ease), opacity 0.5s; }
.reel:hover img { transform: scale(1.05); opacity: 0.68; }
.reel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 27, 32, 0) 40%, rgba(43, 27, 32, 0.78)); z-index: 1; }
.reel .play {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;
  width: 78px; height: 78px;
  margin: -39px 0 0 -39px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 251, 0.7);
  background: rgba(255, 253, 251, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease), background 0.5s;
}
.reel .play svg { width: 22px; height: 22px; fill: var(--paper); margin-left: 4px; }
.reel:hover .play { transform: scale(1.1); background: var(--wine); border-color: var(--wine); }
.reel .cap { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; }
.reel .cap strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; }
.reel .cap span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; }
@media (max-width: 760px) { .reels { grid-template-columns: 1fr; } }

/* Testimonial rotator */
.voices { text-align: center; }
.voice-stage { position: relative; max-width: 900px; margin: 0 auto; min-height: 250px; display: grid; align-items: center; }
.voice {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), visibility 0.8s;
}
.voice.active { opacity: 1; visibility: visible; transform: none; }
.voice blockquote {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.7vw, 2.15rem);
  line-height: 1.38;
  color: var(--wine);
}
.voice figcaption { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--rose-ink); }
.voice figcaption span { display: block; letter-spacing: 0.06em; text-transform: none; font-weight: 500; color: var(--muted); margin-top: 4px; font-size: 14px; }
.quote-mark { display: block; width: 54px; height: 54px; margin: 0 auto 26px; fill: var(--rose); stroke: none; }
.voice-dots { display: flex; justify-content: center; gap: 10px; margin: 20px 0 34px; }
.voice-dots button {
  width: 34px; height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.voice-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--petal); transition: background 0.3s, transform 0.3s; }
.voice-dots button[aria-current="true"]::before { background: var(--wine); transform: scale(1.25); }

/* Instagram grid */
.insta { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.insta a { position: relative; display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5; background: var(--petal); }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(110, 38, 57, 0.45);
  opacity: 0;
  transition: opacity 0.4s;
}
.insta .icon { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; color: var(--paper); z-index: 1; opacity: 0; transform: scale(0.8); transition: opacity 0.4s, transform 0.4s var(--ease); }
.insta a:hover img { transform: scale(1.06); }
.insta a:hover::after,
.insta a:hover .icon { opacity: 1; transform: none; }
@media (max-width: 760px) { .insta { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------------ */
/* Footer / contact band (every page)                                  */
/* ------------------------------------------------------------------ */

.site-footer {
  position: relative;
  background: var(--wine-deep);
  color: var(--cream);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: -10vw; top: -20vw;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 135, 122, 0.28), rgba(201, 135, 122, 0) 70%);
  pointer-events: none;
}
.contact-band { position: relative; padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); text-align: center; }
.contact-band .eyebrow { color: var(--petal); }
.contact-band h2 { color: var(--cream); font-size: clamp(2.6rem, 6.6vw, 5.6rem); line-height: 1.02; margin: 0 auto 26px; max-width: 12em; letter-spacing: -0.02em; }
.contact-band h2 em { color: var(--petal); }
.contact-band p { color: rgba(250, 245, 240, 0.8); max-width: 36em; margin: 0 auto 38px; }
.contact-mail {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(236, 211, 200, 0.5);
  padding-bottom: 4px;
  margin-bottom: 40px;
  transition: color 0.3s, border-color 0.3s;
  word-break: break-word;
}
.contact-mail:hover { color: var(--petal); border-color: var(--petal); }
.contact-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: rgba(250, 245, 240, 0.75); }
.contact-facts strong { color: var(--cream); font-weight: 600; }

.socials { display: flex; justify-content: center; gap: 12px; margin: 40px 0 0; padding: 0; list-style: none; }
.socials a {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(250, 245, 240, 0.3);
  display: grid;
  place-items: center;
  color: var(--cream);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.socials a:hover { background: var(--cream); color: var(--wine); border-color: var(--cream); transform: translateY(-3px); }
.socials .icon { width: 20px; height: 20px; }

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(250, 245, 240, 0.14);
  padding: 26px 0 30px;
  font-size: 13px;
  color: rgba(250, 245, 240, 0.65);
}
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; }
.footer-bottom .logo { color: var(--cream); font-size: 24px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); }

/* ------------------------------------------------------------------ */
/* Inner page hero                                                     */
/* ------------------------------------------------------------------ */

.page-hero { padding: 160px 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  right: -14vw; top: -22vw;
  width: 54vw; height: 54vw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--blush), rgba(245, 230, 223, 0) 68%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-title { font-size: clamp(3.4rem, 9vw, 7.4rem); font-style: italic; letter-spacing: -0.03em; line-height: 0.95; margin-bottom: 22px; }
.page-title em { color: var(--rose-ink); }
.page-hero-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.page-hero-split .portrait { border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; max-width: 380px; justify-self: end; width: 100%; }
.page-hero-split .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 820px) {
  .page-hero { padding-top: 130px; }
  .page-hero-split { grid-template-columns: 1fr; }
  .page-hero-split .portrait { justify-self: start; max-width: 300px; }
}

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

.story { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 7vw, 100px); align-items: start; }
.prose { font-size: 18px; max-width: 40em; }
.prose p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-style: italic;
  font-size: 5.4em;
  line-height: 0.82;
  padding: 6px 14px 0 0;
  color: var(--wine);
}
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 1.6em 0 0.6em; font-style: italic; }
.pull {
  margin: 1.8em 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--rose);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  line-height: 1.3;
  color: var(--wine);
}
.figure-wide { margin: 2.2em 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 2.2em 0; }
.figure-pair img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.figure-pair img:first-child { border-radius: var(--arch); }

.glance { position: sticky; top: 110px; background: var(--paper); border-radius: var(--radius); padding: 34px 30px; box-shadow: 0 24px 50px -36px rgba(74, 23, 38, 0.5); border: 1px solid var(--line); }
.glance h3 { font-style: italic; font-size: 28px; margin-bottom: 18px; }
.glance dl { margin: 0; }
.glance dt { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-ink); margin-top: 20px; }
.glance dd { margin: 4px 0 0; font-size: 15px; line-height: 1.55; }
.glance .btn { margin-top: 28px; width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .glance { position: static; }
}

/* ------------------------------------------------------------------ */
/* Portfolio page                                                      */
/* ------------------------------------------------------------------ */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(30px, 4vw, 50px); padding: 0; list-style: none; }
.filters button {
  font: 700 12px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filters button:hover { border-color: var(--rose); }
.filters button[aria-pressed="true"] { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.filters .count { opacity: 0.6; margin-left: 6px; }

.gallery { columns: 4 210px; column-gap: clamp(12px, 1.6vw, 20px); }
.gallery figure { break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 20px); position: relative; }
.gallery figure[hidden] { display: none; }
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--petal);
  cursor: zoom-in;
}
.gallery img { width: 100%; transition: transform 1.1s var(--ease), filter 0.5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); padding: 8px 4px 0; }

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  background: rgba(43, 27, 32, 0.94);
  color: var(--cream);
}
.lightbox::backdrop { background: rgba(43, 27, 32, 0.6); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox .stage { display: grid; place-items: center; padding: 64px 80px 10px; min-height: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox .bar { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 16px 20px 26px; font-family: var(--serif); font-style: italic; font-size: 18px; }
.lightbox .ctl {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(250, 245, 240, 0.3);
  background: rgba(250, 245, 240, 0.06);
  color: var(--cream);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s;
}
.lightbox .ctl:hover { background: rgba(250, 245, 240, 0.2); }
.lightbox .ctl .icon { width: 22px; height: 22px; }
.lightbox .close { top: 18px; right: 18px; }
.lightbox .prev { left: 18px; top: 50%; margin-top: -27px; }
.lightbox .next { right: 18px; top: 50%; margin-top: -27px; }
.lightbox .counter { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.2em; opacity: 0.7; }
@media (max-width: 700px) {
  .lightbox .stage { padding: 70px 12px 0; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 14px; margin: 0; }
}

/* ------------------------------------------------------------------ */
/* Resume page                                                         */
/* ------------------------------------------------------------------ */

.resume { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.resume-side { position: sticky; top: 110px; }
.resume-side img { border-radius: var(--arch); box-shadow: var(--shadow); margin-bottom: 26px; }
.resume-side dl { margin: 0 0 26px; }
.resume-side dt { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-ink); margin-top: 16px; }
.resume-side dd { margin: 3px 0 0; font-size: 15px; line-height: 1.55; }
.resume-side .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

.credits { margin-bottom: clamp(50px, 6vw, 80px); }
.credits h2 { font-size: clamp(2rem, 4vw, 3rem); font-style: italic; display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.credits h2 small { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-ink); font-weight: 700; }
.credit-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.credit-table th { text-align: left; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 0 12px 12px 0; border-bottom: 1px solid var(--wine); }
.credit-table td { padding: 15px 12px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.credit-table td:first-child { font-family: var(--serif); font-size: 19px; color: var(--wine); width: 40%; }
.credit-table td:nth-child(2) { width: 22%; }
.credit-table .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--blush); color: var(--wine); }
.credit-table .tag.lead { background: var(--wine); color: var(--cream); }

.training { list-style: none; margin: 0; padding: 0; }
.training li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.training strong { font-weight: 600; }
.training span { color: var(--muted); font-size: 15px; }
.training em { grid-column: 1 / -1; font-style: normal; color: var(--rose-ink); font-size: 14px; }

.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.awards li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.awards strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--wine); margin-bottom: 6px; }
.awards span { font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; }

@media (max-width: 900px) {
  .resume { grid-template-columns: 1fr; }
  .resume-side { position: static; max-width: 320px; }
  .awards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .credit-table thead { display: none; }
  .credit-table, .credit-table tbody, .credit-table tr, .credit-table td { display: block; width: auto; }
  .credit-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .credit-table td { border: 0; padding: 2px 0; }
  .credit-table td:first-child, .credit-table td:nth-child(2) { width: auto; }
  .training li { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Kind words page                                                     */
/* ------------------------------------------------------------------ */

.wall { columns: 2 380px; column-gap: clamp(16px, 2.4vw, 30px); }
.card {
  break-inside: avoid;
  margin: 0 0 clamp(16px, 2.4vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 42px);
  position: relative;
}
.card:nth-child(4n + 2) { background: var(--blush); border-color: transparent; }
.card:nth-child(5n + 4) { background: var(--wine); color: var(--cream); border-color: transparent; }
.card:nth-child(5n + 4) blockquote { color: var(--cream); }
.card:nth-child(5n + 4) figcaption, .card:nth-child(5n + 4) figcaption span { color: var(--petal); }
.card:nth-child(5n + 4) .quote-mark { fill: var(--petal); }
.card .quote-mark { width: 34px; height: 34px; margin: 0 0 16px; }
.card blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink); }
.card blockquote p:last-child { margin-bottom: 0; }
.card figcaption { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose-ink); }
.card figcaption span { display: block; font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--muted); font-size: 14px; margin-top: 2px; }
.card.feature blockquote { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.42; color: var(--wine); }

/* ------------------------------------------------------------------ */
/* Reveal on scroll (only when JS is running and motion is welcome)    */
/* ------------------------------------------------------------------ */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.12s; }
.js .reveal.d2 { transition-delay: 0.24s; }
.js .reveal.d3 { transition-delay: 0.36s; }

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

/* Missing images hide themselves instead of showing a broken icon. */
img.missing { visibility: hidden; }

/* ------------------------------------------------------------------ */
/* Print: the resume prints as a clean one-column sheet                */
/* ------------------------------------------------------------------ */

@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .no-print, .page-hero::before { display: none !important; }
  .page-hero { padding: 0 0 12pt; }
  .page-title { font-size: 34pt; }
  .resume { grid-template-columns: 150px 1fr; gap: 24pt; }
  .resume-side { position: static; }
  .resume-side img { box-shadow: none; }
  .credits { margin-bottom: 18pt; break-inside: avoid-page; }
  .credit-table td { padding: 5pt 8pt 5pt 0; }
  .credit-table td:first-child { font-size: 12pt; }
  .js .reveal { opacity: 1; transform: none; }
}
