/* ==========================================================
   Anda Kaçi — personal website · Nocturne Gold
   ========================================================== */

/* Self-hosted fonts (Cormorant Garamond & Jost, SIL Open Font License) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --night: #0e0d0b;
  --lacquer: #17140f;
  --lacquer-2: #211d16;
  --vellum: #efe7d8;
  --vellum-2: rgba(239, 231, 216, 0.78);
  --ash: #9c9284;
  --champagne: #c9a96a;
  --gilt: #e6cf9c;
  --hair: rgba(201, 169, 106, 0.26);
  --hair-2: rgba(239, 231, 216, 0.09);
  --error: #eeb0a5;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.45s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vtIn 0.7s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--vellum);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--champagne); color: var(--night); }
:focus-visible { outline: 1px solid var(--gilt); outline-offset: 5px; }

[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 400; background: var(--champagne); color: var(--night); padding: 12px 18px; font-size: 15px; }
.skip:focus { top: 16px; }

/* Language switching */
html[data-lang="sq"] .l-en,
html[data-lang="en"] .l-sq { display: none !important; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.04; letter-spacing: -0.012em; margin: 0; }
p { margin: 0 0 1.15em; color: var(--vellum-2); max-width: 64ch; }
p:last-child { margin-bottom: 0; }
.label { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.3; color: var(--champagne); margin: 0 0 18px; }
.h2 { font-size: clamp(42px, 6vw, 84px); }
.h3 { font-size: clamp(27px, 2.5vw, 34px); font-weight: 400; }
.lead { font-family: var(--serif); font-size: clamp(23px, 2.2vw, 30px); line-height: 1.42; color: var(--vellum); font-weight: 300; max-width: 34ch; }
.prose-lg { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.28; color: var(--vellum); max-width: 30ch; }
.prose-lg .dim { color: var(--ash); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.block { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.block.on-lacquer { background: var(--lacquer); }
.block.flush-top { padding-top: 0; }
.head-row { display: grid; gap: 28px; margin-bottom: clamp(56px, 7vw, 100px); }
@media (min-width: 900px) { .head-row { grid-template-columns: 7fr 5fr; align-items: end; gap: 80px; } }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 15px 32px; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 400; letter-spacing: 0.02em;
  color: var(--night); background: var(--champagne); border: 1px solid var(--champagne);
  cursor: pointer; transition: color 0.6s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gilt);
  transform: translateY(101%); border-radius: inherit; transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn--line { background: transparent; color: var(--vellum); border-color: var(--hair); }
.btn--line::before { background: var(--champagne); }
.btn--line:hover { color: var(--night); border-color: var(--champagne); }

.text-link { position: relative; display: inline-block; color: var(--champagne); font-size: 16px; font-weight: 400; padding: 4px 0; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.7s var(--ease); }
.text-link:hover::after { transform: scaleX(0); }

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 120; background: var(--champagne); transform-origin: left; transform: scaleX(var(--p, 0)); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background 0.6s, border-color 0.6s, transform 0.6s var(--ease); }
.site-header.scrolled { background: rgba(14, 13, 11, 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--hair-2); }
.site-header.tuck { transform: translateY(-100%); }
.menu-open .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; transform: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; transition: height 0.5s var(--ease); }
.scrolled .header-inner { height: 74px; }

.brand { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.mono { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--champagne); letter-spacing: -0.02em; }
.mono i { font-style: italic; margin-left: -0.04em; }
.brand-name { font-family: var(--serif); font-size: 21px; color: var(--vellum); }

.nav ul { display: flex; gap: clamp(22px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: inline-block; padding: 8px 0; font-size: 15px; font-weight: 400; letter-spacing: 0.01em; color: var(--vellum-2); transition: color 0.4s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--champagne); transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
.nav a:hover { color: var(--vellum); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--champagne); }
.nav-foot { display: none; }

.header-tools { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.lang { display: flex; align-items: center; color: var(--ash); font-size: 14px; }
.lang button { background: none; border: 0; cursor: pointer; color: var(--ash); min-width: 40px; min-height: 44px; padding: 0 6px; font-size: 14px; font-weight: 400; letter-spacing: 0.06em; transition: color 0.3s; }
.lang button:hover { color: var(--vellum); }
.lang button[aria-pressed="true"] { color: var(--champagne); }

.menu-btn { display: none; width: 48px; height: 48px; background: none; cursor: pointer; border: 1px solid var(--hair); border-radius: 50%; position: relative; }
.menu-btn i { position: absolute; left: 15px; right: 15px; height: 1px; background: var(--vellum); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-btn i:nth-of-type(1) { top: 20px; }
.menu-btn i:nth-of-type(2) { top: 27px; }
.menu-open .menu-btn i:nth-of-type(1) { top: 23px; transform: rotate(45deg); }
.menu-open .menu-btn i:nth-of-type(2) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .brand-name { display: none; }
  .nav { position: fixed; inset: 0; z-index: 1; background: var(--night); display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 48px; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0.6s; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav li { overflow: hidden; }
  .nav a { font-family: var(--serif); font-size: clamp(44px, 12vw, 64px); font-weight: 300; letter-spacing: -0.01em; color: var(--vellum); transform: translateY(100%); transition: transform 0.9s var(--ease), color 0.4s; }
  .nav.open a { transform: none; }
  .nav.open li:nth-child(2) a { transition-delay: 0.06s; }
  .nav.open li:nth-child(3) a { transition-delay: 0.12s; }
  .nav.open li:nth-child(4) a { transition-delay: 0.18s; }
  .nav a::after { bottom: 12px; }
  .nav-foot { display: block; margin-top: 48px; font-size: 15px; color: var(--ash); }
}

/* ==========================================================
   HOME HERO — the signature
   ========================================================== */
.hero { min-height: 100vh; min-height: 100svh; padding: 118px 0 56px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: 30%; width: 90vw; height: 90vw; max-width: 1200px; max-height: 1200px; transform: translate(-40%, -50%); background: radial-gradient(closest-side, rgba(201, 169, 106, 0.1), transparent 72%); pointer-events: none; }
.stage { position: relative; display: flex; flex-direction: column; }
.name { font-family: var(--serif); font-weight: 300; font-size: clamp(92px, 19vw, 300px); line-height: 0.8; letter-spacing: -0.04em; margin: 0; position: relative; z-index: 2; }
.name .row { display: block; overflow: hidden; padding: 0.02em 0.04em 0.06em; }
.name .row--b { text-align: right; font-style: italic; color: var(--champagne); padding-bottom: 0.16em; margin-bottom: -0.1em; }
.char { display: inline-block; animation: charUp 1.5s var(--ease) both; animation-delay: calc(0.2s + var(--i) * 0.07s); }
@keyframes charUp { from { transform: translateY(110%) rotate(4deg); } to { transform: none; } }

.portrait { position: absolute; z-index: 1; left: 50%; top: 50%; width: clamp(230px, 23vw, 360px); transform: translate(-46%, -50%); margin: 0; }
.portrait .pic { overflow: hidden; aspect-ratio: 3 / 4; background: var(--lacquer-2); animation: unveil 1.8s var(--ease) 0.45s both; }
.portrait img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.6s var(--ease) 0.45s both; }
.portrait::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--hair); z-index: -1; animation: fadeIn 1.2s ease 1.4s both; }
@keyframes unveil { from { clip-path: inset(50% 50% 50% 50%); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } }

@media (max-width: 760px) {
  .portrait { position: relative; left: auto; top: auto; transform: none; width: 62%; max-width: 300px; align-self: flex-start; margin: -34px 0 0 4px; }
  .portrait::after { inset: 10px -10px -10px 10px; }
}

.hero-foot { display: grid; gap: 36px; margin-top: clamp(36px, 5vw, 64px); align-items: end; position: relative; z-index: 2; }
@media (min-width: 900px) { .hero-foot { grid-template-columns: 7fr 5fr; gap: 80px; } }

.morph { animation: rise 1.2s var(--ease) 1.3s both; }
.morph-line { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; color: var(--vellum); min-height: 2.3em; margin: 0; max-width: 22ch; text-wrap: balance; }
.morph-line .w { display: inline-block; transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i) * 0.07s); }
.morph-line.out .w { opacity: 0; filter: blur(10px); transform: translateY(-0.18em); }
.morph-line.pre .w { opacity: 0; filter: blur(10px); transform: translateY(0.25em); transition: none; }
.morph-meta { display: flex; align-items: center; gap: 18px; margin-top: 20px; color: var(--ash); font-size: 14px; }
.morph-lang { display: inline-flex; align-items: center; gap: 10px; min-width: 9ch; transition: opacity 0.5s; }
.morph-lang::before { content: ""; width: 28px; height: 1px; background: var(--champagne); }
.morph-toggle { background: none; border: 1px solid var(--hair-2); border-radius: 999px; color: var(--ash); font-size: 13px; padding: 6px 14px; min-height: 34px; cursor: pointer; transition: color 0.3s, border-color 0.3s; }
.morph-toggle:hover { color: var(--vellum); border-color: var(--hair); }

.hero-intro { animation: rise 1.2s var(--ease) 1.5s both; }
.hero-intro p { font-size: 17px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(170px, 21vw, 260px) 0 clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -30%; left: 50%; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; transform: translateX(-10%); background: radial-gradient(closest-side, rgba(201, 169, 106, 0.08), transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(56px, 9.6vw, 150px); line-height: 0.92; letter-spacing: -0.03em; margin: 0 0 clamp(32px, 4vw, 48px); max-width: 17ch; }
.page-hero h1 .row { display: block; overflow: hidden; padding-bottom: 0.06em; }
.page-hero h1 .row > span { display: block; animation: lineUp 1.4s var(--ease) both; }
.page-hero h1 .row:nth-child(2) > span { animation-delay: 0.1s; }
.page-hero .label { animation: rise 1s var(--ease) 0.1s both; }
.page-hero .lead, .page-hero .hero-actions { animation: rise 1.2s var(--ease) 0.5s both; }
.page-hero .lead { max-width: 40ch; }
@keyframes lineUp { from { transform: translateY(108%); } to { transform: none; } }

/* ---------- Home: introduction ---------- */
.intro-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 3fr 9fr; gap: 64px; } }
.intro-grid .text-link { margin-top: 36px; }

/* ---------- Home: work index ---------- */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.index li { border-bottom: 1px solid var(--hair-2); position: relative; }
.index li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease); }
.index a { display: grid; gap: 10px 48px; padding: clamp(28px, 3.4vw, 44px) 0; align-items: baseline; }
@media (min-width: 900px) { .index a { grid-template-columns: 7fr 5fr; } }
.index .t { font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.02em; transition: transform 0.9s var(--ease), color 0.5s; display: inline-block; }
.index .d { color: var(--ash); max-width: 42ch; transition: color 0.5s; }
.index .go { display: block; margin-top: 10px; color: var(--champagne); font-size: 15px; font-weight: 400; opacity: 0.85; }
@media (hover: hover) {
  .index a:hover .t, .index a:focus-visible .t { transform: translateX(0.18em); color: var(--gilt); font-style: italic; }
  .index a:hover .d { color: var(--vellum-2); }
  .index li:hover::after, .index li:focus-within::after { transform: scaleX(1); }
}

/* ---------- Split (image + text) ---------- */
.split { display: grid; gap: 64px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 112px; } .split--rev > :first-child { order: 2; } }
.split .h2 { margin-bottom: 32px; }
.media { position: relative; overflow: hidden; background: var(--lacquer-2); }
.media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; will-change: transform; }
.media--wide img { aspect-ratio: 16 / 8; }
.media[data-parallax] img { transform: translateY(var(--py, 0)) scale(1.14); }

.inline-list { list-style: none; padding: 0; margin: 28px 0 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.inline-list li { border: 1px solid var(--hair); border-radius: 999px; padding: 7px 16px; font-size: 15px; color: var(--vellum-2); }

/* ---------- Quote ---------- */
.quote { max-width: 980px; margin: 0 auto; text-align: center; }
.quote .q { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.3; color: var(--vellum); max-width: none; }
.quote cite { display: block; margin-top: 36px; font-style: normal; font-size: 15px; color: var(--champagne); }
.quote-mark { display: block; font-family: var(--serif); font-size: 140px; line-height: 0.6; color: var(--champagne); opacity: 0.5; margin-bottom: 20px; }

/* ---------- Closing call to action ---------- */
.closing { text-align: center; padding: clamp(120px, 16vw, 220px) 0; position: relative; overflow: hidden; border-top: 1px solid var(--hair-2); }
.closing::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1000px; height: 1000px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(201, 169, 106, 0.1), transparent 70%); pointer-events: none; }
.closing h2 { font-size: clamp(48px, 8vw, 124px); line-height: 0.96; letter-spacing: -0.03em; margin: 0 auto 52px; max-width: 16ch; position: relative; }
.closing .btn { position: relative; }

/* ---------- About ---------- */
.story { display: grid; gap: 64px; }
@media (min-width: 960px) { .story { grid-template-columns: 5fr 7fr; gap: 112px; } .story .sticky { position: sticky; top: 120px; align-self: start; } }
.story .h2 { margin-bottom: 44px; }
.figure { margin: 0; }
.figure figcaption { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ash); }
.dropcap::first-letter { float: left; font-family: var(--serif); font-weight: 300; color: var(--champagne); font-size: 3.4em; line-height: 0.8; padding: 8px 14px 0 0; }
.pull { margin: 64px 0; padding: 0 0 0 32px; border-left: 1px solid var(--champagne); }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(27px, 2.9vw, 38px); line-height: 1.28; color: var(--vellum); }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.timeline li { display: grid; gap: 8px 56px; padding: 40px 0; border-bottom: 1px solid var(--hair-2); }
@media (min-width: 860px) { .timeline li { grid-template-columns: 180px 1fr 1.3fr; align-items: baseline; } }
.timeline .yr { font-family: var(--serif); font-style: italic; color: var(--champagne); font-size: 30px; line-height: 1.1; }
.timeline h3 { font-size: clamp(25px, 2.3vw, 32px); font-weight: 400; }

.cols-2 { display: grid; gap: 72px; }
@media (min-width: 900px) { .cols-2 { grid-template-columns: 1fr 1fr; gap: 112px; } }
.cols-2 .h3 { font-size: clamp(34px, 3.4vw, 48px); font-weight: 300; margin-bottom: 32px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--hair-2); color: var(--vellum); }
.rows .meta { color: var(--ash); font-size: 15px; text-align: right; flex: none; }

.trio { display: grid; gap: 56px; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 64px; } }
.trio h3 { font-size: clamp(30px, 2.8vw, 40px); margin-bottom: 18px; }

/* ---------- Studio ---------- */
.svc-layout { display: grid; gap: 56px; }
@media (min-width: 960px) { .svc-layout { grid-template-columns: 4fr 8fr; gap: 104px; } .svc-layout .sticky { position: sticky; top: 130px; align-self: start; } }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.svc li { display: grid; gap: 8px 40px; padding: 34px 0; border-bottom: 1px solid var(--hair-2); }
@media (min-width: 700px) { .svc li { grid-template-columns: 5fr 6fr; align-items: baseline; } }
.svc h3 { font-size: clamp(28px, 2.6vw, 36px); }
.svc p { font-size: 16px; }

.pairs { border-top: 1px solid var(--hair); }
.pair { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 30px 0; border-bottom: 1px solid var(--hair-2); }
.pair .lng { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.05; letter-spacing: -0.015em; }
.pair .sep { display: inline-block; color: var(--champagne); font-style: italic; margin: 0 0.3em; font-size: 0.6em; transform: translateY(-0.12em); }
.pair small { font-size: 15px; color: var(--ash); }

.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; counter-reset: step; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .process { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
.process li { border-top: 1px solid var(--hair); padding-top: 28px; }
.process li::before { counter-increment: step; content: counter(step); display: block; font-family: var(--serif); font-style: italic; color: var(--champagne); font-size: 54px; line-height: 1; margin-bottom: 24px; }
.process h3 { font-size: 28px; font-weight: 400; margin-bottom: 12px; }
.process p { font-size: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 72px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 104px; } }
.details { margin: 0; }
.details div { padding: 22px 0; border-bottom: 1px solid var(--hair-2); }
.details div:first-child { border-top: 1px solid var(--hair); }
.details dt { font-size: 15px; color: var(--ash); margin-bottom: 4px; }
.details dd { margin: 0; font-family: var(--serif); font-size: clamp(23px, 2.2vw, 29px); line-height: 1.3; color: var(--vellum); }
.details dd a { transition: color 0.3s; }
.details dd a:hover { color: var(--champagne); }
.socials { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; }

.form-wrap { background: var(--lacquer); border: 1px solid var(--hair-2); border-radius: 4px; padding: clamp(28px, 5vw, 64px); }
.form-wrap h2 { font-size: clamp(34px, 3.6vw, 50px); margin-bottom: 40px; }
.form { display: grid; gap: 30px; }
.row-2 { display: grid; gap: 30px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .choice legend { font-size: 15px; color: var(--ash); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; color: var(--vellum);
  border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
  font-family: var(--sans); font-weight: 300; font-size: 18px; padding: 10px 0 12px;
  transition: border-color 0.4s, box-shadow 0.4s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--champagne) 50%), linear-gradient(135deg, var(--champagne) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { background: var(--night); color: var(--vellum); }
.field input[type="date"] { color-scheme: dark; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(156, 146, 132, 0.65); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--champagne); box-shadow: 0 1px 0 var(--champagne); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.choice { border: 0; padding: 0; margin: 0; }
.choice legend { margin-bottom: 14px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills label { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 22px; cursor: pointer; border: 1px solid var(--hair); border-radius: 999px; font-size: 15px; color: var(--vellum-2); transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s; }
.pills label:hover { border-color: var(--champagne); color: var(--vellum); }
.pills input:checked + label { background: var(--champagne); border-color: var(--champagne); color: var(--night); }
.pills input:focus-visible + label { outline: 1px solid var(--gilt); outline-offset: 4px; }
[data-show-for] { animation: rise 0.6s var(--ease) both; }
.form-note { font-size: 15px; color: var(--ash); margin: 0; }
.form-status { min-height: 1.6em; font-size: 16px; color: var(--champagne); margin: 0; }
.form-status.err { color: var(--error); }
.form .btn { justify-self: start; }

.duo { display: grid; gap: 56px 72px; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo article { border-top: 1px solid var(--hair); padding-top: 32px; }
.duo h3 { margin-bottom: 14px; }

.faq details { border-bottom: 1px solid var(--hair-2); }
.faq details:first-child { border-top: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 28px 0; font-family: var(--serif); font-size: clamp(23px, 2.4vw, 31px); color: var(--vellum); transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gilt); }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--champagne), var(--champagne)) center / 100% 1px no-repeat, linear-gradient(var(--champagne), var(--champagne)) center / 1px 100% no-repeat; transition: transform 0.5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 30px; }
.faq details[open] .ans { animation: rise 0.6s var(--ease) both; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hair-2); padding: clamp(80px, 10vw, 130px) 0 36px; }
.footer-top { display: grid; gap: 56px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 6fr 3fr 3fr; } }
.footer-big { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.02em; display: inline-block; transition: color 0.5s, font-style 0.5s; }
.footer-big:hover { color: var(--champagne); font-style: italic; }
.footer-lede { margin-top: 22px; max-width: 38ch; color: var(--ash); font-size: 16px; }
.footer-col h2 { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--champagne); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--vellum-2); font-size: 16px; transition: color 0.3s; }
.footer-col a:hover { color: var(--champagne); }
.footer-bottom { margin-top: 80px; padding-top: 26px; border-top: 1px solid var(--hair-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; }
.footer-bottom p { color: var(--ash); margin: 0; max-width: none; }

/* ---------- Scroll reveals (JS only) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.1s; }
.js .reveal.d2 { transition-delay: 0.2s; }
.js .reveal.d3 { transition-delay: 0.3s; }
.js .mask { clip-path: inset(0 0 100% 0); transform: translateY(0.3em); transition: clip-path 1.4s var(--ease), transform 1.4s var(--ease); }
.js .mask.in { clip-path: inset(0 0 -0.2em 0); transform: none; }
.js .media.reveal-img { clip-path: inset(12% 8% 12% 8%); opacity: 0; transition: clip-path 1.8s var(--ease), opacity 1s ease; }
.js .media.reveal-img.in { clip-path: inset(0 0 0 0); opacity: 1; }
.js .rule-draw { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.js .rule-draw.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .mask, .js .media.reveal-img, .js .rule-draw { opacity: 1; transform: none; clip-path: none; }
  .media[data-parallax] img { transform: none; }
}

@media print { body::after, .site-header, .progress { display: none; } body { background: #fff; color: #000; } }

/* ---------- Reviews ---------- */
.rating { font-size: 17px; color: var(--vellum); margin-bottom: 6px; }
.rating b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--champagne); margin: 0 4px; }
.stars { color: var(--champagne); letter-spacing: 0.12em; }
.muted-note { font-size: 15px; color: var(--ash); }
.reviews { display: grid; gap: 56px 64px; }
@media (min-width: 900px) { .reviews { grid-template-columns: 1fr 1fr; } .review--lead { grid-column: 1 / -1; } }
.review { margin: 0; border-top: 1px solid var(--hair); padding-top: 32px; }
.review blockquote { margin: 0; }
.review p { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 27px); line-height: 1.4; color: var(--vellum); max-width: 46ch; }
.review--lead p { font-style: italic; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.24; max-width: 30ch; }
.review figcaption { margin-top: 22px; font-size: 15px; color: var(--champagne); }

/* ---------- Map ---------- */
.map { margin: 44px 0 0; }
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--hair); border-radius: 4px; filter: grayscale(1) invert(0.9) sepia(0.25) contrast(0.9) brightness(0.95); }
.map { background: var(--lacquer); }
.map figcaption { margin-top: 14px; }

/* ---------- Office focus (no photography yet) ---------- */
.brand-name small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; color: var(--ash); margin-top: 2px; }
.hero--office .name { font-size: clamp(64px, 14.6vw, 236px); letter-spacing: -0.035em; }
.hero--office .name .row--b { margin-top: -0.04em; }
.signature {
  position: absolute; left: 0.06em; bottom: 0.9em; margin: 0; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.4vw, 36px); color: var(--vellum-2);
  animation: rise 1.2s var(--ease) 1.1s both;
}
.signature::before { content: ""; width: clamp(36px, 5vw, 72px); height: 1px; background: var(--champagne); }
@media (max-width: 760px) { .signature { position: static; margin-top: 18px; } }
.hero-maps { margin-top: 22px; }
.head-row--flush { margin-bottom: 0; }
.head-row--flush .btn { margin-top: 28px; }
.visit { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .visit { grid-template-columns: 5fr 7fr; gap: 96px; } }
.visit .h2 { margin-bottom: 40px; }
.map--tall { margin: 0; }
.map--tall iframe { aspect-ratio: 4 / 3; }
.cols-2 .h2 { margin-bottom: 28px; }
.nw { white-space: nowrap; }

/* ---------- Office photo ---------- */
.portrait picture, .media picture { display: block; width: 100%; height: 100%; }
.hero--office .portrait { left: auto; right: 0; top: 48%; transform: translateY(-50%); width: clamp(220px, 21vw, 330px); }
.hero--office .name .row--b { text-align: left; padding-left: 1.35em; }
@media (max-width: 760px) {
  .hero--office .portrait { position: relative; right: auto; top: auto; transform: none; width: 72%; max-width: 320px; margin: 28px 0 0 10px; align-self: flex-start; }
  .hero--office .name .row--b { padding-left: 0.6em; }
  .hero--office .signature { order: 2; }
}
.office-shot { max-width: 420px; margin: 0 0 56px; }
.office-shot img { aspect-ratio: 3 / 4; }

/* ---------- Languages grid ---------- */
.langs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--hair); }
@media (min-width: 760px) { .langs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .langs { grid-template-columns: repeat(4, 1fr); } }
.langs li { padding: 26px 16px 26px 0; border-bottom: 1px solid var(--hair-2); display: flex; flex-direction: column; gap: 6px; }
.langs .ln { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; color: var(--vellum); }
.langs .lx { font-size: 14px; color: var(--champagne); }
.langs li:first-child .ln { color: var(--gilt); }
.langs .lang-more .ln { font-style: italic; color: var(--ash); }
.cols-2--center { align-items: center; }
.cols-2--center .office-shot { margin: 0; max-width: 480px; }

/* ---------- Hero portrait of Anda & visit section ---------- */
.hero--office .portrait img { object-position: 50% 20%; }
.visit-media { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; align-items: stretch; }
.visit-media .media img { aspect-ratio: 3 / 4; height: 100%; }
.visit-media .map--tall iframe { height: 100%; aspect-ratio: auto; min-height: 320px; }
@media (max-width: 600px) { .visit-media { grid-template-columns: 1fr; } .visit-media .map--tall iframe { aspect-ratio: 4 / 3; } }
.visit-media figure, .media { margin: 0; }
