/* Kalisonic Studios — styles.css (plain CSS, no build step) */
:root {
  --bg: #0f0f11;
  --bg-2: #17171a;
  --bg-3: #202024;
  --line: #2c2c31;
  --text: #ecebe8;
  --muted: #a3a19c;
  --accent: #d6a55c;      /* warm brass / cherry-oak tone */
  --accent-2: #e8bd7a;
  --danger: #ff7a6b;
  --ok: #7fd39b;
  --radius: 14px;
  --wrap: 1180px;
  --head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { font-family: var(--head); font-weight: 500; letter-spacing: .02em; line-height: 1.15; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: #d8d6d1; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: #111; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,15,17,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--head); font-size: 1.35rem; letter-spacing: .14em; color: var(--text); font-weight: 600; }
.brand span { color: var(--accent); font-weight: 400; }
.brand:hover { color: var(--text); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--muted); font-family: var(--head); text-transform: uppercase; letter-spacing: .12em;
  font-size: .9rem; padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--text); background: var(--bg-3); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .ig { display: inline-flex; padding: 8px; margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 20px;
    transform: translateY(-120%); transition: transform .3s ease; visibility: hidden;
  }
  .site-nav a { padding: 14px 10px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav .ig { border: 0; margin: 8px 0 0; }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .95rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #141414; }
.btn-primary:hover { background: var(--accent-2); color: #141414; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.text-link { font-weight: 500; }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100vh - 70px); min-height: calc(100svh - 70px);
  display: grid; place-items: center; text-align: center; position: relative;
  background: linear-gradient(180deg, rgba(10,10,12,.55), rgba(10,10,12,.82)), var(--hero) center/cover no-repeat, var(--bg-2);
}
.hero { place-items: start center; }
.hero-inner { padding-top: clamp(28px, 6vh, 72px); padding-bottom: 60px; }
.hero-logo { width: min(340px, 70vw); margin: 0 auto clamp(56px, 14vh, 150px); }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.8rem); text-transform: uppercase; margin-bottom: .4em; }
.hero h1 span { color: var(--accent); font-size: .6em; letter-spacing: .2em; }
.hero .lead { max-width: 620px; margin: 0 auto 30px; }

.page-hero {
  min-height: 46vh; display: flex; align-items: flex-end; padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(10,10,12,.25), rgba(10,10,12,.9)), var(--hero) center/cover no-repeat, var(--bg-2);
}
.page-hero.short { min-height: 34vh; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); text-transform: uppercase; margin: 0; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .22em; color: var(--accent); font-size: .85rem; margin-bottom: .6em; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-transform: uppercase; }
.section-title.big { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.prose p { color: #d6d4cf; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 30px; }
.studio-card {
  display: block; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--text); transition: transform .25s, border-color .25s;
}
.studio-card:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--text); }
.studio-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.studio-card-body { padding: 24px 26px 28px; }
.studio-card h3 { font-size: 1.7rem; text-transform: uppercase; }
.studio-card p { color: var(--muted); }
.more { color: var(--accent); font-family: var(--head); letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; }

.image-band { height: 52vh; min-height: 300px; background: var(--band) center/cover no-repeat, var(--bg-2); }

.cta-band { background: linear-gradient(120deg, #2a2117, #17171a 60%); border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 2rem; text-transform: uppercase; margin-bottom: .3em; }
.cta-inner p { margin: 0; color: var(--muted); }

/* ---------- gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.g-item { padding: 0; border: 0; background: var(--bg-3); border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.g-item:hover img { transform: scale(1.05); }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,5,6,.95);
  display: grid; place-items: center; padding: 60px 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; width: 48px; height: 48px;
  border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: var(--accent); color: #111; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- gear ---------- */
.gear-grid { columns: 3 300px; column-gap: 22px; margin-top: 26px; }
.gear-card {
  break-inside: avoid; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 22px;
}
.gear-card h3 { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: 1.05rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.gear-card ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.gear-card li { padding: 5px 0; color: #d3d1cc; border-bottom: 1px dashed rgba(255,255,255,.05); }
.gear-card li:last-child { border-bottom: 0; }

/* ---------- reserve ---------- */
.reserve-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.notice { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 20px 22px; margin-bottom: 18px; }
.notice h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.notice p { margin: 0; font-size: .97rem; }
.mini-studios { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.mini-studios figure { margin: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.mini-studios figcaption { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; margin-top: 8px; }

/* ---------- forms ---------- */
.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 32px; position: sticky; top: 94px; }
.form-title { font-size: 1.5rem; text-transform: uppercase; }
.k-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: #cfcdc8; letter-spacing: .02em; }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(214,165,92,.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.err { display: none; color: var(--danger); font-size: .82rem; margin: 6px 0 0; }
.invalid .err { display: block; }

.field-check { margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; line-height: 1.5; color: #d6d4cf; }
.field label.check { position: relative; display: flex; font-size: .95rem; font-weight: 400; color: #d6d4cf; margin: 0; }
.field .check input { position: absolute; left: 0; top: 0; opacity: 0; width: 22px; height: 22px; margin: 0; padding: 0; border: 0; }
.check .box {
  flex: 0 0 22px; height: 22px; margin-top: 1px; border: 1.5px solid #5a5a62; border-radius: 6px; background: var(--bg);
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.check .box::after { content: ""; width: 6px; height: 11px; border: solid #141414; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px,-1px); opacity: 0; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box::after { opacity: 1; }
.check input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-check.invalid .box { border-color: var(--danger); }

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.form-note { margin: 0; font-size: .85rem; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-status.ok { background: rgba(127,211,155,.1); border: 1px solid rgba(127,211,155,.4); color: var(--ok); }
.form-status.bad { background: rgba(255,122,107,.1); border: 1px solid rgba(255,122,107,.4); color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- clients ---------- */
.logo-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.logo-tile { background: #f4f2ee; border-radius: var(--radius); aspect-ratio: 3/2; display: grid; place-items: center; padding: 28px; }
.logo-tile img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 10px 0 28px; }
.contact-list li { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--accent); }
.ig-link { display: inline-flex; align-items: center; gap: 8px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.center-page { min-height: 60vh; display: grid; place-items: center; }

/* ---------- footer ---------- */
.site-footer { background: #0a0a0b; border-top: 1px solid var(--line); padding-top: 56px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.brand-foot { display: inline-block; margin-bottom: 12px; }
.foot-h { font-size: .9rem; text-transform: uppercase; letter-spacing: .16em; color: var(--accent); }
.foot-nav a { display: inline-block; margin: 0 14px 6px 0; color: var(--muted); }
.foot-nav a:hover { color: var(--text); }
.site-footer a[href^="mailto"], .site-footer a[href^="tel"] { color: var(--text); }
.foot-base { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; padding-bottom: 28px; font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split, .reserve-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .cards, .mini-studios, .k-form .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .form-card { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .hero-inner { padding-top: 64px; }
  .hero-logo { margin-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.foot-addr { color: var(--text); margin: 0 0 14px; }
.nowrap { white-space: nowrap; }
