/* ============================================================
   COUTURE — Fashion Designer Portfolio Template
   Editorial "atelier / lookbook" system: porcelain surface,
   couture bordeaux accent, hairline brass detailing, a serif +
   geometric-sans pairing, look numbering, season tags, a rotated
   masthead spine, and garment-label detailing.
   Stack: HTML5 + CSS3 + vanilla JS (no frameworks).
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Light (default) — porcelain */
  --bg:       #F1ECEE;   /* pale mauve-porcelain */
  --bg-2:     #FBF8F9;
  --bg-3:     #E7E0E3;
  --ink:      #241C22;   /* aubergine near-black */
  --ink-soft: #6A5E64;
  --ink-faint:#9C9096;
  --wine:     #7A2E3A;   /* couture bordeaux — primary accent */
  --wine-dk:  #5E202C;
  --rose:     #B76E79;   /* soft rose (hover/dark lift) */
  --brass:    #A98545;   /* hairline metallic detail */
  --line:     rgba(36, 28, 34, .16);
  --line-soft:rgba(36, 28, 34, .08);

  --f-display: "Fraunces", Georgia, serif;
  --f-body:    "Jost", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 60px);
  --sp: clamp(76px, 11vw, 156px);
  --r: 2px;
  --ease: cubic-bezier(.33,.72,.29,1);
  --nav-h: 76px;
  --spine-w: 46px;
}

html[data-theme="dark"] {
  --bg:       #191219;   /* deep aubergine-black */
  --bg-2:     #221A22;
  --bg-3:     #120C12;
  --ink:      #F1E9EC;
  --ink-soft: #B6A6AD;
  --ink-faint:#786A72;
  --wine:     #C97C86;   /* lifted for contrast */
  --wine-dk:  #A85862;
  --rose:     #D99AA3;
  --brass:    #C6A35E;
  --line:     rgba(241, 233, 236, .16);
  --line-soft:rgba(241, 233, 236, .08);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--wine); color: #FBF8F9; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
main { position: relative; z-index: 2; }

/* ---------- 3. MASTHEAD SPINE (signature) ---------- */
.spine {
  position: fixed; top: 0; left: 0; width: var(--spine-w); height: 100vh; z-index: 40;
  border-right: 1px solid var(--line); display: grid; place-items: center; pointer-events: none;
  background: var(--bg);
}
.spine span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-body); font-weight: 500; font-size: .7rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--ink-soft); white-space: nowrap;
}
@media (min-width: 1180px) {
  body { padding-left: var(--spine-w); }
  .spine { display: grid; }
}
@media (max-width: 1179px) { .spine { display: none; } body { padding-left: 0; } }

/* ---------- 4. TYPE HELPERS ---------- */
.eyebrow, .s-head__no, .stats__kicker {
  font-family: var(--f-body); font-weight: 500; font-size: .72rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--wine);
}
.s-head { margin-bottom: clamp(34px, 5vw, 62px); }
.s-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.s-head__no { display: inline-flex; align-items: center; gap: .5em; margin-bottom: 16px; }
.s-head__no::before { content: ""; width: 26px; height: 1px; background: var(--brass); }
.s-head__title {
  font-family: var(--f-display); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.015em;
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-body); font-weight: 500; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 26px; border-radius: var(--r); border: 1px solid var(--ink);
  transition: transform .4s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--wine); border-color: var(--wine); color: #FBF8F9; transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--wine); color: var(--wine); transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; }

/* ---------- 6. NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mono {
  width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--wine);
  font-family: var(--f-display); font-weight: 500; font-size: 1rem; color: var(--wine); border-radius: 50%;
}
.brand__name { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; letter-spacing: -.01em; }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-family: var(--f-body); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .3s var(--ease);
}
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--wine); transition: width .35s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a.active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 15px; }
.theme-toggle { width: 42px; height: 30px; border: 1px solid var(--line); border-radius: 30px; position: relative; display: grid; place-items: center; }
.theme-toggle span { position: absolute; font-size: .9rem; line-height: 1; transition: opacity .3s var(--ease), transform .3s var(--ease); }
[data-ic-sun] { opacity: 0; transform: scale(.6) rotate(-40deg); color: var(--brass); }
[data-ic-moon] { opacity: 1; color: var(--ink-soft); }
html[data-theme="dark"] [data-ic-sun] { opacity: 1; transform: none; }
html[data-theme="dark"] [data-ic-moon] { opacity: 0; transform: scale(.6); }
.nav__cta { padding: 10px 20px; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--wine); }

/* ---------- 7. HERO ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 100px); }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.eyebrow { margin-bottom: 24px; }
.hero__name {
  font-family: var(--f-display); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(3.2rem, 9vw, 6.8rem); line-height: .94; letter-spacing: -.03em; margin-bottom: 14px;
}
.hero__name-2 { display: block; font-style: italic; font-weight: 500; color: var(--wine); }
.hero__role { font-family: var(--f-body); font-weight: 500; font-size: clamp(.85rem, 1.5vw, 1rem); color: var(--ink-soft); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 28px; }
.hero__statement { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: clamp(1.2rem, 2.5vw, 1.75rem); line-height: 1.35; min-height: 1.4em; margin-bottom: 22px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hero__statement-lbl { font-family: var(--f-body); font-style: normal; font-weight: 500; font-size: .6rem; letter-spacing: .18em; color: var(--wine); border: 1px solid var(--line); padding: 4px 8px; border-radius: 20px; text-transform: uppercase; align-self: center; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--wine); transform: translateY(3px); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__intro { max-width: 46ch; color: var(--ink-soft); margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__figure { position: relative; }
.hero__frame { position: relative; border-radius: 200px 200px var(--r) var(--r); overflow: hidden; background: var(--bg-3); }
.hero__frame img { aspect-ratio: 3/4; object-fit: cover; width: 100%; filter: saturate(.96); }
.tag {
  position: absolute; font-family: var(--f-body); font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  font-size: .64rem; padding: 7px 12px; border-radius: 20px; background: var(--bg-2); color: var(--ink); box-shadow: 0 8px 24px -12px rgba(36,28,34,.5);
}
.tag--look { top: 22px; left: 22px; }
.tag--look em { font-style: normal; color: var(--wine); margin-right: 4px; }
.tag--season { bottom: 22px; right: 22px; background: var(--wine); color: #FBF8F9; }
.hero__cap { font-family: var(--f-body); font-weight: 500; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 16px; text-align: right; }

/* ---------- 8. SECTION SHELL ---------- */
.section { padding: var(--sp) 0; position: relative; }
.section--tint { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- 9. ABOUT ---------- */
.about { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: start; }
.about__lead { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2.9vw, 2.1rem); line-height: 1.3; letter-spacing: -.01em; margin-bottom: 28px; }
.about__lead::first-letter { color: var(--wine); }
.about__text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 60ch; }
.about__facts { border-top: 1px solid var(--line); }
.about__facts li { display: flex; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line-soft); }
.about__facts .k { font-family: var(--f-body); font-weight: 500; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.about__facts .v { font-family: var(--f-display); font-size: 1.05rem; }

/* ---------- 10. SKILLS (thin editorial lines) ---------- */
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(26px, 4vw, 54px) clamp(40px, 6vw, 90px); }
.skill__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.skill__name { font-family: var(--f-display); font-size: 1.15rem; }
.skill__pct { font-family: var(--f-body); font-weight: 500; font-size: .78rem; letter-spacing: .08em; color: var(--wine); }
.skill__bar { height: 1px; background: var(--line); position: relative; }
.skill__fill { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--wine); transition: width 1.3s var(--ease); }
.skill__fill::after { content: ""; position: absolute; right: -3px; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

/* ---------- 11. EXPERIENCE (editorial CV) ---------- */
.cv { border-top: 1px solid var(--line); }
.cv-row { display: grid; grid-template-columns: 180px 1fr; gap: clamp(16px, 3vw, 40px); padding: clamp(26px, 3.5vw, 40px) 0; border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.cv-row__year { font-family: var(--f-body); font-weight: 500; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); padding-top: 8px; }
.cv-row__role { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1.1; letter-spacing: -.01em; }
.cv-row__house { font-family: var(--f-body); font-weight: 500; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 6px 0 12px; }
.cv-row__desc { color: var(--ink-soft); max-width: 60ch; }

/* ---------- 12. EDUCATION ---------- */
.edu { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.edu-card { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: var(--bg); transition: transform .4s var(--ease), border-color .4s var(--ease); }
.edu-card:hover { transform: translateY(-4px); border-color: var(--wine); }
.edu-card__year { font-family: var(--f-body); font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.edu-card__deg { font-family: var(--f-display); font-size: 1.35rem; margin: 12px 0 5px; letter-spacing: -.01em; }
.edu-card__school { color: var(--wine); font-weight: 500; font-size: .92rem; }
.edu-card__note { color: var(--ink-soft); font-size: .92rem; margin-top: 12px; }

/* ---------- 13. LOOKS (projects) ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { font-family: var(--f-body); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--line); border-radius: 30px; color: var(--ink-soft); transition: all .3s var(--ease); }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--wine); color: #FBF8F9; border-color: var(--wine); }

.looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.look { display: flex; flex-direction: column; }
.look__media { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--r); background: var(--bg-3); }
.look__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s var(--ease); }
.look:hover .look__media img { transform: scale(1.05); }
.look__no { position: absolute; top: 14px; left: 14px; font-family: var(--f-body); font-weight: 500; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; background: var(--bg-2); color: var(--ink); padding: 6px 10px; border-radius: 20px; }
.look__no em { font-style: normal; color: var(--wine); }
.look__season { position: absolute; top: 14px; right: 14px; font-family: var(--f-body); font-weight: 500; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; background: var(--wine); color: #FBF8F9; padding: 6px 10px; border-radius: 20px; }
.look__actions { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 1px; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.look:hover .look__actions { opacity: 1; transform: none; }
.look__actions a { flex: 1; text-align: center; font-family: var(--f-body); font-weight: 500; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 13px; background: color-mix(in srgb, var(--ink) 90%, transparent); color: var(--bg); transition: background .3s var(--ease); }
.look__actions a:hover { background: var(--wine); color: #FBF8F9; }
.look__body { padding: 18px 2px 0; }
.look__name { font-family: var(--f-display); font-size: 1.4rem; letter-spacing: -.01em; }
.look__meta { font-family: var(--f-body); font-weight: 500; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 4px 0 10px; }
.look__desc { color: var(--ink-soft); font-size: .92rem; }
.look__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.look__tags span { font-family: var(--f-body); font-weight: 500; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; }

/* ---------- 14. STATS ---------- */
.stats { background: var(--wine); color: #F6EDEF; border: none; }
html[data-theme="dark"] .stats { background: var(--bg-2); border-block: 1px solid var(--line); color: var(--ink); }
.stats__kicker { justify-content: center; text-align: center; color: #F0D9DD; display: block; margin-bottom: 44px; }
html[data-theme="dark"] .stats__kicker { color: var(--wine); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 14%; height: 72%; width: 1px; background: rgba(246,237,239,.28); }
html[data-theme="dark"] .stat:not(:last-child)::after { background: var(--line); }
.stat__num { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 6.5vw, 4.4rem); line-height: 1; letter-spacing: -.02em; }
.stat__label { font-family: var(--f-body); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 14px; opacity: .82; }

/* ---------- 15. SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1px, 1vw, 1px); background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.service { background: var(--bg-2); padding: 36px 32px; transition: background .4s var(--ease); }
.service:hover { background: var(--bg); }
.service__no { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--wine); }
.service__title { font-family: var(--f-display); font-size: 1.45rem; margin: 12px 0 10px; letter-spacing: -.01em; }
.service__desc { color: var(--ink-soft); font-size: .92rem; }
.service__line { width: 26px; height: 1px; background: var(--brass); margin-top: 20px; transition: width .4s var(--ease); }
.service:hover .service__line { width: 56px; background: var(--wine); }

/* ---------- 16. SWATCHES (technologies) ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatches li { display: flex; align-items: center; gap: 11px; font-family: var(--f-body); font-weight: 500; font-size: .82rem; letter-spacing: .04em; padding: 11px 18px 11px 12px; border: 1px solid var(--line); border-radius: 40px; transition: transform .35s var(--ease), border-color .35s var(--ease); }
.swatches li:hover { transform: translateY(-3px); border-color: var(--wine); }
.swatches li .sw { width: 18px; height: 18px; border-radius: 4px; border: 1px solid var(--line); flex-shrink: 0; }

/* ---------- 17. AWARDS + CERTS ---------- */
.cred { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 76px); }
.cred__label { font-family: var(--f-body); font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); margin-bottom: 24px; }
.awards li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.awards li:first-child { border-top: 1px solid var(--line); }
.awards__year { font-family: var(--f-body); font-weight: 500; font-size: .8rem; letter-spacing: .08em; color: var(--brass); }
.awards__title { font-family: var(--f-display); font-size: 1.15rem; }
.awards__by { color: var(--ink-soft); font-size: .88rem; }
.certs li { display: flex; align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.certs li::before { content: "✦"; color: var(--brass); font-size: .8rem; }
.certs__name { font-family: var(--f-display); font-size: 1.05rem; }
.certs__meta { display: block; font-family: var(--f-body); font-weight: 500; font-size: .72rem; letter-spacing: .06em; color: var(--ink-faint); margin-top: 2px; text-transform: uppercase; }

/* ---------- 18. PRESS (testimonials) ---------- */
.quotes { position: relative; min-height: 220px; }
.quote { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease); display: flex; flex-direction: column; gap: 28px; }
.quote.active { opacity: 1; visibility: visible; position: relative; }
.quote__text { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.3; letter-spacing: -.01em; max-width: 24ch; }
.quote__text::before { content: "“"; color: var(--wine); }
.quote__by { display: flex; align-items: center; gap: 16px; }
.quote__avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.quote__name { font-family: var(--f-display); font-size: 1.1rem; }
.quote__role { font-family: var(--f-body); font-weight: 500; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.quotes__dots { display: flex; gap: 10px; margin-top: 40px; }
.quotes__dots button { width: 30px; height: 2px; background: var(--line); transition: background .3s var(--ease); }
.quotes__dots button.active { background: var(--wine); }

/* ---------- 19. RESUME BANNER ---------- */
.resume__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(34px, 5vw, 60px); background: var(--bg-2); }
.resume__title { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 2.9rem); margin: 14px 0 12px; letter-spacing: -.02em; }
.resume__text { color: var(--ink-soft); max-width: 46ch; }

/* ---------- 20. FAQ ---------- */
.faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--f-display); font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: -.01em; }
.faq-q__icon { position: relative; width: 17px; height: 17px; flex-shrink: 0; }
.faq-q__icon::before, .faq-q__icon::after { content: ""; position: absolute; background: var(--wine); transition: transform .35s var(--ease); }
.faq-q__icon::before { top: 8px; left: 0; width: 17px; height: 1.5px; }
.faq-q__icon::after { left: 8px; top: 0; width: 1.5px; height: 17px; }
.faq-item.open .faq-q__icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq-a p { color: var(--ink-soft); padding: 0 0 26px; max-width: 68ch; }

/* ---------- 21. CONTACT ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 76px); align-items: start; }
.contact__blurb { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.4; letter-spacing: -.01em; margin-bottom: 32px; }
.contact__list { margin-bottom: 32px; }
.contact__list li { padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.contact__list .lbl { font-family: var(--f-body); font-weight: 500; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 4px; }
.contact__list .val { font-size: 1.05rem; transition: color .3s var(--ease); }
.contact__list a:hover .val { color: var(--wine); }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: all .3s var(--ease); }
.socials a:hover { background: var(--wine); color: #FBF8F9; transform: translateY(-3px); border-color: var(--wine); }
.socials svg { width: 18px; height: 18px; }

.cform { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 4vw, 42px); background: var(--bg-2); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label { font-family: var(--f-body); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 9px; }
.field input, .field textarea { font-family: var(--f-body); font-size: .98rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; transition: border-color .3s var(--ease); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); }
.field__err { font-family: var(--f-body); font-weight: 500; font-size: .7rem; letter-spacing: .04em; color: var(--wine); margin-top: 6px; min-height: 1em; }
.cform__submit { width: 100%; justify-content: center; margin-top: 4px; }
.cform__note { font-family: var(--f-body); font-weight: 500; font-size: .82rem; margin-top: 16px; text-align: center; min-height: 1.2em; }
.cform__note.ok { color: var(--wine); }
.cform__note.bad { color: var(--wine); }

/* ---------- 22. FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0 40px; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__name { font-family: var(--f-display); font-size: 1.2rem; }
.footer__title { font-family: var(--f-body); font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.footer__nav a { font-family: var(--f-body); font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--wine); }
.socials--footer { justify-content: flex-end; }
.footer__legal { grid-column: 1 / -1; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--f-body); font-weight: 500; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.footer__made strong { color: var(--wine); font-style: italic; font-family: var(--f-display); font-weight: 500; text-transform: none; letter-spacing: 0; }

/* ---------- 23. BACK TO TOP ---------- */
.to-top { position: fixed; bottom: 26px; right: 26px; z-index: 90; width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--bg); border-radius: 50%; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--wine); color: #FBF8F9; transform: translateY(-3px); }

/* ---------- 24. PRELOADER ---------- */
.preloader { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; transition: opacity .6s var(--ease), visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__mono { font-family: var(--f-display); font-weight: 500; font-size: 2.4rem; width: 80px; height: 80px; display: grid; place-items: center; border: 1px solid var(--wine); color: var(--wine); border-radius: 50%; animation: monopulse 1.4s var(--ease) infinite; }
@keyframes monopulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.94); opacity: .7; } }
.preloader__label { font-family: var(--f-body); font-weight: 500; font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- 25. SCROLL REVEAL ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- 26. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about, .contact, .cred { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { max-width: 420px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .stat:nth-child(2)::after { display: none; }
}
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 28px; transform: translateY(-120%); transition: transform .45s var(--ease); box-shadow: 0 30px 60px -30px rgba(36,28,34,.35); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: .84rem; }
  .hamburger { display: flex; }
  .nav__cta { display: none; }
  .skills { grid-template-columns: 1fr; }
  .cv-row { grid-template-columns: 1fr; gap: 8px; }
  .footer__inner { grid-template-columns: 1fr; }
  .socials--footer { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat::after { display: none !important; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .cform__row { grid-template-columns: 1fr; }
}

/* ---------- 27. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .caret { animation: none; }
}
