@font-face{
  font-family:'Young Serif'; font-style:normal; font-weight:400; font-display:swap;
  src:url('../fonts/young-serif-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Young Serif'; font-style:normal; font-weight:400; font-display:swap;
  src:url('../fonts/young-serif-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:'Atkinson Hyperlegible Next'; font-style:normal; font-weight:400 700; font-display:swap;
  src:url('../fonts/atkinson-next-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Atkinson Hyperlegible Next'; font-style:normal; font-weight:400 700; font-display:swap;
  src:url('../fonts/atkinson-next-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* Palette taken from the dining-room mural: plaster wall, ink line, sage, ochre, mountain grey-green, pine */
:root{
  --plaster:#FBFBF8;
  --ink:#2E2B26;
  --ink-soft:#57534B;
  --sage:#B4C2B0;
  --sage-wash:#E9EEE6;
  --sage-text:#55705A;
  --ochre:#D2A84E;
  --ochre-text:#7D5F1C;
  --mountain:#9DAA9C;
  --pine:#33443A;
  --rule:#D7DCD3;

  --serif:'Young Serif',Georgia,serif;
  --sans:'Atkinson Hyperlegible Next',Verdana,sans-serif;

  /* left gutter that carries the route line */
  --gutter:104px;
  --side:40px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:90px}
body{
  margin:0; background:var(--plaster); color:var(--ink);
  font-family:var(--sans); font-size:18px; line-height:1.55;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
body.menu-open{overflow:hidden}
h1,h2,h3{font-family:var(--serif); font-weight:400; margin:0; color:var(--ink); line-height:1.1; letter-spacing:-.005em; text-wrap:balance; font-variant-numeric:lining-nums}
p,figure,ul,dl,dd{margin:0; padding:0}
a{color:inherit}
img{max-width:100%; height:auto; display:block}
:focus-visible{outline:3px solid var(--ochre-text); outline-offset:3px}

.wrap{max-width:1320px; margin:0 auto; padding:0 var(--side) 0 var(--gutter)}

.skip{position:absolute; left:12px; top:-60px; z-index:200; background:var(--ink); color:var(--plaster); padding:10px 16px; text-decoration:none}
.skip:focus{top:12px}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex; align-items:center; min-height:52px; padding:12px 26px;
  font-family:var(--sans); font-weight:700; font-size:17px;
  text-decoration:none; border:2px solid var(--ink); border-radius:999px; color:var(--ink); background:transparent;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-solid{background:var(--ink); color:var(--plaster)}
.nw{white-space:nowrap}
.btn-solid:hover{background:var(--pine); border-color:var(--pine)}
.btn-line:hover{background:var(--sage-wash)}

/* ---------- HEADER ---------- */
header{position:fixed; top:0; left:0; right:0; z-index:100; padding:22px 0; background:var(--plaster); transition:padding .25s ease, box-shadow .25s ease}
header.scrolled{padding:12px 0; box-shadow:0 1px 0 var(--rule)}
header .wrap{display:flex; align-items:center; gap:40px}
.brand{display:flex; flex-direction:column; text-decoration:none; line-height:1; margin-right:auto}
.brand img{display:block; height:58px; width:auto}
header.scrolled .brand img{height:48px}
#nav-links{display:flex; align-items:center; gap:26px}
#nav-links a{font-size:16px; white-space:nowrap; text-decoration:none; color:var(--ink-soft); padding:6px 0; border-bottom:2px solid transparent}
#nav-links a:hover{color:var(--ink)}
#nav-links a.active{color:var(--ink); border-bottom-color:var(--ochre)}
.header-tel{font-weight:700; font-size:16px; text-decoration:none; white-space:nowrap; padding:8px 16px; border:2px solid var(--ink); border-radius:999px}
.header-tel:hover{background:var(--ink); color:var(--plaster)}
.burger{display:none; width:46px; height:46px; align-items:center; justify-content:center; cursor:pointer; background:none; border:2px solid var(--ink); border-radius:50%}
.burger span, .burger span::before, .burger span::after{content:''; display:block; width:18px; height:2px; background:var(--ink); position:relative}
.burger span::before{position:absolute; top:-6px}
.burger span::after{position:absolute; top:6px}

.mobile-nav{
  position:fixed; inset:0; background:var(--pine); z-index:99; padding:110px 28px 40px;
  display:flex; flex-direction:column; overflow:auto;
  visibility:hidden; transform:translateY(-100%); transition:transform .3s ease, visibility 0s linear .3s;
}
.mobile-nav.open{visibility:visible; transform:none; transition:transform .3s ease}
.mobile-nav a{font-family:var(--serif); font-size:28px; padding:14px 0; border-bottom:1px solid rgba(251,251,248,.18); text-decoration:none; color:var(--plaster)}
.mobile-nav a.mobile-tel{font-family:var(--sans); font-weight:700; font-size:19px; color:var(--ochre); border:0; margin-top:24px}

/* ---------- HERO ---------- */
.hero{padding-top:150px}
.hero-text{max-width:820px}
.hero h1{font-size:clamp(38px,4.8vw,64px); line-height:1.04}
.hero-sub{font-size:clamp(18px,1.6vw,21px); color:var(--ink-soft); margin-top:26px; max-width:36em}
.hero-actions{display:flex; gap:14px; margin-top:34px; flex-wrap:wrap}
.hero-hours{margin-top:18px; font-size:16px; color:var(--sage-text); font-weight:700}

/* desktop: the drawing keeps its own proportions so every screen shows the same picture (no cropping) */
.landscape{display:block; width:100%; height:auto; aspect-ratio:1440/440; margin-top:clamp(-110px,-6vw,0px)}
.landscape .lines path{fill:none; stroke:var(--ink); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.landscape .tunnel-dark{fill:var(--ink)}

/* one orchestrated moment: the drawing traces itself on load, then its washes settle in */
@media (prefers-reduced-motion: no-preference){
  .landscape .draw{stroke-dasharray:1; stroke-dashoffset:1; animation:trace 1.6s cubic-bezier(.55,.1,.3,1) forwards}
  .landscape .d1{animation-duration:2.2s}
  .landscape .d2{animation-delay:.9s}
  .landscape .d3{animation-delay:1.3s; animation-duration:1s}
  .landscape .d4{animation-delay:1.8s; animation-duration:1.2s}
  .landscape .fills{opacity:0; animation:wash .9s ease 2.3s forwards}
}
.land-wrap{position:relative}
.hero .landscape.terrassa{position:absolute; z-index:2; left:0; bottom:0; width:100%; height:100%; margin:0}
@media (prefers-reduced-motion:no-preference){
  .landscape .d5{animation-delay:2.1s; animation-duration:1.2s}
  .terrassa .fills{animation-delay:3s}
}
@keyframes trace{to{stroke-dashoffset:0}}
@keyframes wash{to{opacity:1}}

/* ---------- ROUTE LINE ---------- */
.route{position:relative; isolation:isolate}
.route-line{position:absolute; top:0; left:0; pointer-events:none; overflow:visible}
#route-path{fill:none; stroke:var(--ink); stroke-width:2.4; stroke-linecap:round}
#route-stops circle{fill:var(--plaster); stroke:var(--ink); stroke-width:2.4; transition:fill .3s ease}
#route-stops circle.reached{fill:var(--ochre)}
.route > section{position:relative}

/* ---------- SECTIONS ---------- */
.sec{padding:130px 0 110px}
.sec h2{font-size:clamp(32px,3.8vw,50px)}

/* sections with the photo on the left keep their heading above the grid, next to the route stop */
.sec-head{margin-bottom:40px; max-width:22em}
.two-col{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(40px,6vw,96px); align-items:start}
.two-col.media-first{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.col-text{max-width:33em}
.col-text > p{margin-top:18px}
.col-text .lede{font-size:clamp(19px,1.6vw,21px); margin-top:22px}
.col-text h2 + .meta{margin-top:12px}
.col-text .meta + .lede{margin-top:16px}
.meta{font-weight:700; color:var(--sage-text); font-size:17px}
.col-text .btn{margin-top:32px}

.col-media img{width:100%; height:100%; object-fit:cover}
.col-media.portrait{aspect-ratio:4/5; max-height:720px}
.col-media.landscape-photo{aspect-ratio:4/3; margin-top:8px}

.facts{list-style:none; margin-top:28px}
.facts li{position:relative; padding:0 0 12px 26px; color:var(--ink-soft)}
/* a short drawn stroke, so open circles stay reserved for stops on the route */
.facts li::before{content:''; position:absolute; left:0; top:.75em; width:14px; height:2px; background:var(--sage-text)}

/* El projecte: text centred against the tall photo */
#el-projecte .two-col{align-items:center}

/* Restaurant: a slow carousel of dishes, edge to edge. The route line passes underneath it
   through two tunnel portals like the hero's; --route-x is set by the route script */
.dishes{position:relative; margin-top:90px}
.dish-strip{overflow:hidden}
.dish-track{display:flex; gap:12px; width:max-content; animation:dish-roll 90s linear infinite}
.dish-track img{flex:0 0 auto; width:clamp(260px,32vw,520px); aspect-ratio:3/2; object-fit:cover}
.dishes:hover .dish-track, .dishes.paused .dish-track{animation-play-state:paused}
@keyframes dish-roll{to{transform:translateX(calc(-50% - 6px))}}
.dishes::before, .dishes::after{
  content:''; position:absolute; z-index:2; left:calc(var(--route-x) - 26px); width:52px; height:36px; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 36'%3E%3Cpath d='M3,36 L3,16 Q26,-6 49,16 L49,36' fill='%23FBFBF8' stroke='%232E2B26' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M13,36 L13,24 A13,13 0 0 1 39,24 L39,36 Z' fill='%232E2B26'/%3E%3C/svg%3E") no-repeat center/contain;
}
.dishes::before{top:-35px; transform:rotate(180deg)}
.dishes::after{bottom:-35px}
.dish-pause{
  position:absolute; z-index:3; right:var(--side); bottom:14px; width:44px; height:44px; border-radius:50%;
  border:2px solid var(--plaster); background:rgba(46,43,38,.72); cursor:pointer;
  background-image:linear-gradient(var(--plaster),var(--plaster)),linear-gradient(var(--plaster),var(--plaster));
  background-size:4px 14px; background-position:15px center,23px center; background-repeat:no-repeat;
}
.dishes.paused .dish-pause{background-image:none}
.dishes.paused .dish-pause::after{content:''; position:absolute; left:16px; top:12px; border-style:solid; border-width:8px 0 8px 13px; border-color:transparent transparent transparent var(--plaster)}

.menu-card{margin-top:70px; background:var(--sage-wash); padding:clamp(28px,4vw,56px); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(28px,4vw,56px)}
.menu-block h3{font-size:25px}
.menu-when{font-size:16px; color:var(--sage-text); font-weight:700; margin-top:4px}
.price{font-family:var(--serif); font-size:34px; margin-top:16px; line-height:1}
.price span{font-family:var(--sans); font-size:16px; color:var(--ink-soft)}
.menu-list{margin-top:18px}
.menu-carta{margin-top:22px}
/* name, dotted leader, note: the leader is the row's ::before, slotted between with order */
.menu-list div{display:flex; align-items:baseline; gap:8px; padding:9px 0}
.menu-list div::before{content:''; order:2; flex:1 1 12px; border-bottom:2px dotted var(--mountain); transform:translateY(-5px)}
.menu-list dt{order:1; font-weight:700; font-size:17px}
.menu-list dd{order:3; font-size:15px; color:var(--ink-soft); white-space:nowrap}
.menu-list dd a{color:inherit; text-decoration-color:var(--ochre); text-decoration-thickness:2px; text-underline-offset:3px}
.menu-note{margin-top:16px; font-size:15px}
.menu-note a{font-weight:700; color:inherit; text-decoration-color:var(--ochre); text-decoration-thickness:2px; text-underline-offset:3px}
/* MUUU BEEE shop: closes the restaurant topic, photo first so it alternates with the heading row above */
.muuu{--muuu:#1B882F; --muuu-dark:#14692A; margin-top:110px; align-items:center; position:relative; isolation:isolate; padding:clamp(28px,4vw,56px); background:#EEF4EC}
.muuu::before{content:''; position:absolute; z-index:-1; inset:0; border:2.4px solid var(--muuu-dark); transform:translate(12px,-12px); pointer-events:none}
.muuu .lede{margin-top:12px}
.muuu .col-media.muuu-foto{--tone:var(--muuu); --arch:50%; aspect-ratio:1; max-width:460px; width:100%; margin-top:0; justify-self:center}
.muuu .col-media.muuu-foto img{aspect-ratio:1; height:auto}
.muuu .col-media.muuu-foto::before{transform:translate(-18px,18px)}
.muuu .col-media.muuu-foto::after{inset:-14px; transform:none; border:2.4px solid var(--muuu-dark)}
.muuu-logo img{display:block; width:clamp(170px,16vw,230px); height:auto}
.muuu-lema{margin-top:10px; font-family:var(--serif); font-size:clamp(18px,1.5vw,21px); color:var(--muuu-dark)}
.muuu-btn{background:var(--muuu-dark); border-color:var(--muuu-dark)}
.muuu-btn:hover{background:var(--ink); border-color:var(--ink)}
@media (max-width:640px){
  .muuu{padding:22px 18px}
  .muuu::before{transform:translate(6px,-6px)}
  .muuu .col-media.muuu-foto{max-width:250px; margin-inline:auto}
  .muuu .col-media.muuu-foto::before{transform:translate(-9px,9px)}
  .muuu .col-media.muuu-foto::after{inset:-8px}
}
/* bike prices reuse the menu's dotted rows; the recommended route sits on a sage wash */
.bici-preus{margin-top:24px; max-width:30em}
.bici-preus dd{font-family:var(--serif); font-size:20px; color:var(--ink)}
.bici-ruta{margin-top:26px; padding:18px 22px; background:var(--sage-wash)}
.bici-ruta h3{font-size:20px}
.bici-ruta p{margin-top:6px; color:var(--ink-soft); font-size:16px}
.bici-ruta a{font-weight:700; color:var(--ink); text-decoration-color:var(--ochre); text-decoration-thickness:2px; text-underline-offset:3px}
/* La sala: all four photos as one mosaic beside a single info column (prices, weekend offer, extras) */
.sala{align-items:start}
.sala-mosaic{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; position:relative; isolation:isolate; margin-top:8px}
.sala-mosaic::before{content:''; position:absolute; z-index:-1; inset:24px 24px -18px -18px; background:var(--tone)}
.sala-mosaic figure{margin:0}
.sala-mosaic img{width:100%; height:100%; aspect-ratio:1; object-fit:cover}
.sala-gran{grid-column:1 / -1}
.sala-gran img{aspect-ratio:4/3}
.sala-preus{margin-top:22px}
.sala-preus dd{font-family:var(--serif); font-size:20px; color:var(--ink)}
.sala-oferta{margin-top:20px; background:#F6EEDA; padding:16px 20px; color:var(--ink-soft)}
.sala-oferta strong{color:var(--ink)}
.sala-serveis{margin-top:18px; color:var(--ink-soft)}
.sala-serveis a{color:var(--ink); font-weight:700; text-decoration-color:var(--ochre); text-decoration-thickness:2px; text-underline-offset:3px}
.sala-normes{margin-top:10px; font-size:15px; color:var(--ink-soft)}
.sala-actions{display:flex; flex-wrap:wrap; gap:14px}

/* Activitats: outbound links */
.links-title{font-size:22px; margin-top:40px}
.links{list-style:none; margin-top:10px}
.links a{display:inline-block; padding:8px 0; font-weight:700; color:var(--ink); text-decoration:underline; text-decoration-color:var(--ochre); text-decoration-thickness:2px; text-underline-offset:5px}
.links a:hover{color:var(--sage-text)}

/* Contact: the end of the line */
#contacte{padding-bottom:130px}
.contact{display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(40px,5vw,80px); align-items:stretch}
.contact-info .lede{margin-top:18px; font-size:clamp(19px,1.6vw,21px); max-width:28em}
.contact-list{margin-top:36px}
.contact-list div{padding:16px 0; border-top:1px solid var(--rule)}
.contact-list dt{font-weight:700; font-size:16px; color:var(--sage-text)}
.contact-list dd{margin-top:4px}
.contact-list a{text-decoration:underline; text-decoration-color:var(--ochre); text-decoration-thickness:2px; text-underline-offset:4px}
.contact-list a.big{font-family:var(--serif); font-size:34px; text-decoration:none; line-height:1.2}
.contact-list a.big:hover{color:var(--sage-text)}
.contact-map{position:relative; min-height:460px; background:var(--sage-wash)}
.contact-map iframe{position:absolute; inset:0; width:100%; height:100%; border:0; filter:grayscale(.6) sepia(.15)}

/* ---------- FOOTER ---------- */
footer{position:relative; background:var(--pine); color:#C9D3C7; padding:34px 0 22px; margin-top:60px}
/* drawn ridge sits on top of the footer so the page ends in the landscape it started with */
.footer-ridge{position:absolute; left:0; bottom:100%; width:100%; height:70px; display:block}
.footer-ridge .ridge-fill{fill:var(--pine)}
.footer-ridge .ridge-sun{fill:var(--ochre)}
.footer-grid{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr) minmax(0,1.4fr); gap:28px clamp(28px,4vw,64px); align-items:start}
.footer-logo{display:block; height:auto; width:130px}
.footer-tag{margin-top:14px; font-size:15px; color:#C9D3C7; max-width:24em}
.footer-contact{display:flex; flex-direction:column; gap:4px; font-size:15px}
.footer-contact a{color:#E3E9E1; text-decoration:underline; text-decoration-color:var(--ochre); text-decoration-thickness:2px; text-underline-offset:4px; align-self:flex-start}
.footer-contact a.footer-tel{font-family:var(--serif); font-variant-numeric:lining-nums; font-size:28px; color:var(--plaster); text-decoration:none; line-height:1.15; margin-bottom:4px}
.footer-contact p{color:#AEBBAC}
.footer-links, .footer-social{display:flex; flex-wrap:wrap; gap:6px 22px}
.footer-social{margin-top:16px; padding-top:14px; border-top:1px solid rgba(251,251,248,.16)}
.footer-links a, .footer-social a{font-size:15px; text-decoration:none; color:#E3E9E1}
.footer-social a{font-weight:700; color:var(--sage)}
.footer-links a:hover, .footer-social a:hover, .footer-contact a:hover{color:var(--ochre)}
.footer-bottom{margin-top:30px; padding-top:16px; border-top:1px solid rgba(251,251,248,.16); font-size:14px; color:#AEBBAC; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px}
footer :focus-visible{outline-color:var(--ochre)}


/* ---------- CAPSETES: one big box with a wash, two round ones on top, and the offer as a menu ---------- */
#capsetes{--tone:var(--ochre)}
.capsetes{align-items:center}
.capsetes-fotos{position:relative; padding-bottom:90px}
.capsetes-gran{aspect-ratio:4/5; width:78%}
.capsetes-rodona{position:absolute; margin:0; border-radius:50%; overflow:hidden; aspect-ratio:1; width:38%; border:6px solid var(--plaster); box-shadow:0 0 0 2.4px var(--ink)}
.capsetes-rodona img{width:100%; height:100%; object-fit:cover}
.capsetes-r1{right:0; top:16%}
.capsetes-r2{right:14%; bottom:0}
.capsetes-list{margin-top:26px}
.capsetes-extra{margin-top:20px; color:var(--ink-soft); font-size:16px}
.capsetes-actions{display:flex; flex-wrap:wrap; gap:14px; margin-top:30px}
.capsetes-actions .btn{margin-top:0}

@media (max-width:980px){
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-side{grid-column:1 / -1}
}
@media (max-width:980px){
  .capsetes-fotos{max-width:560px; order:2}
}
@media (max-width:640px){
  .capsetes-fotos{padding-bottom:60px}
  .capsetes-rodona{width:42%; border-width:4px}
  #capsetes .btn{flex-wrap:wrap; justify-content:center; white-space:nowrap; row-gap:2px}
}

/* ---------- TOPICS: arched photos and drawn horizons ---------- */
#el-projecte{--tone:var(--sage)}
#restaurant{--tone:var(--ochre)}
#ruta-del-ferro{--tone:var(--mountain)}
#bicicletes{--tone:var(--sage)}
#activitats{--tone:var(--ochre)}
#la-sala{--tone:var(--sage)}

/* photos topped with an arch (Ripoll's Romanesque, the railway tunnels) over an offset wash and an offset ink line */
.col-media{position:relative; isolation:isolate; overflow:visible; --arch:50% 50% 0 0 / 40% 40% 0 0}
.col-media.landscape-photo{--arch:50% 50% 0 0 / 32% 32% 0 0}
.col-media img, .col-media::before, .col-media::after{border-radius:var(--arch)}
.col-media img{position:relative}
.col-media::before{content:''; position:absolute; z-index:-1; inset:0; transform:translate(-16px,16px); background:var(--tone)}
.col-media::after{content:''; position:absolute; inset:0; transform:translate(12px,-12px); border:2.4px solid var(--ink); border-bottom:0; pointer-events:none}

/* alternative for any photo: add class "taca" to the figure for an irregular wash and a straight offset frame */
.col-media.taca{--arch:0}
.col-media.taca::before{inset:12% 26px -26px -26px; transform:none; border-radius:46% 54% 42% 58% / 38% 44% 56% 62%}
.col-media.taca::after{inset:-11px -11px 11px 11px; transform:none; border-bottom:2.4px solid var(--ink)}

/* a short drawn horizon opens each topic, mirrored on alternate sections */
.sec{padding-top:250px}
.route > .sec + .sec::before{
  content:''; position:absolute; top:70px; left:var(--content-x); width:var(--content-w); height:64px; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 64' preserveAspectRatio='none'%3E%3Cpath d='M300,62 C330,40 350,30 372,30 C398,32 420,50 440,62 Z' fill='%23D2A84E'/%3E%3Cpath d='M520,62 C560,26 600,12 630,14 C664,18 700,46 730,62 Z' fill='%23B4C2B0'/%3E%3Cpath d='M0,62 L280,62 C320,30 350,22 372,22 C400,24 430,44 460,56 C520,20 580,4 620,6 C664,8 710,40 760,62 L1000,62' fill='none' stroke='%232E2B26' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center/100% 100%;
}
.route > .sec:nth-of-type(odd)::before{transform:scaleX(-1)}

@media (max-width:640px){
  .col-media.taca::before{left:-14px; right:14px; bottom:-14px}
  .route > .sec + .sec::before{height:34px; top:56px}
  .route > .sec{padding-top:170px; padding-bottom:64px}
  .btn{font-size:16px; padding:12px 22px; text-align:center}
  /* smaller offsets so the wash and ink line stay clear of the screen edge and the route line */
  .col-media::before{transform:translate(-9px,9px)}
  .col-media::after{transform:translate(7px,-7px)}
  .col-media.taca::before{inset:12% 14px -14px -9px}
  .col-media.taca::after{inset:-7px -7px 7px 7px}
  /* menu: the note drops under the dish name instead of squeezing the dotted leader */
  .menu-list div{flex-wrap:wrap; gap:0 8px; padding:8px 0}
  .menu-list div::before{display:none}
  .menu-list dd{flex-basis:100%; white-space:normal}
  .footer-grid{grid-template-columns:1fr; gap:24px}
  .footer-ridge{height:40px}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  #route-stops circle{transition:none}
  .dish-track{animation:none}
  .dish-strip{overflow-x:auto}
  .dish-track img[aria-hidden]{display:none}
  .dish-pause{display:none}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1100px){
  #nav-links{gap:18px}
  #nav-links a{font-size:15px}
}
/* eight menu items no longer fit below this width: switch to the burger menu */
@media (max-width:1080px){
  #nav-links, .header-tel{display:none}
  .burger{display:flex}
}
@media (max-width:980px){
  :root{--gutter:56px; --side:24px}
  #nav-links, .header-tel{display:none}
  .burger{display:flex}
  .hero{padding-top:124px}
  .landscape{margin-top:0}
  .two-col, .two-col.media-first{grid-template-columns:1fr}
  .two-col .col-media{order:2}
  .col-media.portrait{aspect-ratio:4/3}
  .menu-card{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .contact-map{min-height:340px}
  .sec{padding-top:220px}
  .col-media.portrait{--arch:50% 50% 0 0 / 32% 32% 0 0}
  .sec-head{margin-bottom:0}
}
@media (max-width:640px){
  :root{--gutter:42px; --side:18px}
  body{font-size:17px}
  /* phones: fixed height, cropped from the left so the mountains and tunnel stay in view */
  .landscape{height:240px; aspect-ratio:auto; margin-top:8px}
  .landscape .lines path{stroke-width:3.6}
  .sala-mosaic{gap:8px}
  .sala-mosaic::before{inset:16px 12px -10px -10px}
  .dish-track img{width:240px}
}

/* ---------- PHOTO SHAPES: each topic gets its own frame so the page doesn't repeat one arch ---------- */
/* placed last so they win over the arch and portrait rules at every breakpoint */

/* plan: the hall as a rectangle with ink corner marks, like a floor plan */
.col-media.planol{--arch:0}
.col-media.planol::after{inset:-14px; transform:none; border:0;
  background:
    linear-gradient(var(--ink),var(--ink)) left top/46px 2.4px,
    linear-gradient(var(--ink),var(--ink)) left top/2.4px 46px,
    linear-gradient(var(--ink),var(--ink)) right top/46px 2.4px,
    linear-gradient(var(--ink),var(--ink)) right top/2.4px 46px,
    linear-gradient(var(--ink),var(--ink)) left bottom/46px 2.4px,
    linear-gradient(var(--ink),var(--ink)) left bottom/2.4px 46px,
    linear-gradient(var(--ink),var(--ink)) right bottom/46px 2.4px,
    linear-gradient(var(--ink),var(--ink)) right bottom/2.4px 46px;
  background-repeat:no-repeat}
.col-media.planol::before{transform:translate(-22px,22px)}

/* wheel: the bikes in a circle, with a partial offset outline like a turning wheel */
.col-media.roda{--arch:50%; aspect-ratio:1; max-width:520px; justify-self:center; width:100%}
.col-media.roda::before{transform:translate(-18px,18px)}
.col-media.roda::after{border:2.4px solid var(--ink); transform:translate(14px,-14px); clip-path:polygon(40% 0,100% 0,100% 70%,60% 100%,40% 50%)}

/* postcard: activities as a keepsake photo, white border, tilted, with a strip of tape */
.col-media.postal{--arch:0; padding:14px 14px 46px; background:#fff; transform:rotate(-2.2deg); box-shadow:0 0 0 1px var(--rule)}
.col-media.postal::before{inset:18px; transform:rotate(3.4deg) translate(-12px,16px)}
.col-media.postal::after{inset:auto; top:-16px; left:50%; width:120px; height:30px; transform:translateX(-50%) rotate(3deg); border:0; background:var(--sage); opacity:.75}

@media (max-width:980px){
  .col-media.roda{max-width:380px}
}
@media (max-width:640px){
  .col-media.planol::before{transform:translate(-10px,10px)}
  .col-media.planol::after{inset:-8px}
  .col-media.roda{max-width:300px}
  .col-media.roda::before{transform:translate(-9px,9px)}
  .col-media.roda::after{transform:translate(7px,-7px)}
  .col-media.postal{padding:9px 9px 30px}
  .col-media.postal::before{transform:rotate(3deg) translate(-7px,9px)}
  .col-media.postal::after{width:84px; height:22px; top:-11px}
}
