*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.005em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 var(--s-3); max-width: 68ch; }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s-3);
}
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--primary); color: var(--background);
  padding: var(--s-2) var(--s-3); z-index: 20;
}
.skip:focus { left: var(--s-3); top: var(--s-3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--s-4), 1180px); margin-inline: auto; }

/* header */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  width: min(100% - 2 * var(--s-4), 1180px); margin: var(--s-4) auto 0;
  padding-bottom: var(--s-3); border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 96px; height: auto; }
.site-head nav ul { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); list-style: none; margin: 0; padding: 0; }
.site-head nav a { text-decoration: none; font-size: 0.96rem; color: var(--muted); padding: 4px 0; border-bottom: 1px solid transparent; }
.site-head nav a:hover { color: var(--text); }
.site-head nav a[aria-current='page'] { color: var(--text); border-bottom-color: var(--accent); }

/* buttons */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
  padding: 14px var(--s-4); border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background-color .2s var(--ease);
}
.btn { background: var(--accent-dark); color: #FFFFFF; }
.btn:hover { background: var(--primary); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }

/* sections */
section { padding-block: clamp(var(--s-6), 8vw, var(--s-7)); }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: var(--s-5); }

/* hero */
.hero { padding-top: clamp(var(--s-5), 7vw, var(--s-6)); }
.hero p.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 54ch; margin-top: var(--s-4); }
.hero-media { margin-top: var(--s-5); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* bento */
.bento { display: grid; gap: var(--s-3); grid-template-columns: repeat(6, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: var(--s-4); grid-column: span 6;
}
.card p { margin-bottom: 0; color: var(--muted); }
.card h3 { margin-bottom: var(--s-2); }
.card-wide { grid-column: span 6; }
.card-media { padding: 0; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.card-figure { display: grid; gap: 0; }
.card-figure .body { padding: var(--s-4); }
@media (min-width: 760px) {
  .card { grid-column: span 3; }
  .card-wide { grid-column: span 6; }
  .card-tall { grid-column: span 2; }
  .card-figure { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .card-figure img { aspect-ratio: auto; height: 100%; }
}

/* list with rules */
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rules li { display: grid; gap: var(--s-1); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.rules .k { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rules .v { margin: 0; }
@media (min-width: 760px) {
  .rules li { grid-template-columns: 220px 1fr; gap: var(--s-4); align-items: baseline; }
}

/* price */
.price-figure { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; margin: 0 0 var(--s-2); }

/* form */
form.contact { display: grid; gap: var(--s-3); max-width: 44rem; }
form.contact label { display: grid; gap: 6px; font-size: .95rem; color: var(--muted); }
form.contact input, form.contact select, form.contact textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-s);
  padding: 12px var(--s-3); width: 100%;
}
form.contact textarea { resize: vertical; }
form.contact button { font: inherit; }
form.contact .form-note, form.contact .status { font-size: .92rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
.turnstile:empty { display: none; }

/* footer */
.site-foot { border-top: 1px solid var(--line); margin-top: var(--s-6); padding-block: var(--s-5); }
.foot-grid {
  width: min(100% - 2 * var(--s-4), 1180px); margin-inline: auto;
  display: grid; gap: var(--s-4); grid-template-columns: 1fr;
}
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.site-foot a { text-decoration: none; color: var(--muted); }
.site-foot a:hover { color: var(--text); }
.foot-name { font-family: var(--font-display); font-weight: 600; margin-bottom: var(--s-1); }
.foot-label { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-2); }
.disclosure {
  width: min(100% - 2 * var(--s-4), 1180px); margin: var(--s-5) auto 0;
  font-size: .85rem; color: var(--muted); max-width: 90ch;
}

.social { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.social a { color: var(--text); }
