/* ==========================================================================
   Shetty's Hospitality
   Palette taken from the brand mark (sage) with Mangalore-tile terracotta
   as the single accent. Display: Fraunces. Body / utility: Karla.
   ========================================================================== */

:root{
  /* The two typefaces are declared once, here. Swapping the pair is a
     two-line change plus the Google Fonts link in build_site.py.
     Previous pair, if this one is not kept:
       --font-display: "Fraunces", Georgia, serif;
       --font-body:    "Karla", ui-sans-serif, system-ui, sans-serif;  */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Spectral", Georgia, serif;

  --ink:      #16261D;
  --ink-2:    #1E3326;
  --sage:     #5C745C;
  --sage-dp:  #3F543F;
  --mist:     #C9D4C4;
  --paper:    #F5F2EA;
  --paper-2:  #EBE6D9;
  --tile:     #B4553A;
  --brass:    #C8A24B;

  --max: 1240px;
  /* inner wrappers sit inside a parent that already carries --gut, so they need
     the narrower cap or they run 2x--gut wider than every .section on the page */
  --max-in: calc(1240px - var(--gut) * 2);
  --gut: clamp(26px, 5vw, 76px);
  /* a HALF interval: every block carries it top and bottom, so the gap between
     two blocks is the largest measurement on the page rather than the smallest */
  --sec: clamp(58px, 9vw, 140px);

  /* hairlines: two weights and an inverse, instead of nineteen ad-hoc alphas */
  --rule:        color-mix(in srgb, var(--ink) 16%, transparent);
  --rule-strong: color-mix(in srgb, var(--ink) 30%, transparent);
  --rule-inv:    color-mix(in srgb, var(--paper) 22%, transparent);
  /* anything drawn over video or photography needs to stay legible */
  --rule-media:  color-mix(in srgb, var(--paper) 55%, transparent);

  /* one micro-label recipe. .22em at 11px is a hotel-template tell. */
  --label: .70rem;
  --label-lg: .76rem;
  --track-label: .13em;
  --w-label: 550;

  --r: 0px;
  --ease:      cubic-bezier(.33,.06,.28,1);   /* displacement: slow to leave, long tail */
  --ease-tint: cubic-bezier(.25,0,.30,1);     /* colour and opacity: leaves immediately */
  --d-tint: 520ms;
  --d-move: 900ms;
  --d-reveal: 1000ms;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:clamp(16px,1.02vw,17.5px);
  line-height:1.65;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:400;
  font-variation-settings:"opsz" 72;
  line-height:1.06;
  letter-spacing:-.02em;
  margin:0;
}
/* Optical tiers. Large type wants a high opsz and tighter tracking; small type
   wants a low opsz and looser tracking, or it closes up and goes muddy. */
.vhero h1,.phero h1,.promise__words{
  font-variation-settings:"opsz" 144;
  letter-spacing:-.032em;
}
.section__head h2,.split__copy h2,.band h2,.cta h2,.plan__copy h1,.plan__copy h2{
  font-variation-settings:"opsz" 96;
  letter-spacing:-.024em;
}
.card h3,.steps h3,.incl h4,.occasions li span,.chips li,.wordof__rubric h2{
  font-variation-settings:"opsz" 36;
  letter-spacing:-.008em;
}
p{ margin:0 0 1em; }
a{ color:inherit; }

.skip{
  position:absolute; left:-9999px; top:0; z-index:99;
  background:var(--ink); color:var(--paper); padding:12px 18px;
}
.skip:focus{ left:8px; top:8px; }

:focus-visible{ outline:2px solid var(--tile); outline-offset:3px; }

/* ---------- shared bits ---------- */
.eyebrow{
  font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase;
  font-weight:var(--w-label); color:var(--sage); margin:0 0 1.4rem;
}
.eyebrow--light{ color:var(--mist); }

.btn{
  display:inline-block; padding:.95em 1.9em;
  background:var(--ink); color:var(--paper);
  font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase; font-weight:var(--w-label);
  text-decoration:none; border:1px solid var(--ink); border-radius:var(--r);
  transition:background var(--d-tint) var(--ease-tint), color var(--d-tint) var(--ease-tint);
  cursor:pointer;
  /* An <a> inherits the page font; a <button> does not, and .btn is now used
     on both. No-op for the anchors. */
  font-family:inherit;
}
.btn:hover{ background:var(--sage); border-color:var(--sage); }
.btn--ghost{ background:transparent; color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.btn--light{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.btn--light:hover{ background:var(--brass); border-color:var(--brass); color:var(--ink); }
.btn--sm{ padding:.8em 1.5em; font-size:.82rem; }
/* A secondary bordered button. --sm is for the nav and actually runs LARGER
   than the hero's primary buttons, which inverts the hierarchy wherever the
   two are on the same page. This matches the primary buttons' type size and
   softens the border so it reads as the quieter of the two. */
.btn--quiet{
  padding:.78em 1.6em; font-size:var(--label);
  border-color:color-mix(in srgb, var(--sage) 58%, transparent);
  color:var(--sage-dp);
}
.btn--quiet:hover{ background:var(--ink); border-color:var(--ink); color:var(--paper); }

.link{
  font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase; font-weight:var(--w-label);
  text-decoration:none; border-bottom:1px solid var(--sage); padding-bottom:.3em;
  color:var(--sage-dp);
}
.link span{ display:inline-block; transition:transform .3s var(--ease); }
.link:hover span{ transform:translateX(5px); }

.section{ padding:var(--sec) var(--gut); max-width:var(--max); margin-inline:auto; }
.phero + .section{ padding-top:calc(var(--sec) * .72); }
.section__head{ max-width:44rem; margin:0 auto clamp(40px,5vw,68px); text-align:center; }
.section__head--left{ margin-inline:0; text-align:left; }
.section__head h2{ font-size:clamp(2.1rem,4.6vw,3.5rem); }
.section__lede{ margin-top:1.4rem; font-size:1.06rem; color:color-mix(in srgb, var(--ink) 82%, var(--sage)); }
/* A qualifier under a section, on the light ground. Same brass rule as
   .cone__note, which does the same job on the dark one. */
.section__note{
  margin:clamp(26px,3vw,38px) 0 0; font-size:.92rem; line-height:1.65;
  color:color-mix(in srgb, var(--ink) 74%, var(--sage));
  border-left:2px solid color-mix(in srgb, var(--tile) 55%, transparent);
  padding-left:1rem; max-width:44rem;
}

/* ---------- nav ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--rule);
}
.nav__in{
  max-width:var(--max); margin-inline:auto; padding:14px var(--gut);
  display:flex; align-items:center; gap:24px;
}
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; margin-right:auto; }
.brand__mark{ width:38px; height:38px; color:var(--sage); flex:none; }
.brand__mark--sm{ width:30px; height:30px; }
.brand__name{
  display:block; font-family:var(--font-display); font-size:1.18rem; font-weight:600;
  letter-spacing:-.01em; line-height:1.1;
}
.brand__tag{
  display:block; font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase;
  color:var(--sage); font-weight:var(--w-label);
}
.nav__links{ display:flex; gap:32px; }
.nav__links a{
  text-decoration:none; font-size:.98rem; letter-spacing:.01em;
  color:color-mix(in srgb, var(--ink) 82%, var(--sage));
  padding-bottom:3px; border-bottom:1px solid transparent;
}
.nav__links a:hover{ color:var(--ink); border-bottom-color:var(--sage); }
.nav__links a[aria-current="page"]{ color:var(--ink); border-bottom-color:var(--tile); }
.nav__drawer a[aria-current="page"]{ color:var(--sage-dp); font-weight:600; }

.nav__toggle{
  display:none; width:40px; height:40px; border:1px solid var(--rule-strong);
  background:none; border-radius:var(--r); cursor:pointer; padding:0;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.nav__toggle span{ display:block; width:16px; height:1.5px; background:var(--ink); }
.nav__drawer{ display:none; flex-direction:column; padding:8px var(--gut) 20px; gap:2px; }
.nav__drawer a{
  text-decoration:none; padding:12px 0; font-size:1.05rem;
  border-bottom:1px solid var(--rule);
}

/* An open drawer always gets a solid ground. Without this the home nav
   stays transparent and the menu is white text over the hero video. */
.nav.is-open{
  background:var(--paper);
  backdrop-filter:blur(14px);
  border-bottom-color:var(--rule);
}
.home .nav.is-open{
  background:var(--paper);
  backdrop-filter:blur(14px);
  border-bottom-color:var(--rule);
}
.home .nav.is-open .brand__name,
.home .nav.is-open .nav__drawer a{ color:var(--ink); }
.home .nav.is-open .brand__mark{ color:var(--sage); }
.home .nav.is-open .brand__tag{ color:var(--sage); }
.home .nav.is-open .nav__toggle{ border-color:var(--rule-strong); }
.home .nav.is-open .nav__toggle span{ background:var(--ink); }
.home .nav.is-open .nav__drawer a{ border-bottom-color:var(--rule); }
.nav.is-open .nav__drawer a[aria-current="page"]{ color:var(--sage-dp); font-weight:600; }

/* ---------- video hero ---------- */
.vhero{
  position:relative; min-height:100svh; display:flex; align-items:center; justify-content:center;
  padding:120px var(--gut) clamp(56px,8vw,96px); overflow:hidden; isolation:isolate;
  background:var(--ink);
}
/* A 32px-wide still of the first frame, inlined so it paints on the very
   first frame with no request of its own. The hero used to sit on flat
   --ink until the poster arrived, which is the beat you saw on a phone.
   Blurred and over-scaled so the low resolution reads as depth of field. */
.vhero::before{
  content:""; position:absolute; inset:0; z-index:-3;
  background-image:var(--hero-lqip);
  background-size:cover; background-position:center;
  filter:blur(18px); transform:scale(1.12);
}
:root{ --hero-lqip:url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAEgAAAAD/wAARCAASACADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9sAQwAJCQkJCQkQCQkQFhAQEBYeFhYWFh4mHh4eHh4mLiYmJiYmJi4uLi4uLi4uNzc3Nzc3QEBAQEBISEhISEhISEhI/9sAQwELDAwSERIfEREfSzMqM0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tL/90ABAAC/9oADAMBAAIRAxEAPwDtdLuZrm2F1cRgRFdwdTksCBj5RnnOa1JptNt8+dKq4BPJ7DrXgVtqGqRxrbiV4kUYyBnA9OKctv5yl3ny2f4gfrWXtbGip3PVn8VaGJSm4lQBhgM5/DtTpNe0TCEzY8xcgY6ex9DXlNtGWtwzybX3L8oXJ2kZyf6Ul/Ywx2TXVvcM0hYbU24IXHOfxqViHexboK1z/9DkIicDmrqk4qjF0FXk6V57PURDMBg8Vyt6Stwdpx0rq5uhrk7/AP4+D9BTp7mNc//Z"); }
@media (max-width:819px){
  :root{ --hero-lqip:url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEaADAAQAAAABAAAAHgAAAAD/wAARCAAeABEDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9sAQwAJCQkJCQkQCQkQFhAQEBYeFhYWFh4mHh4eHh4mLiYmJiYmJi4uLi4uLi4uNzc3Nzc3QEBAQEBISEhISEhISEhI/9sAQwELDAwSERIfEREfSzMqM0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tL/90ABAAC/9oADAMBAAIRAxEAPwDr7iF0TdGm85AxnHU1TmtmdkaN9qq3zDrntj86dB4o0C4AX7UMs3G9SuB6elWLi808wlomWVOuEIOSeRyOn+NaqaM3FlT7MaPsxrO/tKL0k/7+H/Cj+0ovST/v4f8ACn7ZE+zZ/9Dhn067ighld1DSuUKMOVI7EVcewvrEySxSKpiZ1O04PyjPr3qpAhLlpHJJznCgfrmrzR2zLlg55/vY/kK5HOzO1U7o1v7P1f8A5+oP0o/s/V/+fqD9Kxtlp/cb/vtv8aNlp/cb/vtv8arn8hex8z//2Q=="); }
}
/* Fade the real footage over the placeholder rather than swapping it. */
/* <picture> wrapper must not become a box - the <img> keeps the absolute fill. */
.vhero__pic{ display:contents; }
.vhero__media{ opacity:0; transition:opacity .6s var(--ease-tint); }
.vhero__media.is-ready{ opacity:1; }

.vhero__media{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2;
}
.vhero + .section{ position:relative; z-index:1; background:var(--paper); }
.vhero__scrim{
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(to bottom, rgba(11,20,15,.74) 0%, rgba(11,20,15,.46) 40%, rgba(11,20,15,.80) 100%),
    color-mix(in srgb, var(--ink) 34%, transparent);
}
.vhero__in{
  position:relative; z-index:1; width:100%; max-width:60rem; margin-inline:auto;
  text-align:center; color:var(--paper);
}
.vhero h1{
  font-size:clamp(2.6rem,6.6vw,5.2rem); color:var(--paper);
  margin:0 0 1.5rem; text-wrap:balance;
}
.vhero h1 em{
  font-style:italic; color:var(--mist);
  font-variation-settings:"opsz" 144;
}
.vhero .lede{
  max-width:44rem; margin-inline:auto; font-weight:300;
  font-size:clamp(1.02rem,1.35vw,1.18rem);
  color:color-mix(in srgb, var(--paper) 88%, transparent);
}
.vhero__cta{ display:flex; flex-wrap:wrap; gap:16px; justify-content:center; margin:2.4rem 0 0; }

/* pill button with the arrow that slides through */
.pill{ display:inline-flex; align-items:center; gap:6px; text-decoration:none; }
.pill__label,.pill__arrow{
  background:var(--paper); color:var(--ink);
  transition:background .5s var(--ease), color .5s var(--ease);
}
.pill__label{
  border-radius:999px; padding:1.05em 1.9em;
  font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase; font-weight:var(--w-label);
}
.pill__arrow{
  position:relative; overflow:hidden; border-radius:999px;
  width:52px; height:52px; display:grid; place-items:center; flex:none;
}
.pill__arrow svg{
  position:absolute; width:20px; height:20px;
  transition:transform .5s var(--ease);
}
.pill__arrow svg:first-child{ transform:translate(0,0); }
.pill__arrow svg:last-child{ transform:translate(-52px,52px); }
.pill:hover .pill__arrow svg:first-child{ transform:translate(52px,-52px); }
.pill:hover .pill__arrow svg:last-child{ transform:translate(0,0); }
.pill:hover .pill__label,.pill:hover .pill__arrow{ background:var(--sage); color:var(--paper); }
.pill:focus-visible{ outline:2px solid var(--paper); outline-offset:4px; border-radius:999px; }

.vhero__facts{
  display:grid; grid-template-columns:repeat(3,1fr); gap:0;
  max-width:46rem; margin:clamp(40px,5vw,64px) auto 0;
  border-top:1px solid var(--rule-inv); padding-top:22px;
}
.vhero__facts > div{ padding:0 22px; border-right:1px solid var(--rule-inv); }
.vhero__facts > div:last-child{ border-right:0; }
.vhero__facts dt{
  font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase; font-weight:var(--w-label);
  color:color-mix(in srgb, var(--mist) 92%, transparent);
}
.vhero__facts dd{ margin:.4em 0 0; font-size:.92rem; color:var(--paper); }

/* nav rides over the video on the home page until you scroll past it */
.home .nav{
  position:fixed; left:0; right:0; background:transparent; backdrop-filter:none;
  border-bottom-color:transparent; color:var(--paper);
  transition:background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.home .nav .brand__name,.home .nav .nav__links a{ color:var(--paper); }
.home .nav .brand__tag{ color:var(--mist); }
.home .nav .nav__links a[aria-current="page"]{ border-bottom-color:var(--mist); }
.home .nav .btn--sm{ background:transparent; color:var(--paper); border-color:var(--rule-media); }
.home .nav .btn--sm:hover{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.home .nav__toggle{ border-color:var(--rule-media); }
.home .nav__toggle span{ background:var(--paper); }

.home .nav.is-solid{
  background:color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter:blur(14px);
  border-bottom-color:var(--rule);
}
.home .nav.is-solid .brand__mark{ color:var(--sage); }
.home .nav.is-solid .brand__name{ color:var(--ink); }
.home .nav.is-solid .brand__tag{ color:var(--sage); }
.home .nav.is-solid .nav__links a{ color:color-mix(in srgb, var(--ink) 82%, var(--sage)); }
.home .nav.is-solid .nav__links a:hover{ color:var(--ink); }
.home .nav.is-solid .btn--sm{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.home .nav.is-solid .nav__toggle span{ background:var(--ink); }
.home .nav.is-solid .nav__toggle{ border-color:var(--rule-strong); }
.home .nav.is-solid .nav__drawer a{ color:var(--ink); }
.home .nav__drawer a{ color:var(--paper); border-bottom-color:rgba(245,242,234,.2); }

/* Closes the page intro before the content starts. */
.ridge{
  margin-top:clamp(56px,7vw,96px);
  height:0;
  border-bottom:1px solid var(--rule-strong);
}

/* ---------- cards ---------- */
.cards{
  list-style:none; margin:0; padding:0; display:grid; gap:1px;
  background:var(--rule-strong);
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--rule-strong);
}
.card{
  --cardpad:clamp(26px,2.6vw,40px);
  position:relative; overflow:hidden;
  background:var(--paper); color:var(--ink);
  padding:var(--cardpad); display:flex; flex-direction:column;
  transition:background .35s var(--ease);
}
.card:hover{ background:var(--paper-2); }

/* photograph as a band across the top, bleeding to the card edges */
.card__bg{
  display:block; width:calc(100% + var(--cardpad) * 2); max-width:none;
  margin:calc(var(--cardpad) * -1) calc(var(--cardpad) * -1) clamp(20px,1.9vw,26px);
  height:clamp(155px,15.5vw,205px); object-fit:cover;
  transition:transform var(--d-move) var(--ease);
}
.card:hover .card__bg{ transform:scale(1.04); }

.card h3{ font-size:clamp(1.4rem,1.75vw,1.6rem); margin-bottom:.65rem; }
.card h3 a{
  text-decoration:none;
  background-image:linear-gradient(var(--tile),var(--tile));
  background-size:0 1px; background-repeat:no-repeat; background-position:0 100%;
  transition:background-size .35s var(--ease);
}
.card h3 a:hover{ background-size:100% 1px; }
.card > p{ font-size:1rem; color:color-mix(in srgb, var(--ink) 82%, var(--sage)); }

.card__list{ list-style:none; margin:1.1rem 0 0; padding:0; }
.card__list li{
  position:relative; padding:.42em 0 .42em 1.5em; font-size:.9rem;
  color:color-mix(in srgb, var(--ink) 82%, var(--sage));
  border-top:1px solid var(--rule);
}
.card__list li::before{
  content:""; position:absolute; left:0; top:1.28em; width:10px; height:1px; background:var(--tile);
}
.card__meta{
  margin:auto 0 0; padding-top:1.3rem;
  font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase; color:var(--sage); font-weight:var(--w-label);
}
.card__meta .link{ font-size:.72rem; }

.cards--3{ grid-template-columns:repeat(3,1fr); }
/* Gopurams are tall. The default band is a letterbox strip, which decapitates
   them, so this section gets a deeper one. */
.cards--temples .card__bg{ height:clamp(200px,20vw,290px); }
/* The ask card carries no photograph, so pull its text down to sit level. */
.cards--temples .card--ask{ justify-content:center; }
.card--ask{ background:color-mix(in srgb, var(--sage) 9%, var(--paper)); }
.card--ask:hover{ background:color-mix(in srgb, var(--sage) 14%, var(--paper)); }

/* ---------- houses ---------- */
.houses{
  display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,2.6vw,44px);
}
.house{ margin:0; min-width:0; }
.house__media{ margin:0 0 clamp(16px,1.8vw,24px); overflow:hidden; background:var(--ink); }
.house__media img{
  width:100%; aspect-ratio:4/3; object-fit:cover; display:block;
  transition:transform var(--d-move) var(--ease);
}
.house:hover .house__media img{ transform:scale(1.03); }
.house__kind{
  margin:0 0 .5rem; font-size:var(--label); letter-spacing:var(--track-label);
  text-transform:uppercase; font-weight:var(--w-label); color:var(--sage);
}
.house__name{
  margin:0 0 .55rem; font-size:clamp(1.2rem,1.6vw,1.45rem);
  font-variation-settings:"opsz" 36; letter-spacing:-.01em;
}
.house__line{
  margin:0 0 1.1rem; font-size:.9rem; line-height:1.62;
  color:color-mix(in srgb, var(--ink) 82%, var(--sage));
}
.house__meta{
  display:grid; grid-template-columns:repeat(2,1fr); margin:0;
  border-top:1px solid var(--rule);
}
.house__meta > div{ padding:.85rem 14px 0 0; }
.house__meta > div + div{
  padding-left:14px; padding-right:0;
  border-left:1px solid var(--rule);
}
.house__meta dt{
  font-size:.62rem; letter-spacing:var(--track-label); text-transform:uppercase;
  font-weight:var(--w-label); color:var(--sage);
}
.house__meta dd{ margin:.3em 0 0; font-size:.86rem; }

@media (max-width:1000px){
  .houses{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:620px){
  /* .bento2 goes single-column on phones - that rule lives with the other
     bento breakpoints further down, because it has to come after the 860px
     block or the two-column rule wins on equal specificity. */

  /* Phone only: the rotating panel carries two full paragraphs, which at the
     shared 16px runs long on a narrow column. Laptops keep the 16px. */
  .occ__slide .split__copy > p:not(.eyebrow){ font-size:.9rem; line-height:1.62; }

  .houses{ grid-template-columns:1fr; gap:clamp(30px,6vw,40px); }
}

/* ---------- bento ---------- */
/* Four columns. The hero and the photograph hold the top two rows between them,
   the remaining five items fill the two below. */
.bento{
  display:grid; grid-template-columns:repeat(4,1fr);
  grid-auto-rows:minmax(132px,auto); gap:clamp(10px,1vw,16px);
}
.bento__cell{
  margin:0; background:var(--paper-2); padding:clamp(22px,2.4vw,34px);
  display:flex; flex-direction:column; justify-content:flex-end; min-width:0;
  transition:background var(--d-tint) var(--ease-tint);
}
.bento__cell:hover{ background:color-mix(in srgb, var(--sage) 10%, var(--paper-2)); }
.bento__cell h3{
  margin:0; font-size:clamp(1.05rem,1.35vw,1.22rem);
  font-variation-settings:"opsz" 36; letter-spacing:-.008em; line-height:1.22;
}
.bento__cell p{
  margin:.55rem 0 0; font-size:.88rem; line-height:1.6;
  color:color-mix(in srgb, var(--ink) 82%, var(--sage));
}

/* The lead cell carries the headline claim ON the housekeeping photograph
   rather than beside it. As two cells it said one thing twice and, stacked on a
   phone, took two full blocks to do it. Same construction as the .jcard row on
   the Home page: image, gradient veil, words at the foot. */
.bento__cell--lead{
  grid-column:span 2; grid-row:span 2;
  position:relative; overflow:hidden; padding:0;
  background:var(--ink); color:var(--paper);
  min-height:clamp(300px,30vw,400px);
}
.bento__cell--lead:hover{ background:var(--ink); }
.bento__img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; display:block;
}
/* The photograph is bright white linen, so the foot has to go genuinely dark
   for the words to hold. */
.bento__veil{
  position:absolute; inset:0;
  background:linear-gradient(to top,
    color-mix(in srgb, var(--ink) 93%, transparent) 0%,
    color-mix(in srgb, var(--ink) 66%, transparent) 42%,
    color-mix(in srgb, var(--ink) 18%, transparent) 100%);
}
.bento__lead{
  position:relative; z-index:2; margin-top:auto;
  padding:clamp(22px,2.4vw,34px);
}
.bento__lead h3{
  font-size:clamp(1.5rem,2.3vw,2.05rem); font-variation-settings:"opsz" 72;
  letter-spacing:-.02em; color:var(--paper); margin:0;
}
.bento__lead p{
  font-size:.95rem; max-width:34ch; margin:.55rem 0 0;
  color:color-mix(in srgb, var(--paper) 82%, transparent);
}

/* The five that follow: wide, wide, narrow-narrow, then full width.
   nth-child, not nth-of-type: the photo cell is a <figure> and the rest are
   <div>, so nth-of-type counts them in two separate sequences.
   The last one spans all four because the photo above takes one row now - at
   span 2 it left the bottom-right quarter of the grid empty. Only the Stays
   page uses .bento, so these counts describe one known grid. */
/* Six cells now that the headline and the photograph are one. Four columns:
     row 1  [ lead 2x2 ][ fresh linen 2 ]
     row 2  [          ][ stocked kitchen 2 ]
     row 3  [ wifi 1 ][ parking 1 ][ airport pickup 2 ]  */
.bento__cell:nth-child(2),
.bento__cell:nth-child(3){ grid-column:span 2; }
.bento__cell:nth-child(6){ grid-column:span 2; }

.bento__after{ margin:clamp(26px,3vw,40px) 0 0; }

@media (max-width:1000px){
  .bento{ grid-template-columns:repeat(2,1fr); }
  /* Full width, one row: a picture with a headline on it. */
  .bento__cell--lead{ grid-column:span 2; grid-row:span 1; aspect-ratio:16/9; min-height:0; }
  .bento__cell:nth-child(2),
  .bento__cell:nth-child(3){ grid-column:span 1; }
  /* Two columns, six cells: the last goes full width so the grid does not
     finish on a hole. */
  .bento__cell:nth-child(6){ grid-column:span 2; }
}
@media (max-width:620px){
  .bento{ grid-template-columns:1fr; }
  .bento__cell,
  .bento__cell--lead,
  .bento__cell:nth-child(2),
  .bento__cell:nth-child(3),
  .bento__cell:nth-child(6){ grid-column:span 1; }
  /* Taller than 16/9 on a phone, or the words crowd the picture out. */
  .bento__cell--lead{ aspect-ratio:4/5; }
}

/* ---------- cone houses (Home) ---------- */
/* On the dark ground so the newest line of work reads as a departure from the
   five traveller services above it rather than a sixth one. */
.cone__grid{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(32px,5vw,76px); align-items:center;
}
.cone__copy h2{ margin-bottom:1.1rem; }
.cone__media{ margin:0; }
.cone__media img{
  display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--r);
}
.cone__note{
  margin:1.4rem 0 1.6rem; font-size:.92rem; line-height:1.6;
  color:color-mix(in srgb, var(--paper) 62%, transparent);
  border-left:2px solid color-mix(in srgb, var(--brass) 55%, transparent);
  padding-left:1rem; max-width:34rem;
}
.ticks--light li b{ color:var(--paper); font-weight:600; }
.cone__contact{ margin-top:1.5rem; }
.cone__contact > p{
  margin:0 0 .75rem; font-size:.95rem;
  color:color-mix(in srgb, var(--paper) 72%, transparent);
}
.cone__lines{ display:flex; flex-wrap:wrap; gap:.55rem 1.5rem; margin:0; }
.cone__lines a{
  color:var(--paper); text-decoration:none;
  border-bottom:1px solid color-mix(in srgb, var(--brass) 60%, transparent);
  padding-bottom:2px; font-size:.97rem;
  transition:color var(--d-tint) var(--ease-tint), border-color var(--d-tint) var(--ease-tint);
}
.cone__lines a:hover{ color:var(--brass); border-bottom-color:var(--brass); }
.ticks--light li{ border-bottom-color:var(--rule-inv);
  color:color-mix(in srgb, var(--paper) 88%, transparent); }
.ticks--light li::before{ background:var(--brass); }
.link--light{ color:var(--paper); border-bottom-color:color-mix(in srgb, var(--paper) 45%, transparent); }
.link--light:hover{ color:var(--brass); border-bottom-color:var(--brass); }

/* ---------- Mangalore: tabbed photo + copy (Home) ---------- */
/* One entry visible at a time. The tab swaps the photograph and the paragraph
   together, so six subjects cost the height of one instead of six. */
.mang__tabs{
  display:flex; flex-wrap:wrap; gap:0;
  border-bottom:1px solid var(--rule-strong);
  margin-bottom:clamp(26px,3vw,40px);
}
.mang__tabs button{
  appearance:none; background:none; border:0; cursor:pointer;
  padding:.85em clamp(14px,1.6vw,24px);
  font-family:var(--font-body);
  font-size:var(--label-lg); letter-spacing:var(--track-label); font-weight:var(--w-label);
  text-transform:uppercase;
  color:color-mix(in srgb, var(--ink) 52%, var(--sage));
  border-bottom:2px solid transparent; margin-bottom:-1px;
  transition:color var(--d-tint) var(--ease-tint), border-color var(--d-tint) var(--ease-tint);
}
.mang__tabs button:hover{ color:var(--ink); }
.mang__tabs button[aria-selected="true"]{ color:var(--ink); border-bottom-color:var(--tile); }

/* Panels share one grid cell so the section never jumps as they swap. */
.mang__stage{ display:grid; position:relative; }
.mang__panel{
  grid-area:1/1;
  opacity:0; visibility:hidden;
  transition:opacity var(--d-tint) var(--ease-tint), visibility 0s var(--d-tint);
}
.mang__panel.is-current{
  opacity:1; visibility:visible;
  transition:opacity var(--d-tint) var(--ease-tint);
}
.mang__figure{ margin:0; }
.mang__figure img{
  display:block; width:100%; aspect-ratio:21/9; object-fit:cover; border-radius:var(--r);
}
.mang__figure figcaption{
  margin-top:.85rem; font-family:var(--font-body);
  font-size:var(--label); letter-spacing:var(--track-label); font-weight:var(--w-label);
  text-transform:uppercase; color:var(--sage);
}
/* Prev/next sit in the empty corner to the right of the copy, which is free
   because .mang__text is capped at 46rem. Same grid cell as the panels so they
   stay put as the panels swap. */
.mang__nav{
  grid-area:1/1; align-self:end; justify-self:end;
  position:relative; z-index:2;
  display:flex; align-items:center; gap:clamp(14px,1.6vw,24px);
  pointer-events:none;
}
.mang__arrows{ display:flex; gap:.7rem; }

/* Dots sit on the picture itself. The inner box carries the same aspect ratio
   as the image, so the dots land on its bottom edge without measuring
   anything in JS. */
.mang__overlay{ position:absolute; inset:0; pointer-events:none; z-index:3; }
.mang__overlay-inner{ position:relative; width:100%; aspect-ratio:21/9; }
.mang__dots{
  position:absolute; left:clamp(16px,2vw,26px); bottom:clamp(14px,1.8vw,22px);
  display:flex; align-items:center; gap:.7rem; pointer-events:auto;
}
.mang__dots button{
  width:9px; height:9px; padding:0; border:0; border-radius:999px; cursor:pointer;
  background:color-mix(in srgb, #fff 55%, transparent);
  box-shadow:0 1px 3px rgba(0,0,0,.45);
  transition:background var(--d-tint) var(--ease-tint), transform var(--d-tint) var(--ease-tint);
}
.mang__dots button:hover{ background:color-mix(in srgb, #fff 80%, transparent); }
.mang__dots button[aria-selected="true"]{ background:#fff; transform:scale(1.3); }
.mang__dots button:focus-visible{ outline:2px solid #fff; outline-offset:3px; }
.mang__arrow{
  pointer-events:auto;
  appearance:none; cursor:pointer;
  width:clamp(42px,4.4vw,52px); height:clamp(42px,4.4vw,52px);
  display:grid; place-items:center; flex:none;
  border:1px solid var(--rule-strong); border-radius:999px;
  background:var(--paper); color:var(--ink);
  transition:background var(--d-tint) var(--ease-tint),
             color var(--d-tint) var(--ease-tint),
             border-color var(--d-tint) var(--ease-tint);
}
.mang__arrow svg{ width:19px; height:19px; }
.mang__arrow:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.mang__arrow:focus-visible{ outline:2px solid var(--sage); outline-offset:3px; }

.mang__text{
  margin:clamp(20px,2.4vw,30px) 0 0; font-size:1.02rem; line-height:1.68; max-width:46rem;
  color:color-mix(in srgb, var(--ink) 84%, var(--sage));
}

/* ---------- offer: alternating service rows (Home) ---------- */
/* Replaces the six equal photo cards. Each service gets a full-width row and
   the photograph swaps sides down the page, so the eye has to travel and the
   list stops reading as a grid of identical tiles. */
.offer{ list-style:none; margin:0; padding:0; display:grid; gap:clamp(56px,7vw,116px); }
.offer__row{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(30px,4.5vw,76px); align-items:center;
}
/* Media leads on odd rows, copy leads on even ones. */
.offer__row:nth-child(even) .offer__media{ order:2; }
.offer__media{ margin:0; }
.offer__media img{
  display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--r);
}
.offer__copy{ min-width:0; }
.offer__n{
  margin:0 0 .9rem; font-family:var(--font-body);
  font-size:var(--label); letter-spacing:var(--track-label); font-weight:var(--w-label);
  text-transform:uppercase; color:var(--sage);
}
.offer__copy h3{
  font-size:clamp(1.7rem,3.2vw,2.5rem); line-height:1.1; margin:0 0 .9rem;
  font-variation-settings:"opsz" 96; letter-spacing:-.024em;
}
.offer__copy h3 a{ color:inherit; text-decoration:none; }
.offer__copy h3 a:hover{ color:var(--sage-dp); }
.offer__lede{ margin:0; font-size:1.02rem; line-height:1.65;
  color:color-mix(in srgb, var(--ink) 84%, var(--sage)); }
.offer__copy .ticks{ margin:1.5rem 0 1.4rem; }
/* Each line now leads with a claim and follows with the detail. The claim is
   set in the serif so the eye catches it first and the row stops reading as a
   spec-sheet bullet. */
.offer__copy .ticks li{
  font-size:1rem; line-height:1.55; padding:.95em 0 .95em 1.9em;
}
.offer__copy .ticks li b{
  font-family:var(--font-display); font-weight:600;
  font-variation-settings:"opsz" 36; letter-spacing:-.006em;
  font-size:1.08em; color:var(--ink);
}
.offer__copy .ticks li::before{ top:1.72em; width:14px; }
.offer__meta{
  margin:0 0 1.4rem; display:flex; flex-wrap:wrap; gap:.5rem;
}
.offer__meta span{
  font-family:var(--font-body);
  font-size:var(--label); letter-spacing:var(--track-label); font-weight:var(--w-label);
  text-transform:uppercase; color:var(--sage-dp);
  border:1px solid var(--rule-strong); border-radius:999px;
  padding:.5em 1.05em; line-height:1;
}
.offer__note{
  margin:clamp(56px,7vw,110px) 0 0; padding-top:clamp(24px,3vw,36px);
  border-top:1px solid var(--rule-strong);
  font-size:1.02rem; line-height:1.65; max-width:46rem;
  color:color-mix(in srgb, var(--ink) 84%, var(--sage));
}
.offer__note .link{ margin-left:.4rem; }

/* ---------- split ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,80px); align-items:center; }
.split__media{ margin:0; }
.ph{ position:relative; }
.ph img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--r); }
.split__copy h2{ font-size:clamp(2rem,4.2vw,3.1rem); margin-bottom:1.2rem; }
.ticks{ list-style:none; margin:2rem 0; padding:0; }
.ticks li{ padding:.7em 0 .7em 1.8em; position:relative; border-bottom:1px solid var(--rule); font-size:.95rem; }
.ticks li::before{ content:""; position:absolute; left:0; top:1.5em; width:12px; height:1px; background:var(--tile); }

/* ---------- rotating occasions (Celebrations) ---------- */
/* The three slides share one grid cell, so the stage is always as tall as the
   tallest and the page does not jump when they swap. That means they have to
   stay in flow: visibility, not [hidden], which would collapse the stage. */
.occ__stage{ display:grid; }
.occ__slide{
  grid-area:1/1;
  opacity:0; visibility:hidden;
  transition:opacity var(--d-tint) var(--ease-tint), visibility 0s var(--d-tint);
}
.occ__slide.is-current{
  opacity:1; visibility:visible;
  transition:opacity var(--d-tint) var(--ease-tint);
}

/* ---------- dark band (reusable) ---------- */
.band{ background:var(--ink); color:var(--paper); max-width:none; }
.band__in{ max-width:var(--max-in); margin-inline:auto; }
.band h2{ font-size:clamp(2rem,4.4vw,3.2rem); }
.band .section__lede{ color:color-mix(in srgb, var(--paper) 72%, transparent); }

/* Three boxes side by side left a dead cell whenever they wrapped, and read
   flat. They are now full-width ruled rows: a large brass numeral, the word,
   and the copy in a wide column. The numerals come from a CSS counter, so the
   markup on all three pages that use this is untouched. */
.incl{ display:grid; grid-template-columns:1fr; gap:0; counter-reset:incl;
  border-top:1px solid var(--rule-inv); }
.incl > div{
  display:grid;
  grid-template-columns:auto minmax(0,.9fr) minmax(0,2.1fr);
  gap:clamp(18px,3vw,54px);
  align-items:start;
  padding:clamp(24px,2.8vw,40px) clamp(10px,1.4vw,22px);
  border-bottom:1px solid var(--rule-inv);
  transition:background var(--d-tint) var(--ease-tint);
}
.incl > div:hover{ background:color-mix(in srgb, var(--paper) 5%, transparent); }
.incl > div::before{
  counter-increment:incl;
  content:counter(incl, decimal-leading-zero);
  font-family:var(--font-display); font-weight:400;
  font-variation-settings:"opsz" 96;
  font-size:clamp(2rem,4.2vw,3.5rem); line-height:.9;
  color:color-mix(in srgb, var(--brass) 78%, transparent);
}
.incl h4{
  font-size:clamp(1.6rem,2.4vw,2.2rem); color:var(--brass);
  margin:0; line-height:1.1;
}
.incl p{ font-size:clamp(1rem,1.15vw,1.08rem); line-height:1.65;
  color:color-mix(in srgb, var(--paper) 78%, transparent); margin:0; }

/* A fourth column for a picture, on the Journeys rows only. About and
   Celebrations share .incl and have no pictures, so this is a modifier rather
   than a change to the base - a fourth track there would leave a trailing gap
   with nothing in it. */
.incl--pics > div{
  grid-template-columns:auto minmax(0,.86fr) minmax(0,1.9fr) clamp(116px,13vw,180px);
}
.incl__pic{
  width:100%; aspect-ratio:4/3; object-fit:cover;
  border-radius:var(--r); border:1px solid var(--rule-inv);
}


/* ---------- occasions ---------- */
.occasions{ list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:0;
  border-top:1px solid var(--rule-strong); }
.occasions li{
  padding:1.5em clamp(20px,2.4vw,40px) 1.6em 0;
  border-bottom:1px solid var(--rule-strong);
}
.occasions li span{
  display:block; margin-bottom:.55rem;
  font-family:var(--font-display); font-size:clamp(1.1rem,1.55vw,1.35rem); line-height:1.2;
}
.occasions li p{
  margin:0; font-size:.95rem; line-height:1.6;
  color:color-mix(in srgb, var(--ink) 82%, var(--sage));
}

/* ---------- bento occasion cards (Celebrations) ---------- */
/* Ported from a React/Tailwind/framer-motion component. What carries over is
   the layout idea: a six-column bento of uneven spans, dark cards, and a
   frosted panel that rides up over the bottom of each photograph. Square
   corners rather than the original's large radius, because --r is 0 across
   this whole site. */
.bento2{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(6,1fr);
  gap:clamp(12px,1.4vw,20px);
}
.bento2 .bcard--span-2{ grid-column:span 2; }
.bento2 .bcard--span-3{ grid-column:span 3; }
.bento2 .bcard--span-4{ grid-column:span 4; }

.bcard{
  position:relative; overflow:hidden; border-radius:var(--r);
  background:var(--ink); color:var(--paper);
  border:1px solid var(--rule-inv);
  /* the component's inner top glow, in brass rather than its lilac */
  box-shadow:inset 0 -20px 80px -20px color-mix(in srgb, var(--brass) 14%, transparent);
  display:flex; flex-direction:column;
}
.bcard__media{ margin:0; overflow:hidden; }
.bcard__media img{
  display:block; width:100%; aspect-ratio:4/3; object-fit:cover;
  transition:transform var(--d-move) var(--ease);
}
.bcard:hover .bcard__media img{ transform:scale(1.04); }

/* The signature move: the copy rides up over the foot of the picture on a
   blurred panel, so image and text share the same space. */
.bcard__body{
  position:relative; z-index:2;
  margin-top:clamp(-116px,-9vw,-84px);
  padding:clamp(22px,2.4vw,32px);
  background:color-mix(in srgb, var(--ink) 62%, transparent);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  flex:1;
}
.bcard__body h3{
  font-size:clamp(1.25rem,1.7vw,1.5rem); line-height:1.2; margin:0 0 .6rem;
  font-variation-settings:"opsz" 36; letter-spacing:-.008em;
  color:var(--paper);
}
.bcard__body p{
  margin:0; font-size:.97rem; line-height:1.6;
  color:color-mix(in srgb, var(--paper) 76%, transparent);
}

/* ---------- ruled option list ---------- */
.chips{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(2,1fr);
  column-gap:clamp(32px,5vw,80px);
  border-top:1px solid var(--rule-strong);
}
.chips li{
  position:relative; padding:1.1em 0 1.1em 1.6em;
  border-bottom:1px solid var(--rule);
  font-family:var(--font-display);
  font-size:clamp(1.05rem,1.45vw,1.24rem);
  line-height:1.35;
}
.chips li::before{
  content:""; position:absolute; left:0; top:1.55em;
  width:11px; height:1px; background:var(--tile);
}

/* ---------- journey steps ---------- */
.steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(20px,2.6vw,40px); }
.steps li{ position:relative; padding-top:2.4rem; border-top:2px solid var(--sage); }
.steps__n{
  position:absolute; top:-.9rem; left:0; background:var(--paper); padding-right:12px;
  font-family:var(--font-display); font-size:.9rem; letter-spacing:.14em; color:var(--sage); font-weight:600;
}
.steps h3{ font-size:1.3rem; margin-bottom:.6rem; }
.steps p{ font-size:.93rem; color:color-mix(in srgb, var(--ink) 82%, var(--sage)); margin:0; }

/* ---------- promise ---------- */
.promise{
  background:var(--sage); color:var(--paper);
  padding:clamp(64px,8vw,110px) var(--gut); text-align:center;
}
.promise__words{
  font-family:var(--font-display); font-size:clamp(1.9rem,5.4vw,4rem); line-height:1.12;
  margin:0 0 1.6rem;
}
.promise__words span{ display:inline-block; margin:0 .18em; }
.promise__by{ margin:0; font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase;
  color:color-mix(in srgb, var(--paper) 78%, transparent); }

/* ---------- guest accounts: split layout ---------- */
/* Deliberately not a .section — .promise sits above and the .section adjacency
   rules must not fire on the split below. */
.wordof{ background:var(--paper-2); padding:clamp(84px,10.5vw,150px) var(--gut); }
.tsplit{
  max-width:var(--max-in); margin-inline:auto;
  display:grid; grid-template-columns:1fr auto; gap:clamp(36px,5vw,88px);
  align-items:center;
}
.tsplit__copy{ min-width:0; }

/* the rule-and-label device, one recipe shared by the tag and the byline */
.tsplit__hr{
  display:inline-block; width:34px; height:1px; background:var(--rule-strong); flex:none;
}
.tsplit__tag{
  display:flex; align-items:center; gap:.7rem; margin:0 0 clamp(22px,2.6vw,34px);
  font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase;
  font-weight:var(--w-label); color:var(--sage);
}

.tsplit__quote{
  margin:0 0 clamp(26px,3vw,38px); max-width:24ch;
  font-family:var(--font-display); font-weight:350;
  font-variation-settings:"opsz" 144;
  font-size:clamp(1.9rem,4.1vw,3.15rem); line-height:1.22; letter-spacing:-.028em;
  color:var(--ink); text-wrap:balance;
}
.tsplit__brk{ color:var(--tile); padding:0 .12em; }

.tsplit__by{ display:flex; align-items:center; gap:1rem; }
.tsplit__name{ margin:0; font-size:1.02rem; font-weight:600; color:var(--ink); }
/* The guests sent a headline and a paragraph. The headline carries the pull
   quote, which is set large; the paragraph goes here at reading size, because
   forty words at 3rem would fill the screen. */
.tsplit__body{
  margin:0 0 clamp(26px,3vw,36px); max-width:46ch;
  font-size:1rem; line-height:1.7;
  color:color-mix(in srgb, var(--ink) 80%, var(--sage));
}
.tsplit__role{ margin:.2rem 0 0; font-size:.9rem;
  color:color-mix(in srgb, var(--ink) 82%, var(--sage)); }

.tsplit__note{
  margin:clamp(30px,3.6vw,46px) 0 0; max-width:40ch;
  font-size:.79rem; line-height:1.66;
  color:color-mix(in srgb, var(--ink) 82%, var(--sage));
}
.tsplit__note .link{ font-size:.68rem; display:inline-block; margin-top:.6rem; }

.tsplit__visual{ min-width:0; width:clamp(260px,30vw,400px); }

/* Motion between accounts. Only runs once there is more than one to move between. */
.tsplit__item{
  transition:opacity var(--d-tint) var(--ease-tint), transform var(--d-move) var(--ease);
}
.tsplit__item[hidden]{ display:none; }
.tsplit__item.is-leaving{ opacity:0; transform:translateY(-18px); }
.tsplit__item.is-entering{ opacity:0; transform:translateY(26px); }

/* Cycling controls appear only when a second account exists */
.tsplit__dots,.occ__dots{ display:flex; align-items:center; gap:.85rem; margin-top:clamp(28px,3vw,40px); }
.tsplit__dots button,.occ__dots button{
  width:8px; height:8px; padding:0; border:0; border-radius:999px; cursor:pointer;
  background:color-mix(in srgb, var(--ink) 26%, transparent);
  transition:background var(--d-tint) var(--ease-tint), transform var(--d-tint) var(--ease-tint);
}
.tsplit__dots button:hover,.occ__dots button:hover:hover{ background:color-mix(in srgb, var(--ink) 45%, transparent); }
.tsplit__dots button[aria-current="true"],.occ__dots button[aria-current="true"]{ background:var(--ink); transform:scale(1.12); }
.tsplit__next{
  display:inline-flex; align-items:center; gap:.4rem; margin-left:.6rem;
  font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase;
  font-weight:var(--w-label); color:var(--sage);
  background:none; border:0; cursor:pointer; padding:0;
  opacity:0; transition:opacity var(--d-tint) var(--ease-tint);
}
.tsplit:hover .tsplit__next,.tsplit__next:focus-visible{ opacity:1; }
.tsplit__next svg{ width:12px; height:12px; }

@media (max-width:860px){
  /* two even columns, then one, rather than six uneven ones */
  .bento2{ grid-template-columns:repeat(2,1fr); }
  .bento2 .bcard--span-2,.bento2 .bcard--span-3,.bento2 .bcard--span-4{ grid-column:span 1; }

  .cone__grid{ grid-template-columns:1fr; gap:clamp(26px,4vw,36px); }

  .mang__figure img{ aspect-ratio:16/10; }
  .mang__overlay-inner{ aspect-ratio:16/10; }
  /* Tab strip scrolls sideways rather than wrapping to three rows. */
  .mang__tabs{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .mang__tabs::-webkit-scrollbar{ display:none; }
  .mang__tabs button{ flex:none; }
  .mang__nav{ justify-self:start; }
  .mang__panel{ padding-bottom:4.2rem; }

  .offer__row{ grid-template-columns:1fr; gap:clamp(22px,3.5vw,32px); }
  .offer__row:nth-child(even) .offer__media{ order:0; }

  .tsplit{ grid-template-columns:1fr; gap:clamp(34px,6vw,48px); }
  .tsplit__visual{ width:100%; max-width:400px; }
  .tsplit__quote{ max-width:none; }
}

/* Phones: one card at a time. Two columns leaves each card 156px wide, which
   is narrower than the -84px the copy panel rides up by, so the text covered
   most of the photograph and every card ran 600px tall for a 115px picture. */
@media (max-width:620px){
  .bento2{ grid-template-columns:1fr; gap:clamp(16px,4vw,22px); }
  .bento2 .bcard--span-2,.bento2 .bcard--span-3,.bento2 .bcard--span-4{ grid-column:1 / -1; }
  /* A little wider than tall, so six stacked cards do not run the page long. */
  .bcard__media img{ aspect-ratio:3/2; }
  .bcard__body{ margin-top:-72px; padding:20px; }
  .bcard__body h3{ font-size:1.18rem; }
  .bcard__body p{ font-size:.92rem; line-height:1.58; }
}

/* ---- video player ---- */
.vplayer{
  margin:0; position:relative; overflow:hidden; isolation:isolate;
  aspect-ratio:16/9; background:var(--ink); border:1px solid var(--rule-strong);
}
/* the footage is portrait; a blurred still fills the sides so nothing is cropped */
.vplayer::before{
  content:""; position:absolute; inset:-8%; z-index:-1;
  background:var(--poster) center/cover no-repeat;
  filter:blur(26px) saturate(.85) brightness(.52);
}
.vplayer__video{
  position:absolute; inset:0; display:block; width:100%; height:100%;
  object-fit:contain; background:transparent;
}
.vplayer:fullscreen{ aspect-ratio:auto; }
.vplayer:fullscreen::before{ content:none; }

/* controls */
.vplayer__bar{
  position:absolute; left:0; right:0; bottom:0; padding:12px 11px 11px;
  display:flex; flex-direction:column; gap:9px;
  background:linear-gradient(to top, rgba(12,22,16,.88), rgba(12,22,16,.42) 55%, transparent);
  transition:opacity var(--d-tint) var(--ease-tint);
}
.vplayer__seekrow{ display:flex; align-items:center; gap:8px; }
.vplayer__time{
  color:var(--paper); font-size:.62rem; letter-spacing:.04em;
  font-variant-numeric:tabular-nums; flex:none; opacity:.9;
}
.vplayer__btns{ display:flex; align-items:center; justify-content:space-between; gap:6px; }
.vplayer__group{ display:flex; align-items:center; gap:1px; }
.vplayer__bar button{
  display:grid; place-items:center; width:30px; height:30px; padding:0;
  background:none; border:0; cursor:pointer; color:var(--paper); border-radius:2px;
  transition:background var(--d-tint) var(--ease-tint);
}
.vplayer__bar button:hover{ background:rgba(245,242,234,.18); }
.vplayer__bar button svg{ width:15px; height:15px; }

/* volume slider opens on hover, like the rest of the site it stays quiet until asked */
.vplayer__vol{ display:flex; align-items:center; }
.vplayer__volume{ width:0; opacity:0; transition:width var(--d-tint) var(--ease-tint), opacity var(--d-tint) var(--ease-tint); }
.vplayer__vol:hover .vplayer__volume,
.vplayer__volume:focus-visible{ width:56px; opacity:1; margin-left:4px; }

/* range inputs */
.vplayer__seek,.vplayer__volume{
  -webkit-appearance:none; appearance:none; height:3px; border-radius:999px;
  background:rgba(245,242,234,.3); cursor:pointer; min-width:0;
}
.vplayer__seek{ flex:1 1 auto; }
.vplayer__seek::-webkit-slider-thumb,.vplayer__volume::-webkit-slider-thumb{
  -webkit-appearance:none; appearance:none; width:11px; height:11px; border-radius:999px;
  background:var(--paper); border:0; cursor:pointer;
  transition:transform var(--d-tint) var(--ease-tint);
}
.vplayer__seek:hover::-webkit-slider-thumb{ transform:scale(1.25); }
.vplayer__seek::-moz-range-thumb,.vplayer__volume::-moz-range-thumb{
  width:11px; height:11px; border-radius:999px; background:var(--paper); border:0; cursor:pointer;
}
.vplayer :focus-visible{ outline:2px solid var(--paper); outline-offset:2px; }

/* idle: controls fade out while playing until the pointer moves */
.vplayer.is-idle .vplayer__bar{ opacity:0; pointer-events:none; }
.vplayer.is-playing .vplayer__bar .i-play,
.vplayer .vplayer__bar .i-pause,
.vplayer .i-mute,
.vplayer.is-muted .i-vol,
.vplayer .i-min,
.vplayer.is-full .i-max{ display:none; }
.vplayer.is-playing .vplayer__bar .i-pause,
.vplayer.is-muted .i-mute,
.vplayer.is-full .i-min{ display:block; }

/* narrow slots drop the skip buttons and the volume slider rather than crush everything */
@media (max-width:520px){
  .vplayer__bar{ padding:10px 8px 9px; }
}

.reel__cap{
  margin:.85rem 0 0; font-size:var(--label); letter-spacing:var(--track-label);
  text-transform:uppercase; font-weight:var(--w-label);
  display:flex; flex-wrap:wrap; gap:.3rem .7rem; align-items:baseline;
}
.reel__kicker{ color:var(--ink); }
.reel__cap a{ color:var(--sage-dp); text-decoration:none;
  border-bottom:1px solid var(--rule-strong); }
.reel__cap a:hover{ border-bottom-color:var(--ink); }

@media (max-width:860px){
  .wordof__in{ grid-template-columns:1fr; }
}
@media (max-width:860px){
  .wordof__in{ grid-template-columns:1fr; gap:clamp(40px,7vw,54px); }
  .wordof__rubric h2{ max-width:24ch; }
  .quote__body::before{ position:static; display:block; margin:0 0 -.3em -.06em; font-size:2.4em; }
  .quote__rules{ max-width:none; }
}

/* ---------- plan / form ---------- */
.plan{ padding-top:clamp(56px,7vw,96px); }
.plan__grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(36px,6vw,88px); }
.plan__copy h1,.plan__copy h2{ font-size:clamp(2rem,4.2vw,3rem); margin-bottom:1.3rem; }
.contact{ list-style:none; margin:2.4rem 0 0; padding:0; }
.contact li{ padding:1.05em 0; border-top:1px solid var(--rule-strong); }
.contact li span{ display:block; font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase;
  color:var(--sage); font-weight:var(--w-label); margin-bottom:.3em; }
.contact li a{ text-decoration:none; font-size:1.05rem;
  border-bottom:1px solid var(--rule-strong); }
.contact li a:hover{ border-bottom-color:var(--ink); }
.contact li p{ margin:0; font-size:1.05rem; }

.form{ display:grid; grid-template-columns:1fr 1fr; gap:18px; align-content:start; }
.field{ grid-column:1 / -1; display:flex; flex-direction:column; gap:7px; }
.field--half{ grid-column:span 1; }
.field label{ font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase; color:var(--sage); font-weight:var(--w-label); }
.field input,.field select,.field textarea{
  /* 16px minimum, or iOS Safari zooms the page when a field is tapped */
  font-family:inherit; font-size:16px; color:var(--ink);
  background:transparent; border:0;
  border-bottom:1px solid var(--rule-strong);
  padding:.65em 0; border-radius:0;
}
.field textarea{ resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:0; border-bottom-color:var(--tile); }
.form .btn{ grid-column:1 / -1; justify-self:start; margin-top:8px; }
.form__note{ grid-column:1 / -1; margin:0; font-size:.88rem; color:var(--sage-dp); min-height:1.2em; }

/* ---------- footer ---------- */
.foot{ background:var(--ink); color:color-mix(in srgb, var(--paper) 74%, transparent);
  padding:clamp(44px,5vw,68px) var(--gut); }
.foot__in{ max-width:var(--max-in); margin-inline:auto; display:flex; flex-wrap:wrap;
  gap:clamp(28px,5vw,64px); align-items:flex-start; }
.foot__brand{ display:flex; align-items:center; gap:12px; margin-right:auto; }
.foot__brand .brand__mark{ color:var(--sage); }
.foot__brand p{ margin:0; font-family:var(--font-display); font-size:1rem; color:var(--paper); line-height:1.3; }
.foot__brand span{ font-family:var(--font-body); font-size:.64rem; letter-spacing:.18em;
  text-transform:uppercase; color:var(--mist); }
.foot__cols{ display:flex; gap:clamp(28px,5vw,72px); flex-wrap:wrap; }
.foot__cols h4{ font-family:var(--font-body); font-size:.64rem; letter-spacing:.18em;
  text-transform:uppercase; color:var(--mist); font-weight:var(--w-label); margin:0 0 .9em; }
.foot__cols a{ display:block; text-decoration:none; font-size:.86rem; padding:.18em 0; }
.foot__cols a:hover{ color:var(--paper); }
.foot__cols p{ margin:0; font-size:.86rem; line-height:1.6; }
.foot__legal{ margin:0; font-size:.76rem; width:100%; padding-top:22px;
  border-top:1px solid color-mix(in srgb, var(--paper) 14%, transparent); }

/* ---------- inner-page hero ---------- */
.phero{ padding:clamp(56px,7vw,96px) var(--gut) 0; }
.phero__in{
  max-width:var(--max-in); margin-inline:auto;
  display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(32px,5vw,72px);
  align-items:center;
}
.phero__copy{ min-width:0; }
.phero__figure{ margin:0; min-width:0; }
.phero__figure img{
  width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--r); display:block;
}
.phero h1{ font-size:clamp(2.5rem,6vw,4.4rem); max-width:16ch; margin-bottom:1.4rem; }
.phero .lede{ max-width:42rem; }
.phero__meta{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin:2.6rem 0 0;
  border-top:1px solid var(--rule-strong); }
.phero__meta > div{ padding:18px 22px 0 0;
  border-right:1px solid var(--rule); }
.phero__meta > div + div{ padding-left:22px; }
.phero__meta > div:last-child{ border-right:0; padding-right:0; }
.phero__meta dt{ font-size:var(--label); letter-spacing:var(--track-label); text-transform:uppercase; color:var(--sage); font-weight:var(--w-label); }
.phero__meta dd{ margin:.35em 0 0; font-size:.92rem; }
.phero .ridge{ margin-top:clamp(48px,6vw,80px); }

/* --- masthead variants: each inner page opens differently --- */

/* Stays: copy, then a full-bleed landscape image running edge to edge */
.phero--below{ padding-bottom:0; }
.phero--below .phero__in{ display:block; }
.phero--below .phero__copy{ max-width:52rem; }
.phero--below .phero__figure{
  margin:clamp(40px,5vw,72px) calc(var(--gut) * -1) 0;
}
.phero--below .phero__figure img{
  width:100%; height:clamp(280px,34vw,520px); object-fit:cover;
  object-position:center 62%;
  border-radius:0; display:block;
}

/* Celebrations: the copy sits over a darkened full-bleed image */
.phero--overlay{
  position:relative; isolation:isolate; overflow:hidden;
  padding:clamp(96px,12vw,168px) var(--gut);
  background:var(--ink); color:var(--paper);
}
.phero--overlay .phero__figure{ position:absolute; inset:0; margin:0; z-index:-2; }
.phero--overlay .phero__figure img{
  width:100%; height:100%; object-fit:cover; border-radius:0; display:block;
}
.phero__scrim{
  position:absolute; inset:0; z-index:-1;
  background:linear-gradient(to bottom,
    rgba(12,22,16,.82) 0%, rgba(12,22,16,.62) 45%, rgba(12,22,16,.86) 100%);
}
.phero--overlay .phero__in{ display:block; max-width:var(--max-in); }
.phero--overlay .phero__copy{ max-width:46rem; }
.phero--overlay h1{ color:var(--paper); }
.phero--overlay .lede{ color:color-mix(in srgb, var(--paper) 84%, transparent); }
.phero--overlay .phero__meta{ border-top-color:var(--rule-inv); }
.phero--overlay .phero__meta > div{ border-right-color:rgba(245,242,234,.2); }
.phero--overlay .phero__meta dt{ color:var(--mist); }
.phero--overlay .phero__meta dd{ color:var(--paper); }

/* Journeys: image left, copy right, meta running the full width beneath */
.phero--mirror .phero__in{ grid-template-columns:.9fr 1.1fr; align-items:center; }
/* capped against the viewport so the meta row is visible without scrolling */
.phero--mirror .phero__figure img{
  aspect-ratio:auto; height:min(52vh, 33vw, 500px); min-height:280px;
}
.phero--mirror > .phero__meta{
  max-width:var(--max-in); margin:clamp(64px,7vw,104px) auto 0;
  grid-template-columns:repeat(3,1fr);
}

@media (max-width:860px){
  .phero--mirror .phero__in{ grid-template-columns:1fr; }
  .phero--mirror .phero__figure{ order:-1; margin-bottom:32px; }
  .phero--mirror .phero__figure img{ height:auto; aspect-ratio:4/3; min-height:0; }
  .phero--below .phero__figure img{ height:clamp(220px,52vw,320px); }
  .phero--overlay{ padding-block:clamp(72px,16vw,110px); }
}

/* ---------- closing call to action ---------- */
.cta{ background:var(--sage); color:var(--paper); padding:clamp(64px,8vw,110px) var(--gut); }
.cta__in{ max-width:56rem; margin-inline:auto; text-align:center; }
.cta h2{ font-size:clamp(2rem,4.4vw,3.2rem); margin-bottom:1.1rem; }
.cta p{ font-size:1.05rem; color:var(--paper); max-width:40rem; margin-inline:auto; }
.cta__row{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:2.2rem; }
.btn--outline{ background:transparent; color:var(--paper); border-color:color-mix(in srgb, var(--paper) 55%, transparent); }
.btn--outline:hover{ background:var(--paper); color:var(--ink); border-color:var(--paper); }

/* ---------- reveal ---------- */
/* Reveals only hide when JS is there to bring them back. */
.js .reveal{
  opacity:0;
  transition:opacity var(--d-reveal) var(--ease-tint);
}
.js .reveal.is-in{ opacity:1; transform:none; }

/* The hero copy drifts up and fades as the next section comes to meet it. */
.vhero__in{ will-change:opacity, transform; }

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .cards{ grid-template-columns:repeat(2,1fr); }
  .occasions,.cards--3{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); row-gap:44px; }
}
@media (max-width:860px){
  .split,.plan__grid,.phero__in{ grid-template-columns:1fr; }
  .phero__figure{ margin-top:36px; }
  .split__media{ order:2; margin-bottom:34px; }
}

/* The nav collapses at 1100px, not 860. Measured in the browser: with six
   links the row needs about 1100px before the wordmark and the Plan a stay
   button stop wrapping - at 1010 the nav was 108px tall with the wordmark on
   three lines beside a two-line button, and at 1120 it is 74px with both on
   one. The drawer is better than the wrapped version. Kept separate from the
   860 block above, which governs layout rules that should not move with it. */
@media (max-width:1100px){
  .nav__links{ display:none; }
  .nav__toggle{ display:flex; }
  .nav .btn--sm{ display:none; }
  .nav__drawer:not([hidden]){ display:flex; }
}
@media (max-width:620px){
  .cards,.cards--3,.occasions,.steps,.chips{ grid-template-columns:1fr; }
  /* numeral above, then word, then copy */
  .incl > div{ grid-template-columns:1fr; gap:.5rem; }
  .incl > div::before{ font-size:2rem; }
  /* Stacked, the picture lands under the copy. Wide and short so a row is
     still a row rather than three screens of car. */
  .incl--pics > div{ grid-template-columns:1fr; }
  .incl__pic{ aspect-ratio:16/9; margin-top:.5rem; }
  .phero__meta{ grid-template-columns:1fr; }
  .phero__meta > div{ border-right:0; width:100%; padding:14px 0 0; }
  .phero__meta > div + div{ padding-left:0; }
  .phero__figure img{ aspect-ratio:4/3; }
  .form{ grid-template-columns:1fr; }
  .field--half{ grid-column:1 / -1; }
  .vhero{ padding-top:104px; }
  .vhero__facts{ grid-template-columns:1fr; gap:16px; }
  .vhero__facts > div{ border-right:0; padding:0; }
  .vhero__cta{ flex-direction:column; align-items:stretch; }
  .pill{ justify-content:center; }
}

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

/* ---------- jump cards (Home, above the promise band) ---------- */
/* Ported from a React/Tailwind component. What carries over is the behaviour:
   hovering the row dims and softens every card, and the one under the cursor
   comes back to full. Square corners rather than the original's rounded-xl,
   because --r is 0 across this site, and the veil is mixed from --ink rather
   than pure black so it sits in the palette.
   Everything for this component, breakpoints included, is in this one block -
   no rule for it lives anywhere else in the file. */
.jump{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(12px,1.4vw,20px);
}
.jcard{
  position:relative; z-index:1; display:block; overflow:hidden;
  height:clamp(300px,30vw,380px);
  border-radius:var(--r); background:var(--ink);
  text-decoration:none; color:var(--paper);
  transition:transform var(--d-tint) var(--ease),
             opacity var(--d-tint) var(--ease-tint),
             filter var(--d-tint) var(--ease-tint);
}
.jcard__img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center;
}
/* Dark at the foot, clear at the head, so the words hold against any picture. */
.jcard__veil{
  position:absolute; inset:0;
  background:linear-gradient(to top,
    color-mix(in srgb, var(--ink) 88%, transparent) 0%,
    color-mix(in srgb, var(--ink) 46%, transparent) 42%,
    transparent 78%);
}
.jcard__body{
  position:absolute; left:0; right:0; bottom:0;
  padding:clamp(20px,2.2vw,28px);
}
.jcard__sub{
  display:block;
  font-size:var(--label); letter-spacing:var(--track-label);
  text-transform:uppercase; font-weight:var(--w-label);
  color:color-mix(in srgb, var(--paper) 78%, transparent);
}
.jcard__title{
  display:block; margin-top:.4rem;
  font-family:var(--font-display); font-weight:500;
  font-size:clamp(1.5rem,2.2vw,2rem); line-height:1.1;
  letter-spacing:-.004em; color:var(--paper);
}

/* The effect, only where a real pointer can hover. On a touch screen there is
   no un-hover, so a tapped card would stay scaled and its neighbours blurred. */
@media (hover:hover){
  .jump:hover .jcard{ transform:scale(.97); opacity:.6; filter:blur(2px); }
  .jump:hover .jcard:hover{ transform:scale(1.04); opacity:1; filter:none; z-index:2; }
}
/* Keyboard gets the same highlight, and beats the dimming above it. */
.jcard:focus-visible,.jump:hover .jcard:focus-visible{
  transform:scale(1.04); opacity:1; filter:none; z-index:2;
  outline:2px solid var(--brass); outline-offset:3px;
}

@media (max-width:1000px){
  .jump{ grid-template-columns:repeat(2,1fr); }
}
/* Phones get two by two rather than a stack. Four full-width cards ran most of
   a screen each, which is a lot of scrolling to find out there are only four
   things. At this size all four are in view at once, so the choice is the whole
   picture rather than something you discover on the way down. The subtitle goes:
   at ~150px wide it wrapped to four lines, and the titles are the same four
   words as the nav, so it was not carrying anything. */
@media (max-width:620px){
  .jump{ gap:10px; }
  .jcard{ height:clamp(132px,38vw,168px); }
  .jcard__sub{ display:none; }
  .jcard__body{ padding:14px; }
  .jcard__title{ margin-top:0; font-size:1.12rem; }
  /* Less picture is showing, so the words need a firmer ground under them. */
  .jcard__veil{
    background:linear-gradient(to top,
      color-mix(in srgb, var(--ink) 92%, transparent) 0%,
      color-mix(in srgb, var(--ink) 52%, transparent) 52%,
      transparent 92%);
  }
}
/* Scale and blur are the whole effect, so under reduced motion there is
   nothing worth keeping - drop it rather than snapping it on instantly. */
@media (prefers-reduced-motion:reduce){
  .jump:hover .jcard,.jump:hover .jcard:hover,
  .jcard:focus-visible,.jump:hover .jcard:focus-visible{
    transform:none; opacity:1; filter:none;
  }
  .jcard:focus-visible{ outline:2px solid var(--brass); outline-offset:3px; }
}

/* ---------- the note on the name (Home) ---------- */
/* A native <dialog>, so focus trapping, Esc to close and inertness behind it
   are the browser's job rather than ours. It does NOT open by itself: an
   interstitial on arrival is the fastest way to lose the visitor who just
   landed, and Google treats one on mobile as an intrusive interstitial. */
/* A margin note that still has to look clickable. The quiet version - italic
   text, dotted underline, nothing else - read as a caption, and on a phone
   there is no hover to discover otherwise. Four cues now, none of them a box:
   the left rule says "aside", the solid underline says "link", the arrow says
   "there is more", and the copy is a question, which asks to be answered.

   The words are sage-dp, not terracotta: terracotta on paper measures 4.36:1
   and AA wants 4.5 at this size. The terracotta goes on the rule, the
   underline and the arrow, which carry no reading and so no contrast floor. */
.aside-note{
  margin:clamp(30px,3.6vw,46px) 0 0;
  border-left:2px solid color-mix(in srgb, var(--tile) 55%, transparent);
  padding-left:1.1rem;
}
.aside-note__link{
  font-family:var(--font-display); font-style:italic; font-weight:400;
  font-size:clamp(1rem,1.25vw,1.15rem); line-height:1.4;
  color:var(--sage-dp);
  background:none; border:0; padding:0 0 .18em; text-align:left; cursor:pointer;
  border-bottom:1px solid var(--tile);
  transition:color var(--d-tint) var(--ease-tint), border-bottom-color var(--d-tint) var(--ease-tint);
}
.aside-note__link::after{
  content:" \2192"; font-style:normal; color:var(--tile);
}
.aside-note__link:hover,.aside-note__link:focus-visible{
  color:var(--ink); border-bottom-color:var(--ink);
}
.aside-note__link:focus-visible{ outline:2px solid var(--brass); outline-offset:4px; }

.bunt{
  border:0; padding:0; background:transparent;
  max-width:min(620px, calc(100vw - 2 * clamp(16px,5vw,48px)));
  max-height:min(86vh, 780px);
  color:var(--ink);
}
.bunt::backdrop{
  background:color-mix(in srgb, var(--ink) 68%, transparent);
  backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);
}
.bunt__in{
  position:relative; overflow:auto; max-height:inherit;
  background:var(--paper); border:1px solid var(--rule-strong);
  border-radius:var(--r);
  padding:clamp(30px,4.5vw,52px);
}
.bunt__x{
  position:absolute; top:clamp(12px,1.6vw,18px); right:clamp(12px,1.6vw,18px);
  width:34px; height:34px; display:flex; align-items:center; justify-content:center;
  background:none; border:1px solid var(--rule); border-radius:var(--r);
  color:var(--ink); cursor:pointer;
  transition:background var(--d-tint) var(--ease-tint);
}
.bunt__x:hover{ background:var(--paper-2); }
.bunt__x svg{ width:16px; height:16px; }
.bunt h2{
  font-size:clamp(1.7rem,3.4vw,2.4rem); line-height:1.1;
  margin:0 0 1.1rem; max-width:18ch;
}
.bunt p{
  margin:0 0 1rem; font-size:.98rem; line-height:1.7;
  color:color-mix(in srgb, var(--ink) 84%, var(--sage));
  max-width:46ch;
}
.bunt p:last-child{ margin-bottom:0; }
.bunt em{ font-style:italic; color:var(--ink); }

/* ---------- activities grid (Activities page) ---------- */
/* This was a ruled text list, which is a dull way to sell things people do for
   fun. Picture-led now: the photograph carries the excitement, the name sits on
   it, and the practical detail - what it is, when it runs - lives underneath
   where it can be read rather than skimmed. */
.acts{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(18px,2.2vw,32px);
}
.act{ display:flex; flex-direction:column; min-width:0; }
.act__media{
  position:relative; margin:0 0 clamp(14px,1.4vw,20px);
  overflow:hidden; border-radius:var(--r); background:var(--ink);
}
.act__media img{
  display:block; width:100%; aspect-ratio:4/3; object-fit:cover;
  transition:transform var(--d-move) var(--ease);
}
.act:hover .act__media img{ transform:scale(1.05); }
/* The name sits on the picture, on a gradient rather than a bar, so the image
   is not cut in half by a block of colour. */
.act__label{
  position:absolute; left:0; right:0; bottom:0;
  padding:clamp(28px,3vw,40px) clamp(14px,1.4vw,18px) clamp(12px,1.2vw,16px);
  font-family:var(--font-display); font-weight:500;
  font-size:clamp(1.15rem,1.5vw,1.4rem); line-height:1.15;
  color:var(--paper);
  background:linear-gradient(to top,
    color-mix(in srgb, var(--ink) 88%, transparent) 0%,
    color-mix(in srgb, var(--ink) 40%, transparent) 62%,
    transparent 100%);
}
.act__text{
  margin:0; font-size:.93rem; line-height:1.62;
  color:color-mix(in srgb, var(--ink) 82%, var(--sage));
}
.act__meta{
  margin:auto 0 0; padding-top:clamp(12px,1.2vw,16px);
  font-size:var(--label); letter-spacing:var(--track-label);
  text-transform:uppercase; font-weight:var(--w-label);
  color:var(--sage);
}

@media (max-width:1000px){
  .acts{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:620px){
  /* One at a time on a phone. Two across leaves the copy in a 150px column,
     and these carry real detail rather than a label. */
  .acts{ grid-template-columns:1fr; gap:clamp(26px,6vw,34px); }
  .act__media img{ aspect-ratio:16/9; }
}
@media (prefers-reduced-motion:reduce){
  .act:hover .act__media img{ transform:none; }
}

/* --------------------------------------------------------------------------
   Corrections for the Cormorant Garamond / Spectral pair.

   Cormorant has a far smaller x-height than Fraunces, so at the same pixel
   size it reads a size or two down; font-size-adjust normalises the x-height
   instead of making us retune every clamp() in the file. Cormorant is also
   drawn light, so display weight goes up a step, and Garamonds want air where
   Fraunces wanted tightening. Spectral ships static weights only, so the 550
   used for the small uppercase labels has to resolve to a real one.

   Everything the pair change touches is in this one block, so putting the old
   pair back is this block plus the two tokens plus the Google Fonts link.
   -------------------------------------------------------------------------- */
h1,h2,h3,h4{
  font-size-adjust:ex-height 0.46;
  font-weight:500;
  letter-spacing:-.004em;
}
body{ font-size-adjust:ex-height 0.46; }
:root{ --w-label:600; }
/* 350 was a Fraunces weight; Cormorant at 350 is too faint to carry a pull quote. */
.tsplit__quote{ font-weight:400; }
