:root{
  --olive:#f7eee0;          /* primary ground, used everywhere */
  --linen:#424118;          /* primary text color, on olive ground */

  /* Accent: brand olive on linen (flips to linen inside .dark).
     Only the four brand colours, or transparencies of them, are used on the site. */
  --accent:#424118;                     /* links, markers, button fills, selection */
  --accent-on:#f7eee0;                  /* type that sits on an accent fill */
  --accent-rule:rgba(66,65,24,.35);     /* rules and outlines */
  --accent-hover:rgba(66,65,24,.86);    /* lighter olive on hover */

  --linen-soft:rgba(66,65,24,.82);
  --linen-dim:rgba(66,65,24,.78);
  --hair:rgba(66,65,24,.18);
  --sans:'Figtree',system-ui,-apple-system,sans-serif;
  --flow:'Fraunces',Georgia,serif;
  /* wave motif lifted from the door hanger set */
  --waves:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='56' viewBox='0 0 28 56'%3E%3Cpath d='M14 -2c-9 7 9 21 0 29c-9 8 9 22 0 29' fill='none' stroke='%23f7eee0' stroke-opacity='0.07' stroke-width='9' stroke-linecap='square'/%3E%3C/svg%3E");
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
[id]{scroll-margin-top:72px}
body{
  background:var(--olive);
  color:var(--linen);
  font-family:var(--sans);
  font-weight:300;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--accent);color:var(--accent-on)}
a{color:var(--linen)}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{
  outline:2px solid var(--accent);outline-offset:3px;
}
img{max-width:100%}

/* ---------- dark (olive) sections ---------- */
.dark{
  background:#424118;
  --linen:#f7eee0;
  --linen-soft:rgba(247,238,224,.72);
  --linen-dim:rgba(247,238,224,.66);
  --hair:rgba(247,238,224,.16);
  --accent:#f7eee0;
  --accent-on:#424118;
  --accent-rule:rgba(247,238,224,.4);
  --accent-hover:rgba(247,238,224,.86);
  color:var(--linen);
}

/* ---------- menu bar: linen, olive type ---------- */
.site-nav{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;gap:1.5rem;
  height:64px;
  padding:0 clamp(1rem,4vw,2.5rem);
  background:#f7eee0;
  border-bottom:1px solid rgba(66,65,24,.14);
  --linen:#424118;--linen-dim:rgba(66,65,24,.78);--accent:#424118;--accent-on:#f7eee0;--accent-hover:rgba(66,65,24,.86);
}
.nav-logo{display:block;margin-right:auto}
.nav-logo img{display:block;height:34px;width:auto}
.nav-links{display:flex;gap:2.2rem;list-style:none}
.nav-links a{
  color:rgba(66,65,24,.85);
  text-decoration:none;
  font-weight:500;
  font-size:.95rem;
  padding:.4rem 0;
  border-bottom:1.5px solid transparent;
  transition:color .2s,border-color .2s;
}
.nav-links a:hover{color:#424118;border-color:rgba(66,65,24,.5)}
.site-nav .btn-book{margin:0;padding:.75rem 1.4rem;font-size:.68rem;letter-spacing:.22em;text-indent:.22em}
.nav-menu{display:none}

/* ---------- hero: linen masthead, then the photo full width ---------- */
/* Logo on linen, photo never covered: the classic hotel masthead. */
.masthead{
  text-align:center;
  padding:clamp(1.8rem,4vh,3rem) 1.25rem clamp(1.8rem,4vh,2.8rem);
  --linen:#424118;--linen-dim:rgba(66,65,24,.78);--accent:#424118;--accent-on:#f7eee0;--accent-hover:rgba(66,65,24,.86);
}
.hero-logo{
  display:block;
  width:clamp(220px,21vw,320px);
  height:auto;
  margin:1rem auto .8rem;
}
.hero-irish{
  font-family:var(--flow);
  font-style:italic;
  font-weight:400;
  font-size:clamp(1.2rem,1.9vw,1.5rem);
  color:var(--linen);
}
.hero-irish span{color:var(--linen-dim);font-size:.88em}
.eyebrow{
  font-weight:600;
  font-size:.72rem;
  letter-spacing:.44em;
  text-indent:.44em;
  text-transform:uppercase;
  color:var(--accent);
}
.btn-book{
  display:inline-block;
  margin-top:1.2rem;
  font-weight:800;
  font-size:.76rem;
  letter-spacing:.26em;
  text-indent:.26em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--accent-on);
  background:var(--accent);
  padding:1rem 2.2rem;
  border-radius:100px;
  transition:background .2s;
}
.btn-book:hover{background:var(--accent-hover)}
.hero-img{
  display:block;
  width:100%;
  height:min(78svh,820px);
  object-fit:cover;
  object-position:50% 38%;
}

@media (max-width:760px){
  .site-nav{gap:.8rem}
  .site-nav>.nav-links{display:none}
  .nav-logo img{height:30px}
  .site-nav .btn-book{padding:.65rem 1rem;letter-spacing:.16em;text-indent:.16em}
  .nav-menu{display:block;order:3}
  .nav-menu summary{
    list-style:none;cursor:pointer;
    color:#424118;font-weight:600;font-size:.9rem;
    padding:.6rem .2rem;
  }
  .nav-menu summary::-webkit-details-marker{display:none}
  .nav-menu[open] summary{text-decoration:underline;text-underline-offset:4px}
  .nav-menu .nav-links{
    position:absolute;left:0;right:0;top:64px;
    flex-direction:column;gap:0;
    background:#f7eee0;
    border-bottom:1px solid rgba(66,65,24,.14);
    padding:.5rem 1rem 1rem;
  }
  .nav-menu .nav-links a{display:block;padding:.9rem 0;font-size:1.15rem;border-bottom:1px solid rgba(66,65,24,.14)}
  .hero-img{height:auto;aspect-ratio:4/3;object-position:60% 50%}
}

/* ---------- sections ---------- */
section{padding:clamp(4.5rem,10vw,8rem) 1.5rem}
.wrap{max-width:1040px;margin:0 auto}
/* One grid for the whole site: heading left, text right on desktop. */
.split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(2rem,6vw,5.5rem);align-items:start}
.split>h2,.split>div>h2{margin-bottom:0}
.split>div>h2{margin-bottom:1.5rem}
.lede{max-width:640px}
@media (max-width:860px){
  .split{grid-template-columns:1fr;gap:1.6rem}
}
h2{
  font-family:var(--sans);
  font-weight:900;
  font-size:clamp(2rem,5vw,2.9rem);
  line-height:1.08;
  letter-spacing:-.02em;
  margin-bottom:1.7rem;
  color:var(--linen);
}
p{margin-bottom:1.3rem;font-size:1.04rem;font-weight:300;color:var(--linen-soft)}
p:last-child{margin-bottom:0}
em{font-family:var(--flow);font-style:italic;font-weight:400;font-size:1.08em;color:var(--linen)}

/* ---------- closing band: the last word is always Book now ---------- */
.closing{text-align:center;border-bottom:1px solid var(--hair)}
.invite{
  font-family:var(--flow);
  font-style:italic;
  font-weight:400;
  font-size:clamp(2rem,5vw,3.2rem);
  line-height:1.1;
  color:var(--linen);
  margin:0 0 .4rem;
}
.closing .btn-book{margin-top:1.8rem;padding:1.1rem 2.6rem;font-size:.8rem}

/* ---------- getting here ---------- */
.address{font-size:1.12rem;font-weight:400;color:var(--linen);line-height:1.6;margin:0}
.ways div{padding:1.1rem 0;border-top:1px solid var(--hair)}
.ways div:last-child{border-bottom:1px solid var(--hair)}
.ways dt{font-weight:800;font-size:1.02rem;color:var(--linen);margin-bottom:.3rem}
.ways dd{font-size:1rem;line-height:1.6;color:var(--linen-soft)}

/* ---------- gallery ---------- */
/* A mosaic of different shapes: like the rooms, no two tiles are quite the same.
   Order walks the house: outside, shared spaces, rooms, details. */
.gallery{padding-top:0}
.gallery-more{display:none}
.mosaic{
  list-style:none;
  max-width:1040px;margin:0 auto;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  grid-auto-rows:clamp(100px,11vw,160px);
  grid-auto-flow:dense;
  gap:8px;
}
.mosaic li{grid-column:span 2;grid-row:span 2}
.mosaic .w1{grid-column:span 1}
.mosaic .w3{grid-column:span 3}
.mosaic .w4{grid-column:span 4}
.mosaic button{
  display:block;width:100%;height:100%;
  padding:0;border:0;background:rgba(66,65,24,.08);cursor:zoom-in;
  border-radius:2px;overflow:hidden;
}
.mosaic img{display:block;width:100%;height:100%;object-fit:cover}
.mosaic button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media (max-width:760px){
  .mosaic{grid-template-columns:1fr 1fr;grid-auto-rows:34vw;gap:6px}
  .mosaic li,.mosaic .w1,.mosaic .w3{grid-column:span 1;grid-row:span 1}
  .mosaic .w4,.mosaic .m2{grid-column:span 2;grid-row:span 2}
  .mosaic .w1{grid-row:span 2}
  /* Phones: eight tiles, the rest in the viewer */
  .mosaic li:nth-child(n+9){display:none}
  .gallery-more{
    display:block;width:100%;margin-top:.8rem;padding:1rem;
    font-family:var(--sans);font-weight:700;font-size:.95rem;
    color:var(--linen);background:transparent;
    border:1.5px solid var(--hair);border-radius:100px;cursor:pointer;
  }
}

/* ---------- lightbox ---------- */
.lightbox{
  width:100vw;height:100dvh;max-width:none;max-height:none;
  margin:0;padding:0;border:0;
  background:rgba(66,65,24,.97);
  color:#f7eee0;
}
.lightbox::backdrop{background:rgba(66,65,24,.97)}
.lightbox[open]{display:flex;align-items:center;justify-content:center}
.lightbox figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:1rem;padding:4rem 1rem 1.5rem}
.lightbox img{max-width:min(92vw,1600px);max-height:calc(100dvh - 9rem);width:auto;height:auto;display:block}
.lightbox figcaption{font-family:var(--flow);font-style:italic;font-size:1.1rem;color:rgba(247,238,224,.85);text-align:center}
.lb-count{position:absolute;top:1.3rem;left:1.5rem;font-size:.8rem;font-weight:600;letter-spacing:.1em;color:rgba(247,238,224,.6)}
.lb-btn{
  position:absolute;
  width:48px;height:48px;border-radius:50%;
  border:1px solid rgba(247,238,224,.35);
  background:rgba(66,65,24,.6);color:#f7eee0;
  font-size:1.4rem;line-height:1;cursor:pointer;
}
.lb-btn:hover{background:rgba(247,238,224,.12)}
.lb-btn:focus-visible{outline:2px solid #f7eee0;outline-offset:3px}
.lb-close{top:.9rem;right:1rem}
.lb-prev{left:1rem;top:50%;transform:translateY(-50%)}
.lb-next{right:1rem;top:50%;transform:translateY(-50%)}
@media (max-width:760px){.lb-prev,.lb-next{top:auto;bottom:1rem;transform:none}}

/* ---------- name entries ---------- */
.entry{
  border-left:3px solid var(--accent-rule);
  padding:.3rem 0 .3rem 1.8rem;
  margin:2.6rem 0;
}
.entry h3{
  font-family:var(--sans);
  font-weight:800;
  font-size:1.3rem;
  letter-spacing:-.01em;
  color:var(--linen);
  margin-bottom:.8rem;
}
.entry p{font-size:1rem}
.entry .cap{
  font-family:var(--flow);
  font-style:italic;
  font-weight:400;
  font-size:1.15rem;
  color:var(--accent);
  margin-top:.4rem;
}

/* ---------- faq ---------- */
.faq details{
  border-bottom:1px solid var(--hair);
  padding:1.15rem 0;
}
.faq details:first-of-type{border-top:1px solid var(--hair)}
.faq summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  font-weight:600;
  font-size:1.02rem;
  color:var(--linen);
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:'+';
  font-weight:800;
  font-size:1.4rem;
  line-height:1;
  color:var(--accent);
  transition:transform .25s;
  flex-shrink:0;
}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{
  margin:.9rem 0 0;
  font-size:.98rem;
}
.faq a{color:var(--accent);text-decoration:none;border-bottom:1px solid var(--accent-rule)}
.faq a:hover{color:var(--linen);border-color:var(--linen)}

/* ---------- good to know ---------- */
/* Two kinds of object: what's here now sits on the olive ground with ticks;
   what's still to come hangs on a linen door hanger, like the room door hangers. */
.gtk{
  margin:clamp(3rem,6vw,4.5rem) auto;
  display:grid;
  grid-template-columns:1fr 300px;
  gap:clamp(2.5rem,6vw,5.5rem);
  align-items:start;
}
.gtk-now{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem}
.gtk-now h3{
  font-weight:800;
  font-size:1.2rem;
  letter-spacing:-.01em;
  color:var(--linen);
  padding-bottom:.85rem;
  margin-bottom:1.3rem;
  border-bottom:2px solid rgba(247,238,224,.22);
}
.ticks{list-style:none}
.ticks li{
  position:relative;
  padding-left:2.2rem;
  margin-bottom:1.05rem;
  font-size:1.06rem;
  font-weight:400;
  line-height:1.45;
  color:rgba(247,238,224,.92);
}
.ticks li::before{
  content:'';
  position:absolute;
  left:0;top:.05rem;
  width:1.35rem;height:1.35rem;
  border-radius:50%;
  border:1.5px solid rgba(247,238,224,.45);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23f7eee0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.hanger{
  position:relative;
  background:#f7eee0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='56' viewBox='0 0 28 56'%3E%3Cpath d='M14 -2c-9 7 9 21 0 29c-9 8 9 22 0 29' fill='none' stroke='%23424118' stroke-opacity='0.08' stroke-width='9' stroke-linecap='square'/%3E%3C/svg%3E") left bottom/28px 56px repeat-x;
  color:#424118;
  border-radius:24px 24px 6px 6px;
  padding:5.4rem 1.8rem 4.4rem;
  text-align:center;
  transform:rotate(2deg);
  box-shadow:0 22px 40px -22px rgba(0,0,0,.55);
}
/* the hole and slit that hook over a door handle */
.hanger::before{
  content:'';
  position:absolute;
  top:1.5rem;left:50%;
  width:52px;height:52px;
  margin-left:-26px;
  border-radius:50%;
  background:#424118;
}
.hanger::after{
  content:'';
  position:absolute;
  top:calc(1.5rem + 24px);
  left:calc(50% + 20px);right:0;
  height:4px;
  background:#424118;
}
.hanger h3{
  font-weight:900;
  font-size:1.75rem;
  line-height:1.05;
  letter-spacing:-.02em;
  color:#424118;
  margin-bottom:1.3rem;
}
.hanger ul{list-style:none}
.hanger li{
  padding:.8rem 0;
  font-size:1rem;
  font-weight:500;
  line-height:1.4;
}
.hanger li+li{border-top:1.5px dashed rgba(66,65,24,.35)}
.gtk-building{max-width:640px}
.nw{white-space:nowrap}
.gtk-building em{font-size:1.2em;margin-right:.2rem}
@media (max-width:860px){
  .gtk{grid-template-columns:1fr}
  .hanger{width:100%;max-width:320px;margin:0 auto;transform:rotate(-1.5deg)}
}
@media (max-width:560px){
  .gtk-now{grid-template-columns:1fr;gap:2rem}
}

/* ---------- footer ---------- */
footer{
  border-top:1px solid var(--hair);
  padding:3.4rem 1.5rem 3.5rem;
  background:#424118;
}
.foot-in{max-width:1040px;margin:0 auto}
.foot-logo{
  display:block;
  width:130px;
  height:auto;
  margin:0 0 2.2rem;
}
.foot{
  display:flex;
  flex-wrap:wrap;
  gap:2rem 4rem;
  justify-content:space-between;
  font-size:.86rem;
  line-height:1.9;
  color:var(--linen-dim);
}
.foot strong{
  color:var(--accent);
  font-weight:800;
  letter-spacing:.24em;
  text-transform:uppercase;
  font-size:.7rem;
  display:block;
  margin-bottom:.4rem;
}
.foot a{color:var(--linen-soft);text-decoration:none;border-bottom:1px solid var(--hair);transition:color .2s}
.foot a:hover{color:var(--linen)}
.copyright{
  margin:2.6rem 0 0;
  font-size:.72rem;
  color:rgba(247,238,224,.7);
}

/* ---------- nav logo: hidden while the masthead logo is on screen ---------- */
.nav-logo{transition:opacity .3s}
.masthead-in-view .site-nav .nav-logo{opacity:0;pointer-events:none}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .nav-logo{transition:none}
}

/* ---------- faq page ---------- */
.more-link{
  display:inline-block;margin-top:2rem;
  font-weight:700;font-size:.95rem;text-decoration:none;
  color:var(--accent);border-bottom:1.5px solid var(--accent-rule);padding-bottom:2px;
}
.more-link:hover{border-color:var(--accent)}
.faq-page .page-head{padding:clamp(3rem,7vw,5rem) 1.5rem clamp(2.5rem,5vw,3.5rem)}
.faq-page section.faq{padding:0}
.nav-links a[aria-current="page"]{color:#424118;border-color:rgba(66,65,24,.5)}
.faq-page .page-head .inner,.essentials .inner,.faq-body{max-width:1040px;margin:0 auto}
.faq-page .page-head h1{margin-top:0}
.faq-page h1{
  font-weight:900;font-size:clamp(2.4rem,6vw,3.6rem);line-height:1.04;letter-spacing:-.025em;
  color:var(--linen);margin-bottom:1.2rem;
}
.faq-page .page-head p{max-width:36em}
.faq-page .page-head a,.faq-body a{color:var(--accent);text-decoration:none;border-bottom:1px solid var(--accent-rule)}
.essentials{padding:clamp(3rem,6vw,4.5rem) 1.5rem}
.essentials h2{font-size:clamp(1.6rem,3.4vw,2.2rem);margin-bottom:1.8rem}
.essentials ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:1.1rem 3rem}
.essentials li{
  position:relative;padding-left:1.5rem;
  font-size:1.06rem;font-weight:400;line-height:1.5;color:rgba(247,238,224,.92);
}
.essentials li::before{
  content:'';position:absolute;left:0;top:.62em;
  width:7px;height:7px;border-radius:50%;background:#f7eee0;
}
.faq-body{
  display:grid;grid-template-columns:200px 1fr;gap:clamp(2rem,6vw,5rem);
  padding:clamp(3rem,6vw,4.5rem) 1.5rem clamp(4rem,8vw,6rem);
}
.faq-index{position:sticky;top:96px;align-self:start}
.faq-index ul{list-style:none}
.faq-index a{
  display:block;padding:.45rem 0;border:0;
  font-weight:500;font-size:.95rem;color:var(--linen-soft);
}
.faq-index a:hover{color:var(--linen)}
.faq-group+.faq-group{margin-top:3.5rem}
.faq-group h2{font-size:clamp(1.5rem,3vw,1.9rem);margin-bottom:1rem}
.faq details ul{margin:.9rem 0 0 1.1rem}
.faq details li{margin-bottom:.55rem;font-size:.98rem;color:var(--linen-soft);line-height:1.6}
.faq details li strong{font-weight:600;color:var(--linen)}
.faq details p+p{margin-top:.6rem}
@media (max-width:760px){
  .essentials ul{grid-template-columns:1fr}
  .faq-body{grid-template-columns:1fr}
  .faq-index{position:static}
  .faq-index ul{display:flex;flex-wrap:wrap;gap:.4rem .6rem}
  .faq-index a{padding:.45rem .9rem;border:1px solid var(--hair);border-radius:100px;font-size:.88rem}
}

/* ---------- room key tags ---------- */

/* Room key tags, each hanging on its own peg */
#rooms{padding-top:clamp(1.5rem,3vw,2.5rem);padding-bottom:clamp(6rem,12vw,10rem)}
.keyrail{margin-top:clamp(2.5rem,5vw,3.5rem)}
.keys{
  list-style:none;position:relative;
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;
  padding-top:28px;
}
/* each tag hangs on a plain olive peg: a straight rod seen end-on, sitting inside the hole and touching its top edge,
   so the tag hangs from it. Flat olive, no highlight, a small shadow below. */
.keys li{position:relative;display:flex;justify-content:center}
.keys li::before{content:'';position:absolute;z-index:2;top:12.5px;left:50%;width:18px;height:18px;margin-left:-9px;border-radius:50%;
  background:#424118;box-shadow:0 3px 3px rgba(0,0,0,.3)}
.key{
  position:relative;display:flex;flex-direction:column;align-items:center;
  width:100%;max-width:156px;min-height:270px;
  padding:3.5rem .8rem 5rem;
  font-family:var(--sans);text-align:center;color:#424118;
  /* same material and shape as the "Still to come" door hanger: linen card, olive ink, wave band */
  background:#f7eee0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='56' viewBox='0 0 28 56'%3E%3Cpath d='M14 -2c-9 7 9 21 0 29c-9 8 9 22 0 29' fill='none' stroke='%23424118' stroke-opacity='0.08' stroke-width='9' stroke-linecap='square'/%3E%3C/svg%3E") left bottom/28px 56px repeat-x;
  border:1.5px solid rgba(66,65,24,.3);
  border-radius:14px 14px 5px 5px;
  transform:rotate(var(--r));transform-origin:50% 12.5px; /* pivots on the peg */
  box-shadow:0 22px 40px -22px rgba(0,0,0,.45);
}
button.key{cursor:zoom-in}
/* door-hanger hole and slit. The hole is cut through the card, so it shows the linen page behind, with an inner
   shadow on its upper edge. The slit is a knife cut, not a groove: a hairline running from the hole out to the edge. */
.key::before{content:'';position:absolute;top:11px;left:50%;width:32px;height:32px;margin-left:-16px;border-radius:50%;
  background:#f7eee0;box-shadow:inset 0 3px 4px rgba(66,65,24,.32),inset 0 0 0 1px rgba(66,65,24,.22)}
.key::after{content:'';position:absolute;top:26.5px;left:calc(50% + 15px);right:-1.5px;height:1.5px;
  background:rgba(66,65,24,.55);box-shadow:0 1px 1px rgba(66,65,24,.12)}
.key-s{font-size:.78rem;font-weight:500;color:rgba(66,65,24,.78)}
.key-n{font-family:var(--flow);font-style:italic;font-size:3.4rem;line-height:1;margin:.1rem 0 .9rem}
.key strong{font-weight:900;font-size:1.02rem;line-height:1.2;letter-spacing:-.01em;margin-bottom:.45rem;padding-top:.75rem;border-top:1.5px dashed rgba(66,65,24,.35);align-self:stretch}
.key-b{font-size:.8rem;line-height:1.4;color:rgba(66,65,24,.85)}
button.key:focus-visible{outline:2px solid #424118;outline-offset:4px}
@keyframes swing{0%{transform:rotate(var(--r))}35%{transform:rotate(calc(var(--r)*-2))}70%{transform:rotate(calc(var(--r)*1.2))}100%{transform:rotate(var(--r))}}
@media (prefers-reduced-motion:no-preference){
  button.key:hover{animation:swing .9s ease}
}
@media (max-width:860px){
  .keyrail{overflow-x:auto;padding-bottom:1.5rem;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
  .keys{display:flex;gap:16px;width:max-content;padding-right:1.5rem}
  .keys li{flex:0 0 150px;scroll-snap-align:start}
}

/* ---------- accessibility helpers ---------- */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:1rem;top:-4rem;z-index:100;padding:.7rem 1.1rem;border-radius:8px;
  background:#424118;color:#f7eee0;font-weight:700;text-decoration:none}
.skip:focus{top:.8rem}

a[href^="tel:"]{white-space:nowrap}
