/* ==========================================================
   Caricatures by Rían — shared styles
   Palette taken from the roll-up banner: sky blue, navy, red, cream
   ========================================================== */

:root {
  --blue: #4a93e0;
  --blue-deep: #2563b8;
  --blue-50: #eaf3fd;
  --navy: #13233f;
  --navy-2: #1d3157;
  --red: #d7263d;
  --red-deep: #b51d31;
  --cream: #fff9ee;
  --white: #ffffff;
  --green: #169b62;
  --orange: #ff883e;
  --text: #13233f;
  --text-muted: #45526b;
  --border: #d9e3f0;

  --font-display: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(19, 35, 63, .10);
  --shadow: 0 10px 30px rgba(19, 35, 63, .16);
  --shadow-lg: 0 20px 50px rgba(19, 35, 63, .25);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 10px 16px;
  border-radius: 8px; font-weight: 800; text-decoration: none;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; color: var(--white); }

.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;
}

svg.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.05;
  margin: 0 0 .5em;
  text-wrap: balance;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--text-muted); max-width: 62ch; }

.eyebrow {
  display: inline-block;
  font-weight: 900;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6rem;
}

/* The banner's chunky 3D lettering */
.text-3d {
  color: var(--cream);
  -webkit-text-stroke: 2px var(--navy);
  paint-order: stroke fill;
  text-shadow:
    1px 1px 0 var(--navy), 2px 2px 0 var(--navy), 3px 3px 0 var(--navy),
    4px 4px 0 var(--navy), 5px 5px 0 var(--navy), 6px 6px 0 var(--navy),
    8px 10px 18px rgba(19, 35, 63, .35);
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  --btn-shadow: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.5rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--btn-shadow);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast);
  touch-action: manipulation;
}
.btn:hover { color: var(--btn-fg); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--btn-shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--btn-shadow); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); }
.btn--blue { --btn-bg: var(--blue-deep); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy); flex: none;
}
.brand img { width: 58px; height: 58px; object-fit: contain; object-position: center 30%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; }
.polaroid figcaption, .polaroid .cap, .callout .stamp { text-transform: uppercase; }
.brand-text .big { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .02em; color: var(--blue-deep); }
.brand-text .small { font-family: var(--font-display); font-size: .95rem; color: var(--navy); letter-spacing: .08em; margin-top: 2px; }
.brand:hover .big { color: var(--red); }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 10px; border-radius: 10px;
  font-weight: 800; font-size: .88rem; text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap;
  color: var(--navy); text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.main-nav a:hover { background: var(--blue-50); color: var(--blue-deep); }
.main-nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 10px 10px 0 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.insta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--navy);
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast), color var(--t-fast);
}
.insta-btn svg { width: 26px; height: 26px; stroke-width: 2.2; }
.insta-btn:hover { color: var(--white); background: var(--red); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  border: 2px solid var(--navy); background: var(--white); color: var(--navy);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1160px) {
  .header-book { display: none; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + 4px) 0 auto 0;
    background: var(--white);
    border-bottom: 4px solid var(--red);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform var(--t-med) var(--ease-out), opacity var(--t-med), visibility 0s linear var(--t-med);
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 20px; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); border-radius: 0 10px 10px 0; }
  .main-nav .nav-book { display: block; margin-top: 10px; }
  .main-nav .nav-book a { background: var(--red); color: var(--white); text-align: center; border-radius: 999px; }
}
@media (min-width: 1001px) { .main-nav .nav-book { display: none; } }
@media (max-width: 420px) {
  .brand img { width: 46px; height: 46px; }
  .brand-text .big { font-size: 1.2rem; }
  .brand-text .small { font-size: .8rem; }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #5aa2ea 0%, var(--blue) 55%, #3f86d4 100%);
  color: var(--white);
  padding: clamp(24px, 3.5vw, 48px) 0 clamp(80px, 10vw, 130px);
  isolation: isolate;
}
.hero > .container { max-width: 1440px; }
.hero-skyline {
  position: absolute; left: 0; right: 0; bottom: 64px; height: 170px; z-index: -1;
  color: rgba(19, 35, 63, .22);
}
.hero-skyline svg { width: 100%; height: 100%; }
.hero-stripe {
  position: absolute; left: -2%; right: -2%; bottom: 0; height: 120px; z-index: -1;
  color: var(--red);
}
.hero-stripe svg { width: 100%; height: 100%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero h1 { margin: 0; font-size: clamp(3rem, 9vw, 8.5rem); line-height: .95; }
.hero .by-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 3.2rem);
  color: var(--navy);
  margin: .25em 0 .5em .1em;
  letter-spacing: .06em;
}
.hero-tagline {
  font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.35rem);
  text-transform: uppercase; letter-spacing: .03em; line-height: 1.4;
  color: var(--white);
  text-shadow: 0 2px 0 rgba(19, 35, 63, .35);
  max-width: 34ch; margin-bottom: 1.6rem;
}
.hero-copy { text-align: center; }
.hero-copy .by-line { margin-left: 0; }
.hero-copy .hero-tagline { margin-inline: auto; }
.hero-copy .btn-row { justify-content: center; }

/* Polaroid-style stack (inspired by the tilted frames on the reference sites) */
.hero-art { position: relative; min-height: 520px; }
/* Desktop: logo sits under the "C" of CARICATURES, with the tagline and buttons beside it */
.hero-sub { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(14px, 2vw, 28px); }
.hero-logo-inline {
  align-self: start; position: relative; z-index: 2; max-width: none;
  width: clamp(150px, 15vw, 230px); height: auto;
  filter: drop-shadow(0 12px 18px rgba(19, 35, 63, .35));
}
.hero-sub-text { min-width: 0; }
@media (min-width: 901px) { .hero > .hero-logo { display: none; } }
@media (max-width: 900px) {
  .hero-sub { display: block; }
  .hero-logo-inline { display: none; }
}

/* Phones / tablets: logo sticker bottom-left of the hero, spilling a little over the bottom edge */
@supports (overflow: clip) { .hero { overflow: clip visible; } }
.hero-logo {
  position: absolute; z-index: 5;
  left: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
  bottom: -60px;
  height: clamp(175px, 18vw, 225px); width: auto;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(19, 35, 63, .35));
}
@media (min-width: 1600px) {
  /* wide screens have spare room left of the content, so the logo can grow without reaching the buttons */
  .hero-logo { height: 270px; }
}
@supports not (overflow: clip) { .hero-logo { bottom: 6px; height: clamp(130px, 12vw, 195px); } }
@media (max-width: 900px) {
  .hero-logo { left: var(--gutter); bottom: -30px; height: clamp(155px, 42vw, 225px); }
}
.hero-art .logo-badge {
  position: absolute; z-index: 4; width: 58%; max-width: 300px;
  left: -12%; bottom: -30px;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(19, 35, 63, .35));
}
.polaroid {
  position: absolute;
  background: var(--white);
  padding: 10px 10px 34px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-med) var(--ease-out);
}
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
a.polaroid { display: block; text-decoration: none; cursor: pointer; }
a.polaroid:hover .cap { color: var(--red); }
.polaroid figcaption, .polaroid .cap {
  position: absolute; left: 0; right: 0; bottom: 6px; text-align: center;
  font-family: var(--font-display); color: var(--navy); font-size: .95rem; letter-spacing: .04em;
}
.hero-art .p1 { width: 43%; left: 2%; top: 0; transform: rotate(-8deg); z-index: 1; }
.hero-art .p2 { width: 43%; right: 2%; top: 4%; transform: rotate(7deg); z-index: 3; }
.hero-art .p3 { width: 40%; left: 34%; top: 36%; transform: rotate(-3deg); z-index: 2; }
.hero-art .polaroid:hover { transform: rotate(0) scale(1.04); z-index: 5; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; aspect-ratio: 4 / 5; max-width: 520px; width: 100%; margin: 12px auto 0; }
  .hero-art .logo-badge { left: auto; right: -2%; bottom: -24px; width: 40%; }
  .hero-art .p3 { left: 32%; top: 50%; }
  .hero-skyline { bottom: 50px; height: 110px; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #5aa2ea 0%, var(--blue) 100%);
  padding: clamp(44px, 7vw, 80px) 0 clamp(70px, 9vw, 110px);
  color: var(--white);
}
.page-hero .hero-skyline { bottom: 46px; height: 120px; }
.page-hero .hero-stripe { height: 84px; }
.page-hero h1 { font-size: clamp(2.6rem, 7.5vw, 5rem); margin-bottom: .3em; }
.page-hero .lead { color: var(--white); text-shadow: 0 1px 0 rgba(19, 35, 63, .3); font-weight: 700; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.page-hero-grid .polaroid { position: relative; transform: rotate(4deg); max-width: 300px; margin-left: auto; }
@media (max-width: 800px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid .polaroid { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(60px, 9vw, 110px) 0; }
.section--white { background: var(--white); }
.section--blue { background: var(--blue-50); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy .lead { color: #c9d6ea; }
.section--navy .eyebrow { color: var(--orange); }
.section--compact { padding: clamp(24px, 3vw, 32px) 0; }
.section--compact .section-head { margin-bottom: 18px; }
.section--compact .section-head h2 { margin-bottom: 0; }
.section--compact .pill-list { margin-bottom: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

/* Two service cards on home */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--navy);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.service-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--navy); }
.service-card .media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 3px solid var(--navy); background: var(--blue-50); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 600ms var(--ease-out); }
.service-card:hover .media img { transform: scale(1.04); }
.service-card .body { padding: 26px clamp(20px, 3vw, 30px) 30px; display: flex; flex-direction: column; flex: 1; }
.service-card .tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: var(--white); border: 2px solid var(--navy);
  font-weight: 900; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.service-card p { color: var(--text-muted); }
.service-card .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }

/* Feature list with icons */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  border: 2px solid var(--border);
}
.section--blue .feature { border-color: transparent; box-shadow: var(--shadow-sm); }
.feature .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-deep);
  margin-bottom: 14px;
}
.section--blue .feature .icon { background: var(--red); color: var(--white); }
.feature .icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.3rem; margin-bottom: .35em; color: var(--navy); }
.feature p { color: var(--text-muted); margin: 0; font-size: 1rem; }

/* Split layout: text + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse .split-media { order: -1; }
.split-media .polaroid { position: relative; transform: rotate(-3deg); max-width: 460px; margin-inline: auto; }
.split--reverse .split-media .polaroid { transform: rotate(3deg); }
.split-media .polaroid:hover { transform: rotate(0); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media .polaroid { max-width: 380px; }
}

.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1.5em; }
.pill-list li {
  background: var(--white); border: 2px solid var(--navy); color: var(--navy);
  padding: 7px 16px; border-radius: 999px; font-weight: 800; font-size: .95rem;
  box-shadow: 3px 3px 0 var(--blue);
}

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius-lg);
  padding: 58px 22px 24px; box-shadow: 6px 6px 0 var(--blue);
}
.steps li::before {
  content: counter(step);
  position: absolute; top: -22px; left: 20px;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.8rem; line-height: 1;
  background: var(--red); color: var(--white); border: 3px solid var(--navy);
}
.steps h3 { font-size: 1.3rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--text-muted); font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* Work strip (horizontal mini gallery) */
.work-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.work-strip a { display: block; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--navy); background: var(--navy); }
.work-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 500ms var(--ease-out), opacity var(--t-med); }
.work-strip a:hover img { transform: scale(1.06); opacity: .9; }
@media (max-width: 900px) { .work-strip { grid-template-columns: repeat(3, 1fr); } .work-strip a:nth-child(n+7) { display: none; } }
@media (max-width: 520px) { .work-strip { grid-template-columns: repeat(2, 1fr); } }

/* Real artist / no-AI callout */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px); box-shadow: 8px 8px 0 var(--red);
}
.callout .stamp {
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--red); color: var(--white); border: 3px dashed var(--white);
  outline: 3px solid var(--red);
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1.05;
  transform: rotate(-10deg);
}
.callout h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.callout p { color: var(--text-muted); margin-bottom: 0; }
@media (max-width: 600px) { .callout { grid-template-columns: 1fr; } .callout .stamp { width: 96px; height: 96px; font-size: .95rem; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details {
  background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--blue);
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 900; font-size: 1.08rem; color: var(--navy);
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--white); font-size: 1.4rem; line-height: 1;
  transition: transform var(--t-med) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--text-muted); }
.faq .answer p:last-child { margin: 0; }

/* Instagram band */
.insta-band {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: clamp(50px, 7vw, 80px) 0;
}
.insta-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.insta-band h2 { color: var(--white); margin-bottom: .25em; }
.insta-band p { color: #c9d6ea; margin: 0; font-size: 1.1rem; }
.insta-handle {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 26px 14px 14px; border-radius: 999px;
  background: var(--white); color: var(--navy); text-decoration: none;
  font-weight: 900; font-size: 1.15rem;
  border: 3px solid var(--white); box-shadow: 5px 5px 0 var(--red);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
.insta-handle .insta-btn { width: 52px; height: 52px; background: var(--navy); color: var(--white); border: 0; }
.insta-handle:hover { color: var(--navy); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--red); }
@media (max-width: 760px) { .insta-band-inner { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--red); color: var(--white); text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: radial-gradient(var(--white) 2px, transparent 2px);
  background-size: 22px 22px;
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { font-size: 1.2rem; font-weight: 700; max-width: 52ch; margin: 0 auto 1.8rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn { --btn-bg: var(--white); --btn-fg: var(--navy); }
.cta-band .btn.btn--blue { --btn-bg: var(--navy); --btn-fg: var(--white); --btn-shadow: var(--white); }

/* ---------- Gallery ---------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-bar button {
  min-height: 46px; padding: 8px 20px; border-radius: 999px;
  border: 2px solid var(--navy); background: var(--white); color: var(--navy);
  font-family: var(--font-body); font-weight: 900; font-size: 1rem; cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.filter-bar button:hover { background: var(--blue-50); }
.filter-bar button[aria-pressed="true"] { background: var(--navy); color: var(--white); box-shadow: 3px 3px 0 var(--red); }
.filter-bar .count { opacity: .7; font-weight: 700; margin-left: 4px; }

.gallery { columns: 4 240px; column-gap: 16px; }
.gallery.is-masonry { columns: auto; display: flex; gap: 16px; align-items: flex-start; }
.gallery-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gallery.is-masonry .gallery-item { margin: 0; }
.gallery-item { break-inside: avoid; margin: 0 0 16px; }
.gallery-item[hidden] { display: none; }
.gallery-item button {
  display: block; width: 100%; padding: 0; border: 3px solid var(--navy); border-radius: var(--radius);
  overflow: hidden; background: var(--navy); cursor: zoom-in; position: relative;
}
.gallery-item img { width: 100%; transition: transform 500ms var(--ease-out); }
.gallery-item button:hover img { transform: scale(1.04); }
.gallery-item .label {
  position: absolute; left: 8px; bottom: 8px;
  background: var(--white); color: var(--navy); border-radius: 999px;
  font-weight: 900; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.4; padding: 2px 8px; border: 1.5px solid var(--navy);
}

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none;
  width: 100vw; height: 100dvh;
  background: rgba(10, 18, 34, .94); color: var(--white);
}
.lightbox::backdrop { background: rgba(10, 18, 34, .6); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto; align-items: center; }
.lightbox figure { grid-column: 2; grid-row: 1; margin: 0; height: 100%; display: grid; place-items: center; padding: 64px 8px 8px; min-width: 0; }
.lightbox img { max-height: calc(100dvh - 140px); max-width: 100%; width: auto; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox .caption { grid-column: 1 / -1; grid-row: 2; text-align: center; padding: 10px 16px 20px; font-weight: 700; color: #d6e0ef; }
.lb-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--white); background: rgba(255, 255, 255, .08); color: var(--white);
  cursor: pointer; margin: 0 12px;
  transition: background-color var(--t-fast);
}
.lb-btn:hover { background: var(--red); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { position: absolute; top: 12px; right: 4px; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
@media (max-width: 600px) {
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto; }
  .lightbox figure { grid-column: 1 / -1; }
  .lightbox img { max-height: calc(100dvh - 250px); }
  .lb-prev, .lb-next { grid-row: 3; justify-self: center; margin-bottom: 16px; }
  .lb-prev { grid-column: 1; } .lb-next { grid-column: 2; }
}

/* ---------- About ---------- */

.about-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 3px solid var(--navy); }
@media (max-width: 640px) { .about-photos { grid-template-columns: repeat(2, 1fr); } .about-photos img:nth-child(3) { display: none; } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px); box-shadow: 8px 8px 0 var(--blue);
}
.form-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field label, .field legend { display: block; font-weight: 900; color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.field .req { color: var(--red); }
.field .hint { display: block; font-size: .9rem; color: var(--text-muted); margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--cream);
  border: 2px solid #9fb0c8; border-radius: 12px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-deep); background: var(--white);
  box-shadow: 0 0 0 4px rgba(74, 147, 224, .3);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fff4f5; }
.field .error { display: none; color: var(--red-deep); font-weight: 800; font-size: .92rem; margin-top: 6px; }
.field.has-error .error { display: flex; gap: 6px; align-items: center; }

.choice-group { border: 0; padding: 0; margin: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 12px 16px; margin: 0;
  border: 2px solid #9fb0c8; border-radius: 14px; background: var(--cream);
  cursor: pointer; font-weight: 800;
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.choice label svg { width: 26px; height: 26px; color: var(--blue-deep); flex: none; }
.choice input:checked + label { border-color: var(--navy); background: var(--blue-50); box-shadow: 4px 4px 0 var(--red); }
.choice input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; }

.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 800; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e6f6ee; color: #0d6b41; border: 2px solid #0d6b41; }
.form-status.error { background: #fff0f2; color: var(--red-deep); border: 2px solid var(--red-deep); }

.contact-aside { align-self: stretch; display: flex; flex-direction: column; }
.contact-logo {
  width: 100%; max-width: 340px;
  margin: auto; padding-top: 36px;
  filter: drop-shadow(0 14px 22px rgba(19, 35, 63, .28));
}
@media (max-width: 900px) { .contact-logo { max-width: 260px; padding-top: 28px; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius);
  padding: 16px 18px; text-decoration: none; color: var(--navy);
  box-shadow: 4px 4px 0 var(--navy);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
.contact-card:hover { color: var(--navy); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); }
.contact-card .ci {
  width: 50px; height: 50px; border-radius: 14px; flex: none;
  display: grid; place-items: center; color: var(--white); background: var(--blue-deep);
}
.contact-card .ci svg { width: 26px; height: 26px; }
.contact-card .ci.wa { background: #1f9e55; }
.contact-card .ci.mail { background: var(--red); }
.contact-card .ci.ig { background: var(--navy); }
.contact-card strong { display: block; font-size: 1.05rem; }
.contact-card span { color: var(--text-muted); font-size: .95rem; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: #c9d6ea; padding: 60px 0 28px; border-top: 6px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 1.35rem; color: var(--white); margin-bottom: .7em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: #e3ebf7; text-decoration: none; font-weight: 700; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 80px; height: 80px; object-fit: contain; }
.footer-brand .display { font-size: 1.7rem; color: var(--white); margin: 0; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social .insta-btn { display: inline-flex; padding: 0; background: transparent; color: var(--white); border-color: var(--white); }
.footer-social .insta-btn:hover { background: var(--red); border-color: var(--red); }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .92rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
