/* Nos Clichés — site public & galeries clients */
:root {
  --night: #0F0E11;
  --night-2: #1A181D;
  --night-3: #1F1C23;
  --line: #2C2930;
  --line-2: #3A3640;
  --paper: #F4EFE8;
  --muted: #C9C3CE;
  --muted-2: #A39DA8;
  --ink-soft: #4A4550;
  --pink: #FF5C8A;
  --lemon: #F2FF6B;
  --violet: #6B5CFF;
  --orange: #FF9A5C;
  --mint: #2EE6A8;
  --error: #FF8FAE;
  --accent: var(--pink);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
p { margin: 0; }
a { color: var(--paper); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 640px) { .wrap { padding-left: 16px; padding-right: 16px; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--paper);
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { color: var(--paper); border-color: var(--muted-2); }
.btn:active { transform: scale(.98); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--night); }
.btn-accent:hover { color: var(--night); filter: brightness(1.06); border-color: var(--accent); }
.btn-lemon { background: var(--lemon); border-color: var(--lemon); color: var(--night); }
.btn-lemon:hover { color: var(--night); border-color: var(--lemon); filter: brightness(1.04); }
.btn-dark { background: var(--night); border-color: var(--night); color: var(--paper); }
.btn-dark:hover { color: var(--lemon); border-color: var(--night); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn svg { flex: none; }

/* ---------- En-tête ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--paper); }
.logo:hover { color: var(--paper); }
.logo-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); flex: none; }
.site-header { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; justify-content: space-between; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.site-header .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 960px) { .site-nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; gap: 22px; padding-bottom: 4px; } .site-nav a { white-space: nowrap; } }
@media (max-width: 520px) { .site-header .actions .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; } .logo { font-size: 22px; } }

/* ---------- Accueil ---------- */
.hero { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pill { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--night-3); font-size: 14px; font-weight: 500; color: var(--lemon); }
.hero h1 { font-size: clamp(48px, 7vw, 84px); line-height: .98; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { flex: 1 1 480px; min-width: 0; display: flex; justify-content: center; padding: 24px 0 64px; overflow: hidden; }
.mock { position: relative; width: 300px; }
.mock-phone { width: 300px; height: 600px; border-radius: 44px; background: var(--night-2); border: 10px solid var(--line); padding: 22px 14px 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.6); transform: rotate(3deg); }
.mock-phone .kicker { font-size: 10px; font-weight: 600; color: var(--lemon); letter-spacing: .05em; text-transform: uppercase; padding: 0 4px; }
.mock-phone .name { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.03em; padding: 0 4px; }
.mock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mock-grid span { aspect-ratio: 1 / 1.1; border-radius: 8px; }
.mock-phone .dl { margin-top: auto; border-radius: 999px; background: var(--accent); color: var(--night); text-align: center; font-weight: 600; font-size: 13px; padding: 11px; }
.mock-qr { position: absolute; z-index: 2; left: -96px; top: 290px; transform: rotate(-7deg); background: var(--lemon); color: var(--night); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; box-shadow: 0 24px 48px rgba(0,0,0,.45); font-weight: 700; font-size: 13px; }
.mock-toast { position: absolute; z-index: 2; right: -72px; bottom: 96px; transform: rotate(-3deg); background: var(--paper); color: var(--night); border-radius: 16px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 24px 48px rgba(0,0,0,.45); }
.mock-toast b { display: block; font-size: 14px; }
.mock-toast small { font-size: 12px; color: var(--ink-soft); }
.mock-toast span { width: 36px; height: 44px; border-radius: 6px; background: var(--accent); flex: none; }
@media (max-width: 640px) { .hero { padding-top: 32px; padding-bottom: 64px; gap: 40px; } .hero .lead { font-size: 18px; } .mock-qr { left: -40px; } .mock-toast { right: -24px; } }

.section { padding-top: 96px; padding-bottom: 96px; }
.section-title { font-size: clamp(38px, 5vw, 56px); }
.section-head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.band-paper { background: var(--paper); color: var(--night); }
.band-paper a { color: var(--night); }
.band-dark { background: var(--night-2); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.feature { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feature .num { width: 44px; height: 44px; border-radius: 12px; background: var(--night); color: var(--lemon); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; }
.feature h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { color: var(--ink-soft); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); margin-top: 48px; }
.step { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.step .n { font-family: var(--display); font-weight: 800; font-size: 48px; color: var(--accent); line-height: 1; }
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.step p { color: var(--muted-2); font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: 48px; }
.plan { background: var(--night-2); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.plan h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.plan .price { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1.05; }
.plan .price small { font-size: 18px; font-weight: 700; color: inherit; opacity: .7; }
.plan ul { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan-hot { background: var(--accent); border-color: var(--accent); color: var(--night); }
.plan-hot ul { color: var(--night); }
.plan-hot .badge { background: var(--night); color: var(--lemon); padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mosaic span { aspect-ratio: 3 / 4; border-radius: 12px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.inline-form input { flex: 1 1 240px; min-width: 0; min-height: 56px; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--night); color: var(--paper); font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.inline-form input::placeholder { text-transform: none; letter-spacing: 0; color: var(--muted-2); }
.faq { display: flex; flex-wrap: wrap; gap: 56px; }
.faq h2 { flex: 1 1 320px; }
.faq-list { flex: 2 1 560px; min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 26px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted-2); padding-top: 10px; }
.book { background: var(--lemon); color: var(--night); border-radius: 32px; padding: 56px; display: flex; flex-wrap: wrap; gap: 48px; }
.book a { color: var(--night); text-decoration: underline; }
.book-intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.book-intro p { font-size: 18px; color: #2B2732; }
.book form { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.book label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.book input, .book select, .book textarea { min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--night); background: #fff; color: var(--night); font-weight: 400; font-size: 16px; }
.book textarea { min-height: 110px; resize: vertical; }
.book .full { grid-column: 1 / -1; }
.book .thanks { grid-column: 1 / -1; background: var(--night); color: var(--paper); border-radius: 16px; padding: 20px; font-weight: 600; }
.book .err { grid-column: 1 / -1; background: #fff; border: 2px solid #A3133F; color: #A3133F; border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .section { padding-top: 64px; padding-bottom: 64px; } .book { padding: 28px 20px; border-radius: 24px; } }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; color: var(--muted-2); font-size: 14px; }
.site-footer a { color: var(--muted-2); }
.site-footer a:hover { color: var(--paper); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer .brand { font-family: var(--display); font-weight: 800; color: var(--paper); font-size: 18px; }

/* ---------- Accès par code ---------- */
.access-page { min-height: 100vh; display: flex; flex-direction: column; }
.access-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 20px 64px; }
.access-card { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.access-card h1 { font-size: clamp(38px, 6vw, 48px); line-height: 1.02; }
.access-card .lead { color: var(--muted); font-size: 17px; }
.cards-deco { display: flex; gap: 8px; }
.cards-deco span { width: 44px; height: 58px; border-radius: 6px; }
.cards-deco span:nth-child(1) { background: var(--pink); transform: rotate(-8deg); }
.cards-deco span:nth-child(2) { background: var(--lemon); }
.cards-deco span:nth-child(3) { background: var(--violet); transform: rotate(8deg); }
.code-form { width: 100%; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.code-form label { font-size: 14px; font-weight: 600; color: var(--muted); }
.code-input { width: 100%; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--night-2); color: var(--paper); font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.code-input::placeholder { color: #5A5560; }
.code-input.is-error { border-color: var(--error); }
.form-error { color: var(--error); font-size: 14px; }
.code-form .btn { width: 100%; }
.access-card .small { font-size: 14px; color: var(--muted-2); }
.access-card .small a { text-decoration: underline; }
.access-banner { width: 100%; aspect-ratio: 16 / 7; border-radius: 20px; object-fit: cover; }
.access-logo { max-height: 96px; width: auto; }

/* ---------- Galerie client ---------- */
.g-header { padding-top: 20px; padding-bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.g-header .logo { font-size: 22px; }
.g-header .logo-dot { width: 12px; height: 12px; box-shadow: none; }
.g-header .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.preview-bar { background: var(--lemon); color: var(--night); font-size: 14px; font-weight: 600; text-align: center; padding: 10px 16px; }
.preview-bar a { color: var(--night); text-decoration: underline; }
.g-banner { margin-top: 8px; border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 8; max-height: 460px; width: 100%; background: var(--night-2); }
.g-banner img { width: 100%; height: 100%; object-fit: cover; }
.g-hero { padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.g-hero .txt { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.g-kicker { font-size: 14px; font-weight: 600; color: var(--lemon); letter-spacing: .04em; text-transform: uppercase; }
.g-title { font-size: clamp(44px, 8vw, 96px); line-height: .95; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.g-sub { color: var(--muted); font-size: 17px; }
.g-welcome { color: var(--paper); font-size: 17px; max-width: 640px; white-space: pre-line; }
.g-logo { max-height: 110px; max-width: 220px; width: auto; object-fit: contain; }
.g-deco { display: flex; gap: 6px; }
.g-deco span { width: 54px; height: 72px; border-radius: 6px; }
.g-deco span:nth-child(1) { background: var(--accent); transform: rotate(-6deg); }
.g-deco span:nth-child(2) { background: var(--lemon); transform: rotate(3deg); }
.g-deco span:nth-child(3) { background: var(--violet); transform: rotate(-2deg); }
.live-note { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--night-3); margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.live-note strong { color: var(--paper); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(46,230,168,.2); flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(46,230,168,.08); } }
.g-toolbar { position: sticky; top: 0; z-index: 5; background: rgba(15,14,17,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.g-toolbar .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.tabs { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--paper); font-weight: 600; font-size: 14px; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--paper); color: var(--night); border-color: var(--paper); }
.tab .c { opacity: .6; font-weight: 500; margin-left: 4px; }
.count-label { font-size: 14px; color: var(--muted-2); }
.g-main { padding-top: 24px; padding-bottom: 80px; }
.masonry { columns: 5 200px; column-gap: 10px; }
.tile { position: relative; display: block; width: 100%; margin: 0 0 10px; break-inside: avoid; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--night-3); }
.tile img { width: 100%; height: auto; transition: transform .35s ease, opacity .4s ease; opacity: 0; }
.tile img.is-loaded { opacity: 1; }
.tile:hover img { transform: scale(1.03); }
.tile .kind { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; color: var(--night); background: rgba(244,239,232,.88); padding: 3px 8px; border-radius: 999px; }
.tile .fav { position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--night); color: var(--accent); display: none; align-items: center; justify-content: center; }
.tile.is-fav .fav { display: flex; }
.tile .new { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 700; color: var(--night); background: var(--mint); padding: 2px 8px; border-radius: 999px; }
.empty { text-align: center; color: var(--muted-2); padding: 64px 16px; border: 1px dashed var(--line-2); border-radius: 20px; }
.empty h2 { font-size: 28px; color: var(--paper); margin-bottom: 8px; letter-spacing: -0.02em; }
.g-foot { text-align: center; color: var(--muted-2); font-size: 14px; padding-top: 32px; }
.g-foot a { color: var(--paper); text-decoration: underline; }
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .g-header .actions .btn-label { display: none; }
  .g-header .actions .btn { min-height: 44px; width: 44px; padding: 0; }
  .g-header .actions .btn.btn-accent { display: none; }
  .masonry { columns: 2; column-gap: 8px; }
  .tile { margin-bottom: 8px; border-radius: 10px; }
  .g-hero { padding-top: 12px; padding-bottom: 20px; gap: 16px; }
  .g-deco { display: none; }
  .g-banner { border-radius: 16px; aspect-ratio: 16 / 9; }
  .g-main { padding-bottom: 120px; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--night); border-top: 1px solid var(--line); }
  .mobile-bar .btn { flex: 1; min-height: 52px; font-size: 16px; }
}

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 20; background: rgba(8,7,10,.97); display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; gap: 12px; }
.lb-top p { font-size: 14px; color: var(--muted); }
.icon-btn { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--night-3); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--line-2); }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 12px; touch-action: pan-y; }
.lb-stage figure { margin: 0; flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; user-select: none; -webkit-user-drag: none; }
.lb-actions { display: flex; justify-content: center; gap: 10px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
.lb-actions .btn { min-height: 48px; }
@media (max-width: 640px) {
  .lb-stage .icon-btn { display: none; }
  .lb-stage { padding: 0 8px; }
  .lb-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-actions .btn { padding: 12px; }
}

/* Envoi invités */
.guest-upload { margin-top: 40px; border: 1px dashed var(--line-2); border-radius: 20px; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.guest-upload h2 { font-size: 24px; letter-spacing: -0.02em; }
.guest-upload p { color: var(--muted-2); font-size: 14px; }
.guest-upload form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.guest-upload input[type=text] { min-height: 48px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--night-2); color: var(--paper); }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 30; background: var(--paper); color: var(--night); border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.4); max-width: calc(100% - 32px); }
.toast[hidden] { display: none; }

/* Page d'erreur */
.error-page { min-height: 100vh; display: flex; flex-direction: column; }
.error-main { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px 20px 96px; }
.error-main > div { max-width: 520px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.error-main h1 { font-size: clamp(38px, 6vw, 56px); }
.error-main p { color: var(--muted); font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Page d'une photo de la borne */
.photo-page { min-height: 100vh; }
.photo-main { padding-bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.photo-head { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.photo-title { font-size: clamp(36px, 7vw, 64px); line-height: .95; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.photo-frame { margin: 0; width: 100%; max-width: 720px; }
.photo-frame img { width: auto; max-width: 100%; max-height: 72vh; margin: 0 auto; border-radius: 16px; border: 6px solid var(--paper); box-shadow: 0 30px 60px rgba(0,0,0,.5); background: var(--night-3); }
.photo-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; max-width: 720px; }
@media (max-width: 640px) {
  .photo-actions .btn { width: 100%; }
  .photo-page .g-header .btn-label { display: none; }
  .photo-page .g-header .btn { width: 44px; min-height: 44px; padding: 0; }
}
