/* Shared colours, navigation and booking */
:root {
  --petrol: #172b2b;
  --dark-teal: #214646;
  --jade: #42776e;
  --sea-glass: #9ec5b5;
  --mist: #d4e2d8;
  --ivory: #f2efe4;
  --honey: #e7c581;
  --ground: var(--petrol);
  --surface: #1c3534;
  --raised: #294341;
  --line: #405653;
  --text: var(--ivory);
  --muted: #c2d0c9;
  --faint: #a9bcb5;
  --accent: var(--sea-glass);
  --cobalt: var(--sea-glass);
  --cobalt-ink: var(--petrol);
  --oxblood: var(--dark-teal);
  --oxblood-ink: var(--ivory);
  --cream: var(--ivory);
  --cream-ink: var(--petrol);
  --display: "Instrument Sans", "Geist", Arial, sans-serif;
  --body: "Geist", Arial, sans-serif;
  color-scheme: dark;
  --r-lg: 20px;
  --wrap: 1328px;
}
body { background-color: var(--ground); }
::selection { background: var(--mist); color: var(--petrol); }
.wrap { padding-inline: clamp(20px, 4.5vw, 68px); }
h1, h2 { font-weight: 550; }
.dim { color: var(--sea-glass); }
.btn { font-weight: 600; }
.btn--primary { background: var(--sea-glass); color: var(--petrol); }
.btn--primary:hover { background: var(--mist); }
.btn--ghost { background: transparent; border-color: #68847c; }
.btn--ghost:hover { background: var(--raised); }
.nav { background: #172b2bf5; border-block-end: 1px solid var(--line); }
.nav-in { height: 76px; }
.brand { gap: 9px; font-family: var(--body); font-size: 1.42rem; font-weight: 650; letter-spacing: -.065em; color: var(--text); line-height: 1; }
.brand-icon { width: 37px; height: 37px; display: block; }
.nav-links { color: #d4e2d8; font-weight: 500; gap: clamp(17px,2.5vw,38px); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--sea-glass); text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { height: 40px; padding-inline: 18px; border: 1px solid #63817c; background: transparent; color: var(--text); }
.nav .btn::after { content: ""; width: 10px; height: 10px; background: var(--sea-glass); clip-path: polygon(15% 3%, 100% 3%, 100% 88%, 84% 88%, 84% 30%, 12% 100%, 0 88%, 70% 18%, 15% 18%); }
.nav .btn:hover { background: var(--raised); border-color: var(--sea-glass); }
.nav-toggle { position: relative; font-size: 0; }
.nav-toggle::before, .nav-toggle::after { content: ""; position: absolute; width: 16px; height: 1.5px; background: currentColor; transition: transform .2s; }
.nav-toggle::before { transform: translateY(-3px); }
.nav-toggle::after { transform: translateY(3px); }
.nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
.skip-link { position: fixed; opacity: 0; pointer-events: none; transform: translateY(-140%); z-index: 100; top: 6px; left: 16px; background: var(--sea-glass); color: var(--petrol); padding: 9px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { opacity: 1; pointer-events: auto; transform: none; }
#start { padding-block: clamp(48px,7vw,104px) !important; }
.book { border-color: var(--line); border-radius: 22px; }
.book-copy {
  isolation: isolate; overflow: hidden; color: var(--petrol);
  padding-bottom: clamp(90px, 8vw, 120px);
  background: var(--ivory) url("/assets/ivory-folio.webp") right bottom / cover no-repeat;
}
.book-copy h2 { max-width: 9.5em; font: 400 clamp(2.65rem,4.4vw,4.4rem)/1.02 Georgia,serif; letter-spacing: -.055em; }
.book-copy h2 .dim { color: #315e56; font-style: italic; }
.book-copy > p { color: #314d47; }
.book-list li::before { border-color: var(--jade); }
.book-form { background: var(--surface); }
.field input[type=text], .field input[type=email], .field select, .opt label { background-color: #152a29; border-color: #536e67; }
.opt input:checked + label { background: var(--sea-glass); border-color: var(--sea-glass); color: var(--cobalt-ink); }
.field input:focus, .field select:focus { border-color: var(--sea-glass); box-shadow: 0 0 0 3px #9ec5b528; }
.foot { background: #112423; color: var(--text); padding: 62px 0 30px; }
.foot .brand { color: var(--text); }
.foot p, .foot ul { color: var(--muted); }
.foot h4 { color: var(--sea-glass); }
.foot a:hover { color: var(--sea-glass); }
.foot-base { color: var(--faint); border-color: var(--line); align-items: center; }
.foot-credit { display: inline-block; color: var(--mist); font: 500 .875rem var(--body); }
.foot-credit b { text-decoration: underline; text-decoration-color: #8ea99e; text-underline-offset: 4px; }
:focus-visible { outline-color: var(--sea-glass); }
@media (max-width: 760px) {
  .nav-in { height: 62px; gap: 8px; }
  .brand { font-size: 1.18rem; gap: 7px; }
  .brand-icon { width: 31px; height: 31px; }
  .nav-links { top: 62px; padding: 9px 20px 15px; }
  .nav-right .btn { display: inline-flex; font-size: .77rem; height: 36px; padding-inline: 13px; }
  .foot { padding-block: 42px 26px; }
  .foot-grid { grid-template-columns: .75fr 1.25fr; gap: 25px 18px; }
  .foot-base { flex-direction: column; align-items: flex-start; margin-top: 30px; gap: 15px; }
}

.nav-right { display: flex; align-items: center; gap: 8px; }
.book-form [hidden] { display: none; }
.book-form noscript a, .form-error a { text-decoration: underline; text-underline-offset: 3px; }
.form-error { margin-block: 14px 0; padding: 10px 12px; border-left: 2px solid #e2ad94; color: #ffddcf; }
#top:focus, .form-success:focus { outline: none; }
@media (max-width: 760px) {
  .nav nav { position: absolute; inset: 100% 0 auto; }
  .nav-links { top: 0; }
  .nav:not(.menu-ready) .nav-in { flex-wrap: wrap; height: auto; min-height: 62px; padding-block: 10px; }
  .nav:not(.menu-ready) nav { order: 1; position: static; width: 100%; }
  .nav:not(.menu-ready) .nav-links { position: static; display: flex; flex-direction: row; flex-wrap: wrap; padding: 0; gap: 4px 14px; }
  .nav:not(.menu-ready) .nav-links a { font-size: .83rem; padding-block: 6px; }
  .nav:not(.menu-ready) .nav-toggle { display: none; }
}
@media (max-width: 360px) {
  .nav-in { padding-inline: 14px; }
  .nav-right { gap: 5px; }
  .nav-right .btn { padding-inline: 10px; }
  .nav .btn::after { display: none; }
  .nav .brand { font-size: 1.08rem; }
}
