/* Deters Academy — stylesheet
   Linen canvas, ink type, burnt-sienna accent. Fraunces for display, Inter for text. */

@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  /* Base palette — the only colours to change (the WordPress theme overrides these from the Customizer). */
  --canvas: #f5f5f2;     /* page background */
  --paper: #ffffff;      /* cards, panels, alternating sections */
  --ink: #16181d;        /* text */
  --accent: #2c46a8;     /* buttons, links, highlights */
  --dark: #121826;       /* dark sections + footer */
  --highlight: #e0b44c;  /* eyebrows and details on dark */

  /* Derived — follow the base palette automatically */
  --ink-2: color-mix(in oklab, var(--ink) 76%, var(--canvas));
  --ink-3: color-mix(in oklab, var(--ink) 54%, var(--canvas));
  --line: color-mix(in oklab, var(--ink) 13%, var(--canvas));
  --accent-ink: color-mix(in oklab, var(--accent) 78%, #000);
  --accent-soft: color-mix(in oklab, var(--accent) 12%, var(--paper));
  --on-accent: #fff;
  --on-dark: color-mix(in oklab, var(--dark) 6%, #fff);
  --on-dark-2: color-mix(in oklab, var(--dark) 30%, #fff);
  --on-dark-3: color-mix(in oklab, var(--dark) 45%, #fff);
  --ok: #2f6b43;
  --ok-soft: #e0ede3;
  --full: #9a3434;
  --full-soft: #f5e1e1;
  --wait: #8a5a12;
  --wait-soft: #f6ead3;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --btn-radius: 999px;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent), 0 8px 28px color-mix(in srgb, var(--ink) 9%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 450; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em;  }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 400; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
p { margin: 0 0 1.1em; }
:is(.lead, .is-style-lead) { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.6; max-width: 38em; }
:is(.eyebrow, .is-style-eyebrow) { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.1rem; display: inline-flex; gap: .6em; align-items: center; }
:is(.eyebrow, .is-style-eyebrow)::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.section { padding-block: clamp(64px, 10vw, 128px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--dark); color: var(--on-dark); }
.section--ink h2, .section--ink h3 { color: var(--on-dark); }
.section--ink :is(.lead, .is-style-lead), .section--ink p { color: var(--on-dark-2); }
.section--ink :is(.eyebrow, .is-style-eyebrow) { color: var(--highlight); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.section-head--split > div { max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: var(--btn-radius); border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-ink); color: var(--on-accent); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section--ink .btn--ghost { color: var(--on-dark); }
.section--ink .btn--ghost:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.textlink:hover { color: var(--accent); border-color: var(--accent); }

/* Header */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 4px; }
.skip:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--canvas) 88%, transparent); border-bottom: 1px solid transparent; transition: border-color .2s; }
/* Blur on a separate layer: backdrop-filter on the header itself would make it the containing block for the
   position:fixed mobile menu, which then collapses to 0 px height (menu "opens" but stays invisible). */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); pointer-events: none; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 46px; height: 46px; filter: brightness(0); }
.brand span { font: 500 1.2rem/1 var(--serif); letter-spacing: .01em; }
.brand small { display: block; font: 500 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; }
@media (max-width: 480px) { .brand small { font-size: .6rem; letter-spacing: .08em; } }
@media (max-width: 359px) { .brand { flex-shrink: 1; min-width: 0; } .brand small { line-height: 1.3; } }
.nav { display: flex; align-items: center; gap: 0; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; padding: 8px 8px; border-radius: var(--btn-radius); transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav .btn { margin-left: 8px; padding: .75em 1.1em; color: var(--on-accent); }
.nav .btn:hover { color: var(--on-accent); background: var(--accent-ink); }
.nav .btn[aria-current="page"] { color: var(--on-accent); background: var(--accent-ink); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1260px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 0 0; background: var(--canvas); flex-direction: column; align-items: stretch; padding: 24px var(--gutter); gap: 2px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font: 400 1.6rem/1.2 var(--serif); padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a:hover, .nav a[aria-current="page"] { background: none; color: var(--accent); }
  .nav .btn { margin: 24px 0 0; font: 600 1rem/1 var(--sans); padding: 1.1em; border: 0; border-radius: var(--btn-radius); }
  .nav .btn:hover, .nav .btn[aria-current="page"] { color: var(--on-accent); background: var(--accent-ink); }
  body.menu-open { overflow: hidden; }
}

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero :is(.lead, .is-style-lead) { margin-bottom: 2em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .93rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.hero-art figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--line); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .a { grid-row: span 2; position: relative; min-height: 100%; }
.hero-art .a img { position: absolute; inset: 0; }
.hero-art .b { aspect-ratio: 4 / 3; }
.hero-art .c { aspect-ratio: 4 / 4.6; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-art .a { grid-row: auto; aspect-ratio: 3 / 4; }
  .hero-art .a img { position: static; }
  .hero-art .b, .hero-art .c { aspect-ratio: 3 / 4; }
}

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 14em; }
.page-hero--image .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero--image figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.page-hero--image figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero--image .wrap { grid-template-columns: 1fr; } }
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: inherit; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.facts div { padding: 28px 24px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font: 400 clamp(1.7rem, 3vw, 2.3rem)/1 var(--serif); margin-bottom: 8px; }
.facts span { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { padding: 22px 0; border-left: 0; }
  .facts div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Offer cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.card:hover figure img { transform: scale(1.04); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--ink-2); font-size: .98rem; }
.card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price { font: 400 1.45rem/1 var(--serif); }
.price small { font: 500 .8rem var(--sans); color: var(--ink-3); margin-right: 4px; }
.card-foot .more { font-weight: 600; font-size: .9rem; color: var(--accent-ink); }
.tag { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
@media (max-width: 920px) { .cards { grid-template-columns: 1fr; max-width: 560px; } }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.split--wide-text { grid-template-columns: .85fr 1.15fr; }
.split figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split figure img { width: 100%; }
.split .tall { aspect-ratio: 4 / 5; }
.split .tall img { height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split, .split--wide-text { grid-template-columns: 1fr; } }

blockquote:is(.pull, .is-style-pull) { margin: 0 0 1.4em; font: italic 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.35 var(--serif); color: var(--ink); }
blockquote:is(.pull, .is-style-pull)::before { content: "“"; display: block; font-size: 3.5em; line-height: .6; color: var(--accent); margin-bottom: .1em; }

/* Steps / numbered list */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.section--ink .steps li { background: color-mix(in srgb, var(--on-dark) 4%, transparent); border-color: color-mix(in srgb, var(--on-dark) 13%, transparent); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: italic 400 1.1rem var(--serif); color: var(--accent); margin-bottom: 18px; }
.section--ink .steps li::before { color: var(--highlight); }
.steps h3 { font-size: 1.25rem; }
.steps p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.section--ink .steps p { color: var(--on-dark-3); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry figure { margin: 0 0 18px; break-inside: avoid; position: relative; border-radius: 4px; overflow: hidden; background: var(--line); cursor: zoom-in; }
.masonry img { width: 100%; transition: transform .5s, filter .3s; }
.masonry figure:hover img { transform: scale(1.03); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; font: italic 400 1rem var(--serif); background: linear-gradient(transparent, rgb(0 0 0 / .55)); opacity: 0; transition: opacity .3s; }
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; }
.masonry button { all: unset; display: block; cursor: zoom-in; }
.masonry button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.strip figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--line); }
.strip figure:nth-child(even) { margin-top: 36px; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.strip figure:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(3, 1fr); } .strip figure:nth-child(n+7) { display: none; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgb(14 12 18 / .94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: min(100%, 1200px); object-fit: contain; border-radius: 2px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); }
.lightbox p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #d8d0c4; font: italic 1rem var(--serif); margin: 0; }
.lightbox button { position: absolute; background: rgb(255 255 255 / .08); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; display: grid; place-items: center; }
.lightbox button:hover { background: rgb(255 255 255 / .18); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 14px; top: 50%; translate: 0 -50%; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
:is(.review, .is-style-review) { margin: 0; padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
:is(.review, .is-style-review) p { font: 400 1.04rem/1.6 var(--serif); color: var(--ink); }
:is(.review, .is-style-review) footer { font-size: .9rem; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
:is(.review, .is-style-review) footer::before { content: ""; width: 20px; height: 1px; background: var(--accent); }
.stars { color: var(--highlight); letter-spacing: 2px; font-size: .95rem; margin-bottom: 14px; }
.reviews--all { columns: 2 380px; column-gap: 24px; display: block; }
.reviews--all :is(.review, .is-style-review) { break-inside: avoid; margin-bottom: 24px; }
@media (max-width: 920px) { .reviews { grid-template-columns: 1fr; } }
/* Reviews carousel (homepage): swipe on touch, arrows on desktop, no autoplay */
.reviews--carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0; align-items: stretch; }
.reviews--carousel::-webkit-scrollbar { display: none; }
.reviews--carousel > * { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0; }
@media (max-width: 920px) { .reviews--carousel > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .reviews--carousel > * { flex-basis: 86%; } }
.carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: border-color .15s, color .15s; }
.carousel-nav button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.carousel-nav button:disabled { opacity: .35; cursor: default; }
.rating-link { margin: 10px 0 0; font-size: .92rem; }
.rating-link a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.rating-link a:hover { color: var(--accent); border-color: var(--accent); }

/* Pricing options */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.option { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.option--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.option .badge { position: absolute; top: -12px; left: 28px; background: var(--accent); color: var(--on-accent); font: 600 .72rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.option h3 { margin-bottom: .2em; }
.option .sub { color: var(--ink-3); font-size: .92rem; margin-bottom: 20px; }
.option .price { font-size: 2.4rem; margin-bottom: 4px; }
.option .per { color: var(--ink-3); font-size: .85rem; margin-bottom: 22px; }
.option ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: .95rem; color: var(--ink-2); }
.option li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; }
.option li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.option .btn { margin-top: auto; }
@media (max-width: 920px) { .options { grid-template-columns: 1fr; max-width: 520px; } }

/* Schedule table */
.schedule { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .97rem; }
.schedule th { text-align: left; font: 600 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--canvas); }
.schedule td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule tr:last-child td { border-bottom: 0; }
.schedule td:first-child { font-weight: 600; }
.schedule .group { display: block; color: var(--ink-3); font-size: .88rem; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--open { color: var(--ok); background: var(--ok-soft); }
.status--full { color: var(--full); background: var(--full-soft); }
.status--wait { color: var(--wait); background: var(--wait-soft); }
.status--running { color: var(--ink-3); background: var(--line); }
.schedule tr.is-full td:not(:last-child) { color: var(--ink-3); }
@media (max-width: 700px) {
  .schedule, .schedule tbody, .schedule tr, .schedule td { display: block; }
  .schedule thead { display: none; }
  .schedule tr { padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
  .schedule tr:last-child { border-bottom: 0; }
  .schedule td { padding: 0; border: 0; }
  .schedule td:nth-child(2), .schedule td:nth-child(3) { grid-column: 1; }
  .schedule td:last-child { grid-column: 2; grid-row: 1; }
}

/* Info list (definition-style) */
.info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; }
.info div { padding: 18px 0; border-top: 1px solid var(--line); }
.info dt { font: 600 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.info dd { margin: 0; }
@media (max-width: 640px) { .info { grid-template-columns: 1fr; } }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
:is(.notice, .is-style-notice) { display: flex; gap: 14px; align-items: flex-start; background: var(--accent-soft); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); font-size: .97rem; margin-bottom: 28px; }
:is(.notice, .is-style-notice) svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }
:is(.notice, .is-style-notice) p { margin: 0; }

:is(.checklist, .is-style-checklist) { list-style: none; padding: 0; margin: 0 0 1.2em; }
:is(.checklist, .is-style-checklist) li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line); position: relative; }
:is(.checklist, .is-style-checklist) li:last-child { border-bottom: 1px solid var(--line); }
:is(.checklist, .is-style-checklist) li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

:is(.dates, .is-style-dates) { list-style: none; padding: 0; margin: 0 0 20px; }
:is(.dates, .is-style-dates) li { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
:is(.dates, .is-style-dates) li:last-child { border-bottom: 1px solid var(--line); }
:is(.dates, .is-style-dates) .is-past { display: none; }
.empty { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); text-align: center; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Prose (legal + long text) */
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }

/* Forms */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 32px; }
.tabs button { border: 0; background: none; font: 600 .92rem var(--sans); color: var(--ink-2); padding: 10px 18px; border-radius: var(--btn-radius); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form[hidden] { display: none; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.choices { display: grid; gap: 8px; }
.choices--2 { grid-template-columns: 1fr 1fr; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: .95rem; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { accent-color: var(--accent); margin-top: 4px; }
.form .btn { justify-self: start; }
.form-note { font-size: .88rem; color: var(--ink-3); }
@media (max-width: 640px) {
  .form, .choices--2 { grid-template-columns: 1fr; }
  .tabs { display: flex; border-radius: 14px; }
  .tabs button { flex: 1 1 auto; border-radius: 10px; padding: 10px 12px; }
}

/* CTA band */
.cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta h2 { margin-bottom: .3em; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark-3); padding-block: 72px 32px; font-size: .95rem; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 120px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 22em; }
.site-footer h4 { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--highlight); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer address { font-style: normal; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--on-dark) 8%, transparent); color: var(--on-dark); }
.social a:hover { background: var(--accent); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--on-dark) 12%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--on-dark-3); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Newsletter inline form */
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 200px; font: 400 1rem var(--sans); padding: 14px 18px; border-radius: var(--btn-radius); border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .06); color: #fff; }
.inline-form input::placeholder { color: var(--on-dark-3); }
.inline-form input:focus { outline: none; border-color: var(--highlight); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ── WordPress additions ─────────────────────────────────────────── */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 1260px) { .admin-bar .nav { inset-block-start: calc(76px + var(--wp-admin--admin-bar--height, 46px)); } }
.wp-block-group.wrap { margin-inline: auto; }
.prose > :where(h2) { margin-top: 1.8em; }
.prose .wp-block-list { padding-left: 1.2em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Gravity Forms (Orbital theme) → Deters Academy look.
   !important: each form also prints its own saved colours inline, scoped to its #id. */
.form-gf[hidden] { display: none; }
.gform_wrapper.gform-theme--framework {
  --gf-color-primary: var(--accent) !important;
  --gf-color-primary-darker: var(--accent-ink) !important;
  --gf-color-primary-lighter: color-mix(in oklab, var(--accent) 80%, #fff) !important;
  --gf-color-primary-contrast: var(--on-accent) !important;
  --gf-color-in-ctrl-primary: var(--accent) !important;
  --gf-color-in-ctrl: var(--paper) !important;
  --gf-color-in-ctrl-contrast: var(--ink) !important;
  --gf-ctrl-border-color: var(--line) !important;
  --gf-ctrl-bg-color: var(--paper) !important;
  --gf-ctrl-radius: 8px !important;
  --gf-ctrl-size-md: 48px !important;
  --gf-ctrl-font-size-md: 1rem !important;
  --gf-ctrl-label-font-size-primary: .92rem !important;
  --gf-ctrl-label-font-weight-primary: 600 !important;
  --gf-ctrl-label-color-primary: var(--ink) !important;
  --gf-ctrl-desc-color: var(--ink-3) !important;
  --gf-font-family-base: var(--sans) !important;
  --gf-ctrl-btn-radius: var(--btn-radius) !important;
  --gf-radius: 8px !important;
  --gf-ctrl-btn-bg-color-primary: var(--accent) !important;
  --gf-ctrl-btn-bg-color-hover-primary: var(--accent-ink) !important;
  --gf-ctrl-btn-bg-color-focus-primary: var(--accent-ink) !important;
  --gf-ctrl-btn-color-primary: var(--on-accent) !important;
  --gf-ctrl-btn-border-color-primary: var(--accent) !important;
  --gf-ctrl-btn-font-size: .95rem !important;
  --gf-ctrl-btn-padding-x: 1.6em !important;
  --gf-ctrl-btn-size: 48px !important;
  --gf-ctrl-btn-font-weight: 600 !important;
  --gf-ctrl-btn-padding-x: 1.6em !important;
  --gf-field-gap-y: 22px !important;
  --gf-color-danger: var(--full) !important;
}
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_footer button { font-family: var(--sans); font-weight: 600; }
.gform_wrapper .gfield_required { color: var(--accent); }
.gform_confirmation_message { padding: 20px; border-radius: var(--radius); background: var(--ok-soft); color: var(--ok); }

/* ── Native blocks → Deters Academy design ─────────────────────────────
   Pages are built from core blocks; their "Additional CSS class" hooks into these rules. */
[hidden] { display: none !important; }
.entry-content > *, main > .wp-block-group { margin-block: 0; }
.section.pt-0 { padding-top: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { width: 100%; height: auto; }

/* Buttons */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.wp-block-buttons .wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: var(--btn-radius); border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent);
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.wp-block-buttons .wp-block-button .wp-block-button__link:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--on-accent); transform: translateY(-1px); }
.wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid currentColor; }
.wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section--ink .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--on-dark); }
.section--ink .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.hero :is(.lead, .is-style-lead), .page-hero :is(.lead, .is-style-lead) { margin-bottom: 2em; }
.textlink a { font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.textlink a:hover { color: var(--accent); border-color: var(--accent); }
.section-head--split > p { max-width: 26em; margin: 0; }
.hero-meta { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .93rem; }

/* Facts strip */
.facts > div { padding: 28px 24px; border-left: 1px solid var(--line); }
.facts .fact { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1 var(--serif); color: var(--ink); margin: 0 0 8px; }
.facts p:not(.fact) { color: var(--ink-2); font-size: .93rem; margin: 0; }

/* Cards: the "Bekijk →" link stretches over the whole card */
.card { position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover figure img { transform: scale(1.04); }
.card .tag { margin: 0 0 12px; }
.card-foot p { margin: 0; }
.card .more a { font-weight: 600; font-size: .9rem; color: var(--accent-ink); text-decoration: none; }
.card .more a::after { content: ""; position: absolute; inset: 0; }
.crop-top img { object-position: top; }

/* Quotes */
.wp-block-quote { margin: 0; padding: 0; border: 0; }
.wp-block-quote:is(.pull, .is-style-pull) { margin: 0 0 1.4em; font: italic 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.35 var(--serif); color: var(--ink); }
.wp-block-quote:is(.pull, .is-style-pull)::before { content: "“"; display: block; font-size: 3.5em; line-height: .6; color: var(--accent); margin-bottom: .1em; }
.wp-block-quote:is(.pull, .is-style-pull) p { margin: 0; }
.wp-block-quote:is(.pull, .is-style-pull) cite { display: block; margin-top: 1em; font: 400 .95rem var(--sans); font-style: normal; color: var(--ink-3); }
.wp-block-quote:is(.pull, .is-style-pull).is-centered { text-align: center; }
.wp-block-quote:is(.review, .is-style-review) { padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.wp-block-quote:is(.review, .is-style-review).stars-4::before { content: "★★★★☆" !important; }
.wp-block-quote:is(.review, .is-style-review).stars-3::before { content: "★★★☆☆" !important; }
.wp-block-quote:is(.review, .is-style-review)::before { content: "★★★★★"; display: block; color: var(--highlight); letter-spacing: 2px; font-size: .95rem; margin-bottom: 14px; }
.wp-block-quote:is(.review, .is-style-review) cite { display: block; padding-left: 30px; background: linear-gradient(var(--accent), var(--accent)) left center / 20px 1px no-repeat; font: 600 .9rem var(--sans); font-style: normal; color: var(--ink-2); }

/* Steps */
.steps { counter-reset: step; }
.steps > * { counter-increment: step; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.section--ink .steps > * { background: color-mix(in srgb, var(--on-dark) 4%, transparent); border-color: color-mix(in srgb, var(--on-dark) 13%, transparent); }
.steps > *::before { content: counter(step, decimal-leading-zero); display: block; font: italic 400 1.1rem var(--serif); color: var(--accent); margin-bottom: 18px; }
.section--ink .steps > *::before { color: var(--highlight); }
.steps p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.section--ink .steps p { color: var(--on-dark-3); }

/* Info list (label + value) */
.info > div > p { margin: 0; }
.info > div > p:first-child { font: 600 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.info--single { grid-template-columns: 1fr; }

/* Price options */
.option .sub { margin-bottom: 20px; }
.option .price { margin-bottom: 4px; }
.option .wp-block-buttons { margin-top: auto; }
.option .wp-block-button, .option .wp-block-button__link { width: 100%; }
.option .wp-block-list { list-style: none; }

/* Timetable (table block) */
.wp-block-table.schedule { margin: 0; overflow-x: auto; }
.schedule table { width: 100%; border-collapse: collapse; table-layout: auto; }
.schedule thead { border: 0; }
.schedule th, .schedule td { border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.schedule tr:last-child td { border-bottom: 0; }
.schedule td em { display: block; font-style: normal; color: var(--ink-3); font-size: .88rem; font-weight: 400; }
@media (max-width: 700px) {
  .schedule table, .schedule tbody { display: block; }
  /* phone: rows are cards — only a line between the cards, none inside (as in the static design) */
  .schedule td, .schedule tr:last-child td { border-bottom: 0; }
}

/* Workshop dates (list block) */
.wp-block-list:is(.dates, .is-style-dates) { list-style: none; padding: 0; }
.wp-block-list:is(.dates, .is-style-dates) li { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.wp-block-list:is(.dates, .is-style-dates) li.is-past { display: none; }
p.empty { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); text-align: center; }

.wp-block-list:is(.checklist, .is-style-checklist) { list-style: none; padding: 0; }
p:is(.notice, .is-style-notice) { display: block; }

/* Galleries */
.wp-block-gallery.has-nested-images.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.wp-block-gallery.has-nested-images.strip figure.wp-block-image { width: auto !important; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; }
.wp-block-gallery.has-nested-images.strip figure.wp-block-image:nth-child(even) { margin-top: 36px !important; }
.wp-block-gallery.has-nested-images.strip figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wp-block-gallery.has-nested-images.strip figure.wp-block-image:hover img { transform: scale(1.05); }
@media (max-width: 860px) {
  .wp-block-gallery.has-nested-images.strip { grid-template-columns: repeat(3, 1fr); }
}
.wp-block-gallery.has-nested-images.masonry { display: block; columns: 3 300px; column-gap: 18px; }
.wp-block-gallery.has-nested-images.masonry figure.wp-block-image { width: 100% !important; margin: 0 0 18px !important; break-inside: avoid; border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.wp-block-gallery.has-nested-images.masonry figure.wp-block-image img { transition: transform .5s; }
.wp-block-gallery.has-nested-images.masonry figure.wp-block-image:hover img { transform: scale(1.03); }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { font: italic 400 1rem var(--serif); opacity: 0; transition: opacity .3s; }
.wp-block-gallery.has-nested-images figure.wp-block-image:hover figcaption { opacity: 1; }

/* CTA band + panels */
.cta .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 860px) { .cta .wp-block-buttons { justify-content: flex-start; } }
.panel.cta .price { font-size: 2.2rem; margin-bottom: 8px; }
.panel.cta .price small { font: 400 .9rem var(--sans); color: var(--ink-3); }
.page-hero--image figure.portrait { aspect-ratio: 4 / 5; }
.form-panels > .panel + .panel { margin-top: 24px; }
.tabs + .form-panels > .panel { margin-top: 0; }

/* Framed images: the frame sets the shape, the image fills it (WordPress adds width/height attributes,
   so percentage heights don't take — position the image instead). */
.hero-art .wp-block-image, .card .wp-block-image, .split .wp-block-image.tall,
.page-hero--image .wp-block-image, .wp-block-gallery.strip figure.wp-block-image { position: relative; overflow: hidden; }
.hero-art .wp-block-image img, .card .wp-block-image img, .split .wp-block-image.tall img,
.page-hero--image .wp-block-image img, .wp-block-gallery.has-nested-images.strip figure.wp-block-image img {
  position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; aspect-ratio: auto;
}
.hero-art .wp-block-image.a { min-height: 100%; }
@media (max-width: 860px) { .hero-art .wp-block-image.a { aspect-ratio: 3 / 4; } }

/* Spacing the static design got from wrappers */
.two-col + .panel { margin-top: 48px; }
.wrap > p:is(.notice, .is-style-notice) { margin: 0 0 28px; }
.wp-block-list + .wp-block-heading { margin-top: 1.6em; }
.split .wp-block-buttons, .two-col .wp-block-buttons { margin-top: 28px; }
.wp-block-list:is(.checklist, .is-style-checklist) { margin: 0 0 1.2em; }

/* Forms sit on the page — no boxed card around them */
.panel:has(> .wp-block-gravityforms-form, > .gform_wrapper, > .gform-theme), .panel:has(.gform_wrapper) { border: 0; background: transparent; padding: 0; }
.wp-block-quote:is(.pull, .is-style-pull).is-centered cite { font-size: .95rem; }
.wp-block-quote:is(.pull, .is-style-pull).is-centered cite::before { content: "— "; }

/* Gravity Forms choices as option cards, like the design */
.gform_wrapper.gform-theme--framework .gfield_checkbox,
.gform_wrapper.gform-theme--framework .gfield_radio { display: grid !important; gap: 8px !important; }
.gform_wrapper.gform-theme--framework .gfield_checkbox:has(> .gchoice:nth-child(5)) { grid-template-columns: 1fr 1fr !important; }
.gform_wrapper.gform-theme--framework .gchoice input { margin: 0 10px 0 0 !important; flex-shrink: 0; }
.gform_wrapper.gform-theme--framework .gchoice { display: flex; align-items: center; column-gap: 10px; row-gap: 0; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.gform_wrapper.gform-theme--framework .gchoice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.gform_wrapper.gform-theme--framework .gchoice label { cursor: pointer; margin: 0; font-size: .95rem; }
@media (max-width: 640px) { .gform_wrapper.gform-theme--framework .gfield_checkbox:has(> .gchoice:nth-child(5)) { grid-template-columns: 1fr; } }
