
/* Fonts are loaded from dedicated stylesheets so this bundle stays render-critical only. */

/* ─────────────────────────────────────────
   RESET & VARS
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

img,
svg,
video,
canvas {
  max-width: 100%;
}

img,
video,
canvas {
  height: auto;
}

iframe {
  max-width: 100%;
}

:root {
  --parchment:  #F6F1E9;
  --parchment2: #EEE7D8;
  --parchment3: #E4D9C5;
  --deep:       #18302D;
  --deep2:      #254843;
  --deep3:      #3D6E68;
  --accent3:    #B86B42;
  --accent3-rgb: 184, 107, 66;
  --cta-primary-bg: var(--accent3);
  --cta-primary-bg-hover: rgba(var(--accent3-rgb), 0.88);
  --cta-primary-border: rgba(var(--accent3-rgb), 0.42);
  --cta-primary-border-hover: rgba(var(--accent3-rgb), 0.56);
  --cta-primary-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 24px rgba(15, 28, 26, 0.12);
  --cta-primary-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 28px rgba(15, 28, 26, 0.18);
  --ink:        #0F1C1A;
  --mid:        #4A5E5A;
  --lt:         #8AA09C;
  --sidebar-w:  68px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: 'Jost', sans-serif;
  background: var(--parchment);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

/* Fine grain overlay */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.038'/%3E%3C/svg%3E");
  background-size: 220px; mix-blend-mode: multiply;
}

/* Reading progress bar (used on long pages) */
#progress-bar {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  z-index: 1000;
  height: 2px;
  background: transparent;
}

#progress-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: var(--accent3);
  transition: width 0.1s linear;
}

/* ─────────────────────────────────────────
   CURSOR — minimal dot only
───────────────────────────────────────── */
#cur {
  position: fixed;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent3);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--transition), width 0.25s, height 0.25s, background 0.3s;
  will-change: left, top;
}
#cur.hovering {
  width: 14px; height: 14px;
  background: var(--deep);
}

/* ─────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────── */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--deep);
  z-index: 800;
  display: flex; flex-direction: column; align-items: center;
  padding: 36px 0;
  border-right: 1px solid rgba(255,255,255,0.04);
}

/* Subtle vertical gradient */
.sidebar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(61,110,104,0.15) 0%, transparent 50%, rgba(61,110,104,0.08) 100%);
  pointer-events: none;
}

.sb-logo {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'Cormorant', serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(246,241,233,0.78);
  margin-bottom: auto;
  text-transform: uppercase;
  position: relative; z-index: 1;
  user-select: none;
}

.sb-divider {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.07), transparent);
  position: relative; z-index: 1;
}

.sb-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 14px 0 12px;
  position: relative;
  z-index: 2;
}

.sb-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(246, 241, 233, 0.42);
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  cursor: none;
}

.sb-share-btn:hover,
.sb-share.is-open .sb-share-btn {
  color: var(--accent3);
  border-color: rgba(var(--accent3-rgb), 0.4);
  background: rgba(var(--accent3-rgb), 0.08);
  transform: translateY(-1px);
}

.sb-share-btn:focus-visible {
  outline: 1px solid rgba(var(--accent3-rgb), 0.75);
  outline-offset: 2px;
}

.sb-share-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

.sb-share-menu {
  position: absolute;
  left: calc(100% + 12px);
  bottom: -8px;
  min-width: 176px;
  padding: 8px;
  border: 1px solid rgba(var(--accent3-rgb), 0.2);
  background: rgba(24, 48, 45, 0.96);
  box-shadow: 0 16px 28px rgba(7, 13, 12, 0.32);
  display: none;
  flex-direction: column;
  gap: 2px;
}

.sb-share.is-open .sb-share-menu {
  display: flex;
}

.sb-share-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 7px 9px;
  border: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.8);
  transition: color 0.2s ease, background 0.2s ease;
  cursor: none;
}

.sb-share-link:hover {
  color: var(--accent3);
  background: rgba(246, 241, 233, 0.05);
}

.sb-share-link:focus-visible {
  outline: 1px solid rgba(var(--accent3-rgb), 0.66);
  outline-offset: -1px;
  color: var(--accent3);
  background: rgba(246, 241, 233, 0.06);
}

.sb-share-copy.is-copied {
  color: var(--accent3);
}

.sb-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative; z-index: 1;
}
.sb-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(246, 241, 233, 0.42);
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  cursor: none;
}
.sb-social a:hover {
  color: var(--accent3);
  border-color: rgba(var(--accent3-rgb), 0.4);
  background: rgba(var(--accent3-rgb), 0.08);
  transform: translateY(-1px);
}

.sb-social svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* ─────────────────────────────────────────
   MAIN
───────────────────────────────────────── */
.main { margin-left: var(--sidebar-w); }

@supports (content-visibility: auto) {
  .about,
  .services,
  .events,
  .books,
  .contact,
  footer {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }
}

/* ─────────────────────────────────────────
   TOPBAR
───────────────────────────────────────── */
.topbar {
  position: fixed; left: var(--sidebar-w); right: 0; top: 0;
  z-index: 700; height: 58px;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0 56px 0 14px; gap: 24px;
  background: rgba(246,241,233,0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid rgba(15,28,26,0.06);
}
.topbar-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  transition: transform 0.25s ease, filter 0.25s ease;
  cursor: none;
}
.topbar-home:hover,
.topbar-home:focus-visible {
  filter: saturate(1.04) brightness(1.04);
  transform: translateY(-1px);
}
.topbar-home:focus-visible {
  outline: 1px solid rgba(var(--accent3-rgb), 0.5);
  outline-offset: 2px;
}
.topbar-home img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.topbar-mobile-bar {
  display: none;
}
.topbar-mobile-home {
  display: none;
}
.topbar-toggle {
  display: none;
}
.topbar-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: auto;
}
.topbar-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.topbar-links > li {
  position: relative;
  list-style: none;
}
.topbar-links a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: rgba(24, 48, 45, 0.82);
  text-decoration: none;
  position: relative; padding-bottom: 1px;
  transition: color 0.2s;
  cursor: none;
}
.topbar-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--accent3);
  transition: width 0.3s var(--transition);
}
.topbar-links a:hover { color: var(--deep); }
.topbar-links a:hover::after { width: 100%; }

.topbar-item-has-menu:hover .topbar-submenu,
.topbar-item-has-menu:focus-within .topbar-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.topbar-subtoggle {
  display: none;
}
.topbar-mobile-utility {
  display: none;
}

.topbar-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 250px;
  padding: 14px 0 10px;
  list-style: none;
  background: rgba(246,241,233,0.96);
  border: 1px solid rgba(15,28,26,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 42px rgba(15,28,26,0.12);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.topbar-submenu li {
  list-style: none;
}

.topbar .topbar-submenu a {
  display: block;
  padding: 10px 18px;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep2);
  white-space: nowrap;
  cursor: none;
}

.topbar .topbar-submenu a::after {
  display: none;
}

.topbar .topbar-submenu a:hover {
  color: var(--accent3);
  background: rgba(var(--accent3-rgb), 0.06);
}

.topbar-cta {
  display: flex;
  align-items: center;
  background: var(--cta-primary-bg);
  color: var(--parchment);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 9px 24px;
  border: 1px solid var(--cta-primary-border);
  box-shadow: var(--cta-primary-shadow);
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: none;
}
.topbar-cta:hover {
  background: var(--cta-primary-bg-hover);
  color: var(--parchment);
  border-color: var(--cta-primary-border-hover);
  box-shadow: var(--cta-primary-shadow-hover);
}

/* ─────────────────────────────────────────
   SHARED TEXT ACCENT
───────────────────────────────────────── */
.text-accent {
  color: var(--accent3);
}

/* ─────────────────────────────────────────
   SHARED ARROW LINK
───────────────────────────────────────── */
.link-arrow,
.link-arrow-left {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 8px;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.25s ease, background-size 0.25s ease;
}

.link-arrow::after {
  content: '→';
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.link-arrow-left::before {
  content: '←';
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.link-arrow:hover,
.link-arrow:focus-visible,
.link-arrow-left:hover,
.link-arrow-left:focus-visible,
.link-arrow-parent:hover .link-arrow,
.link-arrow-parent:focus-visible .link-arrow,
.link-arrow-parent:hover .link-arrow-left,
.link-arrow-parent:focus-visible .link-arrow-left {
  background-size: 100% 1px;
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after,
.link-arrow-parent:hover .link-arrow::after,
.link-arrow-parent:focus-visible .link-arrow::after {
  transform: translateX(2px);
}

.link-arrow-left:hover::before,
.link-arrow-left:focus-visible::before,
.link-arrow-parent:hover .link-arrow-left::before,
.link-arrow-parent:focus-visible .link-arrow-left::before {
  transform: translateX(-2px);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  --ft-accent: rgba(196, 168, 132, 0.9);
  --ft-accent-line: rgba(196, 168, 132, 0.44);
  --ft-accent-glow: rgba(196, 168, 132, 0.1);
  background:
    radial-gradient(circle at 18% 24%, rgba(246,241,233,0.008) 0 0.7px, transparent 0.85px) 0 0 / 18px 18px,
    radial-gradient(circle at 74% 70%, rgba(246,241,233,0.006) 0 0.7px, transparent 0.85px) 0 0 / 26px 26px,
    radial-gradient(circle at 50% 32%, rgba(27,34,33,0.86) 0%, rgba(13,18,17,0.94) 42%, rgba(7,11,10,0.98) 100%),
    #090E0D;
  padding: 80px 88px 40px;
}
.ft-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(220px, 1fr) minmax(220px, 1fr);
  gap: clamp(28px, 3vw, 44px);
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,241,233,0.06);
}
.ft-brand {
  font-family: 'Cormorant', serif;
  font-size: 24px; font-weight: 400; color: rgba(246,241,233,0.96); margin-bottom: 6px;
}
.ft-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  max-width: 320px;
}
.ft-meta-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.ft-meta-label {
  flex: 0 0 52px;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246,241,233,0.54);
}
.ft-meta-value {
  min-width: 0;
  font-size: 12.5px;
  font-weight: 200;
  line-height: 1.8;
  color: rgba(246,241,233,0.84);
  overflow-wrap: anywhere;
}
.ft-meta-value a {
  color: rgba(246,241,233,0.84);
  font-weight: 400;
  opacity: 0.94;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.22s ease, background-size 0.22s ease, opacity 0.22s ease;
}
.ft-meta-value a:hover {
  color: var(--ft-accent);
  opacity: 1;
  background-size: 100% 1px;
}
.ft-meta-value a:focus-visible {
  outline: 1px solid var(--ft-accent-line);
  outline-offset: 3px;
  color: var(--ft-accent);
  opacity: 1;
  background-size: 100% 1px;
}
.ft-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
}
.ft-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--cta-primary-border);
  border-radius: 0;
  background: var(--cta-primary-bg);
  color: var(--parchment);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: var(--cta-primary-shadow);
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: none;
}
.ft-cta-primary:hover {
  border-color: var(--cta-primary-border-hover);
  color: var(--parchment);
  background: var(--cta-primary-bg-hover);
  box-shadow: var(--cta-primary-shadow-hover);
}
.ft-cta-primary:focus-visible {
  outline: none;
  border-color: var(--cta-primary-border-hover);
  box-shadow:
    var(--cta-primary-shadow-hover),
    0 0 0 3px rgba(246,241,233,0.05);
  color: var(--parchment);
  background: var(--cta-primary-bg-hover);
}
.ft-cta-secondary {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: rgba(246,241,233,0.52);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.22s ease, background-size 0.22s ease;
  cursor: none;
}
.ft-cta-secondary:hover {
  color: var(--ft-accent);
  background-size: 100% 1px;
}
.ft-cta-secondary:focus-visible {
  outline: 1px solid var(--ft-accent-line);
  outline-offset: 3px;
  color: var(--ft-accent);
  background-size: 100% 1px;
}
.ft-col h5 {
  font-size: 8.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(246,241,233,0.34); margin-bottom: 22px;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ft-col a {
  font-size: 13px; font-weight: 200;
  color: rgba(246,241,233,0.74);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.22s ease, background-size 0.22s ease, opacity 0.22s ease;
  cursor: none;
}
.ft-col a:hover {
  color: var(--ft-accent);
  opacity: 1;
  background-size: 100% 1px;
}
.ft-col a:focus-visible {
  outline: 1px solid var(--ft-accent-line);
  outline-offset: 3px;
  color: var(--ft-accent);
  background-size: 100% 1px;
}
.ft-bottom {
  display: flex; justify-content: space-between; align-items: center; padding-top: 30px;
}
.ft-copy {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ft-copy-main {
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(246,241,233,0.7);
}
.ft-copy-note {
  font-size: 9px;
  font-weight: 200;
  line-height: 1.55;
  color: rgba(246,241,233,0.48);
}
.ft-copy a {
  color: rgba(246,241,233,0.58);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.22s ease, background-size 0.22s ease;
}
.ft-copy a:hover {
  color: var(--ft-accent);
  background-size: 100% 1px;
}
.ft-copy a:focus-visible {
  outline: 1px solid var(--ft-accent-line);
  outline-offset: 3px;
  color: var(--ft-accent);
  background-size: 100% 1px;
}
.ft-soc { display: flex; gap: 12px; }
.ft-soc .sb-share {
  margin: 0;
  position: relative;
}
.ft-soc a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(246, 241, 233, 0.42);
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  cursor: none;
}
.ft-soc a:hover {
  color: var(--ft-accent);
  border-color: var(--ft-accent-line);
  box-shadow: 0 0 0 3px var(--ft-accent-glow);
  background: rgba(196, 168, 132, 0.06);
  transform: translateY(-1px);
}
.ft-soc a:focus-visible {
  outline: none;
  color: var(--ft-accent);
  border-color: var(--ft-accent-line);
  box-shadow: 0 0 0 3px var(--ft-accent-glow);
  background: rgba(196, 168, 132, 0.08);
}
.ft-soc .sb-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(246, 241, 233, 0.42);
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.ft-soc .sb-share-btn:hover,
.ft-soc .sb-share.is-open .sb-share-btn {
  color: var(--ft-accent);
  border-color: var(--ft-accent-line);
  box-shadow: 0 0 0 3px var(--ft-accent-glow);
  background: rgba(196, 168, 132, 0.06);
  transform: translateY(-1px);
}
.ft-soc .sb-share-btn:focus-visible {
  outline: none;
  color: var(--ft-accent);
  border-color: var(--ft-accent-line);
  box-shadow: 0 0 0 3px var(--ft-accent-glow);
  background: rgba(196, 168, 132, 0.08);
}
.ft-soc .sb-share-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}
.ft-soc .sb-share-menu {
  left: 0;
  right: auto;
  top: auto;
  bottom: calc(100% + 8px);
  min-width: 168px;
  max-width: min(220px, calc(100vw - 36px));
}
.ft-soc svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.sr  { opacity: 0; transform: translateY(24px); transition: opacity 0.85s var(--transition), transform 0.85s var(--transition); }
.srl { opacity: 0; transform: translateX(-24px); transition: opacity 0.85s var(--transition), transform 0.85s var(--transition); }
.srr { opacity: 0; transform: translateX(24px); transition: opacity 0.85s var(--transition), transform 0.85s var(--transition); }
.sr.v, .srl.v, .srr.v { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }

#cur { display: none; }
html.custom-cursor-enabled #cur { display: block; }
html:not(.custom-cursor-enabled) body,
html:not(.custom-cursor-enabled) body * { cursor: auto !important; }

body.placeholder-page {
  --placeholder-parchment: #F6F1E9;
  --placeholder-parchment2: #EEE7D8;
  --placeholder-deep: #18302D;
  --placeholder-deep2: #254843;
  --placeholder-copper: var(--accent3);
  --placeholder-ink: #0F1C1A;
  --placeholder-mid: #4A5E5A;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  font-family: 'Jost', sans-serif;
  background:
    radial-gradient(circle at top right, var(--placeholder-glow, rgba(61, 110, 104, 0.12)), transparent 36%),
    linear-gradient(180deg, var(--placeholder-parchment) 0%, var(--placeholder-parchment2) 100%);
  color: var(--placeholder-ink);
  cursor: none;
}

body.placeholder-page *,
body.placeholder-page *::before,
body.placeholder-page *::after {
  box-sizing: border-box;
}

body.placeholder-page a {
  cursor: none;
}

body.placeholder-page #cur {
  position: fixed;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--placeholder-copper);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

body.placeholder-page #cur.hovering {
  width: 14px;
  height: 14px;
  background: var(--placeholder-deep);
}

body.placeholder-page main {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

body.placeholder-page .panel {
  width: min(var(--placeholder-panel-width, 780px), 100%);
  padding: 56px clamp(28px, 5vw, 64px);
  background: rgba(246, 241, 233, 0.92);
  border: 1px solid rgba(24, 48, 45, 0.08);
  box-shadow: 0 24px 64px rgba(15, 28, 26, 0.08);
}

body.placeholder-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--placeholder-copper);
}

body.placeholder-page .eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--placeholder-copper);
}

body.placeholder-page h1 {
  margin: 0 0 20px;
  font-family: 'Cormorant', serif;
  font-size: clamp(42px, 8vw, 74px);
  font-weight: 300;
  line-height: 0.98;
  color: var(--placeholder-deep);
}

body.placeholder-page p {
  margin: 0;
  max-width: var(--placeholder-text-width, 40rem);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--placeholder-mid);
}

body.placeholder-page .status {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--placeholder-copper);
  color: var(--placeholder-deep2);
}

body.placeholder-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  color: var(--placeholder-deep);
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(24, 48, 45, 0.2);
  padding-bottom: 4px;
}

body.placeholder-page .back-link:hover {
  color: var(--placeholder-copper);
  border-color: var(--placeholder-copper);
}

/* ─────────────────────────────────────────
   SHARED: ALTRI SERVIZI (service pages)
───────────────────────────────────────── */
.cp-other {
  background: var(--parchment);
}

.cp-other-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
}

.cp-other-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  background: var(--parchment2);
  padding: 34px 24px 40px;
  transition: background 0.28s ease;
}

.cp-other-card:hover {
  background: var(--parchment3);
}

.cp-other-card::after {
  content: '\2192';
  position: absolute;
  right: 22px;
  bottom: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: rgba(var(--accent3-rgb), 0.58);
  opacity: 0.82;
  transition: color 0.25s ease, transform 0.3s ease, opacity 0.25s ease;
}

.cp-other-card:hover::after {
  color: var(--accent3);
  opacity: 1;
  transform: translateX(4px);
}

.cp-other-card h3 {
  margin-bottom: 17px;
  font-family: 'Cormorant', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.18;
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  text-decoration-color: transparent;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.cp-other-card:hover h3 {
  color: var(--deep);
  text-decoration-color: rgba(24, 48, 45, 0.28);
}

.cp-other-card p {
  font-size: 12px;
  font-weight: 260;
  line-height: 1.84;
  padding-right: 18px;
  color: #5e756f;
}

/* ─────────────────────────────────────────
   SHARED: SERVICE CTA + MAIL LINK
───────────────────────────────────────── */
:is(
  .cp-btn-primary,
  .cf-practical-btn,
  .az-cta-btn,
  .emi-practical-right .btn,
  .hyp-practical-right .btn,
  .ped-practical-right .btn
) {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 9.5px;
  letter-spacing: 0.145em;
  text-transform: uppercase;
  color: var(--parchment);
  background: var(--cta-primary-bg);
  border: 1px solid var(--cta-primary-border);
  box-shadow: var(--cta-primary-shadow);
  padding: 11px 23px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

:is(
  .cp-btn-primary,
  .cf-practical-btn,
  .az-cta-btn,
  .emi-practical-right .btn,
  .hyp-practical-right .btn,
  .ped-practical-right .btn
):hover {
  background: var(--cta-primary-bg-hover);
  border-color: var(--cta-primary-border-hover);
  box-shadow: var(--cta-primary-shadow-hover);
}

:is(
  .cp-btn-ghost,
  .cf-practical-cta .cf-mail-link,
  .az-cta-mail,
  .emi-practical-right .mail-link,
  .hyp-practical-right .mail-link,
  .ped-practical-right .link
) {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: none;
  color: rgba(246, 241, 233, 0.3);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

:is(
  .cp-btn-ghost,
  .cf-practical-cta .cf-mail-link,
  .az-cta-mail,
  .emi-practical-right .mail-link,
  .hyp-practical-right .mail-link,
  .ped-practical-right .link
):hover {
  color: rgba(246, 241, 233, 0.7);
  text-decoration-color: rgba(246, 241, 233, 0.42);
}


@media (max-width: 960px) {
  :root {
    --sidebar-w: 0px;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  body::before {
    display: none;
  }

  body,
  body * {
    cursor: auto !important;
  }

  #cur {
    display: none !important;
  }

  #progress-bar {
    left: 0;
  }

  .sidebar {
    display: none;
  }

  .sb-divider {
    display: none;
  }

  .sb-share {
    margin: 0 8px 0 auto;
  }

  .sb-share-menu {
    left: auto;
    right: 0;
    top: calc(100% + 8px);
    bottom: auto;
    min-width: 168px;
  }

  .sb-social {
    flex-direction: row;
    gap: 10px;
  }

  .main {
    margin-left: 0;
  }

  .topbar {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    height: auto;
    min-height: 0;
    padding: 12px 22px 14px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: rgba(246, 241, 233, 0.94);
    backdrop-filter: blur(16px) saturate(1.25);
  }

  .topbar-home {
    display: none;
  }

  .topbar-mobile-bar {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .topbar-mobile-home {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--deep);
    transition: color 0.22s ease;
  }

  .topbar-mobile-home:hover,
  .topbar-mobile-home:focus-visible {
    color: var(--accent3);
  }

  .topbar-toggle {
    width: auto;
    flex: 0 0 auto;
    min-width: 116px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(15, 28, 26, 0.09);
    background: rgba(255, 255, 255, 0.46);
    color: var(--deep);
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  }

  .topbar-toggle:focus-visible {
    outline: 1px solid rgba(var(--accent3-rgb), 0.52);
    outline-offset: 2px;
  }

  .topbar.is-open .topbar-toggle {
    background: rgba(var(--accent3-rgb), 0.09);
    border-color: rgba(var(--accent3-rgb), 0.26);
    color: var(--accent3);
  }

  .topbar-toggle-label {
    pointer-events: none;
  }

  .topbar-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    pointer-events: none;
  }

  .topbar-toggle-line {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
  }

  .topbar-toggle-line:nth-child(2) {
    width: 14px;
  }

  .topbar.is-open .topbar-toggle-line:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
    width: 18px;
  }

  .topbar.is-open .topbar-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .topbar.is-open .topbar-toggle-line:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
    width: 18px;
  }

  .topbar-panel {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    margin-left: 0;
    padding: 16px 18px 18px;
    border: 1px solid rgba(15, 28, 26, 0.08);
    background: rgba(250, 246, 239, 0.98);
    box-shadow: 0 20px 36px rgba(15, 28, 26, 0.1);
    max-height: calc(100dvh - 116px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .topbar-panel[hidden] {
    display: none !important;
  }

  .topbar-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
    padding-bottom: 0;
    scrollbar-width: auto;
  }

  .topbar-links > li {
    width: 100%;
    border-bottom: 1px solid rgba(15, 28, 26, 0.08);
  }

  .topbar-links > li:last-child {
    border-bottom: 0;
  }

  .topbar-links a {
    display: block;
    width: 100%;
    white-space: normal;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 14px 0;
  }

  .topbar-links > li > a {
    text-transform: uppercase;
  }

  .topbar-item-has-menu {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "link toggle"
      "submenu submenu";
    align-items: center;
    min-width: 0;
  }

  .topbar-item-has-menu > a {
    grid-area: link;
    min-width: 0;
    padding-right: 12px;
  }

  .topbar-subtoggle {
    grid-area: toggle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    border: 1px solid rgba(15, 28, 26, 0.08);
    background: rgba(255, 255, 255, 0.42);
    color: var(--deep2);
    cursor: pointer;
    transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease, transform 0.22s ease;
  }

  .topbar-subtoggle:focus-visible {
    outline: 1px solid rgba(var(--accent3-rgb), 0.52);
    outline-offset: 2px;
  }

  .topbar-subtoggle-icon {
    width: 9px;
    height: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.22s ease;
    pointer-events: none;
  }

  .topbar-item-has-menu.is-open .topbar-subtoggle {
    border-color: rgba(var(--accent3-rgb), 0.24);
    background: rgba(var(--accent3-rgb), 0.08);
    color: var(--accent3);
  }

  .topbar-item-has-menu.is-open .topbar-subtoggle-icon {
    transform: rotate(-135deg) translateY(-1px);
  }

  .topbar-submenu {
    grid-area: submenu;
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin: 0;
    padding: 0 0 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .topbar-item-has-menu:hover .topbar-submenu,
  .topbar-item-has-menu:focus-within .topbar-submenu,
  .topbar-item-has-menu.is-open .topbar-submenu {
    transform: none;
    left: auto;
  }

  .topbar-submenu[hidden] {
    display: none !important;
  }

  .topbar-submenu li {
    width: 100%;
    min-width: 0;
  }

  .topbar .topbar-submenu a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 11px 0 11px 16px;
    font-size: 10px;
    letter-spacing: 0.11em;
    color: rgba(24, 48, 45, 0.78);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .topbar-cta {
    width: 100%;
    justify-content: center;
    align-self: stretch;
    padding: 12px 16px;
    font-size: 10px;
  }

  .topbar-mobile-utility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 28, 26, 0.08);
  }

  .topbar-mobile-utility[hidden] {
    display: none !important;
  }

  .topbar-mobile-utility .sb-share {
    margin: 0;
  }

  .topbar-mobile-utility .sb-share-btn {
    color: var(--deep2);
    border-color: rgba(15, 28, 26, 0.1);
    background: rgba(255, 255, 255, 0.4);
  }

  .topbar-mobile-utility .sb-share-menu {
    left: 0;
    right: auto;
    top: calc(100% + 8px);
    bottom: auto;
  }

  .topbar-mobile-utility .sb-social {
    margin-left: auto;
    flex-direction: row;
    gap: 10px;
  }

  footer {
    padding: 56px 22px 32px;
  }

  .ft-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 40px;
  }

  .ft-meta {
    max-width: none;
  }

  .ft-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .ft-copy {
    max-width: none;
  }

  .cp-other-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 10px 14px 12px;
  }

  .topbar-mobile-home {
    font-size: 11px;
  }

  .topbar-panel {
    padding: 14px 14px 16px;
  }

  .topbar-toggle {
    min-height: 46px;
    padding: 11px 14px;
    font-size: 9.5px;
    letter-spacing: 0.18em;
  }

  .topbar-links a {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .topbar-cta {
    width: 100%;
    justify-content: center;
    padding: 11px 14px;
  }

  .topbar-mobile-utility {
    gap: 12px;
    padding-top: 12px;
  }
  footer {
    padding: 48px 18px 28px;
  }

  .ft-grid {
    gap: 24px;
    padding-bottom: 32px;
  }

  .ft-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .ft-meta-label {
    flex: 0 0 auto;
  }

  .ft-cta {
    width: 100%;
  }

  .ft-cta-primary {
    width: 100%;
  }

  .ft-bottom {
    gap: 14px;
  }

  .ft-copy-main {
    font-size: 10px;
  }

  .ft-copy-note {
    font-size: 8.5px;
  }

  .cp-other-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  :root {
    --mid: #36544f;
    --lt: #6d847f;
  }

  body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  .topbar-mobile-home,
  .topbar-links a,
  .topbar .topbar-submenu a {
    color: rgba(24, 48, 45, 0.92);
  }

  .sb-share-btn,
  .sb-social a,
  .ft-soc a {
    color: rgba(246, 241, 233, 0.68);
  }

  .ft-meta-label,
  .ft-cta-secondary,
  .ft-col h5,
  .ft-copy-note {
    color: rgba(246, 241, 233, 0.64);
  }

  .ft-meta-value,
  .ft-meta-value a,
  .ft-col a,
  .ft-copy-main,
  .ft-copy a {
    color: rgba(246, 241, 233, 0.9);
  }
}
