/* ==========================================================================
   BASE — reset, typography, layout primitives, buttons, cards, chips, motion
   ========================================================================== */

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

html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
html {
	scrollbar-width: thin;
	scrollbar-color: var(--blue) #ffffff29!important;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 .55em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
p, li { text-wrap: pretty; }

/* Editorial italic accent word inside display headings */
.accent-i {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--teal);
}
.on-night .accent-i, .accent-i.bright { color: var(--teal-bright); }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

ul { margin: 0; padding: 0; list-style: none; }

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

.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; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-pill); transition: top .2s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

/* Layout ------------------------------------------------------------------ */
/* Full-bleed: content runs edge to edge with a HARD 50px lateral cap.
   No fixed max-width column, so no dead side margins on wide screens. */
.container {
  width: 100%;
  padding-inline: var(--edge);
  margin-inline: auto;
}
.section { padding-block: var(--section-y); position: relative; }
.band-stone { background: var(--stone-deep); }
.band-surface { background: var(--surface); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .55rem; }
.section-head .lead { color: var(--ink-soft); font-size: var(--fs-lead); margin-top: .2rem; }
.prose { max-width: var(--measure); color: var(--ink-soft); }

/* Eyebrow — mono micro-label with a champagne tick */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--champagne); }
.eyebrow.on-dark { color: var(--teal-bright); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-display);
  font-size: var(--fs-content); font-weight: 600; line-height: 1;
  min-height: 52px;
  padding: 0 1.7em;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease,
              transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease;
}
.btn svg { width: 17px; height: 17px; transition: transform .22s ease; }
.btn:hover svg.arr { transform: translateX(4px); }
.btn-primary,
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal-deep); }
.btn-primary:hover,
.btn-teal:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 8px rgba(22,74,126,.2); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(28,90,151,.07); border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-light:hover { background: var(--surface); border-color: var(--teal); color: var(--ink); transform: translateY(-2px); }
.btn-outline-light { background: rgba(18,35,52,.22); color: #fff; border-color: rgba(255,255,255,.42); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); color: #fff; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

@media(max-width:768px){
  .btn{
    max-width: 350px;
  }
  .btn-row{
    justify-content: center;
  }
}

/* Outlined secondary action (was a bare "Read more" text link) */
.link-more {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--teal); cursor: pointer; background: transparent;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill);
  min-height: 52px;
  padding: 0 1.15em;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.link-more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.link-more:hover, .link-more:focus-visible { color: var(--teal-deep); border-color: var(--teal); background: rgba(28,90,151,.07); transform: translateY(-2px); }
.link-more:hover svg { transform: translateX(4px); }
.link-more[aria-expanded="true"] svg { transform: rotate(90deg); }

/* Circular arrow button */
.arrow-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 50%; background: var(--white); color: var(--blue);
  border: 1px solid var(--line); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, color .2s ease, box-shadow .2s ease;
}
.arrow-btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.arrow-btn:hover { background: var(--blue); border-color: var(--blue-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.arrow-btn:hover svg { transform: translateX(2px); }
.arrow-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }

/* Cards -------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .28s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 7px 8px rgba(18,35,52,.08); border-color: rgba(28,90,151,.42); }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(28,90,151,.10); color: var(--teal);
  margin-bottom: 18px;
}
.icon-badge svg { width: 24px; height: 24px; }

/* Photo frame */
.photo {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--stone-deep);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.photo.hoverable:hover img { transform: scale(1.04); }
/* Cards zoom their photo when the card itself is hovered */
.card:hover .photo img { transform: scale(1.045); }

/* Check list */
.check-list li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/12px no-repeat, linear-gradient(#000,#000);
          mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/12px no-repeat;
}
.check-list.on-night li { color: rgba(255,255,255,.8); }
.check-list.on-night li::before { background: var(--teal-bright); }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: .58em 1.05em;
  font-size: var(--fs-small); font-weight: 500; color: var(--ink);
}
.chip svg { width: 15px; height: 15px; color: var(--teal); flex: none; }
.chip.on-night { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: rgba(255,255,255,.9); }
.chip.on-night svg { color: var(--teal-bright); }

/* Stat */
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,3vw,2.7rem); letter-spacing: -.03em; line-height: 1; }
.stat .n b { color: var(--teal); font-weight: 700; }
.stat .l { font-size: .85rem; color: var(--ink-mute); margin-top: 8px; }
.stat.on-night { border-top: 1px solid var(--champagne); padding-top: 15px; }
.stat.on-night .n { color: #fff; }
.stat.on-night .n b { color: var(--teal-bright); }
.stat.on-night .l { color: rgba(255,255,255,.6); }

/* Scroll reveal — gated behind .js so a no-JS/failed-JS page shows everything */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Collapsible "Read more" region */
.more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.more > .more-inner { overflow: hidden; }
.more.open { grid-template-rows: 1fr; }
.more > .more-inner > * { margin-top: 0; }
.more.open > .more-inner { padding-top: 18px; }

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

/* ---------- FRONTEND PROTECTION (deterrent, production only) ----------
   Applied only when js/protect.js adds .protected to <html> (i.e. not in
   local development). Deterrent only — not absolute protection. */
.protected body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.protected img,
.protected svg,
.protected video {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}
/* Keep real inputs and opt-in .selectable elements usable (forms, copyable text). */
.protected input,
.protected textarea,
.protected select,
.protected [contenteditable="true"],
.protected .selectable {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.wpcf7-form .btn-primary{
  width: 100%;
}

.wpcf7-form .btn-primary br{
  display: none;
}

.wpcf7-form .contact__disclaimer br{
  display: none;
}

.wpcf7 form .wpcf7-response-output{
  border-radius: var(--radius-sm);
  border-color: #1c5a97 !important;
  background: #1c5a97 !important;
  color: #feffff !important;
  font-size: 13px !important;
  text-align: center;
}

.wpcf7-not-valid-tip{
  color: var(--champagne) !important;
  font-size: 14px !important;
}