/* ===== Potápačské Centrum Sĺňava — Coastal Driftwood ===== */

:root {
  --midnight: #0b2436;
  --midnight-2: #123049;
  --midnight-3: #1c3f5c;
  --silver: #aebdc7;
  --silver-light: #dce4e8;
  --ice: #eef4f5;
  --ice-2: #f7fafb;
  --seaglass: #6fae9f;
  --seaglass-dark: #4c8778;
  --sand: #e4ddd0;
  --text: #0e2230;
  --text-soft: #3f5868;
  --white: #ffffff;

  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;

  --radius-pebble: 62% 38% 54% 46% / 46% 55% 45% 54%;
  --radius-pebble-2: 42% 58% 61% 39% / 55% 44% 56% 45%;
  --shadow-soft: 0 18px 40px -20px rgba(11, 36, 54, 0.35);
  --shadow-deep: 0 30px 60px -24px rgba(11, 36, 54, 0.45);
  --ease: cubic-bezier(.22,.9,.3,1);
}

* , *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ice-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--midnight);
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 600;
}

p { margin: 0 0 1em; }
a { color: inherit; }

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

section { padding: clamp(3rem, 7vw, 6rem) 0; }

:focus-visible {
  outline: 3px solid var(--seaglass-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--seaglass); color: var(--white); }

/* ===== Icon sprite use ===== */
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 1.5px solid var(--midnight);
  background: transparent;
  color: var(--midnight);
  font: inherit;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  min-height: 44px;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: var(--midnight);
  z-index: -1;
  transition: left .4s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn:hover, .btn:focus-visible { color: var(--ice); }

.btn-primary {
  background: var(--midnight);
  color: var(--ice);
  border-color: var(--midnight);
}
.btn-primary::before { background: var(--seaglass-dark); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--white); }

.btn-ghost {
  border-color: var(--silver);
  color: var(--midnight);
}
.btn-ghost::before { background: var(--silver-light); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--midnight); }

.btn-light {
  border-color: rgba(255,255,255,.6);
  color: var(--ice);
}
.btn-light::before { background: var(--ice); }
.btn-light:hover, .btn-light:focus-visible { color: var(--midnight); }

.btn-sm { padding: .6em 1.2em; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn[disabled]::before { display: none; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 244, 245, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,36,54,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .9rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--midnight);
  flex-shrink: 0;
}
.logo-mark { width: 44px; height: 44px; }
.logo-word { width: 150px; height: 28px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .96rem;
  color: var(--midnight-2);
  position: relative;
  padding: .25em 0;
}
.main-nav a span.underline {
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 6px;
  overflow: visible;
}
.main-nav a span.underline svg { width: 100%; height: 100%; display: block; }
.main-nav a span.underline path {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset .4s var(--ease);
}
.main-nav a:hover span.underline path,
.main-nav a:focus-visible span.underline path,
.main-nav a[aria-current="page"] span.underline path { stroke-dashoffset: 0; }

.header-actions { display: flex; align-items: center; gap: .9rem; }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  text-decoration: none;
  color: var(--midnight);
  font-weight: 700;
  padding: .5em .8em;
  border-radius: 999px;
  border: 1.5px solid var(--midnight);
  min-height: 44px;
}
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  height: 1.4em;
  padding: 0 .2em;
  background: var(--seaglass-dark);
  color: var(--white);
  border-radius: 50%;
  font-size: .78rem;
  transition: transform .25s var(--ease);
}
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0%{transform:scale(1);} 35%{transform:scale(1.45);} 100%{transform:scale(1);} }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle .icon { width: 26px; height: 26px; }

/* ===== Mobile nav ===== */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    height: 100vh;
    background: var(--midnight);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5.5rem 2rem 2rem;
    gap: 1.3rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav a { color: var(--ice); font-size: 1.1rem; }
  body.nav-open { overflow: hidden; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--midnight);
  color: var(--silver-light);
  position: relative;
}
.site-footer .container { position: relative; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer-grid h3 { color: var(--ice); font-size: 1rem; font-family: var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.footer-brand .logo { color: var(--ice); margin-bottom: .8rem; }
.footer-brand p { color: var(--silver); max-width: 32ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: var(--silver-light); text-decoration: none; }
.footer-links a:hover { color: var(--seaglass); text-decoration: underline; }
.footer-newsletter form { display: flex; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; }
.footer-newsletter input[type="email"] {
  flex: 1 1 160px;
  min-width: 0;
  padding: .7em 1em;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.06);
  color: var(--ice);
}
.footer-newsletter input::placeholder { color: var(--silver); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: var(--silver);
}
.form-msg { font-size: .85rem; margin-top: .5rem; min-height: 1.2em; }
.form-msg.ok { color: #9fe3cf; }
.form-msg.err { color: #ffb4a8; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Reveal ===== */
.reveal { opacity: 1; }
.reveal.js-hidden { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 15% 0); }
.reveal.in-view {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  transition: opacity .8s var(--ease), transform .8s var(--ease), clip-path .8s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.js-hidden { opacity: 1; transform: none; clip-path: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: linear-gradient(180deg, var(--ice-2), var(--ice) 70%);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.6rem;
}
.hero-tab {
  border: 1.5px solid var(--silver);
  background: var(--white);
  color: var(--text-soft);
  padding: .5em 1.1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  min-height: 40px;
}
.hero-tab[aria-selected="true"] {
  background: var(--midnight);
  color: var(--ice);
  border-color: var(--midnight);
}
.hero-headline {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  margin-bottom: .5rem;
}
.hero-headline .sweep {
  position: relative;
  display: inline-block;
}
.hero-headline .sweep svg {
  position: absolute;
  left: 0; bottom: -.1em;
  width: 100%;
  height: .3em;
  overflow: visible;
}
.hero-headline .sweep path {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: sweep 1.1s .5s var(--ease) forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero-headline .sweep path { animation: none; stroke-dashoffset: 0; }
}
@keyframes sweep { to { stroke-dashoffset: 0; } }

.hero-lede { font-size: 1.12rem; color: var(--text-soft); max-width: 48ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

.hero-visual { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; }
.hero-photo-wrap {
  position: relative;
  width: 82%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-pebble);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  width: 46%;
  aspect-ratio: 1/1;
  background: var(--seaglass);
  opacity: .35;
  border-radius: var(--radius-pebble-2);
  top: -6%;
  right: -8%;
  z-index: -1;
  mix-blend-mode: multiply;
}
.hero-bubbles circle { animation: rise 6s linear infinite; transform-origin: center; }
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: .8; }
  90% { opacity: .5; }
  100% { transform: translateY(-120px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bubbles circle { animation: none; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin-inline: auto; }
}

/* ===== Section headers / dividers ===== */
.section-head { max-width: 60ch; margin-bottom: 2.4rem; }
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--seaglass-dark);
  display: block;
  margin-bottom: .6rem;
}
.divider { width: 100%; height: 36px; display: block; color: var(--seaglass); opacity: .6; }
.divider-wrap { padding: 0; }

/* ===== Feature: dive map ===== */
.divemap-section { background: var(--midnight); color: var(--ice); position: relative; overflow: clip; }
.divemap-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.divemap-section .section-head h2 { color: var(--ice); }
.divemap-section .eyebrow { color: var(--seaglass); }
.divemap-section .section-head p { color: var(--silver-light); }
.map-wrap {
  position: relative;
  background: var(--midnight-2);
  border-radius: 28px;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}
.map-svg { width: 100%; height: auto; display: block; }
.map-pin {
  cursor: pointer;
  transform-origin: center;
  transition: transform .25s var(--ease);
}
.map-pin:hover, .map-pin:focus-visible { transform: scale(1.18); }
.map-pin circle.dot { fill: var(--seaglass); stroke: var(--ice); stroke-width: 2; }
.map-pin[aria-pressed="true"] circle.dot { fill: #ffd27d; }
.map-legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; font-size: .85rem; color: var(--silver-light); }
.map-legend span { display: inline-flex; align-items: center; gap: .4em; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--seaglass); display: inline-block; }

.map-panel {
  background: var(--midnight-3);
  border-radius: 20px;
  padding: 1.6rem 1.7rem;
  min-height: 260px;
}
.map-panel h3 { color: var(--ice); margin-bottom: .3rem; }
.map-panel .tag {
  display: inline-block;
  font-size: .76rem;
  font-family: var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--midnight);
  background: var(--seaglass);
  padding: .25em .7em;
  border-radius: 999px;
  margin-bottom: .8rem;
}
.map-panel dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 1rem 0; font-size: .92rem; }
.map-panel dt { color: var(--silver); }
.map-panel dd { margin: 0; color: var(--ice); }
.map-panel p { color: var(--silver-light); }
.map-panel .placeholder { color: var(--silver); font-style: italic; }

@media (max-width: 860px) {
  .divemap-grid { grid-template-columns: 1fr; }
}

/* ===== Product grid / cards ===== */
.filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  border: 1.5px solid var(--silver);
  background: var(--white);
  padding: .5em 1.1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  color: var(--text-soft);
  min-height: 40px;
}
.filter-btn[aria-pressed="true"] { background: var(--seaglass-dark); color: var(--white); border-color: var(--seaglass-dark); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
}
.product-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover, .product-card:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow-deep); }
.card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .card-media img { transform: scale(1.08); }
.card-level {
  position: absolute;
  top: .8rem; left: .8rem;
  background: rgba(11,36,54,.85);
  color: var(--ice);
  font-size: .72rem;
  font-family: var(--font-mono);
  padding: .3em .7em;
  border-radius: 999px;
}
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 0; }
.card-meta { font-size: .85rem; color: var(--text-soft); font-family: var(--font-mono); }
.card-price { margin-top: auto; font-weight: 700; font-size: 1.15rem; color: var(--midnight); }
.card-price small { font-weight: 500; font-size: .7em; color: var(--text-soft); }

/* horizontal scroll-snap strip (mobile home preview) */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
}
.strip .product-card { scroll-snap-align: start; }
@media (min-width: 720px) {
  .strip { grid-auto-flow: unset; grid-template-columns: repeat(4, 1fr); overflow: visible; }
}

/* ===== Product detail ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.product-detail .card-media { border-radius: var(--radius-pebble); aspect-ratio: 4/5; box-shadow: var(--shadow-deep); }
.product-info .tag { display: inline-block; font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--seaglass-dark); border: 1px solid var(--seaglass); padding: .25em .7em; border-radius: 999px; margin-bottom: .8rem; }
.product-info .price-row { display: flex; align-items: baseline; gap: .6rem; margin: 1rem 0; }
.price-big { font-size: 2.1rem; font-family: var(--font-display); color: var(--midnight); }
.includes-list { list-style: none; padding: 0; margin: 1.2rem 0; display: flex; flex-direction: column; gap: .6rem; }
.includes-list li { display: flex; gap: .6em; align-items: flex-start; }
.includes-list .icon { color: var(--seaglass-dark); margin-top: .15em; }
.qty-row { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; }
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--silver); border-radius: 999px; overflow: hidden; }
.qty-control button { background: none; border: none; width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; color: var(--midnight); }
.qty-control input { width: 3em; text-align: center; border: none; font: inherit; padding: .5em 0; }

@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ===== Cart / checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.cart-table th { text-align: left; font-family: var(--font-mono); text-transform: uppercase; font-size: .76rem; letter-spacing: .06em; color: var(--text-soft); padding-bottom: .7rem; border-bottom: 1px solid var(--silver-light); }
.cart-table td { padding: 1rem 0; border-bottom: 1px solid var(--silver-light); vertical-align: middle; }
.cart-item-name { display: flex; align-items: center; gap: .9rem; font-weight: 600; }
.cart-item-name img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
.cart-remove { background: none; border: none; cursor: pointer; color: var(--text-soft); text-decoration: underline; font-size: .85rem; min-height: 44px; }
.cart-summary { display: flex; justify-content: flex-end; }
.cart-summary dl { min-width: 260px; display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; }
.cart-summary dd { text-align: right; font-weight: 700; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-soft); }

.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 840px) { .checkout-grid { grid-template-columns: 1fr; } }

/* ===== Forms ===== */
form { accent-color: var(--seaglass-dark); }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field textarea, .field select {
  font: inherit;
  padding: .75em .9em;
  border-radius: 12px;
  border: 1.5px solid var(--silver);
  background: var(--white);
  color: var(--text);
  min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--seaglass-dark); }
.field-error { color: #b4452f; font-size: .82rem; min-height: 1.1em; }
.field-check { flex-direction: row; align-items: center; gap: .6em; }
.field-check input { min-height: auto; width: 20px; height: 20px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.card-box {
  background: var(--white);
  border-radius: 22px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-soft);
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  background: var(--midnight);
  color: var(--ice);
  border-radius: 20px;
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  transform: translateY(140%);
  transition: transform .5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: .92rem; color: var(--silver-light); flex: 1 1 260px; }
.cookie-banner a { color: var(--seaglass); }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-banner .btn-ghost { color: var(--ice); border-color: var(--silver-light); }

/* ===== Misc pages ===== */
.page-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 1rem; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.badge-seal { width: 110px; height: 110px; }

.faq-item { border-bottom: 1px solid var(--silver-light); padding: 1.2rem 0; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { margin-top: .8rem; color: var(--text-soft); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.about-photo { border-radius: var(--radius-pebble-2); overflow: hidden; box-shadow: var(--shadow-deep); aspect-ratio: 4/3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.8rem; margin-top: 2.5rem; }
.value-card { background: var(--white); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow-soft); }
.value-card .icon { width: 30px; height: 30px; color: var(--seaglass-dark); margin-bottom: .8rem; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-photo { border-radius: var(--radius-pebble); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-soft); }
.contact-info-list { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-info-list li { display: flex; gap: .8em; align-items: flex-start; }
.contact-info-list .icon { color: var(--seaglass-dark); }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 1rem; }
.error-page .big { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 8rem); color: var(--midnight); margin: 0; }

/* grain overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: multiply;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--midnight);
  color: var(--ice);
  padding: .8em 1.2em;
  z-index: 999;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.table-wrap { overflow-x: auto; }
