/* Blue Halide: one stylesheet for every page */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #071014;          /* deep blue-black */
  --bg-2: #101a22;        /* charcoal blue */
  --graphite: #101417;
  --text: #e8e5dd;        /* soft white */
  --muted: #a8adb0;       /* cool grey */
  --accent: #3f7c9b;      /* muted cyan-blue */
  --accent-hi: #6fa9c6;   /* the accent, lighter, for text on dark */
  --line: #26323a;        /* steel border */
  --silver: #c8bfae;      /* small warm silver accent */
  --wrap: 1200px;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
p { margin: 0 0 1em; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); max-width: 18ch; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
h3 { font-size: 1.1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 0.75rem/1.4 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver); margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--text); max-width: 46rem; }
.muted { color: var(--muted); }
.meta { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 16, 20, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.wordmark {
  font: 700 0.95rem/1 var(--head); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark img { width: 26px; height: auto; flex: none; }
.wordmark:hover { color: var(--accent-hi); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .nav-inquire { color: var(--text); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.site-nav .nav-inquire:hover, .site-nav .nav-inquire[aria-current="page"] { border-color: var(--accent); background: var(--bg-2); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after {
    display: block; width: 18px; height: 2px; background: var(--text); position: relative; content: "";
  }
  .nav-toggle span:first-child::before { position: absolute; top: -6px; }
  .nav-toggle span:first-child::after { position: absolute; top: 6px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .site-header.open .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav .nav-inquire { margin-top: 14px; text-align: center; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--graphite); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,16,20,0.15) 0%, rgba(7,16,20,0.35) 45%, rgba(7,16,20,0.92) 100%); }
.hero-text { position: relative; padding-top: 120px; padding-bottom: 56px; }
.hero-text h1 { text-shadow: 0 2px 24px rgba(0,0,0,0.45); }
.hero-text .lead { color: #d9dde0; text-shadow: 0 1px 16px rgba(0,0,0,0.5); }

/* ---------- Sections ---------- */
.intro { padding-top: 64px; }
.intro p { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); max-width: 50rem; color: var(--text); }
.block { padding-top: 72px; }
.block-head { max-width: 46rem; margin-bottom: 28px; }
.block-head p { color: #cfd2d3; }
.block.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.block-side { border-left: 1px solid var(--line); padding-left: 32px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: #cfd2d3; }
.list li:first-child { border-top: 1px solid var(--line); }
.events { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin: 0; }
.events dt, .events dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.events dt { font-weight: 600; padding-right: 24px; }
.events dd { color: var(--muted); }
@media (max-width: 760px) {
  .block.split { grid-template-columns: 1fr; gap: 12px; }
  .block-side { border-left: 0; padding-left: 0; }
  .events { grid-template-columns: 1fr; }
  .events dt { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- Home cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; color: var(--text); text-decoration: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: border-color .2s; }
.card:hover { color: var(--text); border-color: var(--accent); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card h3 { margin: 18px 18px 8px; }
.card p { margin: 0 18px 16px; color: var(--muted); font-size: 0.95rem; flex: 1; }
.card .more { margin: 0 18px 18px; font-size: 0.85rem; font-weight: 600; color: var(--accent-hi); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.credibility { padding-top: 56px; display: flex; flex-wrap: wrap; gap: 8px 40px; }
.credibility p { margin: 0; padding-left: 14px; border-left: 2px solid var(--accent); color: var(--silver); font-size: 0.95rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.steps .num { font: 700 0.85rem var(--head); color: var(--accent-hi); letter-spacing: 0.1em; }
.steps h3 { margin: 10px 0 6px; }
.steps p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 800px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Galleries: images keep their own shape ---------- */
.gallery { columns: 3; column-gap: 16px; }
.gallery.cols-2 { columns: 2; }
.gallery.cols-1 { columns: 1; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; }
.gallery a { display: block; overflow: hidden; border-radius: 3px; background: var(--graphite); }
.gallery img { width: 100%; transition: transform .6s ease, opacity .3s; }
.gallery a:hover img { transform: scale(1.03); }
figcaption { margin-top: 8px; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 800px) { .gallery, .gallery.cols-2 { columns: 2; }
.gallery.cols-1 { columns: 1; } }
@media (max-width: 480px) { .gallery, .gallery.cols-2 { columns: 1; } }

.clip { margin: 0 0 24px; }
.clip video { width: 100%; aspect-ratio: 16 / 9; background: var(--graphite); border-radius: 3px; }

.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.yt { margin: 0; }
.yt-play, .yt iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 3px; overflow: hidden; background: var(--graphite); }
.yt-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.yt-play:hover img { transform: scale(1.03); }
.yt-btn { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(7, 16, 20, 0.72); border: 1px solid rgba(232, 229, 221, 0.6); transition: background .2s; }
.yt-btn::after { content: ""; position: absolute; left: 27px; top: 22px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--text); }
.yt-play:hover .yt-btn { background: var(--accent); }
.yt figcaption strong { color: var(--text); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 700px) { .yt-grid { grid-template-columns: 1fr; } }

/* ---------- Call to action ---------- */
.cta { margin-top: 88px; padding-top: 48px; padding-bottom: 88px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta p { font: 700 clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem)/1.25 var(--head); margin: 0; max-width: 34ch; }
.btn {
  display: inline-block; font: 600 0.95rem/1 var(--body); letter-spacing: 0.02em;
  color: var(--bg); background: var(--text); border: 1px solid var(--text);
  padding: 15px 26px; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--text); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); padding: 12px 20px; font-size: 0.9rem; }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--accent); color: var(--text); }
.shop-link { margin-top: 20px; }

/* ---------- About ---------- */
.about { padding-top: 64px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.about-img { margin: 0; position: sticky; top: 100px; }
.about-img img { width: 100%; border-radius: 3px; }
.about-text p { color: #cfd2d3; }
.about-text .lead { color: var(--text); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about-img { position: static; max-width: 480px; } }

/* ---------- Inquire ---------- */
.inquire { padding-top: 64px; padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.inquire-img { margin: 0; position: sticky; top: 100px; }
.inquire-img img { width: 100%; border-radius: 3px; }
.form { display: grid; gap: 18px; margin: 32px 0 40px; max-width: 40rem; }
.form label { display: grid; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 400 1rem/1.5 var(--body); color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent-hi); }
.form .btn { justify-self: start; }
.form .trap { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 4px; border: 1px solid var(--accent); background: var(--bg-2); margin-top: 24px; max-width: 40rem; }
.notice.error { border-color: #b5654f; }
.direct p { margin-bottom: 1.2em; }
@media (max-width: 860px) { .inquire { grid-template-columns: 1fr; } .inquire-img { position: static; } }

.notfound { padding-top: 120px; padding-bottom: 140px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--graphite); padding-top: 48px; margin-top: 0; }
main > :last-child:not(.cta):not(.inquire):not(.notfound) { padding-bottom: 88px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 32px; }
.footer-inner p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.footer-inner nav { display: grid; gap: 8px; align-content: start; }
.footer-inner nav a, .footer-inner a[href^="mailto"] { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer-inner nav a:hover, .footer-inner a[href^="mailto"]:hover { color: var(--text); }
.legal { color: #6f777b; font-size: 0.8rem; line-height: 1.8; padding-top: 32px; padding-bottom: 32px; margin: 0 auto; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 9, 12, 0.96); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; }
.lightbox img { max-width: min(1600px, 100%); max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox figcaption { text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--text); font-size: 2rem; cursor: pointer; padding: 12px 18px; }
.lightbox .lb-close { top: 8px; right: 8px; }
.lightbox .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-img img, .gallery img { transition: none; }
}

/* ---------- Photo release (unlisted page) ---------- */
.release { max-width: 46rem; padding-top: 56px; padding-bottom: 88px; }
.release-intro h1 { max-width: none; }
.release-form { display: grid; gap: 28px; margin-top: 32px; }
.release-form fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 24px; margin: 0; display: grid; gap: 18px; min-width: 0; }
.release-form legend { font: 700 1.05rem/1.2 var(--head); padding: 0 8px; margin-left: -8px; color: var(--text); }
.release-form label { display: grid; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.release-form input[type="text"], .release-form input:not([type]), .release-form input[type="email"], .release-form input[type="tel"],
.release-form input[type="date"], .release-form textarea {
  font: 400 16px/1.5 var(--body); color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; width: 100%; min-height: 50px;
}
.release-form input[type="date"] { color-scheme: dark; max-width: 16rem; }
.release-form input:focus, .release-form textarea:focus { outline: none; border-color: var(--accent-hi); box-shadow: 0 0 0 3px rgba(111,169,198,.25); }
.release-form [aria-invalid="true"] { border-color: #c9785f; }
.release-form ::placeholder { color: #6f777b; }
.req, .opt { font-weight: 400; font-size: 0.78rem; color: #7d868a; margin-left: 4px; }
.req { color: var(--silver); }
.release-text { color: #d6d8d8; font-size: 0.98rem; line-height: 1.7; margin: 0; }
.hint { color: var(--muted); font-size: 0.88rem; margin: 0; }
.choices { display: grid; gap: 12px; }
.release-form .choice {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start;
  padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2);
  font-weight: 400; color: #cfd2d3; font-size: 0.95rem; line-height: 1.55; cursor: pointer;
}
.release-form .choice strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.release-form .choice:has(input:checked) { border-color: var(--accent); background: #0f2029; }
.release-form .choice input, .release-form .radio input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--accent); }
.release-form .choice.agree { background: transparent; }
.release-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.radios { display: flex; gap: 12px; flex-wrap: wrap; }
.release-form .radio { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px 0 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); color: var(--text); font-weight: 600; cursor: pointer; }
.release-form .radio:has(input:checked) { border-color: var(--accent); }
.guardian { display: grid; gap: 18px; padding-top: 6px; }
.guardian[hidden] { display: none; }

.sig { display: grid; gap: 8px; }
.sig-head, .sig-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sig-label { font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.sig-pad { display: block; width: 100%; height: 170px; touch-action: none; cursor: crosshair;
  background: var(--bg-2); border: 1px dashed #3b4a53; border-radius: 6px; }
.sig.invalid .sig-pad, .sig.invalid [data-sig-typed] { border-color: #c9785f; }
.sig-pad:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.sig-foot { font-size: 0.82rem; color: #7d868a; }
.sig-type [data-sig-typed] { font: italic 400 24px/1.3 Georgia, "Times New Roman", serif !important; }
.sig-type[hidden], .sig-draw[hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 10px 2px; min-height: 44px; color: var(--accent-hi); font: 600 0.88rem var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--text); }

.release-form .btn { justify-self: start; min-height: 52px; padding: 16px 30px; font-size: 1rem; }
.release-form .btn:disabled { opacity: .6; cursor: wait; }
#release-error { margin: 0; }
#release-error ul { margin: 8px 0 0; padding-left: 20px; }
.release-done { margin-top: 32px; padding: 28px; border: 1px solid var(--accent); border-radius: 6px; background: var(--bg-2); }
.release-done:focus { outline: none; }
.release-done h2 { margin-bottom: 10px; }
@media (max-width: 560px) {
  .release { padding-top: 36px; }
  .release-form fieldset { padding: 18px 16px 20px; }
  .release-form .btn { justify-self: stretch; text-align: center; }
}
