/* LJO Frames: dark, cinematic. One stylesheet for the public site; app.css adds the private pages. */
@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-2: #131316;
  --bg-3: #1c1c21;
  --line: #2c2c34;
  --text: #edece7;
  --muted: #a9a8a1;
  --accent: #dba84a;
  --accent-ink: #15110a;
  --danger: #ff6b6b;
  --ok: #7fd1a0;
  --display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 var(--body);
}
img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: #f0c573; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.75rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: 0.05em; }
p { margin: 0 0 1em; }
ul.plain, .cards, .masonry, .steps, .g-grid, .inquiries { list-style: none; margin: 0; padding: 0; }
.plain li { margin-bottom: 0.4em; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.narrow-text { max-width: 44rem; }
.center .narrow-text, .center.narrow-text { margin-inline: auto; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.85rem; color: var(--accent); margin-bottom: 0.9em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d9d8d2; }
.hint { color: var(--muted); font-size: 0.9rem; }

.preview-note { margin: 0; padding: 0.4rem var(--gutter); background: #3a2c0c; color: #ffe2a3; font-size: 0.85rem; text-align: center; }
.preview-note p { margin: 0; }
.sample-tag { display: inline-block; border: 1px dashed var(--accent); color: var(--accent); padding: 0.15rem 0.6rem; font-size: 0.85rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.5rem;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent); border-radius: 2px;
  font: 500 1rem/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: #f0c573; border-color: #f0c573; color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: #6a6a73; }
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-small { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.875rem; }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: #1a0505; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.center .cta-row, .cta-row.center { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem var(--gutter);
  background: rgba(11, 11, 13, 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: baseline; gap: 0.45rem; font-family: var(--display); text-transform: uppercase; text-decoration: none; color: var(--text); font-size: 1.35rem; letter-spacing: 0.14em; margin: 0; }
.brand:hover { color: var(--text); }
.brand-mark { font-weight: 700; color: var(--accent); }
.brand-word { font-weight: 300; }
.site-nav ul { display: flex; align-items: center; gap: clamp(0.75rem, 2.5vw, 2rem); list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.95rem; padding: 0.5rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid #6a6a73; color: var(--text); font: 500 0.9rem var(--display); letter-spacing: 0.14em; text-transform: uppercase; padding: 0.6rem 0.9rem; min-height: 2.75rem; border-radius: 2px; cursor: pointer; }
@media (max-width: 760px) {
  .js .nav-toggle { display: inline-block; }
  .site-header { flex-wrap: wrap; }
  .site-nav { width: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0; }
  .site-nav a:not(.btn) { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 0.75rem; width: 100%; }
}

/* Hero */
.hero { position: relative; min-height: min(76vh, 46rem); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.hero picture, .g-hero picture { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero::after, .g-hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, 0.25) 0%, rgba(11, 11, 13, 0.1) 35%, rgba(11, 11, 13, 0.92) 100%); }
/* A busy photo behind the headline: darken the side the words sit on, leave the subject clear. */
.hero::after { background: linear-gradient(90deg, rgba(11, 11, 13, 0.72) 0%, rgba(11, 11, 13, 0.35) 45%, rgba(11, 11, 13, 0) 70%), linear-gradient(180deg, rgba(11, 11, 13, 0.3) 0%, rgba(11, 11, 13, 0.05) 35%, rgba(11, 11, 13, 0.9) 100%); }
.hero-text h1, .hero-text .lead, .hero-text .eyebrow { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65); }
.hero-text { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 6rem var(--gutter) clamp(2.5rem, 7vw, 5rem); }
.hero-text h1 { max-width: 14ch; }
.hero-text .lead { max-width: 38rem; }
/* Phones: the photo sits on top as a band and the words follow underneath, so a wide photo is not
   blown up to fill a tall screen and the headline never covers its subject. */
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; }
  .hero picture { position: relative; inset: auto; display: block; height: max(38vh, 15rem); }
  .hero::after { bottom: auto; height: max(38vh, 15rem); background: linear-gradient(180deg, rgba(11, 11, 13, 0.15) 0%, rgba(11, 11, 13, 0) 45%, rgba(11, 11, 13, 1) 100%); }
  .hero-text { margin-top: -2.5rem; padding-top: 0; }
}

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.section + .section { padding-top: 0; }
.band { max-width: none; background: var(--bg-2); border-block: 1px solid var(--line); padding-block: clamp(3rem, 8vw, 6rem) !important; margin-bottom: clamp(3rem, 8vw, 6rem); }
.band:last-child { margin-bottom: 0; }
.band > * { max-width: var(--max); margin-inline: auto; }
.band > p.lead, .band > .narrow-text { max-width: 44rem; }
.page-head { padding-top: clamp(2.5rem, 6vw, 5rem); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-photo img { width: 100%; border-radius: 2px; }

/* Photo cards */
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards-two { grid-template-columns: repeat(2, 1fr); } }
.card-photo a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); color: var(--text); text-decoration: none; border-radius: 2px; }
.cards-two .card-photo a { aspect-ratio: 3 / 2; }
.card-photo picture { position: absolute; inset: 0; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card-photo a:hover img, .card-photo a:focus-visible img { transform: scale(1.04); }
.card-photo a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 13, 0.9) 100%); }
.card-photo-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.25rem; display: grid; gap: 0.25rem; }
.card-photo-text strong { font: 500 1.6rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; }
.card-photo-text span { color: #d9d8d2; font-size: 0.95rem; }

.card-empty a { border: 1px solid #45454f; background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); }
.card-empty a::after { content: none; }

/* Photo wall */
.masonry { columns: 1; column-gap: 0.75rem; margin-block: 1.5rem; }
@media (min-width: 560px) { .masonry { columns: 2; } }
@media (min-width: 900px) { .masonry { columns: 3; } }
.masonry li { break-inside: avoid; margin-bottom: 0.75rem; }
.masonry a { display: block; background: var(--bg-3); border-radius: 2px; overflow: hidden; }
.masonry img { width: 100%; transition: opacity 0.2s; }
.masonry a:hover img { opacity: 0.85; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chips a { border: 1px solid #6a6a73; border-radius: 999px; padding: 0.45rem 1rem; color: var(--text); text-decoration: none; font: 400 0.9rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.group .category { margin-top: 2.5rem; }
.group .category h3 { font-size: 1.6rem; margin-bottom: 0.3em; }

/* Steps */
.steps { display: grid; gap: 1.5rem; grid-template-columns: 1fr; counter-reset: step; margin-block: 2rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps-three { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; border-top: 1px solid #45454f; padding-top: 1rem; text-align: left; }
.steps li::before { content: "0" counter(step); display: block; font: 300 2.25rem/1 var(--display); color: var(--accent); margin-bottom: 0.6rem; }
.steps p { color: #cfcec8; margin: 0; }

/* Forms */
.form { display: grid; gap: 0.25rem; }
.field { display: grid; gap: 0.35rem; margin: 0 0 0.9rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 600; font-size: 0.95rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.8rem;
  background: var(--bg-3); color: var(--text);
  border: 1px solid #55555f; border-radius: 2px; font: inherit;
}
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
input[readonly], textarea[readonly] { color: #d9d8d2; background: var(--bg-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border: 1px solid var(--ok); border-left-width: 4px; background: rgba(127, 209, 160, 0.08); padding: 1rem 1.25rem; margin-bottom: 1.25rem; border-radius: 2px; }
.notice > :last-child { margin-bottom: 0; }
.notice h2 { font-size: 1.4rem; }
.notice-error { border-color: var(--danger); background: rgba(255, 107, 107, 0.08); }
.notice ul { margin: 0; padding-left: 1.2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 3rem var(--gutter) 2rem; }
.footer-grid { max-width: var(--max); margin: 0 auto 2rem; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer > p { max-width: var(--max); margin-inline: auto; }
.footer-title { font-size: 1rem; letter-spacing: 0.2em; color: var(--muted); }
.site-footer a { color: var(--text); }

.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; max-width: var(--max); margin: 0.5rem auto 0; padding: 0; }
.footer-legal a { color: var(--muted); display: inline-block; padding: 0.4rem 0; }
.footer-legal a:hover { color: var(--text); }
.follow { margin-top: 1rem; }

/* Long-form text pages (privacy, terms, accessibility) */
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.5em; }

/* Phone: a contact bar that stays within thumb reach */
.quick-bar { display: none; }
@media (max-width: 700px) {
  /* Keep whatever has keyboard focus clear of the fixed bar at the bottom. */
  html { scroll-padding-bottom: 5rem; }
  .quick-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--bg-2); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0); }
  .quick-bar a { display: flex; align-items: center; justify-content: center; min-height: 3.25rem; color: var(--text); text-decoration: none; font: 500 0.95rem var(--display); letter-spacing: 0.14em; text-transform: uppercase; border-right: 1px solid var(--line); }
  .quick-bar .quick-primary { background: var(--accent); color: var(--accent-ink); border-right: 0; }
  .site-footer { padding-bottom: 5.5rem; }
}

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 5, 6, 0.97); color: var(--text); }
.lightbox::backdrop { background: rgba(5, 5, 6, 0.97); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
.lightbox-stage { min-height: 0; display: flex; align-items: center; justify-content: center; padding: 3.5rem 0.5rem 0.5rem; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.lightbox-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0)); }
.lightbox-caption { flex: 1 1 12rem; margin: 0; color: var(--muted); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.lightbox-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.lightbox button { background: rgba(28, 28, 33, 0.9); color: var(--text); border: 1px solid #6a6a73; border-radius: 2px; min-width: 3rem; min-height: 3rem; padding: 0.4rem 0.9rem; font: 500 0.9rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.lightbox button:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-close { position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2; }
.lightbox button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

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