/* Layout: gallery-white editorial pages, full-bleed photographs, a black "competition floor" band.
   Photographs carry the color; the frame stays monochrome. */
:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --ink: #121212;
  --graphite: #2b2c2e;
  --hair: #d9d9d4;
  --night: #0d0d0e;
  --night-2: #1b1b1d;
  --on-night: #ededea;
  --on-night-dim: #dcdcd7;
  --ok: #2f6b47;
  --ok-bg: #e2eee6;
  --due: #8a5a12;
  --due-bg: #f4ead8;
  --error: #a3352b;

  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* Anything marked hidden stays hidden, even if its own style sets display (e.g. the login box uses grid) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 56px); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
em { font-style: italic; }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.dim { color: var(--graphite); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--bg); }
.btn.white { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.btn.white:hover { background: transparent; color: var(--on-night); }
.btn.sm { padding: 10px 14px; font-size: 11px; }
.arrow::after { content: "→"; font-family: var(--body); }

/* ---------- Photo tiles ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(160deg, #3a3a3c, #18181a); max-width: 100%; }
.ph.alt { background: linear-gradient(200deg, #4a4946, #222120); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.16,.8,.24,1); }
.ph-label { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; padding-top: env(safe-area-inset-top, 0px); transition: background .35s, color .35s; mix-blend-mode: normal; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.nav.solid { background: rgba(245,245,242,.92); backdrop-filter: blur(12px); color: var(--ink); border-bottom: 1px solid var(--hair); }
.logo { font-family: var(--display); font-size: 26px; letter-spacing: -.01em; line-height: 1; }
.nav-links { display: flex; gap: 32px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .3s; }
.nav-links a:hover::after { right: 0; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px clamp(16px, 4vw, 56px); background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--hair); }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: min(94vh, 980px); min-height: 560px; color: #fff; overflow: hidden; }
.hero > .ph { position: absolute; inset: 0; }
.hero > .ph img { object-position: 50% 30%; }
.hero > .ph img { animation: settle 2.4s cubic-bezier(.16,.8,.24,1) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,.5)); pointer-events: none; }
.hero-name { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; }
.hero-name h1 { font-size: clamp(76px, 17vw, 272px); line-height: .8; letter-spacing: -.045em; margin-left: -.04em; padding-bottom: clamp(28px, 4vw, 56px); }
.hero-meta { position: absolute; z-index: 2; left: 0; right: 0; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; gap: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hero-meta .wrap { display: flex; justify-content: space-between; width: 100%; gap: 24px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding-block: clamp(80px, 11vw, 160px); }
.statement { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.statement p.big { font-family: var(--display); font-size: clamp(30px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -.02em; max-width: 24ch; }
.statement p.big em { color: var(--graphite); }
.statement .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; max-width: 760px; color: var(--graphite); }
@media (max-width: 860px) { .statement, .statement .cols { grid-template-columns: 1fr; gap: 20px; } }

.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(48px, 7vw, 112px); }

/* Index of work */
.index { border-top: 1px solid var(--ink); }
.index a { display: grid; grid-template-columns: 120px 1.3fr 1fr auto; gap: 30px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--hair); transition: padding .35s; }
.index a:hover { padding-left: 18px; }
.index h3 { font-size: clamp(36px, 5vw, 76px); letter-spacing: -.03em; }
.index a:hover h3 { font-style: italic; }
.index p { color: var(--graphite); max-width: 42ch; }
.index .thumb { width: 120px; aspect-ratio: 4/5; }
.index .thumb .ph { width: 100%; height: 100%; }
.index a:hover .thumb img { transform: scale(1.05); }
@media (max-width: 860px) {
  .index a { grid-template-columns: 88px 1fr; gap: 18px; }
  .index .thumb { width: 88px; grid-row: span 2; }
  .index .go { display: none; }
}

/* Competition band */
.floor { background: var(--night); color: var(--on-night); }
.floor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.floor .ph { aspect-ratio: 2/3; width: min(100%, calc(82vh * 2 / 3)); margin-inline: auto; }
.floor h2 { font-size: clamp(46px, 6vw, 96px); margin: 20px 0 28px; }
.floor p { color: var(--on-night-dim); max-width: 46ch; }
.floor .label { color: var(--on-night-dim); }
.steps { list-style: none; margin: 32px 0 0; border-top: 1px solid #2c2c2e; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; border-bottom: 1px solid #2c2c2e; counter-increment: s; }
.steps li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; transition: color .2s, padding .3s; }
.steps li a::after { content: "→"; color: var(--on-night-dim); transition: transform .3s, color .2s; }
.steps li a:hover { color: #fff; }
.steps li a:hover::after { color: #fff; transform: translateX(6px); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--on-night-dim); padding-top: 19px; }
@media (max-width: 860px) { .floor-grid { grid-template-columns: 1fr; } }

/* Gallery */
.filters { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.filters button { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--graphite); border-bottom: 1px solid transparent; }
.filters button.on, .filters button:hover { color: var(--ink); border-color: var(--ink); }
.grid .ph { cursor: zoom-in; }
.grid .ph:hover img { transform: scale(1.035); }
/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(13,13,14,.97); display: none; align-items: center; justify-content: center; padding: 48px 16px; }
.lb.open { display: flex; }
.lb img { max-height: 86vh; max-width: 100%; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: var(--on-night); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; padding: 16px; }
.lb .x { top: 12px; right: 12px; } .lb .prev { left: 4px; top: 50%; } .lb .next { right: 4px; top: 50%; }

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-grid .ph { aspect-ratio: 3/4; }
.about h2 { font-size: clamp(48px, 6.5vw, 104px); margin: 18px 0 32px; }
.about p { max-width: 52ch; color: var(--graphite); }
.about p + p { margin-top: 14px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* Film strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 24vw); gap: 10px; overflow-x: auto; padding-inline: clamp(16px, 4vw, 56px); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip .ph { aspect-ratio: 3/4; }

/* Contact */
.contact { border-top: 1px solid var(--hair); }
.contact h2 { font-size: clamp(56px, 10vw, 168px); letter-spacing: -.04em; }
.contact-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.contact-row .lines { display: grid; gap: 6px; font-size: 18px; }

footer { padding-block: 28px; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Forms (register + studio) ---------- */
.page-top { padding-block: 140px 40px; }
.page-top h1 { font-size: clamp(48px, 7vw, 104px); margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.field .opt { text-transform: none; letter-spacing: 0; color: #4a4b4e; }
.field input, .field select { border: 0; border-bottom: 1px solid #7d7e80; background: transparent; padding: 10px 0 12px; font-size: 18px; outline: none; border-radius: 0; width: 100%; }
.field select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: right 6px center, right 1px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.invalid { border-color: var(--error) !important; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; gap: 24px; } }
.notice { background: var(--surface); border: 1px solid var(--hair); padding: 14px 18px; font-size: 14px; color: var(--graphite); }
.notice b { color: var(--ink); font-weight: 600; }

/* Prices: competitions down the left, the three session types stacked on the right */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.price-card { padding: 32px 0 36px 40px; border-bottom: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.price-card:first-child { grid-row: span 3; padding: 32px 40px 36px 0; border-left: 0; }
.price-card:last-child { border-bottom: 0; }
.price-card h3 { font-size: clamp(30px, 3vw, 44px); }
.price-card > p { margin: 8px 0 22px; font-size: 15px; }
.price-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--hair); }
.price-card dt { color: var(--graphite); }
.price-card dd { font-family: var(--display); font-size: 24px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card, .price-card:first-child { grid-row: auto; padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--hair); }
}
.about .sig { font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); color: var(--ink); margin-top: 26px; max-width: none; }

/* Hero collage (wide screens): the main photo stands in the center as the centerpiece,
   four smaller photos are arranged around it, and her name runs across the bottom. */
.collage { display: none; }
@media (min-aspect-ratio: 1/1) and (min-width: 900px) {
  .hero.tall { background: var(--night); }
  .hero.tall > .ph { inset: auto; left: 50%; top: 10%; height: 78%; aspect-ratio: 2/3; transform: translateX(-50%); z-index: 1; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
  .hero.tall > .ph img { animation: none; }
  .collage { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .collage .ph { position: absolute; box-shadow: 0 20px 50px rgba(0,0,0,.5); animation: rise 1.4s cubic-bezier(.16,.8,.24,1) both; }
  .collage .c1 { left: 4%; top: 21%; width: 20vw; aspect-ratio: 3/2; animation-delay: .1s; }
  .collage .c2 { left: 15%; top: 50%; width: 12vw; aspect-ratio: 2/3; animation-delay: .25s; }
  .collage .c3 { right: 5%; top: 19%; width: 12vw; aspect-ratio: 2/3; animation-delay: .4s; }
  .collage .c4 { right: 11%; top: 52%; width: 19vw; aspect-ratio: 3/2; animation-delay: .55s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .hero.tall::after { z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 20%, rgba(0,0,0,0) 62%, rgba(0,0,0,.55)); }
}
/* Phones and narrow screens: the main photo fills the screen */
.hero.tall > .ph img { object-position: 45% 40%; }

/* Gallery: uncropped photos in columns (overrides the older fixed-shape grid) */
.grid { display: flex; align-items: flex-start; gap: clamp(8px, 1.2vw, 18px); }
.grid .gcol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 18px); }
.grid .ph { width: 100%; }
/* Page title for search engines and screen readers; the logo already shows her name */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price-cta { margin-top: 22px; }
