/* Belle Vue Studios — styles
   Colours and fonts live in the :root block below. */

:root {
  --paper: #F2F0EB;
  --paper-2: #E8E5DE;
  --table: #FCFBF8;
  --print: #FBFAF7;
  --ink: #111111;
  --grey: #5E5A53;
  --rule: #D9D5CC;
  --film: #141210;
  --film-text: #E39A4B;
  --pencil: #C8382A;
  --tape: rgba(226, 214, 186, 0.82);
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --hand: Caveat, "Segoe Print", cursive;
  --pad: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--pencil); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pencil); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 13px; color: var(--grey); margin: 0; }
.only-phone { display: none; }
@media (max-width: 760px) { .only-desk { display: none; } .only-phone { display: inline; } }

/* ---------- Header & menu ---------- */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px var(--pad); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: clamp(16px, 3vw, 40px); font-family: var(--mono); font-size: 13px; }
.nav a { position: relative; padding: 12px 0; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 7px; height: 3px; border-radius: 3px; background: var(--pencil); transform: rotate(-1.5deg); }
.menu-btn { display: none; min-width: 44px; min-height: 44px; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--mono); font-size: 13px; }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--paper); padding: 14px 20px 32px; display: none; flex-direction: column; }
.menu.is-open { display: flex; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu nav { margin-top: 64px; display: flex; flex-direction: column; gap: 4px; }
.menu nav a { font-family: var(--serif); font-size: 60px; line-height: 1.06; }
.menu .hand { margin-top: auto; }

/* ---------- Handwriting & pencil ---------- */
.hand { font-family: var(--hand); font-weight: 700; color: var(--pencil); line-height: 1; }
.note { opacity: 0; transform: translateY(6px) rotate(var(--r, -4deg)); transition: opacity .6s ease .5s, transform .6s ease .5s; display: inline-block; }
.note.is-in { opacity: 1; transform: translateY(0) rotate(var(--r, -4deg)); }
.ink path { stroke: var(--pencil); fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 1.6s ease-out; }
.ink.is-drawn path { stroke-dashoffset: 0; }
.ink.static path { stroke-dashoffset: 0; transition: none; }
.underline { position: absolute; left: 0; width: 100%; height: 22px; overflow: visible; }
.underline path { stroke-width: 3.5; }
.tape { position: absolute; width: 92px; height: 26px; background: var(--tape); z-index: 2; }
.crop { position: absolute; width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px var(--pad) 80px; }
.corner { position: absolute; top: 28px; width: 28px; height: 28px; }
.corner.l { left: clamp(12px, 2vw, 32px); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.corner.r { right: clamp(12px, 2vw, 32px); border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.hero .label { font-size: 12px; letter-spacing: .04em; margin-bottom: 44px; }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.title-wrap { position: relative; }
.title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(82px, 12.5vw, 200px); line-height: .84; letter-spacing: -.03em; }
.title-wrap .underline { width: 62%; bottom: -18px; }
.me-note { position: absolute; left: calc(100% + 28px); top: 20%; display: flex; align-items: center; gap: 6px; font-size: 30px; white-space: nowrap; }
.facts { margin: 0 0 18px; display: grid; grid-template-columns: auto auto; gap: 10px 28px; font-family: var(--mono); font-size: 13px; line-height: 1.4; border-top: 1px solid var(--ink); padding-top: 16px; min-width: 300px; }
.facts dt { color: var(--grey); }
.facts dd { margin: 0; }

/* ---------- Film strip (reel) ---------- */
.reel { background: var(--film); padding: 12px 0 10px; overflow: hidden; }
.reel-track { display: flex; width: max-content; animation: advance 70s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes advance { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reel-cell { flex: 0 0 210px; padding: 0 5px; display: flex; flex-direction: column; gap: 8px; }
.holes { display: flex; justify-content: space-between; padding: 0 3px; }
.holes span { width: 16px; height: 11px; border-radius: 2px; background: var(--paper); }
.edge { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--film-text); }
.swipe-hint { display: none; }

/* ---------- Frames ---------- */
.frame { position: relative; background: #4B4740; overflow: visible; }
.frame-inner { position: absolute; inset: 0; overflow: hidden; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame.landscape { aspect-ratio: 3 / 2; }
.frame.portrait { aspect-ratio: 4 / 5; }
.frame .ph { position: absolute; left: 10px; bottom: 8px; font-family: var(--mono); font-size: 10px; color: #A39D92; }
.frame .num { position: absolute; left: 8px; top: 6px; z-index: 1; font-family: var(--mono); font-size: 10px; color: var(--film-text); text-shadow: 0 0 4px rgba(0,0,0,.6); }
.frame .ink { position: absolute; inset: -9px -12px; width: calc(100% + 24px); height: calc(100% + 18px); overflow: visible; pointer-events: none; z-index: 2; }
.frame .ink path { stroke-width: 2.6; }
.frame .tag { position: absolute; right: 8px; top: -4px; z-index: 3; font-size: 26px; transform: rotate(-5deg); }

/* ---------- Sections ---------- */
.approach { padding: 136px var(--pad) 120px; display: flex; flex-wrap: wrap; gap: 40px; }
.approach .label { flex: 1 1 200px; }
.approach p.big { flex: 999 1 560px; margin: 0; max-width: 940px; font-family: var(--serif); font-size: clamp(32px, 3.8vw, 56px); line-height: 1.1; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.section-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 6vw, 96px); line-height: 1; }

.selected { padding: 0 var(--pad) 120px; }
.table { margin-top: 56px; padding: clamp(28px, 4vw, 64px) clamp(20px, 4vw, 64px) clamp(56px, 6vw, 88px); background: var(--table); box-shadow: inset 0 0 0 1px #E6E2D8, inset 0 0 80px rgba(255,255,255,.9); }
.sheet { position: relative; display: flex; flex-direction: column; gap: 16px; transform: rotate(-.6deg); transition: transform .35s ease, box-shadow .35s ease; }
.sheet:hover { transform: rotate(0) translateY(-4px); }
.sheet .tape.a { left: -18px; top: 40px; transform: rotate(-38deg); }
.sheet .tape.b { right: -18px; bottom: 30px; transform: rotate(-38deg); }
.sheet-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; }
.sheet-head .t { flex: 1 1 300px; font-family: var(--serif); font-size: clamp(32px, 3.2vw, 46px); line-height: 1; }
.strip { background: var(--film); padding: 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sheet .the-one { position: absolute; bottom: -48px; font-size: 30px; }
.cta-line { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 0 24px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 13px; margin-top: 72px; }
.cta-line:hover { background: var(--ink); color: var(--paper); }

.about { padding: 120px var(--pad); background: var(--paper-2); display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: center; }
.print { position: relative; margin: 0; background: var(--print); padding: 16px 16px 22px; box-shadow: 0 10px 30px rgba(40,30,20,.14); display: flex; flex-direction: column; gap: 14px; }
.about .print { flex: 1 1 300px; max-width: 420px; transform: rotate(-2deg); }
.about .print .tape { left: 50%; top: -14px; width: 110px; margin-left: -55px; transform: rotate(3deg); }
.print .photo { aspect-ratio: 4 / 5; background: #8F897D; overflow: hidden; }
.print .photo img { width: 100%; height: 100%; object-fit: cover; }
.print figcaption { font-family: var(--hand); font-weight: 500; font-size: 24px; color: #3E3B35; }
.about-text { flex: 999 1 420px; max-width: 640px; display: flex; flex-direction: column; gap: 28px; }
.about-text p.big { margin: 0; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.18; }
.about-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid #BDB8AD; font-family: var(--mono); font-size: 13px; line-height: 1.7; }
.about-facts dt { color: var(--grey); }
.about-facts dd { margin: 0; }

.contact { padding: 128px var(--pad) 48px; display: flex; flex-direction: column; gap: 48px; }
.email-wrap { position: relative; align-self: flex-start; margin-top: 24px; }
.email-wrap .hand { position: absolute; left: 0; top: -44px; font-size: 32px; }
.email { position: relative; display: inline-block; font-family: var(--serif); font-size: clamp(27px, 6.6vw, 108px); line-height: 1; letter-spacing: -.015em; }
.email .underline { bottom: -20px; }
.form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: end; max-width: 1100px; margin-top: 24px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--grey); }
.form input, .form textarea, .form select { border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: 400 17px var(--sans); color: var(--ink); padding: 10px 0; min-height: 44px; border-radius: 0; }
.form textarea { resize: vertical; }
.form .full { grid-column: 1 / -1; }
.btn { min-height: 52px; padding: 0 24px; background: var(--ink); color: var(--paper); border: 0; font: 500 13px var(--mono); cursor: pointer; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; }
.btn:hover { background: var(--pencil); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.phone-buttons { display: none; }
.hidden-field { display: none; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; color: var(--grey); }
.site-footer a { color: var(--grey); }

/* ---------- All work page ---------- */
.work-hero { padding: 80px var(--pad) 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.work-hero .title { font-size: clamp(76px, 10vw, 160px); line-height: .88; }
.work-hero .note { position: absolute; left: calc(100% + 24px); bottom: 18px; font-size: 30px; white-space: nowrap; }
.filters { padding: 0 var(--pad) 40px; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.filter { position: relative; min-height: 44px; padding: 0 14px; background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: 14px; }
.filter .ink { position: absolute; inset: 2px -4px; width: calc(100% + 8px); height: calc(100% - 4px); overflow: visible; }
.filter .ink path { stroke-width: 2.2; }
.contact-print { margin: 0 var(--pad) 120px; background: #fff; padding: clamp(24px, 3.5vw, 56px); box-shadow: 0 1px 0 var(--rule), 0 20px 50px rgba(40,30,20,.10); display: flex; flex-direction: column; gap: 56px; }
.roll { display: flex; flex-direction: column; gap: 12px; }
.roll-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.roll-head .hand { font-size: 30px; transform: rotate(-1.5deg); }
.roll-film { background: var(--film); padding: 8px 10px; }
.roll-film .holes { padding: 0 4px 8px; }
.roll-film .holes.bottom { padding: 8px 4px 0; }
.roll-film .holes span { background: #fff; width: 14px; height: 10px; }
.roll-frames { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.roll-frames .frame { cursor: zoom-in; border: 0; padding: 0; transition: filter .2s ease, transform .2s ease; }
.roll-frames .frame:hover { filter: brightness(1.15); transform: translateY(-3px); }
.developing { margin: 0; text-align: center; font-family: var(--hand); font-size: 26px; color: var(--grey); }
.empty { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--grey); }
.work-cta { padding: 0 var(--pad) 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.work-cta p { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; }

/* Frame viewer */
.viewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(242,240,235,.97); }
.viewer::backdrop { background: rgba(242,240,235,.6); }
.viewer[open] { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 48px); padding: 40px var(--pad); }
.viewer .close { position: absolute; top: 16px; right: var(--pad); min-height: 44px; background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: 13px; }
.viewer .step { width: 52px; height: 52px; flex: 0 0 auto; border: 1px solid var(--ink); border-radius: 50%; background: none; cursor: pointer; font-family: var(--mono); font-size: 18px; }
.viewer .print { width: min(560px, 60vw); transform: rotate(-1deg); animation: pop .3s ease-out; }
.viewer .print .tape.a { left: 30px; top: -14px; transform: rotate(-5deg); width: 110px; }
.viewer .print .tape.b { right: 30px; top: -14px; transform: rotate(4deg); width: 110px; }
.viewer .print .photo { aspect-ratio: auto; max-height: 72vh; background: #3F3B35; min-height: 200px; display: flex; align-items: center; justify-content: center; }
.viewer .print .photo img { width: auto; height: auto; max-width: 100%; max-height: 72vh; object-fit: contain; }
.viewer figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--sans); }
.viewer figcaption .hand { font-size: 26px; }
.viewer .steps-phone { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) rotate(-1deg); } to { opacity: 1; transform: translateY(0) rotate(-1deg); } }

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: flex-end; }
  .site-header { padding: 10px 20px; }
  .brand img { height: 42px; }
  .hero { padding: 36px 20px 40px; }
  .corner { display: none; }
  .hero .label { font-size: 11px; margin-bottom: 24px; }
  .title { font-size: 82px; }
  .title-wrap { display: inline-block; }
  .title-wrap .underline { display: none; }
  .me-note { position: static; margin: 38px 0 0 auto; width: max-content; font-size: 26px; }
  .hero-row { flex-direction: column; align-items: stretch; gap: 0; }
  .facts { margin: 28px 0 0; min-width: 0; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 12px; }

  .reel { overflow: hidden; }
  .reel-track { animation: none; overflow-x: auto; width: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 7px; }
  .reel-track::-webkit-scrollbar { display: none; }
  .reel-cell { flex-basis: 158px; scroll-snap-align: start; }
  .reel-cell.dupe { display: none; }
  .swipe-hint { display: block; margin: 10px 20px 0; text-align: right; font-size: 24px; transform: rotate(-2deg); }

  .approach { padding: 56px 20px; gap: 18px; }
  .approach p.big { font-size: 32px; }
  .selected { padding: 0 20px 64px; }
  .section-head { flex-direction: column; gap: 6px; padding-bottom: 14px; }
  .section-head h2 { font-size: 52px; }
  .table { margin: 28px -20px 0; padding: 28px 20px 56px; }
  .sheet { transform: rotate(-.8deg); }
  .sheet-head { flex-direction: column; gap: 4px; }
  .sheet-head .view { display: none; }
  .sheet-head .t { flex: none; }
  .sheet .tape.a { top: auto; bottom: 120px; left: -14px; width: 64px; height: 22px; }
  .sheet .tape.b { width: 64px; height: 22px; }
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px; gap: 6px; }
  .strip::-webkit-scrollbar { display: none; }
  .strip .frame { flex: 0 0 132px; scroll-snap-align: start; }
  .sheet .the-one { position: static; align-self: center; margin-top: 4px; font-size: 26px; }
  .table { padding-bottom: 32px; }
  .cta-line { display: flex; width: 100%; min-height: 56px; margin-top: 24px; }

  .about { padding: 56px 20px; gap: 28px; flex-direction: column; align-items: stretch; }
  .about .print { width: 270px; margin: 0 auto; padding: 12px 12px 16px; }
  .about-text { order: 2; }
  .about-facts { grid-template-columns: 1fr; gap: 14px; font-size: 12px; }

  .contact { padding: 64px 20px 40px; gap: 18px; }
  .email-wrap { margin-top: 44px; }
  .email-wrap .hand { font-size: 30px; }
  .email .underline { bottom: -14px; height: 16px; }
  .form { display: none; }
  .phone-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
  .phone-buttons .btn { min-height: 56px; padding: 0 20px; width: 100%; }

  .work-hero { padding: 36px 20px 24px; flex-direction: column; align-items: flex-start; gap: 0; }
  .work-hero .title { font-size: 76px; }
  .work-hero .note { position: static; margin-top: 14px; font-size: 26px; }
  .work-hero .label { margin-top: 18px; font-size: 12px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding: 0 12px 24px; gap: 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; font-size: 13px; }
  .contact-print { margin: 0 0 0; padding: 28px 0 32px; gap: 36px; box-shadow: 0 1px 0 var(--rule), 0 -1px 0 var(--rule); }
  .roll-head { flex-direction: column; gap: 2px; padding: 0 20px; }
  .roll-head .hand { font-size: 26px; }
  .roll-head .mono { font-size: 11px; }
  .roll-film { padding: 6px 0; }
  .roll-film .holes { display: none; }
  .roll-frames { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; padding: 0 8px; scrollbar-width: none; }
  .roll-frames::-webkit-scrollbar { display: none; }
  .roll-frames .frame { flex: 0 0 118px; scroll-snap-align: start; }
  .work-cta { padding: 48px 20px 36px; gap: 18px; }
  .work-cta p { font-size: 32px; }
  .work-cta .btn { width: 100%; min-height: 56px; }

  .viewer[open] { flex-direction: column; padding: 64px 20px 28px; gap: 24px; }
  .viewer .step { display: none; }
  .viewer .print { width: 100%; padding: 14px 14px 18px; }
  .viewer .print .photo, .viewer .print .photo img { max-height: 58vh; }
  .viewer .steps-phone { display: flex; gap: 12px; width: 100%; }
  .viewer .steps-phone .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
  .note { opacity: 1; transform: rotate(var(--r, -4deg)); transition: none; }
  .ink path { stroke-dashoffset: 0; transition: none; }
  .viewer .print { animation: none; }
  html { scroll-behavior: auto; }
}

.viewer .photo:empty::after { content: "[ photo coming soon ]"; font-family: var(--mono); font-size: 12px; color: #A39D92; }

/* ---------- Real photos (Nov 2026) ---------- */
[hidden] { display: none !important; }
/* Her prints already have a white border, so the viewer shows the print itself — no extra mat. */
.viewer .print { background: none; box-shadow: none; padding: 0; }
.viewer .print .photo { background: none; min-height: 0; }
.viewer .print .photo img { box-shadow: 0 12px 34px rgba(40,30,20,.18); }
@media (max-width: 760px) { .viewer .print { padding: 0; } }
.approach[hidden] + .selected { padding-top: clamp(72px, 9vw, 136px); }
@media (max-width: 760px) { .approach[hidden] + .selected { padding-top: 56px; } }
