@font-face {
  font-family:Geist;
  src:url('assets/geist-400.ttf') format('truetype');
  font-style:normal;
  font-weight:400;
  font-display:swap
}

@font-face {
  font-family:Geist;
  src:url('assets/geist-500.ttf') format('truetype');
  font-style:normal;
  font-weight:500;
  font-display:swap
}

@font-face {
  font-family:Geist;
  src:url('assets/geist-600.ttf') format('truetype');
  font-style:normal;
  font-weight:600;
  font-display:swap
}

@font-face {
  font-family:Geist;
  src:url('assets/geist-700.ttf') format('truetype');
  font-style:normal;
  font-weight:700;
  font-display:swap
}

@font-face {
  font-family:'Geist Mono';
  src:url('assets/geist-mono.ttf') format('truetype');
  font-style:normal;
  font-weight:400;
  font-display:swap
}

:root {
  --dark:#0a0e13;
  --white:#f8fafa;
  --accent:#19d3d5;
  --paper:#f3f5f4;
  --ink:#00737d;
  --muted:#657075;
  --gutter:clamp(24px,4.444vw,96px);
  font-family:Geist,Arial,sans-serif;
  color:var(--white);
  background:var(--dark);
  color-scheme:dark
}

* {
  box-sizing:border-box
}

body {
  margin:0
}

button,a {
  -webkit-tap-highlight-color:transparent
}

a {
  color:inherit;
  text-decoration:none
}

button {
  font:inherit;
  cursor:pointer
}

p,h1,h2 {
  margin:0
}

button:focus-visible,a:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:5px
}

button:disabled {
  cursor:wait
}

[hidden] {
  display:none!important
}

.icon {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:none
}

.icon-definitions {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}

.skip-link {
  position:fixed;
  z-index:20;
  left:24px;
  top:12px;
  padding:12px;
  background:var(--accent);
  color:var(--dark);
  transform:translateY(-150%)
}

.skip-link:focus {
  transform:none
}

.hero {
  height:100vh;
  padding:0 var(--gutter) 40px;
  background:radial-gradient(ellipse at 84% 48%,#19d3d50d,transparent 65%),var(--dark);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  z-index:2
}

.navigation {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:var(--booking-bar);
  min-height:var(--booking-bar);
  flex-shrink:0
}

.wordmark {
  font-size:23px;
  font-weight:700;
  letter-spacing:-.65px
}

.header-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(8px,2vw,24px);
  min-width:0
}

.variant-switch {
  position:relative;
  display:flex;
  align-items:center;
  flex:none;
  font:12px 'Geist Mono',monospace
}

.variant-switch::before {
  content:"·";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  color:#9ba3aa;
  pointer-events:none
}

.variant-switch a {
  position:relative;
  display:grid;
  place-items:center;
  width:32px;
  min-height:44px;
  color:#a7acaf
}

.variant-switch a:hover,
.variant-switch a:focus-visible,
.variant-switch a[aria-current] {
  color:var(--white)
}

.variant-switch a[aria-current]::after {
  content:"";
  position:absolute;
  bottom:8px;
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--accent)
}

.arcade-page.is-engaged .arcade-header .variant-switch {
  display:none
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:var(--accent);
  color:var(--dark);
  padding:18px 24px;
  border-radius:6px;
  font-size:16px;
  font-weight:500;
  min-height:57px;
  transition:background .2s,transform .2s
}

.button:hover {
  background:var(--accent-hover,#56e2e3);
  transform:translateY(-2px)
}

.button-small {
  min-height:42px;
  font-size:14px;
  padding:12px 20px
}

.button-small .icon {
  width:18px;
  height:18px
}

.hero-composition {
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding-top:clamp(120px,24.5svh,300px)
}

.identity {
  display:flex;
  flex-direction:column;
  gap:20px
}

.intro-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font:12px 'Geist Mono',monospace;
  color:var(--accent)
}

.disciplines {
  color:#a7acaf
}

h1 {
  font-size:clamp(80px,12.014vw,230px);
  line-height:1.04;
  letter-spacing:-.058em;
  font-weight:600;
  white-space:nowrap
}

.hero-bottom {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
  margin-top:80px
}

.mission {
  font-size:54px;
  line-height:1.1;
  letter-spacing:-2px;
  font-weight:500
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:16px
}

.hero-discover, .hero-linkedin > span {
  display:none
}

.hero-game-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding-inline:8px;
  font-size:14px;
  color:#cbd2d4;
  white-space:nowrap
}

.hero-game-link .icon {
  width:16px;
  height:16px;
  color:var(--accent)
}

.hero-game-link:hover {
  color:var(--white);
  text-decoration:underline;
  text-underline-offset:4px
}

[data-copy="b"],
[data-site-variant="b"] [data-copy="a"] {
  display:none
}

[data-site-variant="b"] [data-copy="b"] {
  display:inline
}

html[data-site-variant="b"] {
  --accent:#ff987a;
  --dark:#1d1319;
  --white:#fff4ea;
  --paper:#f8eee8;
  --ink:#8a3928;
  --muted:#6e514c;
  --accent-hover:#ffb39b;
  --accent-pressed:#f18466;
  --accent-wash:#ff987a24;
  --light-surface:#fff9f4;
  --light-highlight:#f3ded3;
  --light-border:#e3c9bd;
}

[data-site-variant="b"] .hero {
  background:radial-gradient(ellipse at 84% 48%,#ff784629,transparent 65%),var(--dark)
}

[data-site-variant="b"] .hero-light::after {
  background:radial-gradient(ellipse at center,#ff987a24,transparent 72%)
}

[data-site-variant="b"] .pulse-beam {
  background:linear-gradient(110deg,transparent 35%,#ff987a08 46%,#ff987a26 50%,#ff987a08 54%,transparent 65%)
}

[data-site-variant="b"] .hero .mission-impact {
  color:var(--accent)
}

.linkedin-square {
  display:grid;
  place-items:center;
  width:57px;
  height:57px;
  border:1px solid #ffffff30;
  border-radius:6px;
  transition:background .2s
}

.linkedin-square:hover {
  background:#ffffff10
}

.linkedin-square .icon {
  width:22px;
  height:22px
}

.footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:24px var(--gutter);
  border-top:1px solid #ffffff24;
  background:var(--dark);
  color:#879296;
  font:10px 'Geist Mono',monospace
}

.footer nav {
  display:flex;
  gap:26px
}

.footer a:hover {
  color:var(--white)
}

.booking {
  background:var(--paper);
  color:var(--dark);
  min-height:100svh;
  color-scheme:light
}

.booking-header {
  height:var(--booking-bar);
  padding:0 var(--gutter);
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--white);
  background:var(--dark);
  border-radius:0 0 16px 16px
}

.back-link {
  display:flex;
  align-items:center;
  gap:14px;
  color:#cbd2d4;
  font-size:14px
}

.back-link .icon {
  color:var(--accent)
}

.booking-content {
  padding:32px var(--gutter) 36px;
  display:flex;
  flex-direction:column;
  gap:24px
}

.booking-intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px
}

.booking-title {
  display:flex;
  flex-direction:column;
  gap:10px
}

/* Route focus announces the heading without drawing a control-style outline. */
#booking-title:focus {
  outline: none;
}

.eyebrow {
  font:10px 'Geist Mono',monospace;
  color:var(--ink)
}

h2 {
  font-size:42px;
  line-height:1.02;
  font-weight:500;
  letter-spacing:-1.7px
}

.subline {
  font-size:16px;
  color:var(--muted)
}

.booking-options {
  width:320px;
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:flex-end
}

.duration-switch {
  display:flex;
  width:100%;
  padding:4px;
  gap:4px;
  border-radius:6px;
  background:var(--light-highlight,#e4e9e8)
}

.duration-switch button {
  flex:1;
  border:0;
  border-radius:4px;
  background:transparent;
  color:#4f5d62;
  padding:12px;
  font-size:13px;
  font-weight:500;
  min-height:40px
}

.duration-switch button[aria-pressed=true] {
  background:var(--dark);
  color:white
}

.duration-switch button:hover:not([aria-pressed=true]) {
  background:var(--light-border,#d7dfde)
}

.linkedin-link {
  display:flex;
  align-items:center;
  gap:12px;
  padding:4px 0;
  font-size:14px;
  font-weight:500;
  color:var(--ink)
}

.linkedin-link:hover {
  text-decoration:underline
}

.mobile-linkedin {
  display:none
}

.calendar-shell {
  border:1px solid var(--light-border,#d6dddd);
  border-radius:10px;
  background:var(--light-surface,white);
  padding:8px;
  overflow:hidden;
  position:relative;
  min-height:510px
}

.calendar-mount {
  width:100%;
  min-height:486px;
  overflow:auto
}

.calendar-status {
  position:absolute;
  inset:24px 24px auto;
  color:var(--muted);
  font-size:14px
}

.calendar-fallback {
  font-size:13px;
  color:#4f5d62;
  line-height:1.6
}

.calendar-fallback a {
  text-decoration:underline;
  color:var(--ink)
}

.calendar-fallback button {
  border:0;
  background:transparent;
  color:var(--ink);
  text-decoration:underline;
  margin-left:12px;
  padding:4px
}

.noscript {
  padding:24px var(--gutter);
  line-height:1.7
}

.noscript a {
  text-decoration:underline
}

.legal-header {
  padding:32px var(--gutter);
  display:flex;
  align-items:center;
  justify-content:space-between
}

.legal-content {
  padding:72px var(--gutter) 100px;
  max-width:1000px;
  min-height:calc(100svh - 170px)
}

.legal-content h1 {
  font-size:clamp(40px,7vw,80px);
  white-space:normal;
  letter-spacing:-.04em;
  margin-bottom:32px
}

.legal-content h2 {
  font-size:24px;
  letter-spacing:-.6px;
  line-height:1.3;
  margin:32px 0 12px
}

.legal-content p,.legal-content li {
  line-height:1.7;
  color:#bdc3c6;
  margin-bottom:16px
}

.legal-content a {
  text-decoration:underline
}

.placeholder-note {
  padding:20px;
  border:1px solid #19d3d550;
  border-radius:6px;
  overflow-wrap:anywhere
}

.legal-content code {
  overflow-wrap:anywhere
}

@media(min-width:1800px) {
  .hero-composition {
    padding-top:22svh
  }
}

@media(max-width:1000px) and (min-width:701px) {
  [data-site-variant="b"] .hero-bottom .mission {
    font-size:32px
  }
  [data-site-variant="b"] .hero-actions .button {
    gap:12px;
    padding-inline:14px
  }
  .mission {
    font-size:40px
  }
  .disciplines {
    display:none
  }
  .hero-composition {
    padding-top:25svh
  }
  .hero-bottom {
    gap:20px
  }
  .hero-actions {
    gap:12px
  }
}

@media(max-width:700px) {
  .home-page {
    --home-cookie-bottom: 48px;
    --home-cookie-size: 60px;
    --home-discover-size: 44px;
    --home-discover-bottom: calc(var(--home-cookie-bottom) + (var(--home-cookie-size) - var(--home-discover-size)) / 2);
  }
  .home-page:has(.hero:not([hidden])) #silktide-cookie-icon {
    bottom:var(--home-cookie-bottom);
    width:var(--home-cookie-size);
    height:var(--home-cookie-size)
  }
  .hero {
    height:auto;
    min-height:100vh;
    min-height:100lvh;
    padding:0 24px var(--home-discover-bottom)
  }
  .wordmark {
    font-size:19px;
    letter-spacing:-.5px
  }
  .nav-booking {
    display:none
  }
  .hero-composition {
    padding-top:clamp(22px,7svh,72px);
    justify-content:flex-start;
    gap:28px
  }
  .identity {
    gap:20px
  }
  .intro-meta {
    font-size:10px;
    line-height:16px
  }
  .disciplines {
    display:none
  }
  h1 {
    font-size:clamp(54px,20.5vw,120px);
    letter-spacing:-.055em;
    line-height:.94;
    white-space:normal
  }
  h1 > .name-word {
    display:block
  }
  .hero-bottom {
    display:block;
    margin-top:0;
    border-top:1px solid #ffffff24;
    padding-top:20px
  }
  .mission {
    font-size:clamp(25px,7.7vw,36px);
    line-height:1.16;
    letter-spacing:-1px;
    font-weight:400
  }
  .mission-impact {
    color:var(--accent)
  }
  .hero-actions {
    margin-top:20px;
    display:flex;
    align-items:flex-start;
    flex-direction:column;
    gap:12px
  }
  .hero-game-link, .hero-linkedin > .icon {
    display:none
  }
  .hero-discover, .hero-actions .hero-linkedin {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    color:var(--muted);
    font-size:14px
  }
  .hero-discover {
    position:sticky;
    bottom:var(--home-discover-bottom);
    min-height:var(--home-discover-size);
    align-self:center;
    gap:8px;
    margin-top:clamp(20px,5svh,44px)
  }
  .hero-actions .hero-linkedin {
    width:auto;
    height:auto;
    border:0;
    background:none;
    font-size:13px
  }
  .hero-linkedin > span {
    display:inline-flex;
    align-items:center;
    gap:8px
  }
  .hero-discover .icon, .hero-linkedin span .icon {
    width:16px;
    height:16px;
    color:var(--accent)
  }
  .hero-discover:hover, .hero-actions .hero-linkedin:hover {
    color:var(--white);
    text-decoration:underline;
    text-underline-offset:4px
  }
  .hero-actions .button {
    width:100%;
    height:56px;
    min-height:56px;
    padding:0 20px
  }
  .footer {
    flex-direction:column;
    padding:22px 24px;
    gap:16px;
    font-size:9px
  }
  .footer nav {
    gap:22px
  }
  .booking-header {
    padding:0 24px;
    border-radius:0 0 12px 12px
  }
  .back-link {
    gap:10px;
    font-size:12px
  }
  .back-link .icon {
    width:16px;
    height:16px
  }
  .booking-content {
    padding:24px;
    gap:24px
  }
  .booking-intro {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:14px
  }
  .booking-title {
    gap:10px
  }
  h2 {
    font-size:36px;
    letter-spacing:-1.5px
  }
  .subline {
    font-size:14px
  }
  .booking-options {
    width:100%
  }
  .desktop-linkedin {
    display:none
  }
  .mobile-linkedin {
    display:flex
  }
  .calendar-shell {
    min-height:700px
  }
  .calendar-mount {
    min-height:680px
  }
  .legal-header {
    padding:24px;
    gap:20px
  }
  .legal-content {
    padding:48px 24px 72px
  }
  .legal-content h1 span:not([data-copy]) {
    display:inline
  }
}

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

@media(max-height:700px) and (min-width:701px) {
  .hero-composition {
    padding-top:clamp(40px,12vh,100px)
  }
  .hero-bottom {
    margin-top:32px
  }
  .mission {
    font-size:40px
  }
}

@media(max-height:620px) and (max-width:700px) {
  .hero-composition {
    gap:14px;
    padding-top:clamp(16px,4svh,26px)
  }
  .hero-discover {
    margin-top:4px
  }
  .identity {
    gap:16px
  }
  .hero h1 {
    font-size:min(20.5vw,15svh)
  }
  .hero-bottom {
    padding-top:18px
  }
  .mission {
    font-size:28px
  }
  .hero-actions {
    margin-top:12px
  }
}

@media(max-height:500px) and (max-width:700px) {
  .hero-composition {
    gap:12px
  }
  .identity {
    gap:8px
  }
  .intro-meta {
    font-size:8px
  }
  .mission {
    font-size:22px
  }
  .hero-actions {
    margin-top:12px
  }
  .hero-bottom {
    padding-top:12px
  }
  .hero-actions .button {
    height:44px;
    min-height:44px
  }
}


/* Motion is decorative; the semantic heading and all links remain available. */
:root {
  --booking-bar: 80px;
  --sheet-ease: cubic-bezier(.76, 0, .24, 1);
}

.hero {
  isolation: isolate;
}

.hero-light, .hero-pulse {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-light {
  opacity: 0;
  transition: opacity .7s;
}

.hero-light::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1080px;
  height: 840px;
  background: radial-gradient(ellipse at center, #19d3d514, transparent 72%);
  transform: translate3d(var(--light-x, 0px), var(--light-y, 0px), 0);
}

.hero.has-pointer-light .hero-light {
  opacity: 1;
}

.hero.has-pointer-light .hero-light::after {
  will-change: transform;
}

.pulse-beam {
  content: '';
  position: absolute;
  inset: 0 -10%;
  background: linear-gradient(110deg, transparent 35%, #19d3d508 46%, #19d3d51a 50%, #19d3d508 54%, transparent 65%);
  opacity: 0;
}

.intro-pending #hero-title {
  opacity: 0;
}

.name-word {
  display: inline-block;
  position: relative;
}

.word-base {
  visibility: hidden;
}

.name-glyph {
  position: absolute;
  top: 0;
}

.glyph-code {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 400 .32em/1 'Geist Mono', monospace;
  letter-spacing: -.06em;
  color: var(--accent);
}

.glyph-reel-window {
  height: 1em;
  overflow: clip;
}

.glyph-reel {
  display: grid;
}

.glyph-reel > span {
  height: 1em;
  text-align: center;
}

.intro-running .glyph-reel {
  animation: glyph-tick 250ms steps(3, jump-end) var(--scan-delay) both;
}

.intro-running .glyph-final {
  display: block;
  animation: glyph-reveal 340ms cubic-bezier(.2, .65, .3, 1) var(--glyph-delay) both;
}

.intro-running .glyph-code {
  animation: glyph-acquire 120ms ease-out var(--scan-delay) both,
    glyph-resolve 150ms ease-out var(--glyph-delay) forwards;
}

.intro-running .name-glyph::after {
  content: '';
  position: absolute;
  inset: 16% 0 12%;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 8px 1px,
    linear-gradient(var(--accent), var(--accent)) left top / 1px 8px,
    linear-gradient(var(--accent), var(--accent)) right bottom / 8px 1px,
    linear-gradient(var(--accent), var(--accent)) right bottom / 1px 8px;
  background-repeat: no-repeat;
  animation: glyph-lock 300ms ease-out var(--glyph-delay) both;
}

@keyframes glyph-tick {
  to { transform: translateY(-3em); }
}

@keyframes glyph-acquire {
  from { opacity: 0; transform: translateY(-.22em); }
  to { opacity: .85; transform: none; }
}

@keyframes glyph-resolve {
  to { opacity: 0; transform: translateY(.3em); }
}

@keyframes glyph-reveal {
  from { opacity: 0; transform: translateY(.14em) scaleY(.94); }
  to { opacity: 1; transform: none; }
}

@keyframes glyph-lock {
  0% { opacity: 0; transform: scale(1.14); }
  24% { opacity: .85; transform: scale(1); }
  100% { opacity: 0; transform: scale(.97); }
}

.mission-line {
  display: block;
}

.intro-running .pulse-beam {
  animation: light-pass 1050ms cubic-bezier(.22, .65, .3, 1) both;
}

.intro-running .mission-line {
  animation: claim-reveal 460ms cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: 370ms;
}

.intro-running .mission-impact {
  animation-delay: 480ms;
}

.intro-running .hero-actions {
  animation: actions-reveal 420ms ease-out 550ms both;
}

.intro-running .hero-actions:focus-within {
  animation: none;
}

@keyframes light-pass {
  0% { transform: translateX(-50%); opacity: 0; }
  20% { opacity: 1; }
  75% { opacity: .65; }
  100% { transform: translateX(50%); opacity: 0; }
}

@keyframes claim-reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes actions-reveal {
  from { opacity: .4; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.booking-header {
  position: sticky;
  top: 0;
  z-index: 4;
}

.hero.is-leaving, .hero.is-returning {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  overflow: clip;
  border-radius: 0 0 16px 16px;
  will-change: transform;
}

.hero.is-leaving, .hero.is-launching {
  animation: sheet-up 760ms var(--sheet-ease) both;
  pointer-events: none;
}

.hero.is-leaving .navigation, .hero.is-returning .navigation, .hero.is-launching .navigation, .hero.is-game-returning .navigation {
  visibility: hidden;
}

.game-return-pending .hero {
  clip-path: inset(0 0 calc(100% - var(--booking-bar)) 0);
}

.hero.is-launching, .hero.is-game-returning {
  overflow: clip;
  border-radius: 0 0 16px 16px;
}

.launch-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 4;
  padding-inline: var(--gutter);
  border-radius: 0 0 16px 16px;
  background: var(--dark);
}

.hero.is-returning, .hero.is-game-returning {
  animation: sheet-down 700ms var(--sheet-ease) both;
}

.booking.is-entering .booking-content {
  animation: contact-reveal 700ms cubic-bezier(.16, 1, .3, 1) 100ms both;
}

@keyframes sheet-up {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-100% + var(--booking-bar))); }
}

@keyframes sheet-down {
  from { transform: translateY(calc(-100% + var(--booking-bar))); }
  to { transform: translateY(0); }
}

@keyframes contact-reveal {
  from { opacity: .25; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@media(max-width:700px) {
  :root { --booking-bar: 64px; }
  .pulse-beam {
    background: linear-gradient(115deg, transparent 30%, #19d3d510 50%, transparent 70%);
  }
  .hero-composition {
    min-height: 0;
  }
  .identity {
    flex-shrink: 0;
  }
  .name-word {
    white-space: nowrap;
  }
  .intro-meta {
    font-size: clamp(8px, 2.3vw, 10px);
    letter-spacing: -.02em;
  }
  .hero.is-leaving, .hero.is-launching { animation-duration: 680ms; }
  .hero.is-returning, .hero.is-game-returning { animation-duration: 620ms; }
  .launch-header { padding-inline: 24px; border-radius: 0 0 12px 12px; }
}

@media(prefers-reduced-motion:reduce) {
  .intro-pending #hero-title { opacity: 1; }
  .hero-light, .hero-pulse, .glyph-code { display: none; }
  .name-glyph .glyph-final { opacity: 1; }
}

.button, .linkedin-square, .back-link, .duration-switch button {
  touch-action: manipulation;
}

.button:active {
  background: var(--accent-pressed,#14bfc1);
  transform: translateY(0);
}

.linkedin-square:active {
  background: var(--accent-wash,#19d3d51c);
  border-color: var(--accent);
}

.back-link {
  min-height: 44px;
}

.duration-switch button {
  min-height: 44px;
}

/* Keep the opening usable in short landscape windows too. */
@media(max-height:500px) and (min-width:701px) {
  .hero {
    padding-bottom: 20px;
  }
  .hero-composition {
    padding-top: 24px;
  }
  .identity {
    gap: 12px;
  }
  .hero h1 {
    font-size: min(12vw, 22vh);
  }
  .hero-bottom {
    margin-top: 20px;
  }
  .mission {
    font-size: 28px;
  }
}

/* Anime.js enhances motion; the CSS interactions remain the fallback. */
.duration-switch { position: relative; isolation: isolate; }
.duration-indicator { display: none; }
.motion-ready .duration-indicator {
  display: block;
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 6px);
  background: var(--dark);
  border-radius: 4px;
  pointer-events: none;
  z-index: -1;
}
.motion-ready .duration-switch button[aria-pressed=true] { background: transparent; }
.duration-switch button { transition: color 160ms ease, background 160ms ease; }

#hero-title { perspective: 1000px; }
.name-glyph { transform-origin: center 75%; }
.button .icon { transform-origin: center; }

.motion-ready .button:hover { transform: none; }

/* Direct contact uses the same local typography and colors as the legal pages. */
.contact-content { max-width: 860px; }
.contact-eyebrow { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .12em; color: var(--accent) !important; }
.contact-form { display: grid; gap: 10px; margin: 36px 0; }
.contact-form label { margin-top: 14px; font-size: 14px; font-weight: 600; }
.contact-form label span { color: #a4aeb5; font-weight: 400; }
.contact-form input, .contact-form textarea { width: 100%; min-width: 0; border: 1px solid #ffffff30; border-radius: 8px; padding: 15px 16px; background: #ffffff05; color: var(--white); font: inherit; font-size: 16px; line-height: 1.5; }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact-form .button { justify-self: start; cursor: pointer; font: inherit; }
.contact-form .button:disabled { opacity: .5; cursor: wait; }
.contact-form .contact-privacy { font-size: 13px; margin: 12px 0; }
.contact-status { min-height: 1.7em; overflow-wrap: anywhere; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 600px) {
  .contact-content { padding-top: 32px; }
  .contact-form .button { width: 100%; justify-content: space-between; }
}

/* The legal page lifts away using the same sheet motion as the Cal view. */
.page-sheet { background: var(--dark); min-height: 100svh; }
.page-sheet .legal-header { height: var(--booking-bar); padding-block: 0; }
/* Keep the contact header above the moving page in both directions. */
.contact-sheet .booking-header { z-index: 6; }
.page-sheet.is-leaving, .page-sheet.is-returning {
  position: fixed; inset: 0; width: 100%; height: 100svh;
  overflow: clip; border-radius: 0 0 16px 16px; will-change: transform; z-index: 5;
}
.page-sheet.is-leaving { animation: sheet-up 760ms var(--sheet-ease) both; pointer-events: none; }
.page-sheet.is-returning { animation: sheet-down 700ms var(--sheet-ease) both; }
.page-sheet.is-leaving .page-sheet-inner, .page-sheet.is-returning .page-sheet-inner { transform: translateY(calc(-1 * var(--page-scroll, 0px))); }
.page-sheet.is-leaving .legal-header, .page-sheet.is-returning .legal-header { visibility: hidden; }
.contact-sheet .contact-content { width: 100%; padding: 16px 0 0; min-height: 0; }
.contact-sheet .contact-content h1 { font-size: 42px; line-height: 1.02; letter-spacing: -1.7px; font-weight: 500; margin: 10px 0 16px; }
.contact-sheet .contact-content p { color: var(--muted); }
.contact-sheet .contact-eyebrow { color: var(--ink) !important; font-size: 10px; letter-spacing: normal; }
.contact-sheet .contact-form { margin-top: 20px; }
.contact-sheet .contact-form input, .contact-sheet .contact-form textarea { color: var(--dark); background: #fff; border-color: #cbd2d4; }
.contact-sheet .contact-form label span { color: var(--muted); }
#contact-sheet-title:focus { outline: none; }
@media (max-width: 700px) {
  .page-sheet.is-leaving { animation-duration: 680ms; }
  .page-sheet.is-returning { animation-duration: 620ms; }
  .contact-sheet .contact-content h1 { font-size: 36px; letter-spacing: -1.5px; }
  .contact-sheet .contact-content { padding-top: 0; }
}

/* Locally hosted consent45: design tokens and integration, vendor bundle unchanged. */
.consent-settings-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.consent-settings-link:hover { color: var(--white); }
html #silktide-wrapper { color-scheme: dark; --cookieIconColor: var(--dark); --cookieIconBackgroundColor: var(--accent); }
html #silktide-wrapper :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html #silktide-modal :is(h2, h3, h4) { font-family: Geist, Arial, sans-serif; letter-spacing: normal; line-height: 1.35; white-space: normal; }
html #silktide-wrapper #silktide-banner, html #silktide-wrapper #silktide-modal { box-shadow: 0 16px 64px #0005; }
html #silktide-modal footer { flex-wrap: wrap; gap: 8px; }
.calendar-shell.is-awaiting-consent { min-height: 0; }
.calendar-consent { padding: clamp(24px, 4vw, 48px); max-width: 760px; }
.calendar-consent h3 { margin-bottom: 16px; font-size: 26px; letter-spacing: -.6px; }
.calendar-consent p { color: var(--muted); line-height: 1.65; margin: 16px 0; }
.calendar-consent a { text-decoration: underline; }
.calendar-consent .button { font: inherit; cursor: pointer; white-space: normal; text-align: left; }
[data-consent45-declaration] { overflow-wrap: anywhere; }
[data-consent45-declaration] :is(h3,h4) { margin: 24px 0 12px; }
[data-consent45-declaration] table { width: 100%; border-collapse: collapse; font-size: 14px; }
[data-consent45-declaration] :is(th,td) { padding: 12px; text-align: left; border: 1px solid #ffffff30; }
[data-consent45-declaration] button { margin: 24px 0; padding: 14px 20px; border: 1px solid var(--accent); border-radius: 8px; background: transparent; color: var(--white); font: inherit; cursor: pointer; }
@media (max-width: 700px) {
  .footer > p { text-align: right; }
  .footer nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-left: 56px;
    text-align: right;
  }
}

.calendar-consent .calendar-alternatives { font-size: 13px; color: #4f5d62; line-height: 1.6; }
.calendar-consent .calendar-alternatives a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.calendar-alternatives .icon { width: 14px; height: 14px; vertical-align: -2px; }

/* Consent45 sets its default tokens inline. The URL-selected theme takes precedence. */
html[data-site-variant="b"] #silktide-wrapper {
  --consent45-accent: var(--accent) !important;
  --consent45-on-accent: var(--dark) !important;
  --consent45-surface: var(--dark) !important;
  --consent45-text: var(--white) !important;
  --consent45-border: #65463f !important;
}

[data-site-variant="b"] .duration-switch button:not([aria-pressed=true]),
[data-site-variant="b"] .calendar-fallback {
  color:var(--muted)
}

[data-site-variant="b"] .contact-sheet .contact-form :is(input, textarea) {
  background:var(--light-surface);
  border-color:var(--light-border)
}

[data-site-variant="b"] .legal-content a {
  text-decoration-color:var(--accent)
}
