/* robertkatona.com.mx: speaker site. Calder & Vale palette, pushed darker and bigger.
   Display: Bodoni Moda. Labels, UI and body: Archivo (condensed width for labels). */

:root {
  --midnight: #0A1520;
  --navy: #0F1D2C;
  --ivory: #F4F1EC;
  --paper: #FBFAF7;
  --stone: #D8D2C7;
  --warm: #C8C4BC;
  --ink: #2D3142;
  --muted: #565A68;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
::selection { background: var(--navy); color: var(--ivory); }
img { display: block; max-width: 100%; height: auto; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
.kw { margin-right: -0.11em; }
.nw { white-space: nowrap; }
/* Bodoni Moda's display cut draws hairline hyphens; text-size serif uses a sturdier optical size. */
.opsz-text, .posts a, .scope h3, .starts h3, .kn h3, .card h3, .timeline .t-what, .promise { font-variation-settings: "opsz" 14; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ivory); color: var(--navy); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 16px; top: 12px; }

/* Labels, buttons, small caps UI */
.label, .nav-desk a, .nav-mob summary, .nav-mob nav a, .btn, .more, .textlink, .bar-in, .when, .gallery figcaption, .kn .fmt, .counts .lab, .foot nav a {
  font-family: var(--sans); font-stretch: 78%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
}
.label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.dark .label, .page-hero .label, .hero-s .label { color: var(--warm); }

.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px; font-size: 13.5px; text-decoration: none;
  border: 1px solid currentColor; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-light { background: var(--ivory); color: var(--midnight); border-color: var(--ivory); }
.btn-light:hover { background: transparent; color: var(--ivory); }
.btn-line { color: var(--ivory); border-color: rgba(244, 241, 236, 0.55); }
.btn-line:hover { background: var(--ivory); color: var(--midnight); border-color: var(--ivory); }
.btn-dark { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-dark:hover { background: transparent; color: var(--navy); }
.btn .arr { display: inline-block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform 200ms ease; }
.btn .arr::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.more, .textlink { display: inline-block; font-size: 12.5px; padding: 10px 0; color: inherit; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--midnight); color: var(--ivory); transition: background-color 250ms ease, box-shadow 250ms ease; }
.site-head.scrolled { box-shadow: 0 8px 28px rgba(5, 10, 16, 0.45); }
.is-home .site-head { position: fixed; left: 0; right: 0; background: transparent; }
.is-home .site-head.scrolled { background: var(--midnight); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { font-family: var(--serif); font-size: 25px; text-decoration: none; color: var(--ivory); padding: 8px 0; letter-spacing: -0.01em; }
.nav-desk { display: flex; align-items: center; gap: 28px; }
.nav-desk a { font-size: 12.5px; text-decoration: none; color: rgba(244, 241, 236, 0.78); padding: 10px 0; }
.nav-desk a:hover, .nav-desk a[aria-current="page"] { color: var(--ivory); }
.nav-desk a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--ivory); }
.nav-desk .nav-cta { background: var(--ivory); color: var(--midnight); padding: 12px 18px; }
.nav-desk .nav-cta:hover { background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1px var(--ivory); }
.nav-mob { display: none; }
.nav-mob summary { list-style: none; cursor: pointer; font-size: 12.5px; color: var(--ivory); border: 1px solid rgba(244, 241, 236, 0.6); padding: 11px 16px; }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob[open] summary { background: var(--ivory); color: var(--midnight); }
.nav-mob nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--midnight); padding: 8px var(--gutter) 28px; display: grid; border-top: 1px solid rgba(200, 196, 188, 0.2); }
.nav-mob nav a { font-size: 14px; padding: 16px 0; color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(200, 196, 188, 0.16); }

/* Home hero: full-bleed stage photo, name on the dark right side */
.hero-s { position: relative; min-height: max(100svh, 680px); background: var(--midnight); color: var(--ivory); display: flex; align-items: flex-end; overflow: hidden; }
.hero-s > img { position: absolute; top: 0; bottom: 0; right: 0; left: auto; width: 118%; max-width: none; height: 100%; object-fit: cover; object-position: 38% 30%; }
.hero-s::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(270deg, rgba(10, 21, 32, 0.95) 0%, rgba(10, 21, 32, 0.9) 30%, rgba(10, 21, 32, 0.45) 52%, rgba(10, 21, 32, 0) 70%),
    linear-gradient(0deg, rgba(10, 21, 32, 0.9) 0%, rgba(10, 21, 32, 0) 38%),
    linear-gradient(180deg, rgba(10, 21, 32, 0.55) 0%, rgba(10, 21, 32, 0) 18%),
    linear-gradient(90deg, rgba(10, 21, 32, 0.7) 0%, rgba(10, 21, 32, 0) 22%);
}
.hs-in { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: 76px; }
.hs-text { margin-left: 52%; max-width: 640px; }
.hero-s h1 { font-size: clamp(4.2rem, 9.6vw, 9.6rem); line-height: 0.86; letter-spacing: -0.035em; }
.hero-s h1 span { display: block; }
.hs-role { margin: 30px 0 0; font-size: 19px; color: var(--ivory); }
.hs-role a { color: var(--ivory); }
.hs-lede { margin: 14px 0 0; font-size: 17.5px; color: rgba(244, 241, 236, 0.82); max-width: 32em; }

/* Inner page hero */
.page-hero { background: var(--midnight); color: var(--ivory); padding: 88px 0 96px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(3.2rem, 7.4vw, 6.6rem); line-height: 0.95; letter-spacing: -0.03em; max-width: 13em; }
.page-hero .lede { margin: 28px 0 0; max-width: 34em; font-size: 18px; color: rgba(244, 241, 236, 0.84); }
.page-hero.has-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 21, 32, 0.97) 0%, rgba(10, 21, 32, 0.88) 50%, rgba(10, 21, 32, 0.62) 100%); }
.page-hero.has-photo .wrap { position: relative; z-index: 2; }
.page-hero.has-photo { padding: 128px 0 120px; }

/* Stages bar */
.bar { background: var(--midnight); color: var(--ivory); border-top: 1px solid rgba(200, 196, 188, 0.18); border-bottom: 1px solid rgba(200, 196, 188, 0.18); }
.bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 26px; padding-bottom: 26px; font-size: 14px; }
.bar-in .label { margin: 0 8px 0 0; font-size: 12px; color: var(--warm); }
.bar-in ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.bar-in li + li::before { content: "/"; color: rgba(200, 196, 188, 0.5); margin-right: 22px; }
.bar-in a { color: var(--ivory); text-decoration: none; padding: 6px 0; display: inline-block; }
.bar-in a:hover { text-decoration: underline; }

/* Sections */
.section { padding: 120px 0; }
.dark { background: var(--navy); color: var(--ivory); }
.darker { background: var(--midnight); color: var(--ivory); }
.band { border-top: 1px solid var(--stone); }
.h2, .section h2 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.0; letter-spacing: -0.025em; color: var(--navy); max-width: 14em; }
.dark .h2, .darker .h2, .dark h2, .darker h2 { color: var(--ivory); }
.section h2.label { font-family: var(--sans); font-stretch: 78%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; line-height: 1.4; color: var(--muted); max-width: none; margin-bottom: 22px; }
.dark h2.label, .darker h2.label { color: var(--warm); }
.section .month h2 { font-size: 2rem; }
.intro { margin: 22px 0 0; max-width: 36em; color: var(--muted); font-size: 18px; }
.dark .intro, .darker .intro { color: rgba(244, 241, 236, 0.78); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
.prose p { margin: 0 0 20px; max-width: 36em; }
.prose p:last-child { margin-bottom: 0; }

/* Keynotes */
.kn-list { list-style: none; margin: 64px 0 0; padding: 0; border-top: 1px solid var(--navy); }
.kn { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--stone); align-items: start; }
.kn .no { font-family: var(--serif); font-size: 5.4rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--navy); letter-spacing: -0.02em; }
.kn h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.1; color: var(--navy); }
.kn p { margin: 0; }
.kn .fmt { display: block; margin-top: 18px; font-size: 12px; color: var(--muted); }
.kn .more { margin-top: 10px; color: var(--navy); }

/* Numbers */
.counts { background: var(--midnight); color: var(--ivory); padding: 88px 0; }
.counts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.counts li { padding: 0 28px; border-left: 1px solid rgba(200, 196, 188, 0.22); }
.counts li:first-child { border-left: 0; padding-left: 0; }
.counts .num { display: block; font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 6.2rem); line-height: 0.9; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; }
.counts .lab { display: block; margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: var(--warm); max-width: 17em; }

/* Gallery mosaic */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 12px; margin-top: 56px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--midnight); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: 12.5px; line-height: 1.5; color: var(--ivory);
  background: linear-gradient(0deg, rgba(10, 21, 32, 0.92) 0%, rgba(10, 21, 32, 0) 100%);
}
.gallery .t1 { grid-column: span 2; grid-row: span 2; }
.gallery .t2 { grid-column: span 4; }
.gallery .t3, .gallery .t4 { grid-column: span 2; }
.gallery .t5 { grid-column: span 3; }
.gallery .t6 { grid-column: span 3; }

/* About block (home) */
.about-blk { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 80px; align-items: center; }
.about-blk figure { margin: 0; }
.about-blk img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-blk .lead { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.3; color: var(--navy); margin: 0 0 24px; font-variation-settings: "opsz" 14; }
.links-row { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 24px; }

/* Firm band */
.promise { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.18; letter-spacing: -0.01em; margin: 0; max-width: 20em; }
.firm-p { margin: 32px 0 0; max-width: 40em; color: rgba(244, 241, 236, 0.8); }

/* Briefings */
.posts { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--navy); }
.posts li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--stone); }
.posts time { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.posts a { font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; color: var(--navy); text-decoration: none; }
.posts a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.month { margin-top: 72px; }
.month:first-child { margin-top: 0; }
.month h2 { font-size: 2rem; color: var(--navy); }

/* Booking band */
.booking { background: var(--midnight); color: var(--ivory); padding: 128px 0 120px; }
.booking-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: end; }
.booking h2 { font-size: clamp(4.4rem, 12vw, 11rem); line-height: 0.84; letter-spacing: -0.04em; }
.booking h2 span { display: block; }
.booking p { margin: 0 0 8px; color: rgba(244, 241, 236, 0.82); max-width: 26em; }
.booking .actions { margin-top: 28px; }

/* Contact band (inner pages) */
.contact { background: var(--midnight); color: var(--ivory); }
.contact .h2 { color: var(--ivory); }
.contact p { color: rgba(244, 241, 236, 0.82); margin: 22px 0 0; max-width: 32em; }
.contact .lines { margin-top: 32px; display: grid; font-size: 16px; }
.contact .lines a { color: var(--ivory); display: inline-block; padding: 10px 0; }
.contact .lines span { color: var(--warm); }

/* Cards (speaking page) */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--stone); color: var(--ink); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.card .ph { overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.card .bd { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.when { margin: 0; font-size: 12px; color: var(--muted); }
.card h3 { font-size: 1.7rem; line-height: 1.15; color: var(--navy); }
.card p { margin: 0; }
.card .press { margin-top: auto; padding-top: 6px; font-size: 15px; }

/* About page */
.about { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 80px; align-items: start; }
.about .portrait { margin: 0; position: sticky; top: 112px; }
.about .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about .prose p { font-size: 18px; }
.about .prose p:first-child { font-family: var(--serif); font-size: 1.75rem; line-height: 1.35; color: var(--navy); font-variation-settings: "opsz" 14; }
.timeline { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--navy); }
.timeline li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--stone); align-items: baseline; }
.timeline .t-when { font-family: var(--sans); font-stretch: 78%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12.5px; color: var(--muted); }
.timeline .t-what { font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; color: var(--navy); }

/* Advisory */
.areas { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.areas li { border-top: 1px solid var(--stone); }
.areas a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; color: var(--navy); text-decoration: none; font-variation-settings: "opsz" 14; }
.areas a::after { content: ""; flex: none; width: 22px; height: 1px; background: var(--navy); opacity: 0.5; transition: transform 200ms ease, opacity 200ms ease; }
.starts { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; }
.starts > div { border-top: 1px solid var(--navy); padding-top: 28px; }
.starts h3 { font-size: 2rem; line-height: 1.15; color: var(--navy); margin-bottom: 14px; }
.starts p { margin: 0; max-width: 30em; }
.scope { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--navy); }
.scope li { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; padding: 32px 0; border-bottom: 1px solid var(--stone); }
.scope h3 { font-size: 1.7rem; line-height: 1.2; color: var(--navy); }
.scope p { margin: 0; max-width: 32em; }

/* Media kit */
.facts { margin: 40px 0 0; border-top: 1px solid var(--navy); }
.facts > div { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--stone); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; color: var(--navy); }
.bio { margin-top: 36px; }
.bio h3 { font-family: var(--sans); font-stretch: 78%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.bio blockquote { margin: 0; padding: 24px 28px; background: var(--paper); border: 1px solid var(--stone); max-width: 38em; }
.bio blockquote p { margin: 0; }
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 40px; margin-top: 40px; }
.photos figure { margin: 0; }
.photos figcaption { margin-top: 12px; font-size: 15px; }
.photos figcaption span { display: block; color: var(--muted); font-size: 14px; }

/* Contact page */
.details { margin: 48px 0 0; border-top: 1px solid var(--navy); max-width: 780px; }
.details > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--stone); align-items: baseline; }
.details dt { color: var(--muted); font-size: 15px; }
.details dd { margin: 0; color: var(--navy); }
.details a { display: inline-block; padding: 4px 0; }

/* Footer */
.foot { background: var(--midnight); color: var(--warm); font-size: 14px; border-top: 1px solid rgba(200, 196, 188, 0.16); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; padding-top: 56px; padding-bottom: 40px; }
.foot .f-name { font-family: var(--serif); font-size: 30px; color: var(--ivory); text-decoration: none; letter-spacing: -0.01em; }
.foot .f-role { margin: 10px 0 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 26px; justify-content: flex-end; align-content: start; }
.foot nav a { font-size: 12px; color: var(--warm); text-decoration: none; padding: 8px 0; display: inline-block; }
.foot a { color: var(--warm); }
.foot a:hover { color: var(--ivory); }
.foot .f-legal { grid-column: 1 / -1; border-top: 1px solid rgba(200, 196, 188, 0.16); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot .f-legal a { display: inline-block; padding: 6px 0; }


/* Signature line in the hero */
.hs-thesis { margin: 26px 0 0; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.32; color: var(--ivory); max-width: 22em; font-variation-settings: "opsz" 14; }
.hs-lede { margin-top: 16px; }

/* Newsletter */
.nl-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.nl .h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.nl-form { margin: 0; }
.nl-row { display: flex; gap: 0; }
.nl-row input {
  flex: 1; min-width: 0; height: 58px; padding: 0 18px; font: inherit; font-size: 17px; border-radius: 0;
  background: transparent; color: var(--navy); border: 1px solid var(--navy); border-right: 0;
}
.nl-row input::placeholder { color: var(--muted); }
.nl-row input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.nl-row input[aria-invalid="true"] { border-color: #9B2C2C; }
.nl-row .btn { height: 58px; padding: 0 28px; justify-content: center; }
.dark .nl-row input { color: var(--ivory); border-color: rgba(244, 241, 236, 0.6); }
.dark .nl-row input::placeholder { color: rgba(244, 241, 236, 0.55); }
.dark .nl-row input:focus-visible { outline-color: var(--ivory); }
.dark .nl-row input[aria-invalid="true"] { border-color: #F2B8B5; }
.nl-msg { min-height: 1.6em; margin: 12px 0 0; font-size: 15px; }
.nl-note { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.dark .nl-note { color: rgba(244, 241, 236, 0.7); }
.nl-note a { color: inherit; }
.nl-form[aria-busy="true"] .btn { opacity: 0.6; }
@media (max-width: 860px) {
  .nl-in { grid-template-columns: 1fr; gap: 28px; }
  .nl-row { flex-direction: column; gap: 10px; }
  .nl-row input { flex: none; width: 100%; border-right: 1px solid var(--navy); }
  .dark .nl-row input { border-right-color: rgba(244, 241, 236, 0.6); }
}

/* Hover, fine pointers only */
@media (hover: hover) and (pointer: fine) {
  .gallery figure:hover img { transform: scale(1.04); }
  .card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(10, 21, 32, 0.45); }
  .card:hover .ph img { transform: scale(1.04); }
  .areas a:hover::after { transform: translateX(6px); opacity: 1; }
  .btn:hover .arr { transform: translateX(4px); }
}

/* Scroll reveals: only while the script runs (html.js); each fires once. */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
html.js [data-reveal][data-visible] { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav-desk { display: none; }
  .nav-mob { display: block; }
}

@media (max-width: 980px) {
  .kn { grid-template-columns: 96px minmax(0, 1fr); }
  .kn .kn-desc { grid-column: 2; }
  .kn .no { font-size: 4rem; }
  .counts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .counts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .gallery .t1 { grid-column: span 1; grid-row: span 2; }
  .gallery .t2 { grid-column: span 1; }
  .gallery .t3, .gallery .t4 { grid-column: span 1; }
  .gallery .t5, .gallery .t6 { grid-column: span 2; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .head-in { min-height: 68px; }
  .brand { font-size: 22px; }
  .is-home .site-head { background: linear-gradient(180deg, rgba(10, 21, 32, 0.85), rgba(10, 21, 32, 0)); }
  .hero-s { display: block; min-height: 0; }
  .hero-s > img { position: relative; width: 100%; height: 62svh; min-height: 420px; object-position: 36% 30%; }
  .hero-s::before { background: linear-gradient(0deg, var(--midnight) 0%, rgba(10, 21, 32, 0) 36%), linear-gradient(180deg, rgba(10, 21, 32, 0.6) 0%, rgba(10, 21, 32, 0) 22%); height: 62svh; min-height: 420px; }
  .hs-in { padding-top: 0; padding-bottom: 64px; margin-top: -84px; }
  .hs-text { margin-left: 0; }
  .hero-s h1 { font-size: clamp(3.6rem, 19vw, 5.6rem); }
  .page-hero { padding: 56px 0 64px; }
  .page-hero.has-photo { padding: 72px 0 72px; }
  .section { padding: 80px 0; }
  .split, .about, .starts, .about-blk, .booking-in { grid-template-columns: 1fr; gap: 32px; }
  .about .portrait { position: static; max-width: 300px; }
  .about-blk figure { max-width: 300px; }
  .kn { grid-template-columns: 1fr; gap: 14px; padding: 36px 0; }
  .kn .kn-desc { grid-column: auto; }
  .kn .no { font-size: 3.4rem; }
  .areas { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; gap: 24px; }
  .posts li, .timeline li, .scope li, .facts > div, .details > div { grid-template-columns: 1fr; gap: 6px; }
  .posts a { font-size: 1.3rem; }
  .photos { grid-template-columns: 1fr 1fr; gap: 20px; }
  .booking { padding: 88px 0; }
  .foot-in { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { transform: none; transition: opacity 400ms ease; }
  .btn, .card, .card .ph img, .gallery img, .areas a::after, .site-head { transition: none; }
  .card:hover { transform: none; }
}
