/* Whaling City Tattoo Co. - Main Stylesheet ("Scrimshaw")
   Deep sea-teal chapters alternate with torn parchment logbook pages.
   Engraved serif type, arched frames, whale-fluke ornaments, waves into the footer.
   Palette: client palette (abyss/sea/petrol teals, ivory, sea glass, coral, parchment, brick, wine). */

/* ===== Tokens ===== */
:root {
  --bg: #0d242c;          /* abyss */
  --sea: #0d3a46;
  --petrol: #0d525d;
  --abyss: #0e0e10;
  --fg: #eef3e4;          /* ivory */
  --muted: #bfe7d6;       /* sea foam */
  --line: rgba(238, 243, 228, .22);
  --glass: #64d3bc;
  --accent: #ef5c47;      /* coral */
  --accent-hi: #f18a65;
  --accent-fg: #0e0e10;
  --peach: #f3b08b;

  --parch: #f2dfc4;
  --parch-edge: #e8c9a4;
  --ink: #0d242c;
  --ink-2: #304e4a;
  --brick: #af453c;
  --wine: #702830;
  --parch-line: rgba(13, 36, 44, .22);

  --display: 'IM Fell Double Pica', 'Iowan Old Style', Georgia, serif;
  --sc: 'IM Fell Double Pica SC', 'Iowan Old Style', Georgia, serif;
  --body: 'Spectral', Georgia, serif;

  --max-width: 1240px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --header-height: 0px; /* header is sticky and in flow */
  --focus: var(--accent-hi);

  /* Legacy names still used by page-level styles; mapped onto the new palette */
  --color-black: var(--abyss);
  --color-dark: var(--sea);
  --color-charcoal: var(--line);
  --color-gray: var(--muted);
  --color-light-gray: var(--muted);
  --color-off-white: var(--fg);
  --color-white: var(--fg);
  --color-accent: var(--accent-hi);
  --color-accent-dark: var(--accent);
  --color-accent-2: var(--peach);
  --color-accent-2-dark: var(--accent-hi);
  --font-heading: var(--display);
  --font-body: var(--body);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, .45);
  --transition-fast: .2s ease;
  --transition-normal: .3s ease;

  --fluke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 76'%3E%3Cpath d='M60 60C58.6 52 57.6 45 57.4 38.6 51.5 36.2 42 35.6 31.5 32.6 19.5 29.2 10.5 22.6 4.5 12.6c-.7-1.2.4-2.3 1.5-1.6C14 16.2 24.5 18.2 35 18.8c10 .6 18.6 3.6 25 9.8 6.4-6.2 15-9.2 25-9.8 10.5-.6 21-2.6 29-7.8 1.1-.7 2.2.4 1.5 1.6-6 10-15 16.6-27 20-10.5 3-20 3.6-25.9 6-.2 6.4-1.2 13.4-2.6 21.4z'/%3E%3Cg fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M30 65q6-4 12 0t12 0 12 0 12 0 12 0'/%3E%3Cpath d='M41 72q5-3 10 0t10 0 10 0 10 0'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: dark;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--bg); }
body {
  font: 400 1.08rem/1.75 var(--body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-hi); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--peach); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.4vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.3rem; }
h1 i, h2 i, h1 em, h2 em { color: var(--accent-hi); }
p { margin-bottom: 1rem; }
strong { font-weight: 500; color: var(--fg); }
ul, ol { padding-left: 1.2rem; }
::selection { background: var(--accent); color: var(--abyss); }
.sc { font: 400 .95rem var(--sc); letter-spacing: .14em; color: var(--muted); }
.icon { display: inline-block; width: 1em; height: 1em; flex: none; }

/* ===== Utilities ===== */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding-inline: var(--gutter); }
.text-center { text-align: center; }
.text-accent { color: var(--accent-hi); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-fg); padding: .6rem 1rem; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }

/* ===== Sections =====
   .section          deep teal chapter
   .section--dark    a shade deeper, with a hairline frame
   .section--charcoal  parchment logbook page with torn edges */
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 7rem); }
.section--dark { background: radial-gradient(90% 70% at 50% 0%, rgba(13, 82, 93, .35), transparent 70%), var(--sea); }
.section--dark + .section--dark { border-top: 1px solid var(--line); }

.section--charcoal {
  position: relative;
  --line: var(--parch-line);
  --muted: var(--ink-2);
  --fg: var(--ink);
  --focus: var(--wine);
  --color-charcoal: var(--parch-line);
  --color-light-gray: var(--ink-2);
  --color-gray: var(--ink-2);
  --color-white: var(--ink);
  --color-off-white: var(--ink);
  --color-dark: rgba(255, 255, 255, .3);
  --color-accent: var(--brick);
  --color-accent-dark: var(--wine);
  color: var(--ink);
  margin-block: 22px;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(175, 69, 60, .16) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .35' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .32  0 0 0 0 .2  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--parch-edge), var(--parch) 12%, var(--parch) 88%, var(--parch-edge));
}
.section--charcoal::before,
.section--charcoal::after {
  content: ""; position: absolute; left: 0; right: 0; height: 24px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath fill='%23e8c9a4' fill-opacity='.6' d='M0 24 L0 12 L12 14 L24 10 L35 13 L46 9 L60 12 L71 15 L84 11 L98 13 L110 9 L122 12 L136 14 L149 10 L161 13 L176 11 L188 14 L201 9 L213 12 L226 15 L240 11 L253 13 L266 10 L278 12 L292 15 L305 11 L318 13 L330 9 L344 12 L357 14 L370 10 L383 12 L396 15 L409 11 L423 13 L436 10 L448 12 L462 15 L475 11 L488 13 L501 9 L514 12 L528 14 L541 10 L554 13 L567 11 L580 14 L593 10 L607 12 L620 15 L633 11 L646 13 L659 9 L673 12 L686 14 L699 10 L712 13 L725 11 L739 14 L752 10 L765 12 L778 15 L791 11 L805 13 L818 9 L831 12 L844 14 L857 10 L871 13 L884 11 L897 14 L910 9 L923 12 L937 15 L950 11 L963 13 L976 10 L989 12 L1003 14 L1016 10 L1029 13 L1042 11 L1056 14 L1069 9 L1082 12 L1095 15 L1108 11 L1122 13 L1135 10 L1148 12 L1161 14 L1174 10 L1188 13 L1200 11 L1200 24 Z'/%3E%3Cpath fill='%23e8c9a4' d='M0 24 L0 15 L14 17 L27 13 L40 16 L52 14 L66 18 L79 15 L92 13 L105 16 L119 14 L132 17 L145 13 L158 16 L171 15 L185 18 L198 14 L211 16 L224 13 L238 17 L251 15 L264 14 L277 17 L291 13 L304 16 L317 15 L330 18 L344 14 L357 16 L370 13 L383 17 L397 15 L410 14 L423 17 L436 13 L450 16 L463 15 L476 18 L489 14 L503 16 L516 13 L529 17 L542 15 L556 14 L569 17 L582 13 L595 16 L609 15 L622 18 L635 14 L648 16 L662 13 L675 17 L688 15 L701 14 L715 17 L728 13 L741 16 L754 15 L768 18 L781 14 L794 16 L807 13 L821 17 L834 15 L847 14 L860 17 L874 13 L887 16 L900 15 L913 18 L927 14 L940 16 L953 13 L966 17 L980 15 L993 14 L1006 17 L1019 13 L1033 16 L1046 15 L1059 18 L1072 14 L1086 16 L1099 13 L1112 17 L1125 15 L1139 14 L1152 17 L1165 13 L1178 16 L1200 15 L1200 24 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.section--charcoal::before { top: -23px; }
.section--charcoal::after { bottom: -23px; transform: scaleY(-1); }
.section--charcoal a:not(.btn) { color: var(--brick); text-decoration: underline; text-decoration-color: rgba(175, 69, 60, .4); text-underline-offset: 3px; }
.section--charcoal a:not(.btn):hover { color: var(--wine); }
.section--charcoal h1 i, .section--charcoal h2 i, .section--charcoal h2 em { color: var(--brick); }
.section--charcoal strong { color: var(--ink); }

/* Rope divider */
.rope { height: 12px; max-width: var(--max-width); margin: 0 auto; opacity: .5;
  background: repeating-linear-gradient(115deg, transparent 0 5px, var(--peach) 5px 6.5px, transparent 6.5px 10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.8rem; border-radius: 999px; border: 1px solid transparent;
  font: 400 1.05rem/1 var(--sc); letter-spacing: .1em; text-decoration: none; text-align: center; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn--primary {
  background: var(--accent); color: var(--accent-fg);
  box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4px rgba(14, 14, 16, .35);
}
.btn--primary:hover { background: var(--accent-hi); color: var(--accent-fg); box-shadow: inset 0 0 0 3px var(--accent-hi), inset 0 0 0 4px rgba(14, 14, 16, .35); }
.btn--outline, .btn--secondary { border-color: var(--line); color: var(--fg); background: transparent; }
.btn--outline:hover, .btn--secondary:hover { border-color: var(--fg); color: var(--fg); background: rgba(238, 243, 228, .05); }
.section--charcoal .btn--outline { border-color: rgba(13, 36, 44, .4); color: var(--ink); }
.section--charcoal .btn--outline:hover { border-color: var(--ink); background: rgba(13, 36, 44, .05); }
.btn--small { min-height: 44px; padding: 0 1.3rem; font-size: .95rem; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(13, 36, 44, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--line); pointer-events: none; }
.header--scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; height: 96px; }
.header__logo { display: block; }
.header__logo img { height: 70px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 1.5rem; }
.header__nav--right { justify-content: flex-end; }
.header__nav .nav__link { font: 400 1.02rem var(--sc); letter-spacing: .1em; color: var(--muted); padding-block: .3rem; border-bottom: 1px solid transparent; }
.header__nav .nav__link:hover, .header__nav .nav__link--active { color: var(--fg); border-color: var(--accent-hi); }
.nav-toggle { display: none; width: 46px; height: 46px; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle__bar { display: block; width: 20px; height: 1.5px; background: var(--fg); transition: transform .25s, opacity .25s; }
.nav-toggle.active .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-drawer .nav__list { display: none; }
@media (max-width: 1080px) {
  .header__nav .nav__link { font-size: .95rem; }
  .header__nav { gap: 1.1rem; }
}
@media (max-width: 960px) {
  .header__inner { grid-template-columns: auto 1fr; height: 80px; }
  .header__nav--left, .header__nav--right .nav__link { display: none; }
  .header__logo img { height: 56px; }
  .header__nav--right { gap: .7rem; }
  .nav-toggle { display: inline-flex; }
  .nav-drawer .nav__list {
    list-style: none; padding: .6rem var(--gutter) 1.4rem; border-top: 1px solid var(--line);
    background: var(--bg);
  }
  .nav-drawer .nav__list.active { display: grid; }
  .nav-drawer .nav__link { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--line); font: 400 1.5rem var(--display); color: var(--fg); }
  .nav-drawer .nav__link--active { color: var(--accent-hi); }
}

/* ===== Section headers (with whale-fluke ornament) ===== */
.section-header { text-align: center; max-width: 820px; margin: 0 auto 2.8rem; }
.section-header::before {
  content: ""; display: block; width: 104px; height: 66px; margin: 0 auto .9rem;
  background: var(--glass); -webkit-mask: var(--fluke) center / contain no-repeat; mask: var(--fluke) center / contain no-repeat;
}
.section--charcoal .section-header::before { background: var(--brick); }
.section-header__subtitle { display: block; font: 400 .95rem var(--sc); letter-spacing: .14em; color: var(--muted); margin-bottom: .3rem; }
.section--charcoal .section-header__subtitle { color: var(--wine); }
.section-header__title { margin-bottom: .6rem; }
.section-header__description { color: var(--muted); max-width: 46ch; margin: 0 auto; }

/* ===== Page header (interior pages) ===== */
.page-header { position: relative; text-align: center; padding-block: clamp(2.6rem, 6vw, 4.6rem) clamp(2.8rem, 6vw, 4.4rem);
  background: radial-gradient(90% 80% at 50% 0%, var(--sea), transparent 75%); border-bottom: 1px solid var(--line); }
.page-header::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: min(560px, 80%); transform: translateX(-50%); height: 7px; border-block: 1px solid var(--line); background: var(--bg); }
.page-header__title { margin: 1rem auto .8rem; max-width: 20ch; }
.page-header__title::before {
  content: ""; display: block; width: 92px; height: 58px; margin: 0 auto 1rem;
  background: var(--glass); -webkit-mask: var(--fluke) center / contain no-repeat; mask: var(--fluke) center / contain no-repeat;
}
.page-header__description { color: var(--muted); max-width: 44rem; margin: 0 auto; font-size: 1.15rem; }
.page-header--hero { text-align: center; }
.page-header--hero .page-header__description { color: var(--fg); }

/* ===== Breadcrumbs ===== */
.breadcrumbs__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem .7rem; font: 400 .92rem var(--sc); letter-spacing: .12em; }
.breadcrumbs__item { display: inline-flex; align-items: center; gap: .7rem; color: var(--muted); }
.breadcrumbs__item + .breadcrumbs__item::before { content: "✦"; font-size: .6em; color: var(--glass); }
.breadcrumbs__link { color: var(--muted); }
.breadcrumbs__link:hover { color: var(--fg); }
.breadcrumbs__current { color: var(--fg); }
.page-header:has(.artist-profile__name) { padding-block: 1.6rem; }

/* ===== Trust signals ===== */
.trust-signals { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.trust-item { text-align: center; padding: 2rem 1.4rem; border: 1px solid var(--line); border-radius: 999px 999px 14px 14px; position: relative; }
.trust-item::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(100, 211, 188, .25); border-radius: inherit; pointer-events: none; }
.trust-item__icon { width: 56px; height: 56px; margin: 0 auto 1rem; display: grid; place-items: center; border: 1px solid var(--glass); border-radius: 50%; color: var(--glass); }
.trust-item__icon svg { width: 24px; height: 24px; }
.trust-item__icon--gold { color: var(--peach); border-color: var(--peach); }
.trust-item__title { font-size: 1.5rem; margin-bottom: .4rem; }
.trust-item__description { color: var(--muted); font-size: .98rem; margin: 0; }
.section--charcoal .trust-item::after { border-color: rgba(175, 69, 60, .3); }
.section--charcoal .trust-item__icon { color: var(--brick); border-color: var(--brick); }

/* ===== Artist cards (arched) ===== */
.artists-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.6rem, 4vw, 3rem); }
.artist-card { display: grid; justify-items: center; text-align: center; gap: .4rem; }
.artist-card__image { width: min(300px, 100%); aspect-ratio: 3 / 4; padding: 10px; border: 1px solid var(--line); border-radius: 999px 999px 14px 14px; position: relative; }
.artist-card__image::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(100, 211, 188, .35); border-radius: inherit; pointer-events: none; }
.artist-card__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 8px 8px; filter: sepia(.2) saturate(.9); transition: filter .4s; }
.artist-card:hover .artist-card__image img { filter: none; }
.artist-card__content { display: grid; gap: .3rem; justify-items: center; padding-top: .6rem; }
.artist-card__role { order: -1; font: 400 .95rem var(--sc); letter-spacing: .12em; color: var(--muted); margin: 0; }
.artist-card__name { font-size: 2.1rem; }
.artist-card__styles, .artist-card__bio { color: var(--muted); font-size: 1rem; max-width: 34ch; margin: 0; }
.artist-card__link { font: 400 1rem var(--sc); letter-spacing: .1em; color: var(--accent-hi); margin-top: .3rem; }
.section--charcoal .artist-card__image { border-color: rgba(13, 36, 44, .35); }
.section--charcoal .artist-card__image::after { border-color: rgba(175, 69, 60, .4); }
.section--charcoal .artist-card__link { color: var(--brick); text-decoration: none; }

/* ===== Gallery (arched cabinet frames; lightbox from js/main.js) ===== */
.gallery-grid { --cols: 4; --gap: clamp(.9rem, 2.2vw, 1.8rem); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.2rem, 3vw, 2.2rem) var(--gap); }
.gallery-grid > .gallery-item { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); max-width: 280px; }
@media (max-width: 1000px) { .gallery-grid { --cols: 3; } }
.artist-profile__main .gallery-grid { --cols: 3; }
@media (max-width: 640px) { .gallery-grid { --cols: 2; } }
@media (max-width: 640px) { .artist-profile__main .gallery-grid { --cols: 2; } }
.gallery-item { position: relative; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 999px 999px 12px 12px; cursor: zoom-in; overflow: hidden; }
.gallery-item::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(100, 211, 188, .28); border-radius: inherit; pointer-events: none; }
.gallery-item img { width: 100%; aspect-ratio: 3 / 3.9; object-fit: cover; border-radius: 999px 999px 7px 7px; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.gallery-item__overlay, .gallery-item__caption { display: none; }
.section--charcoal .gallery-item { border-color: rgba(13, 36, 44, .35); background: rgba(255, 255, 255, .18); }
.section--charcoal .gallery-item::after { border-color: rgba(175, 69, 60, .4); }
.gallery-grid--balanced { --cols: 3; }
.lightbox-overlay { background: rgba(8, 12, 14, .94) !important; }
.lightbox-caption { font-family: var(--sc) !important; letter-spacing: .08em; }

/* ===== Style tags ===== */
.style-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.4rem; }
.style-tag { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.15rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font: 400 1rem var(--sc); letter-spacing: .08em; text-decoration: none !important; }
.style-tag:hover, .style-tag--active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.section--charcoal .style-tag { border-color: rgba(13, 36, 44, .3); color: var(--ink-2); }
.section--charcoal .style-tag:hover, .section--charcoal .style-tag--active { background: var(--ink); color: var(--parch); }

/* ===== Style sections (styles page) ===== */
.style-nav { padding-block: 2rem 1rem; }
.style-nav .style-tags { margin-bottom: 0; }
.style-section { padding-block: clamp(3.5rem, 7vw, 5.5rem); scroll-margin-top: 110px; }
.style-section:focus { outline: none; }
.style-section__header { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 3.5rem; align-items: start; margin-bottom: 2.4rem; }
.style-section__title { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: .5rem; text-wrap: balance; }
.style-section__artist { font: 400 .95rem var(--sc); letter-spacing: .12em; color: var(--accent-hi); margin: 0; }
.section--charcoal .style-section__artist { color: var(--wine); }
.style-section__description { color: var(--muted); }
.style-section__description p:last-child { margin-bottom: 0; }
.style-section__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem; color: var(--muted); font-style: italic; margin: 0; }
@media (max-width: 768px) { .style-section__header { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .style-nav .style-tags { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-block: 2px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 40px), transparent); }
  .style-nav .style-tags::-webkit-scrollbar { display: none; }
  .style-nav .style-tag { flex: none; }
}

/* ===== Info box (logbook page card) ===== */
.info-box {
  --line: var(--parch-line); --muted: var(--ink-2); --focus: var(--wine);
  position: relative; color: var(--ink); padding: clamp(1.6rem, 4vw, 2.4rem);
  background: radial-gradient(130% 100% at 50% 50%, transparent 60%, rgba(175, 69, 60, .18)), var(--parch);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
}
.info-box::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(13, 36, 44, .25); pointer-events: none; }
.info-box__title { display: flex; align-items: center; justify-content: center; gap: .6rem; font: 400 1.8rem var(--sc); letter-spacing: .06em; margin-bottom: 1rem; color: var(--ink); }
.info-box__title svg { width: 22px; height: 22px; color: var(--brick); }
.info-box__list { list-style: none; padding: 0; display: grid; gap: .1rem; }
.info-box__list li { display: grid; grid-template-columns: minmax(6.5rem, auto) minmax(0, 1fr); overflow-wrap: anywhere; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--parch-line); }
.info-box__list li > :first-child { font: 400 .9rem/1.9 var(--sc); letter-spacing: .08em; color: var(--wine); }
.info-box a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brick); text-underline-offset: 3px; }
.info-box .btn--primary { width: 100%; margin-top: 1.2rem; }
.info-box .btn--outline { border-color: rgba(13, 36, 44, .4); color: var(--ink); }
.section--charcoal .info-box { box-shadow: 0 6px 18px rgba(13, 36, 44, .15); background: rgba(255, 255, 255, .35); }

/* ===== Services ===== */
.services-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); column-gap: 3rem; gap: 0; border-top: 2px solid var(--fg); }
.service-item { display: grid; grid-template-columns: auto 1fr; gap: 0 1.2rem; padding: 1.6rem .4rem; border-bottom: 1px solid var(--line); }
.service-item__icon { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--glass); border-radius: 50%; color: var(--glass); }
.service-item__icon svg { width: 22px; height: 22px; }
.service-item__title { font-size: 1.7rem; margin-bottom: .3rem; }
.service-item__description { color: var(--muted); margin: 0; }
.section--charcoal .services-list { border-color: var(--ink); }
.section--charcoal .service-item__icon { color: var(--brick); border-color: var(--brick); }

/* ===== Policy cards (book page) ===== */
.policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 2rem; border-top: 2px solid var(--fg); }
.policy-card { padding: 1.6rem .2rem; border-bottom: 1px solid var(--line); background: none !important; border-radius: 0 !important; }
.policy-card__title { font-size: 1.6rem; margin-bottom: .5rem; }
.policy-card p { color: var(--muted); }
.section--charcoal .policy-grid { border-color: var(--ink); }

/* ===== FAQ (ruled log entries) ===== */
.faq-list { max-width: 880px; margin: 0 auto; border-top: 2px solid currentColor; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1.4rem .2rem; background: none; border: 0; color: inherit; font: 400 1.45rem/1.25 var(--display); text-align: left; cursor: pointer; }
.faq-item__question:hover { color: var(--accent-hi); }
.section--charcoal .faq-item__question:hover { color: var(--brick); }
.faq-item__icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 400 1.3rem/1 var(--body); color: var(--glass); transition: transform var(--transition-fast); }
.section--charcoal .faq-item__icon { color: var(--brick); }
.faq-item--open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-normal); }
.faq-item--open .faq-item__answer { max-height: 900px; }
.faq-item__answer-inner { padding: 0 .2rem 1.6rem; color: var(--muted); max-width: 70ch; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 0; border-top: 2px solid currentColor; }
.contact-info__item { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: 1rem; padding: 1rem .2rem; border-bottom: 1px solid var(--line); }
.contact-info__label { font: 400 .92rem/1.9 var(--sc); letter-spacing: .1em; color: var(--muted); }
.contact-info__value { color: inherit; }
.map-container { position: relative; padding: 10px; border: 1px solid var(--line); background: var(--parch); box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
.map-container iframe { display: block; width: 100%; min-height: 380px; border: 0; filter: sepia(.35) saturate(.85) contrast(1.02); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Two-column & content blocks ===== */
.two-column { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .two-column { grid-template-columns: minmax(0, 1fr); } }
.two-column > *, .contact-grid > *, .artist-profile > * { min-width: 0; }
.content-block { max-width: 760px; margin-inline: auto; }
.content-block + .content-block { margin-top: 3rem; }
.content-block h2 { margin-bottom: 1rem; }
.content-block h3 { margin: 2rem 0 .7rem; }
.content-block p, .content-block li { color: var(--muted); }
.content-block ul, .content-block ol { margin: 0 0 1.2rem 1.2rem; display: grid; gap: .4rem; }
.content-block li::marker { color: var(--glass); }
.section--charcoal .content-block li::marker { color: var(--brick); }
.page-header + .section .content-block:first-child > p:first-of-type::first-letter { font: 400 3.6rem/.8 var(--display); float: left; margin: .35rem .5rem 0 0; color: var(--accent-hi); }
.page-header + .section.section--charcoal .content-block:first-child > p:first-of-type::first-letter { color: var(--brick); }
.artist-profile__main .content-block { max-width: none; }

/* ===== Artist profile pages ===== */
.artist-profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.artist-profile__sidebar { position: sticky; top: 120px; display: grid; gap: .6rem; justify-items: center; text-align: center; }
.artist-profile__image { width: 100%; aspect-ratio: 3 / 4; padding: 10px; border: 1px solid var(--line); border-radius: 999px 999px 14px 14px; position: relative; }
.artist-profile__image::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(100, 211, 188, .35); border-radius: inherit; pointer-events: none; }
.artist-profile__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 8px 8px; }
.artist-profile__name { font-size: clamp(2.4rem, 4vw, 3.2rem); margin-top: .8rem; }
.artist-profile__role { font: 400 1rem var(--sc); letter-spacing: .12em; color: var(--accent-hi); margin: 0; }
.artist-profile__social a { font-style: italic; }
.artist-profile__specialties { width: 100%; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.artist-profile__specialties h2 { font: 400 .95rem var(--sc); letter-spacing: .14em; color: var(--muted); margin-bottom: .7rem; }
.artist-profile__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.artist-profile__tag { font-size: .9rem; padding: .25rem .8rem; border: 1px solid var(--line); border-radius: 999px; }
.artist-profile__sidebar .btn { width: 100%; }
@media (max-width: 900px) { .artist-profile { grid-template-columns: 1fr; } .artist-profile__sidebar { position: static; max-width: 380px; margin: 0 auto; } }

/* ===== CTA ===== */
.cta { text-align: center; max-width: 760px; margin: 0 auto; }
.cta::before {
  content: ""; display: block; width: 120px; height: 120px; margin: 0 auto 1.2rem; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23f3b08b'%3E%3Ccircle cx='60' cy='60' r='57' stroke-width='.8'/%3E%3Ccircle cx='60' cy='60' r='52' stroke-width='.5' stroke-dasharray='1.5 3'/%3E%3Cpath fill='%23f3b08b' stroke='none' transform='translate(22 28) scale(.633)' d='M60 60C58.6 52 57.6 45 57.4 38.6 51.5 36.2 42 35.6 31.5 32.6 19.5 29.2 10.5 22.6 4.5 12.6c-.7-1.2.4-2.3 1.5-1.6C14 16.2 24.5 18.2 35 18.8c10 .6 18.6 3.6 25 9.8 6.4-6.2 15-9.2 25-9.8 10.5-.6 21-2.6 29-7.8 1.1-.7 2.2.4 1.5 1.6-6 10-15 16.6-27 20-10.5 3-20 3.6-25.9 6-.2 6.4-1.2 13.4-2.6 21.4z'/%3E%3Cg transform='translate(22 28) scale(.633)' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M30 65q6-4 12 0t12 0 12 0 12 0 12 0'/%3E%3Cpath d='M41 72q5-3 10 0t10 0 10 0 10 0'/%3E%3C/g%3E%3Ctext x='60' y='96' text-anchor='middle' fill='%23f3b08b' stroke='none' font-family='Georgia,serif' font-size='9' letter-spacing='2.4'%3EMMXXI%3C/text%3E%3C/svg%3E") center / contain no-repeat;
}
.section--charcoal .cta::before { filter: brightness(.55) sepia(1) hue-rotate(-20deg) saturate(2.5); }
.cta__title { font-size: clamp(2.6rem, 6.4vw, 5rem); margin-bottom: 1rem; }
.cta__description { color: var(--muted); max-width: 46ch; margin: 0 auto 2rem; }
.cta .btn + .btn { margin-left: .6rem; }

/* ===== Instagram feed ===== */
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; gap: clamp(.6rem, 1.6vw, 1.1rem); }
.ig-post { position: relative; display: block; border-radius: 10px; overflow: hidden; border: 1px solid rgba(13, 36, 44, .35); background: rgba(13, 36, 44, .08); }
.ig-post img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s; }
.ig-post:hover img { transform: scale(1.04); }
.ig-post:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ig-post__badge { position: absolute; top: .5rem; right: .5rem; padding: .15rem .55rem; border-radius: 999px; background: rgba(13, 36, 44, .78); color: var(--fg); font: 400 .8rem var(--sc); letter-spacing: .06em; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .ig-post img { transition: none; } }

/* ===== Footer: find us + directory ===== */
.footer__find { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.footer__find a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; font: 400 .98rem var(--sc); letter-spacing: .06em; color: var(--fg); }
.footer__find a:hover { border-color: var(--glass); }
.footer__find .stars { color: var(--peach); letter-spacing: .1em; }
.footer__dir { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.footer__dir h2 { margin: 0 0 .5rem; font: 400 1rem var(--sc); letter-spacing: .1em; color: var(--glass); }
.footer__dir ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .92rem; }
@media (max-width: 760px) { .footer__dir { grid-template-columns: 1fr; text-align: center; } .footer__dir ul { justify-content: center; } }

/* ===== Waves + footer ===== */
main > section:last-child { padding-bottom: calc(clamp(4.5rem, 9vw, 7rem) + 90px); }
.waves { position: relative; height: 120px; margin-top: -120px; pointer-events: none; overflow: hidden; }
.waves svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.waves .w1 { animation: wave-drift 26s linear infinite; opacity: .6; }
.waves .w2 { animation: wave-drift 18s linear infinite reverse; }
.waves .w3 { animation: wave-drift 34s linear infinite; }
@keyframes wave-drift { to { transform: translateX(-50%); } }
.waves .ship { position: absolute; left: 16%; bottom: 38px; width: 84px; height: 70px; color: var(--peach); opacity: .9; animation: ship-bob 6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes ship-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(5px) rotate(2deg); } }
.footer { background: var(--abyss); padding-block: 1.4rem calc(2.8rem + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .98rem; }
.footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.6rem 2rem; align-items: center; }
.footer__logo img { height: 84px; width: auto; margin: 0 auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font: 400 1rem var(--sc); letter-spacing: .08em; }
.footer__nav--right { justify-content: flex-end; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--fg); }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; }
.footer__bottom span { display: inline-flex; gap: .5rem; align-items: center; }
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__nav, .footer__nav--right { justify-content: center; }
  .footer__logo { order: -1; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer__bottom span { justify-content: center; }
  .waves .ship { left: 8%; width: 64px; height: 54px; }
}

/* ===== Mobile booking dock ===== */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(13, 36, 44, .97); border-top: 1px solid var(--line); }
  .dock .btn { min-height: 46px; padding-inline: 1rem; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== Open/closed status ===== */
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .5em; vertical-align: .12em; background: currentColor; opacity: .6; }
.is-open .status-dot { background: var(--glass); opacity: 1; box-shadow: 0 0 0 4px rgba(100, 211, 188, .18); }
.is-closed .status-dot { background: var(--accent); opacity: 1; }

/* ============================================================
   Homepage
   ============================================================ */
.home-hero { position: relative; text-align: center; padding-block: clamp(2rem, 4vw, 3rem) clamp(3.4rem, 6vw, 5rem); background: radial-gradient(90% 70% at 50% 0%, var(--sea), transparent 70%); }
.home-hero h1 { font-size: clamp(2.8rem, 5.4vw, 5rem); line-height: .98; margin: 0 auto 1rem; max-width: 18ch; }
.home-hero h1 .sc { display: block; font-size: .95rem; line-height: 1.6; margin-bottom: 1rem; }
.home-hero .lede { max-width: 40rem; margin: 0 auto; color: var(--muted); font-size: 1.15rem; }
.seal { position: absolute; right: max(24px, 6vw); top: clamp(1.6rem, 4vw, 3rem); width: 132px; height: 132px; color: var(--peach); opacity: .9; }
.seal .spin { transform-origin: 60px 60px; animation: seal-spin 60s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .seal { display: none; } }
.triptych { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(1rem, 3vw, 2.4rem); align-items: end; max-width: 880px; margin: clamp(2rem, 3.4vw, 2.8rem) auto 0; }
.cameo { margin: 0; display: grid; gap: .7rem; justify-items: center; }
.cameo.gallery-item, .section--charcoal .cameo.gallery-item { padding: 0; border: 0; border-radius: 0; overflow: visible; background: none; }
.cameo.gallery-item::after { display: none; }
.cameo .frame { position: relative; width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 999px 999px 14px 14px; overflow: hidden; }
.cameo .frame::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(100, 211, 188, .28); border-radius: inherit; pointer-events: none; }
.cameo img { width: 100%; aspect-ratio: 3 / 3.8; object-fit: cover; border-radius: 999px 999px 8px 8px; transition: transform .6s; }
.triptych .cameo:nth-child(2) img { aspect-ratio: 3 / 4; }
.cameo:hover img { transform: scale(1.03); }
.cameo figcaption { font: italic 400 1.25rem var(--display); }
.cameo figcaption .meta { display: block; font: 400 .92rem var(--sc); letter-spacing: .12em; color: var(--muted); font-style: normal; }
.cameo figcaption .no { display: block; font: 400 .82rem var(--sc); letter-spacing: .14em; color: var(--brick); font-style: normal; }
.section--charcoal .cameo .frame { border-color: rgba(13, 36, 44, .35); background: rgba(255, 255, 255, .18); }
.section--charcoal .cameo .frame::after { border-color: rgba(175, 69, 60, .4); }
.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 2.4rem; margin: 2.6rem auto 0; padding-block: 1rem; border-block: 1px solid var(--line); max-width: 900px; }
.facts > * { display: inline-flex; align-items: center; gap: .25rem; color: var(--muted); }
.facts b { font-weight: 500; color: var(--fg); }
.facts a { color: inherit; }
@media (max-width: 760px) { .triptych { grid-template-columns: 1fr 1fr; } .triptych .cameo:nth-child(2) { grid-column: 1 / -1; grid-row: 1; max-width: 340px; margin-inline: auto; } }

.margin-note { position: absolute; top: clamp(2.6rem, 5vw, 4.2rem); left: max(48px, 5vw); font: italic 400 1.15rem var(--display); color: var(--wine); opacity: .8; transform: rotate(-4deg); }
@media (max-width: 900px) { .margin-note { display: none; } }
.filters { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.filters button { min-height: 44px; padding: 0 1.15rem; border-radius: 999px; background: none; border: 1px solid var(--line); color: var(--muted); font: 400 1rem var(--sc); letter-spacing: .08em; cursor: pointer; }
.section--charcoal .filters button { border-color: rgba(13, 36, 44, .3); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--parch); border-color: var(--ink); }
.cabinet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem) clamp(1rem, 2.4vw, 2rem); }
@media (max-width: 1000px) { .cabinet { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cabinet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section-foot { text-align: center; margin-top: 2.6rem; display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }

.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); }
@media (max-width: 1000px) { .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.6rem; } }
@media (max-width: 560px) { .crew { grid-template-columns: 1fr; } }

.voyage-log { max-width: 920px; margin: 0 auto; border-top: 2px solid var(--ink); }
.voyage-log .row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 1.4rem; align-items: baseline; padding: 1.5rem .4rem; border-bottom: 1px solid var(--parch-line); }
.voyage-log .n { font: italic 400 2.6rem/1 var(--display); color: var(--brick); }
.voyage-log h3 { font-size: 1.9rem; }
.voyage-log p { color: var(--ink-2); margin: .2rem 0 0; max-width: 52ch; }
.voyage-log .cost { font: 400 1rem var(--sc); letter-spacing: .1em; color: var(--wine); text-align: right; white-space: nowrap; }
.voyage-log .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 1rem .4rem; border-bottom: 3px double var(--ink); font-size: .98rem; color: var(--ink-2); }
@media (max-width: 640px) { .voyage-log .row { grid-template-columns: 52px minmax(0, 1fr); } .voyage-log .cost { grid-column: 2; text-align: left; white-space: normal; } .voyage-log .n { font-size: 2rem; } }

.visit-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1080px; margin: 0 auto; }
.visit-wrap h2 { margin: .8rem 0 1rem; }
.visit-wrap .story p { color: var(--muted); max-width: 52ch; }
.visit-wrap .story::before { content: ""; display: block; width: 104px; height: 66px; background: var(--glass); -webkit-mask: var(--fluke) left center / contain no-repeat; mask: var(--fluke) left center / contain no-repeat; margin-bottom: .9rem; }
.visit-map { display: block; width: 100%; height: auto; margin: .2rem 0 1rem; color: var(--ink); }
@media (max-width: 860px) { .visit-wrap { grid-template-columns: 1fr; } }
.trust-line { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.8rem; margin-top: 2.2rem; font: 400 .95rem var(--sc); letter-spacing: .1em; color: var(--muted); }
.trust-line span::before { content: "✦"; color: var(--glass); margin-right: .6rem; font-size: .7em; vertical-align: .15em; }

/* ===== Scroll reveal (class added by js/main.js; content visible without JS) ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ===== Page-specific components restyled (page <style> blocks load later, so these use main for specificity) ===== */
main .do-dont-grid { gap: 2.4rem; }
main .do-list, main .dont-list { background: none; border: 0; border-top: 2px solid currentColor; border-radius: 0; padding: 1.2rem .2rem; }
main .do-list h3, main .do-list h4, main .do-list strong:first-child { color: var(--glass); }
main .dont-list h3, main .dont-list h4, main .dont-list strong:first-child { color: var(--accent-hi); }
main .section--charcoal .do-list h3, main .section--charcoal .do-list h4 { color: #0c7778; }
main .section--charcoal .dont-list h3, main .section--charcoal .dont-list h4 { color: var(--brick); }
main .do-list li, main .dont-list li { color: var(--muted); }
main .warning-box { background: none; border: 1px solid var(--line); border-radius: 0; outline: 1px solid var(--line); outline-offset: 5px; padding: 1.4rem 1.6rem; margin: 2.4rem 0; }
main .warning-box__title { font: 400 1rem var(--sc); letter-spacing: .12em; color: var(--accent-hi); }
main .section--charcoal .warning-box__title { color: var(--brick); }
main .booking-option { background: none; border: 1px solid var(--line); border-radius: 999px 999px 14px 14px; padding: 2.6rem 1.4rem 1.8rem; position: relative; }
main .booking-option::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(100, 211, 188, .28); border-radius: inherit; pointer-events: none; }
main .booking-option__icon { width: 52px; height: 52px; margin-inline: auto; display: grid; place-items: center; border: 1px solid var(--glass); border-radius: 50%; color: var(--glass); }
main .booking-option__title { font-size: 1.6rem; }
main .booking-option__description { color: var(--muted); }
main .booking-widget { background: var(--parch); border: 0; padding: 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
main .timeline-item__day { font: italic 400 1.8rem var(--display); color: var(--accent-hi); }
main .section--charcoal .timeline-item__day { color: var(--brick); }
.style-section__more { font: 400 1.05rem var(--sc); letter-spacing: .06em; color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.section--charcoal .style-section__more { color: var(--brick); }
