/* Eartha Horizon — review page
   Fonts are self-hosted (no requests to Google Fonts). */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/urbanist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/urbanist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  --cream: #f4ede5;
  --cream-2: #e6dbce;
  --paper: #f7f2ec;
  --ink: #1d1a17;
  --ink-2: #3d3833;
  --muted: #5d564c;
  --taupe-deep: #6b6357;
  --night: #16130f;
  --on-photo-soft: rgba(244, 237, 229, 0.84);
  --font-display: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
  --spring: cubic-bezier(0.3, 1.7, 0.5, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--taupe-deep);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  z-index: 200;
  left: 12px;
  top: -80px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Review page ---------- */

.page--review {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--night);
  color: var(--cream);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--night);
}
.backdrop__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform-origin: 50% 40%;
  animation: kenburns 26s var(--ease-out) both;
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 12, 10, 0.58) 0%, rgba(14, 12, 10, 0.48) 42%, rgba(14, 12, 10, 0.84) 100%);
}

.shell {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: max(16px, env(safe-area-inset-top)) clamp(20px, 3vw, 40px) max(20px, env(safe-area-inset-bottom));
}
@media (min-width: 900px) {
  .shell {
    padding-top: 28px;
  }
}

.topbar {
  display: flex;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(244, 237, 229, 0.42);
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.pill-link svg {
  transition: transform 0.4s var(--ease-out);
}
@media (hover: hover) {
  .pill-link:hover {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--ink);
  }
  .pill-link:hover svg {
    transform: translateX(-4px);
  }
}
.pill-link:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
  background: var(--cream);
  color: var(--ink);
}

.hero {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: clamp(240px, 24vw, 340px);
  height: auto;
  margin-top: 28px;
}
@media (min-width: 900px) {
  .logo {
    margin-top: 4px;
  }
}

.headline {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
  text-wrap: balance;
}
.headline .w {
  display: inline-block;
}

.lede {
  max-width: 35rem;
  margin: 18px 0 0;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.55;
  text-align: center;
  text-wrap: pretty;
  color: var(--on-photo-soft);
}

.columns {
  width: 100%;
  margin-top: clamp(52px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .columns {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    gap: 52px;
  }
}

.column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 600px) {
  .column {
    gap: 12px;
  }
}

.column__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.875rem, 1.5rem + 1vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
}

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

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 12px 22px 12px 12px;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 22px -14px rgba(0, 0, 0, 0.7);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), color 0.3s ease 0.05s;
}
/* Fill that sweeps in from the left */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--taupe-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s var(--ease-in-out);
}
/* Soft glint that crosses the button */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 32%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 0.85s var(--ease-out) 0.1s;
}

.btn__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cream-2);
  color: var(--ink);
  transition: transform 0.6s var(--spring), background-color 0.3s ease;
}
.btn__label {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.btn__main {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
}
.btn__sub {
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--muted);
  transition: color 0.3s ease;
  overflow-wrap: anywhere;
}
.btn__arrow {
  flex: none;
  opacity: 0.5;
  transition: transform 0.45s var(--ease-out), opacity 0.3s ease;
}
.btn__stars {
  display: flex;
  gap: 3px;
  margin-top: 2px;
  color: #a89b88;
}
.btn__star {
  transition: transform 0.4s var(--spring), color 0.3s ease;
}
.btn__ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  transform: scale(0);
  pointer-events: none;
  animation: ripple 0.65s var(--ease-out) forwards;
}

/* Primary: Google review */
.btn--primary {
  min-height: 88px;
  padding: 14px 24px 14px 14px;
}
.btn--primary .btn__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
.btn--primary .btn__main {
  font-size: 1.1875rem;
  font-weight: 600;
}
.btn--primary::after {
  animation: glint 7s ease-in-out 2.6s infinite;
}

/* Hover (mouse / trackpad) and keyboard focus */
@media (hover: hover) {
  .btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 22px 40px -18px rgba(0, 0, 0, 0.85);
  }
  .btn:hover::before {
    transform: scaleX(1);
  }
  .btn:hover::after {
    left: 130%;
  }
  .btn:hover .btn__icon {
    transform: rotate(-8deg) scale(1.08);
    background: var(--cream);
  }
  .btn:hover .btn__sub {
    color: rgba(255, 255, 255, 0.82);
  }
  .btn:hover .btn__arrow {
    transform: translate(3px, -3px);
    opacity: 1;
  }
  .btn:hover .btn__star {
    color: var(--cream);
    transform: scale(1.18);
  }
}
.btn:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
  color: #fff;
  transform: translateY(-3px);
}
.btn:focus-visible::before {
  transform: scaleX(1);
}
.btn:focus-visible .btn__icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--cream);
}
.btn:focus-visible .btn__sub {
  color: rgba(255, 255, 255, 0.82);
}
.btn:focus-visible .btn__arrow {
  transform: translate(3px, -3px);
  opacity: 1;
}
.btn:focus-visible .btn__star {
  color: var(--cream);
  transform: scale(1.18);
}
.btn__star:nth-child(2) { transition-delay: 0.06s; }
.btn__star:nth-child(3) { transition-delay: 0.12s; }
.btn__star:nth-child(4) { transition-delay: 0.18s; }
.btn__star:nth-child(5) { transition-delay: 0.24s; }

/* Press (all devices) */
.btn:active {
  color: #fff;
  transform: translateY(-1px) scale(0.985);
  transition-duration: 0.12s, 0.12s, 0.15s;
}
.btn:active::before {
  transform: scaleX(1);
  transition-duration: 0.3s;
}
.btn:active .btn__sub {
  color: rgba(255, 255, 255, 0.82);
}
.btn:active .btn__icon {
  transform: scale(0.94);
  background: var(--cream);
}

@media (max-width: 600px) {
  .btn {
    gap: 14px;
    min-height: 64px;
    padding: 10px 18px 10px 10px;
  }
  .btn__main {
    font-size: 1rem;
  }
  .btn__sub {
    font-size: 0.8125rem;
  }
  .btn--primary {
    min-height: 80px;
    padding: 12px 18px 12px 12px;
  }
  .btn--primary .btn__icon {
    width: 52px;
    height: 52px;
  }
  .btn--primary .btn__main {
    font-size: 1.125rem;
  }
}

/* ---------- Booking.com / Airbnb reminder (deliberately not a button) ---------- */

.note {
  margin: 0;
  padding: 20px 22px;
  border: 1px solid rgba(244, 237, 229, 0.28);
  border-radius: var(--radius);
  background: rgba(20, 17, 14, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.note__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.note__icon {
  flex: none;
  margin-top: 2px;
  color: #d8ccbc;
}
.note__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}
.note__text {
  margin: 6px 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(244, 237, 229, 0.82);
}
.note__list {
  margin: 0 0 0 36px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.note__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.note__list svg {
  color: #d8ccbc;
}
@media (max-width: 600px) {
  .note {
    padding: 18px;
  }
  .note__head {
    gap: 12px;
  }
  .note__list {
    margin-left: 32px;
  }
}

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

.site-footer {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 22px;
  font-size: 0.8125rem;
  text-align: center;
  color: rgba(244, 237, 229, 0.72);
}
.site-footer .link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.link {
  color: rgba(244, 237, 229, 0.86);
  text-decoration: underline;
  text-decoration-color: rgba(244, 237, 229, 0.4);
  text-underline-offset: 3px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
@media (hover: hover) {
  .link:hover {
    color: #fff;
    text-decoration-color: #fff;
  }
}
.link:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
  border-radius: 2px;
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

/* ---------- Entrance animations ----------
   main.js adds .is-in as elements come into view. Without JavaScript nothing
   is hidden; if main.js fails to load, the failsafe shows everything after 2.5s. */

.js .reveal,
.js .reveal--words .w {
  opacity: 0;
  animation: failsafe 0.6s ease 2.5s forwards;
}
.js .reveal.is-in {
  animation: rise 0.9s var(--ease-out) var(--delay, 0ms) both;
}
.js .reveal.reveal--words,
.js .reveal.reveal--words.is-in {
  opacity: 1;
  animation: none;
}
.js .reveal--words.is-in .w {
  animation: word 0.9s var(--ease-out) var(--delay, 0ms) both;
}
.js .reveal--words.is-in .w:nth-child(2) { animation-delay: calc(var(--delay, 0ms) + 70ms); }
.js .reveal--words.is-in .w:nth-child(3) { animation-delay: calc(var(--delay, 0ms) + 140ms); }
.js .reveal--words.is-in .w:nth-child(4) { animation-delay: calc(var(--delay, 0ms) + 210ms); }
.js .reveal--words.is-in .w:nth-child(5) { animation-delay: calc(var(--delay, 0ms) + 280ms); }
.js .reveal--words.is-in .w:nth-child(6) { animation-delay: calc(var(--delay, 0ms) + 350ms); }
.js .reveal--words.is-in .w:nth-child(7) { animation-delay: calc(var(--delay, 0ms) + 420ms); }
.js .reveal--words.is-in .w:nth-child(8) { animation-delay: calc(var(--delay, 0ms) + 490ms); }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes word {
  from { opacity: 0; transform: translateY(0.45em); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes failsafe {
  to { opacity: 1; }
}
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
@keyframes glint {
  0% { left: -45%; }
  16%, 100% { left: 130%; }
}
@keyframes ripple {
  to { transform: scale(1); opacity: 0; }
}

/* ---------- Consent banner & cookie settings ---------- */

.cc-banner {
  position: fixed;
  z-index: 100;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 440px;
  padding: 22px 20px 10px;
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(29, 26, 23, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-body);
  animation: cc-in 0.7s var(--ease-out) 0.6s both;
}
@media (min-width: 600px) {
  .cc-banner {
    left: 24px;
    right: auto;
    bottom: 24px;
    width: 420px;
  }
}
.cc-banner.is-leaving {
  animation: cc-out 0.28s ease-in forwards;
}

.cc-head,
.cc-dhead {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cc-dhead {
  justify-content: space-between;
}
.cc-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cream-2);
  display: grid;
  place-items: center;
}
.cc-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3125rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cc-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.cc-actions {
  display: flex;
  gap: 10px;
}
/* Reject and Accept share one style on purpose: refusing is as easy as agreeing. */
.cc-btn {
  flex: 1;
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  font: 600 1rem/1.2 var(--font-body);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease;
}
@media (hover: hover) {
  .cc-btn:hover {
    background: var(--taupe-deep);
    transform: translateY(-2px);
  }
}
.cc-btn:active {
  transform: scale(0.97);
}
.cc-btn:focus-visible,
.cc-ghost:focus-visible,
.cc-x:focus-visible,
.cc-link:focus-visible {
  outline: 3px solid var(--taupe-deep);
  outline-offset: 3px;
}
.cc-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 0.875rem;
}
.cc-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(29, 26, 23, 0.4);
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (hover: hover) {
  .cc-link:hover {
    color: var(--taupe-deep);
  }
}

.cc-dialog {
  width: min(480px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 20px 20px 8px;
  border: 0;
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.cc-dialog[open] {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cc-in 0.45s var(--ease-out) both;
}
.cc-dialog::backdrop {
  background: rgba(14, 12, 10, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
@media (max-width: 599px) {
  .cc-dialog {
    margin: auto auto 12px;
  }
}
.cc-x {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), background-color 0.3s ease;
}
@media (hover: hover) {
  .cc-x:hover {
    transform: rotate(90deg);
    background: #d9ccbc;
  }
}
.cc-opt {
  padding: 16px;
  border-radius: 16px;
  background: #ebe2d7;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cc-opt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cc-opt-head label {
  font-size: 1rem;
  font-weight: 600;
}
.cc-opt-text {
  margin: 0;
  font-size: 0.84375rem;
  line-height: 1.5;
  color: #4a443d;
}
.cc-switch {
  position: relative;
  flex: none;
  width: 52px;
  height: 30px;
}
.cc-switch input {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cc-switch input:disabled {
  cursor: not-allowed;
}
.cc-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #7d7467;
  transition: background-color 0.3s ease;
}
.cc-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--spring);
}
.cc-switch input:checked + .cc-track {
  background: var(--ink);
}
.cc-switch input:checked + .cc-track::after {
  transform: translateX(22px);
}
.cc-switch input:disabled + .cc-track {
  background: var(--taupe-deep);
}
.cc-switch input:focus-visible + .cc-track {
  outline: 3px solid var(--taupe-deep);
  outline-offset: 3px;
}
.cc-ghost {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  font: 600 1rem/1.2 var(--font-body);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
@media (hover: hover) {
  .cc-ghost:hover {
    background: var(--ink);
    color: var(--cream);
  }
}
.cc-policy {
  align-self: center;
  font-size: 0.875rem;
}

@keyframes cc-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes cc-out {
  to { opacity: 0; transform: translateY(24px); }
}

/* ---------- Privacy policy page ---------- */

.page--privacy {
  background: var(--paper);
  color: var(--ink);
}

.doc-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
}
.doc-header__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.doc-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(14, 12, 10, 0.66);
}
.doc-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px clamp(20px, 3vw, 32px) 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.doc-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.doc-header__logo {
  width: 150px;
  height: auto;
}
.doc-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.doc-meta {
  margin: 12px 0 0;
  color: rgba(244, 237, 229, 0.8);
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px clamp(20px, 3vw, 32px) 80px;
}
.doc > * + * {
  margin-top: 44px;
}
.doc h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.doc h3 {
  margin: 22px 0 8px;
  font-size: 1.0625rem;
  font-weight: 600;
}
.doc p,
.doc li {
  font-size: 1.03125rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.doc p {
  margin: 0 0 12px;
}
.doc ul {
  margin: 0 0 12px;
  padding-left: 22px;
}
.doc a {
  color: #5a5248;
  text-underline-offset: 3px;
}
.doc a:hover {
  color: var(--ink);
}
.doc a:focus-visible {
  outline: 2px solid var(--taupe-deep);
  outline-offset: 2px;
  border-radius: 2px;
}
.doc-summary {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #ece3d8;
}
.doc-summary h2 {
  font-size: 1.25rem;
}
.doc-summary ul {
  margin: 0;
}
.doc-table-wrap {
  overflow-x: auto;
  margin: 8px 0 16px;
}
.doc-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.doc-table th {
  padding: 10px 12px;
  border-bottom: 1.5px solid var(--ink);
  text-align: left;
  font-weight: 600;
}
.doc-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd2c4;
  vertical-align: top;
  color: var(--ink-2);
}
.doc-table code {
  font-size: 0.875rem;
}
.btn-dark {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  font: 600 0.9375rem/1.2 var(--font-body);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease;
}
@media (hover: hover) {
  .btn-dark:hover {
    background: var(--taupe-deep);
    transform: translateY(-2px);
  }
}
.btn-dark:focus-visible {
  outline: 3px solid var(--taupe-deep);
  outline-offset: 3px;
}

.doc-footer {
  padding: 24px;
  border-top: 1px solid #ddd2c4;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--muted);
}

/* ---------- Small screens ---------- */

@media (max-width: 600px) {
  .backdrop__img {
    object-position: 60% 50%;
  }
  .backdrop::after {
    background: linear-gradient(180deg, rgba(14, 12, 10, 0.6) 0%, rgba(14, 12, 10, 0.55) 40%, rgba(14, 12, 10, 0.86) 100%);
  }
  .site-footer {
    flex-direction: column;
    gap: 0;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
  }
  .backdrop__img,
  .btn--primary::after {
    animation: none !important;
  }
  .btn:hover,
  .btn:focus-visible,
  .btn:active {
    transform: none !important;
  }
}
