/*
Theme Name: Achi TOURS
Theme URI: https://achitours.de
Author: Achi TOURS
Description: Custom theme for Achi TOURS: calm, quiet-luxury design in German and English. Works together with the "Achi TOURS Core" plugin and Polylang.
Version: 1.0.9
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: achi-tours
*/

/* Self-hosted fonts (files live in assets/fonts). Georgia / system fonts are the fallback. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/fonts/inter.woff') format('woff'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/instrument-serif.woff') format('woff'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/instrument-serif-italic.woff') format('woff'); }


/* Layout concept: editorial, uneven photo grid on parchment; one dark forest panel for the wine tour; the mountain contour from the logo recurs as a quiet line motif. Single committed look (not themed). */
:root {
  --forest: #123B2E;
  --ink: #0D2A21;
  --pine: #2E6A52;
  --parch: #F7F1E3;
  --parch-2: #EFE7D3;
  --stone: #DDD2BC;
  --copper: #9A4F1F;
  --copper-light: #E39A5F;
  --muted: #4F5E54;
  --display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parch);
  color: var(--forest);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; line-height: 1.04; }
h1 { font-size: clamp(3.2rem, 9vw, 7rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
em { font-style: italic; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.label { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--copper); }
.on-dark .label, .label.light { color: var(--copper-light); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 28px; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s; cursor: pointer; white-space: nowrap;
}
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--forest); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--parch); color: var(--forest); border-color: var(--parch); }
:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 3px; }
.link-arrow { font-size: .875rem; font-weight: 500; color: var(--copper); display: inline-flex; gap: 8px; }
.link-arrow span { transition: transform .25s; }
a:hover .link-arrow span, .link-arrow:hover span { transform: translateX(5px); }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--parch); transition: background .3s, color .3s, box-shadow .3s; padding-top: env(safe-area-inset-top, 0px); }
.site-header.solid { background: var(--parch); color: var(--forest); box-shadow: 0 1px 0 var(--stone); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .3s; }
.site-header.solid .nav-row { height: 68px; }
.logo svg { width: 156px; height: auto; --accent: var(--copper-light); display: block; }
.site-header.solid .logo svg { --accent: #B5622B; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.nav a:not(.btn) { position: relative; padding: 6px 0; white-space: nowrap; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .lang { opacity: .8; }
.nav .btn { min-height: 42px; padding: 0 20px; }
.menu-btn { display: none; background: none; border: 0; color: inherit; width: 48px; height: 48px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; content: ''; margin: auto; }
.menu-btn span::before { position: absolute; top: -7px; left: 0; }
.menu-btn span::after { position: absolute; top: 7px; left: 0; }

/* hero */
.hero { position: relative; color: var(--parch); background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(600px, 78vh, 760px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; animation: drift 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,24,.55) 0%, rgba(10,30,24,.12) 32%, rgba(10,30,24,.78) 100%); }
.hero-inner { position: relative; z-index: 2; padding-block: 150px 84px; }
.hero h1 { max-width: 12ch; margin-top: 18px; }
.hero p.lead { max-width: 34rem; margin: 24px 0 34px; font-size: 1.1875rem; color: #F1EADA; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cap { position: absolute; z-index: 2; right: var(--gutter-r); bottom: 26px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,241,227,.85); writing-mode: vertical-rl; transform: rotate(180deg); }

/* trust */
.trust { padding-block: 44px; border-bottom: 1px solid var(--stone); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust li { padding-left: 20px; border-left: 1px solid var(--stone); }
.trust b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.trust span { font-size: .875rem; color: var(--muted); }

section { padding-block: clamp(72px, 10vw, 128px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head h2 { margin-top: 10px; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.cat { position: relative; display: block; overflow: hidden; color: var(--parch); background: var(--ink); min-height: 320px; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,24,0) 40%, rgba(10,30,24,.82) 100%); }
.cat:hover img { transform: scale(1.05); }
.cat .txt { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; }
.cat h3 { margin: 6px 0 4px; }
.cat p { font-size: .9375rem; color: #E6DFCC; }
.cat .link-arrow { color: var(--copper-light); margin-top: 10px; }
.c-ski { grid-column: span 7; grid-row: span 2; min-height: 660px; }
.c-berg { grid-column: span 5; }
.c-wein { grid-column: span 5; }
.c-over { grid-column: span 12; min-height: 340px; }

/* wine */
.wine { background: var(--forest); color: var(--parch); position: relative; overflow: hidden; }
.wine .contour { position: absolute; right: -80px; top: 20px; width: 760px; opacity: .22; pointer-events: none; }
.wine-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; position: relative; }
.wine-photos { position: relative; padding-bottom: 70px; }
.wine-photos .big { aspect-ratio: 4 / 5; width: 88%; object-fit: cover; }
.wine-photos .small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--forest); }
.wine h2 { margin: 12px 0 22px; }
.wine p { color: #E6DFCC; max-width: 34rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 26px 0 32px; font-size: .875rem; color: var(--copper-light); letter-spacing: .06em; }

/* tours */
.tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tour { display: block; }
.tour .ph { overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.tour img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.tour:hover img { transform: scale(1.05); }
.tour h3 { margin: 18px 0 4px; font-size: 1.9rem; }
.tour .meta { font-size: .9375rem; color: var(--muted); }
.tour .link-arrow { margin-top: 10px; }
.tours-bg { background: var(--parch-2); }

/* culture */
.culture-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.culture-photos { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; align-items: end; }
.culture-photos img { width: 100%; object-fit: cover; }
.culture-photos .a { aspect-ratio: 2 / 3; }
.culture-photos .b { aspect-ratio: 4 / 3; }
.culture h2 { margin: 12px 0 20px; }
.culture p { color: var(--muted); max-width: 34rem; margin-bottom: 22px; }

/* custom */
.custom { background: var(--parch-2); }
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.custom-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.custom h2 { margin: 12px 0 18px; }
.custom .intro { color: var(--muted); max-width: 32rem; }
.steps { list-style: none; counter-reset: s; margin: 32px 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: start; }
.steps li::before { content: counter(s); font-family: var(--display); font-style: italic; font-size: 3.2rem; line-height: .9; color: #B5622B; grid-row: span 2; }
.steps b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.steps span { color: var(--muted); font-size: .9375rem; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-photo figure { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about-photo figcaption { font-size: .8125rem; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
.about h2 { margin: 12px 0 20px; }
.about p { color: var(--muted); max-width: 34rem; margin-bottom: 22px; }

/* journal */
.journal { background: var(--parch-2); padding-block: clamp(56px, 7vw, 88px); }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.journal img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.journal h3 { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3rem); }

/* final cta */
.final { position: relative; color: var(--parch); text-align: center; overflow: hidden; background: var(--ink); }
.final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ''; position: absolute; inset: 0; background: rgba(10,30,24,.55); }
.final .wrap { position: relative; z-index: 2; }
.final h2 { margin-bottom: 14px; }
.final p { color: #F1EADA; margin-bottom: 30px; }

/* footer */
footer { background: var(--ink); color: #CFD6CF; padding-block: 56px 28px; font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid svg.flogo { width: 160px; height: auto; color: var(--parch); --accent: var(--copper-light); }
.foot-grid h4 { margin: 0 0 10px; font-size: .75rem; letter-spacing: .18em; color: var(--parch); font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8125rem; color: #8FA095; }

/* motion: content is visible at rest; JS only hides what is below the fold, then reveals */
.js .pre { opacity: 0; transform: translateY(26px); }
.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .js .pre { opacity: 1; transform: none; }
  .reveal, .cat img, .tour img { transition: none; }
}

/* responsive */
@media (max-width: 960px) {
  .nav { position: fixed; inset: 0; background: var(--ink); color: var(--parch); flex-direction: column; justify-content: center; gap: 22px; font-size: .95rem; padding: 24px; transform: translateY(-100%); visibility: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s .45s; }
  .nav.open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
  .menu-btn { display: block; position: relative; z-index: 60; }
  .site-header.menu-open { color: var(--parch); background: transparent; box-shadow: none; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .wine-grid, .culture-grid, .custom-grid, .about-grid, .journal-grid { grid-template-columns: 1fr; }
  .tours { grid-template-columns: 1fr; }
  .c-ski, .c-berg, .c-wein, .c-over { grid-column: span 12; grid-row: auto; min-height: 340px; }
  .c-ski { min-height: 460px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-cap { display: none; }
  .hero-inner { padding-block: 130px 56px; }
}
@media (max-width: 520px) {
  .trust ul { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero .cta .btn { flex: 1 1 100%; }
  .wine-photos .big { width: 80%; }
}
.lead { max-width: 36rem; margin-top: 20px; font-size: 1.1875rem; color: #F1EADA; }
.lead.dark { color: var(--muted); }
.body-lg { font-size: 1.1875rem; color: var(--muted); max-width: 40rem; margin-top: 16px; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }

.page-hero { position: relative; color: var(--parch); background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(520px, 66vh, 640px); }
.page-hero.short { min-height: clamp(460px, 58vh, 560px); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 26s ease-in-out infinite alternate; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,24,.6) 0%, rgba(10,30,24,.1) 34%, rgba(10,30,24,.8) 100%); }
.page-hero-inner { position: relative; z-index: 2; padding-block: 140px 56px; }
.page-hero h1 { margin-top: 14px; max-width: 16ch; }
.crumbs { font-size: .8125rem; letter-spacing: .06em; color: rgba(247,241,227,.85); margin-bottom: 22px; }
.crumbs a:hover { text-decoration: underline; }

.factbar { border-bottom: 1px solid var(--stone); padding-block: 30px; }
.factbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.factbar li { padding-left: 18px; border-left: 1px solid var(--stone); }
.factbar b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.factbar span { font-size: .875rem; color: var(--muted); }

section.tour-main, section.q-main, section.story, section.values-sec, section.team-sec, section.more { padding-block: clamp(56px, 8vw, 104px); }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.tour-col { display: grid; gap: clamp(40px, 6vw, 72px); min-width: 0; }
.tour-col h2 { margin-top: 10px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.tabs { display: flex; gap: 8px; margin: 14px 0 22px; flex-wrap: wrap; }
.tab { font: inherit; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; padding: 0 22px; min-height: 48px; background: none; color: var(--forest); border: 1.5px solid var(--stone); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tab.on { background: var(--forest); color: var(--parch); border-color: var(--forest); }
.tab:hover:not(.on) { border-color: var(--forest); }
.day { border-top: 1px solid var(--stone); }
.day:last-child { border-bottom: 1px solid var(--stone); }
.day summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 74px 1fr 24px; gap: 8px; align-items: baseline; padding: 18px 0; min-height: 48px; }
.day summary::-webkit-details-marker { display: none; }
.day summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--copper); text-align: right; transition: transform .25s; }
.day[open] summary::after { transform: rotate(45deg); }
.dn { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); font-weight: 500; }
.dt { font-family: var(--display); font-size: 1.55rem; line-height: 1.2; }
.day p { margin: 0 24px 20px 82px; color: var(--muted); max-width: 38rem; }

.inout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.inout h3, .req h3 { font-size: 1.7rem; margin-bottom: 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: .9688rem; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: rotate(-45deg) translateY(-50%); }
.ticks.off li::before { border: 0; width: 12px; height: 2px; background: var(--stone); transform: none; top: .8em; }
.req { padding: 26px 28px; background: var(--parch-2); }
.req p { color: var(--muted); }

.book { position: sticky; top: 96px; }
.book-card { background: var(--forest); color: var(--parch); padding: 30px 28px; }
.book-card .label { color: var(--copper-light); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(247,241,227,.18); }
.price-row:first-of-type { margin-top: 12px; border-top: 1px solid rgba(247,241,227,.18); }
.price-row span { color: #E6DFCC; }
.price-row b { font-family: var(--display); font-weight: 400; font-size: 2.1rem; }
.book-card .small { font-size: .875rem; color: #CFD6CF; margin: 14px 0; }
.book-card hr { border: 0; border-top: 1px solid rgba(247,241,227,.18); margin: 18px 0; }
.btn.wide { width: 100%; }
.more { background: var(--parch-2); }
.mobile-bar { display: none; }

.q-head { padding: 150px 0 40px; border-bottom: 1px solid var(--stone); }
.q-head h1 { margin-top: 12px; max-width: 14ch; }
.q-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.qform { display: grid; gap: 40px; min-width: 0; }
.qform fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 20px; min-width: 0; }
.qform legend { font-family: var(--display); font-size: 1.9rem; margin-bottom: 18px; padding: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .lab { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--forest); }
.field em, .consent em { color: var(--copper); font-style: normal; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--forest); background: #FBF8F1; border: 1.5px solid var(--stone); padding: 0 16px; min-height: 52px; border-radius: 0; width: 100%; transition: border-color .2s; }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px var(--copper-light); }
.field input[aria-invalid="true"] { border-color: #A12B1E; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--stone); background: #FBF8F1; font-size: .9375rem; transition: background .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--forest); }
.chip input:checked + span { background: var(--forest); color: var(--parch); border-color: var(--forest); }
.chip input:focus-visible + span { outline: 3px solid var(--copper-light); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--muted); cursor: pointer; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--forest); }
.consent a { text-decoration: underline; }
.submit-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hint { font-size: .8125rem; color: var(--muted); }
.status { padding: 16px 18px; font-size: .9688rem; margin: 0; }
.status.ok { background: #E1EBDD; color: #123B2E; }
.status.err { background: #F4DDD6; color: #6E1E12; }
.q-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.side-card { background: var(--parch-2); padding: 28px; }
.side-card.dark { background: var(--forest); color: var(--parch); }
.side-card h3 { font-size: 1.8rem; margin-bottom: 14px; }
.side-card p { margin: 0 0 10px; }
.side-card .small { font-size: .875rem; color: #CFD6CF; }
.small-steps { margin: 0; gap: 16px; }
.small-steps li { grid-template-columns: 40px 1fr; }
.small-steps li::before { font-size: 2.2rem; }
.small-steps b { font-size: 1.3rem; }
.side-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.story-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story h2 { margin-top: 10px; }
.prose p { color: var(--muted); font-size: 1.125rem; margin-bottom: 18px; max-width: 38rem; }
.values-sec { background: var(--parch-2); }
.vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.val { border-top: 1.5px solid var(--forest); padding-top: 18px; }
.val h3 { font-size: 1.9rem; margin-bottom: 8px; }
.val p { color: var(--muted); font-size: .9688rem; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ph-person { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--pine), var(--forest)); color: rgba(247,241,227,.55); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 4rem; margin-bottom: 18px; }
.member h3 { font-size: 1.6rem; line-height: 1.12; }
.member .role { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); font-weight: 500; margin: 8px 0 10px; }
.member p { color: var(--muted); font-size: .9375rem; }

@media (max-width: 960px) {
  .tour-grid, .q-grid, .story-grid { grid-template-columns: 1fr; }
  .book, .q-side { position: static; }
  .book { order: -1; }
  .factbar ul { grid-template-columns: 1fr 1fr; }
  .vals, .team { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--parch); border-top: 1px solid var(--stone); align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mobile-bar b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1; }
  .mobile-bar span { font-size: .8125rem; color: var(--muted); }
  footer { padding-bottom: 96px; }
  .q-head { padding-top: 120px; }
}
@media (max-width: 640px) {
  .row2, .inout, .gallery, .vals, .team { grid-template-columns: 1fr; }
  .day summary { grid-template-columns: 58px 1fr 20px; }
  .day p { margin-left: 66px; margin-right: 0; }
  .tab { flex: 1 1 100%; }
  .page-hero-inner { padding-block: 120px 40px; }
}
@media (prefers-reduced-motion: reduce) { .page-hero > img { animation: none; } }

.page-hero > img.flip { animation: none; transform: scaleX(-1); }
.page-hero.short h1 { max-width: 12ch; font-size: clamp(2.6rem, 6vw, 4.8rem); }

/* ---- Tours overview ---- */
.filter-sec { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: inherit; font-size: .875rem; font-weight: 500; letter-spacing: .02em; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background .25s, color .25s; }
.chip i { font-style: normal; font-size: .75rem; opacity: .7; }
.chip:hover { background: var(--parch-2); }
.chip.on { background: var(--forest); color: var(--parch); }
.chip:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.count { margin: 22px 0 28px; font-size: .875rem; color: var(--muted); }
.tours.grid { row-gap: 52px; }
.tour.card .label { margin-top: 18px; }
.tour.card h3 { margin-top: 6px; }
.tour.card[hidden] { display: none; }
.note { margin-top: 56px; font-size: .875rem; color: var(--muted); max-width: 44rem; }
.wine-band { padding-block: clamp(64px, 9vw, 112px); }
.wine-band-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.wine-band-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wine-band h2 { margin: 12px 0 22px; }
.wine-band p { color: #E6DFCC; max-width: 34rem; }
.tail { background: var(--parch-2); padding-block: clamp(56px, 8vw, 96px); }
.tail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.tail-grid p { color: var(--muted); margin-bottom: 22px; max-width: 30rem; }
.tail-grid h2 { margin-top: 10px; }
@media (max-width: 900px) { .wine-band-grid, .tail-grid { grid-template-columns: 1fr; } .tours.grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tours.grid { grid-template-columns: 1fr; } .chip { min-height: 48px; } }

.ph-person { overflow: hidden; background: var(--stone); }
.ph-person img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Wine page ---- */
.why { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.why li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 6px 24px; padding: 18px 0; border-top: 1px solid var(--stone); }
.why li:last-child { border-bottom: 1px solid var(--stone); }
.why b { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.15; }
.why span { color: var(--muted); }
.notice { padding: 28px 30px; background: var(--forest); color: var(--parch); }
.notice h3 { font-size: 1.8rem; margin-bottom: 10px; }
.notice p { color: #E6DFCC; max-width: 40rem; }
.sub { font-size: 1.9rem; margin: 10px 0 12px; }
.dayl { margin: 0 24px 20px 82px; padding: 0 0 0 18px; color: var(--muted); max-width: 40rem; display: grid; gap: 6px; }
@media (max-width: 640px) { .why li { grid-template-columns: 1fr; } .dayl { margin-left: 66px; margin-right: 0; } }

/* ---- Editorial photo trio and mood band ---- */
.editorial { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: start; }
.ed { margin: 0; overflow: hidden; background: var(--stone); }
.ed img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ed:hover img { transform: scale(1.04); }
.ed.a { aspect-ratio: 4 / 5; }
.ed.b { aspect-ratio: 4 / 5; margin-top: 56px; }
.ed.c { aspect-ratio: 4 / 5; margin-top: 18px; }
.mood { position: relative; color: var(--parch); background: var(--ink); overflow: hidden; display: flex; align-items: center; min-height: clamp(380px, 52vh, 520px); }
.mood > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: drift 30s ease-in-out infinite alternate; }
.mood::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,30,24,.82) 0%, rgba(10,30,24,.55) 48%, rgba(10,30,24,.12) 100%); }
.mood-inner { position: relative; z-index: 2; padding-block: 72px; }
.mood h2 { max-width: 15ch; margin: 14px 0 28px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
@media (max-width: 640px) { .editorial { grid-template-columns: 1fr 1fr; } .ed.a { grid-column: span 2; aspect-ratio: 4 / 3; } .ed.b, .ed.c { margin-top: 0; } .mood::after { background: linear-gradient(180deg, rgba(10,30,24,.55), rgba(10,30,24,.82)); } }
@media (prefers-reduced-motion: reduce) { .mood > img { animation: none; } }

/* ---- Tailor-made page ---- */
.modes { padding-block: 0 clamp(56px, 8vw, 104px); }
.modes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode { background: var(--forest); color: var(--parch); padding: clamp(28px, 4vw, 48px); }
.mode .label { color: var(--copper-light); }
.mode h3 { margin: 12px 0 12px; font-size: clamp(2rem, 4vw, 2.8rem); }
.mode p { color: #E6DFCC; max-width: 28rem; }
.wishes { background: var(--parch-2); padding-block: clamp(56px, 8vw, 104px); }
.wish-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.wish { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); color: var(--parch); }
.wish img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.wish::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,24,0) 45%, rgba(10,30,24,.85) 100%); }
.wish:hover img { transform: scale(1.06); }
.wish span { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; font-family: var(--display); font-size: 1.5rem; line-height: 1.12; }
.wish:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.faq { padding-block: clamp(56px, 8vw, 104px); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq h2 { margin-top: 10px; }
.faq .day summary { grid-template-columns: 1fr 24px; }
.faq .day p { margin-left: 0; }
@media (max-width: 960px) { .modes-grid, .faq-grid { grid-template-columns: 1fr; } .wish-grid { grid-template-columns: repeat(2, 1fr); } .wish:last-child { grid-column: span 2; aspect-ratio: 16 / 9; } }

/* ---- Journal ---- */
.jl { padding-block: clamp(56px, 8vw, 104px); }
.jl-intro { max-width: 36rem; margin: 0 0 48px; }
.feat { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feat-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.feat:hover .feat-img img { transform: scale(1.04); }
.feat h2 { margin: 12px 0 16px; }
.feat p { color: var(--muted); max-width: 30rem; margin-bottom: 20px; }
.soon { position: relative; margin-top: clamp(56px, 8vw, 96px); padding: clamp(36px, 5vw, 64px); background: var(--parch-2); overflow: hidden; }
.soon svg { position: absolute; right: -60px; top: -10px; width: 520px; opacity: .55; pointer-events: none; }
.soon svg g { stroke: var(--stone); }
.soon h3 { position: relative; font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.soon p { position: relative; color: var(--muted); }
.post { padding-block: clamp(48px, 7vw, 96px); }
.post-wrap { max-width: 760px; }
.post-sub { font-family: var(--display); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.2; color: var(--copper); margin-bottom: 32px; }
.post-body p { font-size: 1.1875rem; line-height: 1.8; color: #24402F; margin-bottom: 1.5em; }
.post-body p:first-child::first-letter { font-family: var(--display); float: left; font-size: 5.2rem; line-height: .82; padding: 8px 12px 0 0; color: var(--forest); }
.post-end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--stone); position: relative; }
.post-end svg { display: none; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } }
.post-hero > img { object-position: 50% 78%; }
/* Contact, legal, 404 */
.contact { padding: clamp(56px,8vw,110px) 0; background: var(--parch); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,90px); align-items: start; }
.contact .body-lg { margin-bottom: 28px; }
.cards { display: grid; gap: 14px; }
.ccard { background: var(--parch-2, #EFE7D3); border: 1px solid var(--stone, #DDD2BC); padding: 22px 26px; border-radius: 4px; }
.ccard p { margin-top: 8px; font-size: 1.12rem; line-height: 1.55; }
.ccard a { color: var(--forest, #123B2E); text-underline-offset: 3px; }
.legal-page { padding: 150px 0 90px; background: var(--parch); }
.legal-page h1 { margin: 12px 0 28px; }
.legal-page h2 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 500; margin: 28px 0 8px; }
.legal-page p { line-height: 1.7; }
.todo { background: #F3E1CC; border-left: 4px solid #9A4F1F; padding: 16px 20px; border-radius: 3px; }
.crumbs.dark { color: #4F5E54; font-size: .9rem; } .crumbs.dark a { color: inherit; }
.nf { position: relative; padding: 190px 0 140px; background: var(--parch); overflow: hidden; text-align: center; }
.nf svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.nf .wrap { position: relative; }
.nf h1 { margin: 12px 0 16px; }
.nf .btn-ghost { display: inline-block; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.nf .body-lg { max-width: 46ch; margin: 0 auto 28px; }

/* ---- WordPress additions ---- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--forest); color: var(--parch); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
.lang a { opacity: .6; } .lang a[aria-current="true"] { opacity: 1; }
.lang span { opacity: .6; margin-inline: 4px; }
.post-body > p, .post-body .wp-block-paragraph { margin-bottom: 1.4em; }
.legal-page .wp-block-paragraph, .legal-page p { margin-bottom: 1em; }
.empty-note { padding: 40px 0; color: var(--muted); }

/* altitude band + drawn ridgeline */
.altband { position: relative; background: var(--forest); color: var(--parch); padding-block: 96px 170px; overflow: hidden; }
.altband .ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; opacity: .9; }
.ridge-line { fill: none; stroke: var(--copper-light); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.altband .wrap { position: relative; z-index: 2; }
.altband h2 { color: var(--parch); margin-top: 10px; }
.alts { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.alts li { border-left: 1px solid rgba(247,241,227,.25); padding-left: 24px; }
.alt-n { display: block; font-family: var(--display); font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.alt-n b { font-weight: 400; }
.alt-l { display: block; margin-top: 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #E9DFC8; }
.hero-video { object-fit: cover; animation: none; }
@media (max-width: 760px) { .alts { grid-template-columns: 1fr; gap: 24px; } .altband { padding-block: 72px 140px; } }

/* home hero: slow sideways pan across the panorama */
.hero-pan { object-position: 15% 50%; animation: pan 60s ease-in-out infinite alternate; transform-origin: center; }
@keyframes pan { from { object-position: 15% 50%; } to { object-position: 85% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero-pan { animation: none; object-position: 50% 50%; } }

.story-photo { margin: 32px 0 0; }
.story-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.story-photo figcaption { font-size: .8125rem; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }

/* wine page top: title beside three arched photos */
.wine-top { position: relative; background: var(--forest); color: var(--parch); overflow: hidden; padding-block: clamp(120px, 14vw, 170px) clamp(48px, 7vw, 88px); }
.wine-top .contour { position: absolute; right: -80px; top: 20px; width: 760px; opacity: .18; pointer-events: none; }
.wine-top-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.wine-top h1 { margin-top: 14px; max-width: 12ch; }
.wine-top .lead { max-width: 34rem; margin: 20px 0 0; color: #F1EADA; }
.arches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.arches div { aspect-ratio: 3 / 5; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--ink); }
.arches div:nth-child(2) { margin-top: 36px; }
.arches img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .wine-top-grid { grid-template-columns: 1fr; } .arches div:nth-child(2) { margin-top: 20px; } }

/* journal: stories as waypoints on the ridgeline */
.log { position: relative; background: var(--forest); color: var(--parch); padding-block: clamp(120px, 14vw, 170px) 0; overflow: hidden; }
.log h1 { margin-top: 14px; max-width: 14ch; }
.log .lead { max-width: 34rem; margin: 18px 0 0; color: #F1EADA; }
.log-ridge { position: relative; height: clamp(200px, 30vw, 300px); margin-top: 34px; }
.log-ridge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.log-ridge .ridge-line { fill: none; stroke: var(--copper-light); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.pin { position: absolute; transform: translate(-50%, -100%); background: none; border: 0; padding: 6px 8px; color: var(--parch); cursor: pointer; font: inherit; text-align: center; }
.pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--copper-light); box-shadow: 0 0 0 5px rgba(227,154,95,.25); margin: 0 auto 6px; transition: box-shadow .3s; }
.pin span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: #E9DFC8; }
.pin.on i, .pin:hover i { box-shadow: 0 0 0 9px rgba(227,154,95,.3); }
.pin:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }
.log-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: center; background: var(--parch); color: var(--ink); padding: 22px 26px; position: relative; z-index: 2; }
.log-card img { width: 120px; height: 120px; object-fit: cover; display: block; background: var(--stone); }
.log-card .meta { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); font-weight: 600; }
.log-card h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 4px 0 6px; }
.log-card p { margin: 0 0 8px; color: var(--muted); max-width: 52ch; }
.log .soon { margin-block: 40px; color: var(--parch); }
@media (max-width: 640px) { .log-card { grid-template-columns: 76px minmax(0, 1fr); padding: 16px; } .log-card img { width: 76px; height: 76px; } }

/* wine page: one slow-moving photo behind the title */
.wine-top { min-height: clamp(460px, 62vh, 640px); display: flex; align-items: flex-end; }
.wine-top .wine-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: winezoom 40s ease-in-out infinite alternate; transform-origin: 30% 60%; }
.wine-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,42,33,.55) 0%, rgba(13,42,33,.25) 40%, rgba(13,42,33,.85) 100%); }
.wine-top .wine-top-grid { grid-template-columns: 1fr; width: 100%; }
.wine-top .wrap { position: relative; z-index: 2; }
@keyframes winezoom { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-2%,-1%,0); } }
@media (prefers-reduced-motion: reduce) { .wine-top .wine-bg { animation: none; } }

/* Journal: magazine layout */
.log { padding-bottom: clamp(48px, 6vw, 80px); }
.mag { padding-block: clamp(40px, 6vw, 72px); }
.mag .wrap { display: grid; gap: clamp(28px, 4vw, 48px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .875rem; padding: 10px 18px; border: 1px solid var(--stone); background: transparent; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--forest); }
.chip.on { background: var(--forest); color: var(--parch); border-color: var(--forest); }
.chip:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.mag-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); background: var(--forest); color: var(--parch); overflow: hidden; }
.mag-feature .ph { overflow: hidden; min-height: 320px; }
.mag-feature img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.mag-feature:hover img { transform: scale(1.04); }
.mag-feature .txt { padding: clamp(24px, 4vw, 48px); display: grid; gap: 14px; align-content: end; }
.mag-feature .label { color: var(--copper-light); }
.mag-feature h2 { font-size: clamp(2rem, 4vw, 3rem); }
.mag-feature p { color: #E4DDC9; max-width: 38ch; }
.mag-feature .link-arrow { color: var(--copper-light); }
.mag-feature[hidden], .tour[hidden], .mag-empty[hidden] { display: none; }
.mag-empty { color: var(--muted); }
@media (max-width: 860px) { .mag-feature { grid-template-columns: 1fr; } .mag-feature .ph { min-height: 240px; aspect-ratio: 16 / 10; } }

/* Certified guides trust logos */
.cert-sec{background:var(--parch-2);padding:clamp(48px,7vw,84px) 0;text-align:center}
.cert-sec h2{font-family:var(--display);font-weight:400;font-size:clamp(28px,4vw,40px);color:var(--forest);margin:6px 0 10px}
.cert-sec p{max-width:620px;margin:0 auto 30px;color:var(--muted);line-height:1.6}
.certs{display:flex;justify-content:center;align-items:flex-start;gap:clamp(20px,5vw,56px);flex-wrap:wrap;margin:0}
.cert{margin:0;display:flex;flex-direction:column;align-items:center;gap:12px;max-width:190px}
.certs-strip .cert img{height:clamp(96px,12vw,130px);width:auto}
.cert figcaption{display:flex;flex-direction:column;gap:2px;font-size:13px;color:var(--muted);line-height:1.35}
.cert figcaption b{color:var(--forest);letter-spacing:.08em;font-size:13px}
.certs-mini{justify-content:space-between;gap:10px;margin-top:10px;flex-wrap:nowrap}
.certs-mini .cert{max-width:none;flex:1}
.certs-mini .cert img{height:56px;width:auto;max-width:100%}
.certs-mini{background:var(--parch);border-radius:10px;padding:12px 10px;align-items:center}
.certs-mini .cert img{height:60px}
@media(max-width:600px){.certs-strip{flex-wrap:nowrap;gap:10px}.certs-strip .cert{flex:1;min-width:0}.certs-strip .cert img{height:78px;max-width:100%}.cert figcaption span{font-size:11px}}

/* ===== Rounded look (one place to adjust: change the three numbers below; 0px = square again) ===== */
:root { --r-s: 16px; --r-m: 28px; --r-l: 44px; }
.btn, .chip, .chip span { border-radius: 999px; }
.field input, .field select, .field textarea { border-radius: var(--r-s); }
.tour .ph, .mag-feature, .gallery img, .custom-img, .side-photo, .book-card, .side-card, .ccard, .certs-mini, .cat, .about-photo img, .culture-photos img, .wine-photos img { border-radius: var(--r-m); overflow: hidden; }
.todo { border-radius: var(--r-s); }
.hero, .wine-top { border-radius: 0 0 var(--r-l) var(--r-l); }
.final { border-radius: var(--r-l) var(--r-l) 0 0; }
.cert-sec { border-radius: var(--r-l); margin-inline: clamp(8px, 2vw, 24px); }
/* trust bar: floating cards over the edge of the hero */
.trust { border-bottom: 0; padding-block: 0 20px; margin-top: -46px; position: relative; z-index: 5; }
.trust ul { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin-inline: auto; gap: 16px; }
.trust li { background: #FBF8F1; border: 0; border-radius: var(--r-m); padding: 22px 26px; box-shadow: 0 18px 40px -22px rgba(13,42,33,.45); }
.trust b { color: var(--forest); font-size: 1.5rem; }
/* FAQ and day lists as soft cards */
.day { border: 0 !important; background: var(--parch-2); border-radius: var(--r-m); margin-bottom: 12px; padding: 0 24px; }
/* mountains band with photo */
.altband { margin: 36px clamp(8px, 2vw, 24px); border-radius: var(--r-l); background: linear-gradient(90deg, rgba(10,30,24,.84), rgba(10,30,24,.4)), url('assets/img/ushba-glacier.jpg') center / cover; }
/* tour cards on the home page: photo cards with a curious question */
.tours-bg { background: transparent; }
.tours-bg .tour { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 500px; border-radius: var(--r-m); overflow: hidden; color: var(--parch); background: var(--ink); }
.tours-bg .tour .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.tours-bg .tour::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,24,0) 18%, rgba(10,30,24,.92) 92%); pointer-events: none; }
.tours-bg .tour > :not(.ph) { position: relative; z-index: 2; margin-inline: 26px; }
.tours-bg .tour h3 { color: #fff; margin: 0 26px 4px; }
.tours-bg .tour .meta { color: rgba(247,241,227,.85); }
.tours-bg .tour .link-arrow { color: #F7F1E3; margin: 14px 26px 26px; align-self: flex-start; background: rgba(247,241,227,.16); border: 1px solid rgba(247,241,227,.4); padding: 9px 16px; border-radius: 999px; }
.tours-bg .tour .label { display: none; }
.tour .hook { font-family: var(--display); font-style: italic; font-size: 1.2rem; line-height: 1.25; margin: 14px 0 8px; color: var(--copper); }
.tours-bg .tour .hook { color: #FFE8D2; margin: 0 26px 10px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tours-bg .tour-wrap-text { display: contents; }
/* team on the home page */
.team-home { padding-block: clamp(64px, 9vw, 112px); background: #FBF8F1; box-shadow: 0 0 0 1px var(--stone) inset; border-radius: var(--r-l); margin: 0 clamp(8px, 2vw, 24px); }
.team-home .ph-person, .team-sec .ph-person { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r-m) var(--r-m); overflow: hidden; }
.team-home .ph-person img, .team-sec .ph-person img { width: 100%; height: 100%; object-fit: cover; }
/* sticky request button on phones */
.sticky-cta { display: none; }
@media (max-width: 820px) {
  .trust { margin-top: -30px; }
  .trust ul { grid-template-columns: 1fr; padding-inline: 16px; }
  .tours-bg .tour { min-height: 420px; }
  .team { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: var(--copper); color: #fff; border-radius: 999px; justify-content: center; align-items: center; min-height: 54px; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
  footer { padding-bottom: 84px; }
}

/* Tour page: picture grid of three, piste map, info table (e.g. Gudauri) */
.gallery.g3 { grid-template-rows: 1fr 1fr; }
.gallery.g3 img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; min-height: 360px; }
.gallery.g3 img:not(:first-child) { aspect-ratio: 4 / 3; }
.piste-map { margin: 26px 0 0; background: #fff; box-shadow: 0 0 0 1px var(--stone) inset; border-radius: var(--r-m); overflow: hidden; }
.piste-map img { width: 100%; height: auto; display: block; }
.piste-map figcaption { padding: 12px 18px; font-size: .84rem; color: var(--muted); }
.info-table { background: #FBF8F1; border-radius: var(--r-m); padding: 28px; margin-top: 26px; box-shadow: 0 0 0 1px var(--stone) inset; }
.info-table h3 { margin: 4px 0 4px; }
.info-table .sub { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.info-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.info-table th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; padding: 6px 10px; font-weight: 600; }
.info-table td { padding: 11px 10px; text-align: right; border-top: 1px solid var(--stone); }
.info-table th:first-child, .info-table td:first-child { text-align: left; }
.info-table td b { color: var(--forest); }
.info-table tbody tr:nth-child(even) td { background: var(--parch-2); }
.info-table tbody tr:nth-child(even) td:first-child { border-radius: 12px 0 0 12px; }
.info-table tbody tr:nth-child(even) td:last-child { border-radius: 0 12px 12px 0; }
.info-table .note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 760px) { .gallery.g3 { grid-template-rows: auto; } .gallery.g3 img:first-child { grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; } .info-table { padding: 20px; } }

/* Round 3: calmer photo layouts */
.wine-photos { padding-bottom: 0; }
.wine-photos .big { width: 100%; aspect-ratio: 4 / 3; }
.culture-photos { grid-template-columns: 1fr; }
.culture-photos .b { aspect-ratio: 4 / 3; }
.editorial { grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.ed { background: none; overflow: visible; }
.ed img { aspect-ratio: 4 / 5; border-radius: var(--r-m); display: block; }
.ed.a, .ed.b, .ed.c { aspect-ratio: auto; margin-top: 0; }
.ed.a img { object-position: 50% 55%; }
.ed.b img { object-position: 40% 50%; }
.ed.c img { object-position: 50% 45%; }
.ed figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); padding-left: 6px; }
@media (max-width: 640px) { .editorial { grid-template-columns: 1fr; } .ed.a { grid-column: auto; } .ed img { aspect-ratio: 4 / 3; } }
