/* Kruja Vista Camping — concept site by KERA Tech Solutions
   Rebuilt section-by-section on the Jizerské Domky reference (Bitworks). */
:root {
  --olive: #2f3d22;          /* reference forest green -> olive grove */
  --olive-ink: #2c3a1f;
  --olive-deep: #1f2816;     /* menu under-layer */
  --bg: #f7f4ee;             /* limestone off-white */
  --ink: #141410;
  --text: #423e39;
  --accent: #d9774b;         /* terracotta (clay pots, roofs, sunsets) */
  --accent-2: #c9653a;
  --peach: #e8cba8;
  --sage: #c4caae;           /* silver underside of an olive leaf */
  --border: rgba(47, 61, 34, .5);
  --grain: url(../img/grain.webp);
  --serif: "Fraunces", "Recoleta", Georgia, serif;
  --sans: "DM Sans", "GT Walsheim", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--grain), var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: #fff; color: var(--olive); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: #fff; color: var(--olive); padding: 10px 16px; border-radius: 8px; font-weight: 500; }
.skip:focus { top: 12px; }
.serif { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* page wrap sits above the fixed footer (footer reveal) */
.page { position: relative; z-index: 10; background: var(--grain), var(--bg); }
.green { background: var(--grain), var(--olive); }

/* ---------- header ---------- */
.nav { position: absolute; top: 0; left: 0; width: 100%; padding: 20px 20px 0; z-index: 20; display: flex; align-items: flex-start; justify-content: space-between; }
.brand { display: inline-flex; flex-direction: column; align-items: center; width: 93px; color: #fff; }
.brand .house { position: relative; width: 40px; height: 27px; }
.brand .house svg { position: absolute; top: 0; left: 50%; transform: translateX(-50%); transition: left .3s cubic-bezier(.34, 1.56, .64, 1); width: 40px; height: 27px; overflow: visible; }
.brand .house .l { left: calc(50% - 3px); }
.brand .house .r { left: calc(50% + 3px); }
.brand:hover .house .l { left: calc(50% - 8px); }
.brand:hover .house .r { left: calc(50% + 8px); }
.brand .word { margin-top: 6px; font-family: var(--sans); font-weight: 700; text-transform: uppercase; font-size: 19px; line-height: .98; letter-spacing: .03em; text-align: center; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; align-items: center; gap: 2px; color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .04em; margin-right: 6px; }
.lang button { padding: 6px 5px; opacity: .55; transition: opacity .2s; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.lang button:hover { opacity: 1; }
.pill { position: relative; overflow: hidden; display: inline-flex; align-items: center; border-radius: 11px; padding: .8em .93em; font-weight: 500; font-size: 15px; letter-spacing: .01em; line-height: 1; color: #fff; isolation: isolate; }
.pill::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); transition: width .3s ease-in-out; z-index: -1; }
.pill:hover::after { width: 110%; }
.pill-accent { background: var(--accent); }
.pill-accent::after { background: var(--accent-2); }
.pill-line { border: 1px solid rgba(255, 255, 255, .85); }
.pill-line::after { background: rgba(255, 255, 255, .2); }
.nav .cta { display: none; }
.menu-btn .bars { position: relative; width: 23px; height: 14px; margin-left: 1em; }
.menu-btn .bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 100px; background: #fff; }
.menu-btn .bars i:nth-child(1) { top: 0; } .menu-btn .bars i:nth-child(2) { top: calc(50% - 1px); } .menu-btn .bars i:nth-child(3) { bottom: 0; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 700px; display: flex; align-items: flex-end; padding-inline: 0; }
.hero .wrapper { position: relative; z-index: 1; width: 100%; height: calc(100% - 80px); container-type: inline-size; }
.hero .top { display: flex; justify-content: space-between; align-items: center; }
.hero .claim, .hero .scroll { display: flex; align-items: flex-start; transform: translateY(-7vw); z-index: 10; color: #fff; }
.hero .claim span, .hero .scroll span { font-weight: 500; font-size: 19px; line-height: 1.12; }
.hero .claim { display: none; }
.hero .claim svg { margin: 4px 22px 0 0; }
.hero .scroll:not(.mobile) { display: none; }
.hero .scroll { align-items: center; text-align: right; }
.hero .scroll span { margin-right: 22px; }
.hero .scroll svg { position: relative; top: 0; transition: top .2s ease-in-out; }
.hero .scroll:hover svg { top: 5px; }
.hero .scroll.mobile { position: absolute; bottom: 7vw; left: 50%; transform: translateX(-50%); }
.hero .scroll.mobile span { font-size: 16px; }
.line { display: block; overflow: hidden; }
.line > span { display: block; white-space: nowrap; }
.hero .img { width: 73%; aspect-ratio: 284 / 345; display: flex; justify-content: center; margin: 8vmin auto 0; }
.hero .img-inner { position: relative; display: block; width: 100%; aspect-ratio: 557 / 675; overflow: hidden; --ms: 100%;
  -webkit-mask: url(../img/mask-house.svg) center / var(--ms) no-repeat; mask: url(../img/mask-house.svg) center / var(--ms) no-repeat; transform: translateZ(0); }
.hero .img-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero h1 { position: relative; color: #fff; text-align: center; font-weight: 500; line-height: .92; margin-top: -9vw; font-size: 23vw; }
.hero h1 .fit { display: inline-block; white-space: nowrap; }
.hero h1 .row { display: block; white-space: nowrap; }
.hero h1 .w { display: inline-block; position: relative; overflow: hidden; padding: .06em .02em .2em; margin: -.06em 0 -.2em; vertical-align: top; }
.hero h1 .ch { display: inline-block; }
.hero h1 .last { overflow: visible; }
.hero h1 .last .clip { display: inline-block; overflow: hidden; padding: .06em .02em .2em; margin: -.06em 0 -.2em; vertical-align: top; }
.sprig { position: absolute; width: .42em; height: .5em; left: calc(100% - .66em); bottom: .74em; overflow: visible; pointer-events: none; }
.sprig .leaf, .sprig .single { transform-box: fill-box; }
.hero .sub { color: rgba(255, 255, 255, .6); text-align: center; font-size: 19px; margin-top: .3em; }

@media (max-width: 370px) { .hero .img { margin-top: 0; } }
@media (min-width: 768px) {
  .nav { padding: 30px; }
  .brand { width: 116px; margin-top: 10px; }
  .brand .house, .brand .house svg { width: 57px; height: 27px; }
  .brand .word { font-size: 23px; margin-top: 8px; }
  .pill { font-size: 17px; padding: 1em 1.13em; }
  .hero { padding-inline: 30px; }
  .hero .wrapper { height: calc(100% - 150px); }
  .hero .m-wrap, .hero .top { height: 100%; }
  .hero .claim { display: flex; }
  .hero .scroll:not(.mobile) { display: flex; }
  .hero .scroll.mobile, .hero .sub { display: none; }
  .hero .img { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: auto; height: 100vmin; max-height: 100%; margin: 0; aspect-ratio: auto; }
  .hero .img-inner { height: calc(100% - 8vw); width: auto; }
  .hero h1 { position: absolute; left: 10px; right: 25px; bottom: 30px; margin: 0; font-size: 12.6vw; }
  .hero h1 .row { display: inline; }
}
@media (min-width: 768px) and (max-width: 1023px) { .hero .img { height: min(100vmin, 58vw); } .hero .claim span, .hero .scroll span { font-size: 16px; } }
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) { .hero .img { height: 100vmin; } .hero .claim, .hero .scroll:not(.mobile) { display: none; } }
@media (min-width: 1024px) { .hero .top { padding-inline: 5vw; } .nav .cta { display: inline-flex; } }

/* ---------- intro / story ---------- */
.intro { display: grid; margin: 5em 20px 2em; padding-bottom: 6em; border-bottom: 1px solid var(--border); }
.intro .left { order: 2; text-align: center; display: flex; align-items: center; justify-content: center; }
.intro h2 { color: var(--olive-ink); text-wrap: balance; }
.intro h2 .big { display: block; font-family: var(--sans); font-weight: 500; font-size: 17.1vw; line-height: .82; letter-spacing: -.01em; }
.intro h2 small { display: block; font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 500; font-size: 21px; letter-spacing: .01em; line-height: 1.1; margin-top: 1.4em; opacity: .8; }
.intro p { color: var(--text); font-size: 15px; line-height: 1.63; margin: 2em 10% 0; }
.intro .right { order: 1; position: relative; padding-left: 2em; }
.intro .img { position: relative; overflow: hidden; border-radius: 3px; background: rgba(0, 0, 0, .2); }
.intro .img.big { width: 85%; aspect-ratio: 657 / 806; margin-left: auto; }
.intro .img.small { width: 45%; aspect-ratio: 158 / 128; bottom: 10%; z-index: 20; }
.intro .img img { width: 100%; height: 100%; object-fit: cover; }
.intro .path { position: absolute; z-index: 3; top: -5%; bottom: 0; width: 40%; pointer-events: none; }
.intro .path svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro .path path { fill: none; stroke: none; }
.intro .path.p1 { left: 0; } .intro .path.p2 { right: 0; }
.leafy { position: absolute; top: 0; left: 0; z-index: 4; width: 12%; aspect-ratio: 1; pointer-events: none; opacity: 0; }
.leafy svg { width: 100%; height: 100%; overflow: visible; }
@media (min-width: 768px) {
  .intro { margin: 10em 30px 2em; }
  .intro h2 { text-wrap: unset; margin-inline: 1.6em; }
  .intro h2 .big { font-size: clamp(83px, 6.6vw, 123px); }
  .intro h2 small { font-size: 29px; }
  .intro p { font-size: 19px; margin: 4em 15% 0; }
}
@media (min-width: 1024px) {
  .intro { grid-template-columns: 1fr 1fr; padding-bottom: 26em; }
  .intro .left { order: 1; } .intro .right { order: 2; }
  .intro .img.big { width: 95%; }
  .intro .img.small { position: absolute; width: 50%; aspect-ratio: 384 / 282; bottom: 60px; left: -80px; transform: translateY(100%); }
}
@media (min-width: 1920px) { .intro { padding-bottom: 26vw; } }

/* ---------- stay (cabins) ---------- */
.stay { margin: 1em 20px 8em; }
.stay .head { margin-bottom: 3em; }
.stay h2 { color: var(--olive); font-weight: 500; letter-spacing: -.01em; font-size: 14vw; line-height: 1.02; }
.stay h2 .last { position: relative; white-space: nowrap; }
.stay h2 .last svg { position: absolute; top: 50%; right: -.22em; width: .7em; height: auto; transform: translate(100%, -52%); }
.stay .small { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; color: var(--olive); font-size: 20px; opacity: .8; letter-spacing: .01em; margin-top: 1.4em; width: 60%; line-height: .96; }
.stay article { margin-bottom: 5em; }
.stay article > a { display: block; }
.stay .img { position: relative; overflow: hidden; border-radius: 3px; background: rgba(0, 0, 0, .2); }
.stay .img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .2s ease-in-out; }
.stay .go { position: absolute; bottom: 26px; right: 22px; z-index: 10; width: 59px; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); opacity: 0; transition: opacity .3s; overflow: hidden; isolation: isolate; }
.stay .go::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; aspect-ratio: 1; border-radius: 50%; background: var(--accent-2); transform: translate(-50%, -50%); transition: width .3s ease-in-out; z-index: -1; }
.stay .go:hover::after, .stay a:hover .go::after { width: 110%; }
.stay .go svg { width: 30px; }
.stay a:hover .img img, .stay a:focus-visible .img img { transform: scale(1.02); }
.stay a:hover .go, .stay a:focus-visible .go { opacity: 1; }
.stay .text { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block: 1.3em; }
.stay h3 { display: flex; align-items: center; }
.stay h3 svg { flex: none; height: 28px; width: auto; }
.stay h3 span { color: var(--olive); font-weight: 500; line-height: 1; letter-spacing: -.01em; margin-left: 10px; font-size: 24px; }
.stay .meta { color: var(--text); font-size: 15px; line-height: 1.15; opacity: .75; text-align: right; }
.stay article.odd .img { width: 100%; aspect-ratio: 681 / 510; }
.stay article.even { margin-left: auto; width: 78%; }
.stay article.even .img { aspect-ratio: 516 / 653; }
.dinner { margin-bottom: 5em; color: var(--text); }
.dinner h3 { display: block; color: var(--olive); font-weight: 500; font-size: 34px; line-height: 1; letter-spacing: -.01em; }
.dinner > p { font-size: 15px; line-height: 1.63; margin-top: 1.4em; max-width: 34em; }
.dinner .menu-list { margin-top: 2.2em; border-top: 1px solid var(--border); }
.dinner .menu-list > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 1em; padding: .9em 0; border-bottom: 1px solid rgba(47, 61, 34, .18); }
.dinner dt { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; color: var(--olive); font-size: 19px; line-height: 1.2; }
.dinner dd { font-size: 15px; line-height: 1.45; }
.dinner .note { font-size: 14px; opacity: .7; margin-top: 1em; }
.amen { border-top: 1px solid var(--border); padding-top: 2.4em; display: grid; gap: 2em; }
.amen .label { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; color: var(--olive); font-size: 20px; opacity: .8; }
.amen ul { display: grid; gap: 1.1em 2em; }
.amen li { display: flex; align-items: center; gap: 14px; color: var(--olive); font-weight: 500; font-size: 19px; line-height: 1.15; letter-spacing: -.005em; }
.amen li svg { flex: none; width: 30px; height: 30px; }
@media (min-width: 768px) {
  .stay { margin: 7em 30px -8em; }
  .stay .head { display: grid; grid-template-columns: repeat(12, 1fr); margin-bottom: 9em; }
  .stay h2 { grid-column: span 7; font-size: clamp(83px, 6vw, 113px); line-height: .87; }
  .stay h2 .last svg { right: -20px; }
  .stay .small { grid-column: 10 / span 3; text-align: right; margin-top: 0; font-size: 24px; width: auto; line-height: 1; }
  .stay .grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; row-gap: 8rem; }
  .stay article { margin-bottom: 0; }
  .stay article.c1 { grid-column: 1 / span 6; grid-row: 1; }
  .stay article.c2 { grid-column: 8 / span 5; grid-row: 1; width: 92%; margin-top: 14.3em; }
  .stay article.c3 { grid-column: 4 / span 6; grid-row: 2; }
  .stay article.c4 { grid-column: 8 / span 5; grid-row: 3; width: 92%; margin-top: 14.3em; }
  .dinner { grid-column: 1 / span 6; grid-row: 3; align-self: center; margin: 14.3em 0 0; }
  .amen { grid-column: 1 / -1; grid-row: 4; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-bottom: 16em; }
  .amen .label { grid-column: span 3; font-size: 24px; }
  .amen ul { grid-column: 4 / -1; grid-template-columns: 1fr 1fr; }
  .stay .go { width: 79px; } .stay .go svg { width: 35px; }
  .stay .text { margin-block: 2.3em; }
  .stay h3 span { margin-left: 20px; font-size: 30px; }
  .stay .meta { font-size: 17px; }
  .dinner h3 { font-size: 44px; }
  .dinner > p { font-size: 19px; }
  .dinner dd { font-size: 17px; }
  .amen li { font-size: 22px; }
}
@media (min-width: 1280px) { .amen ul { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- reviews (pinned card stack) ---------- */
.reviews { padding: 7em 12px; container-type: inline-size; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.reviews .inner { max-width: 100%; }
.reviews .top, .reviews .bottom { display: block; text-align: center; color: #fff; font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 500; line-height: 1; position: relative; font-size: 15.5vw; white-space: nowrap; }
.reviews .top { top: -1vh; z-index: 0; }
.reviews .bottom { top: -1vh; z-index: 0; }
.reviews .bottom i { display: inline-block; width: 13px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); margin-left: .1em; }
.reviews .stack { position: relative; z-index: 1; margin: 0 auto; width: 84%; display: grid; gap: 28px; padding: 1.2em 0; }
.card { position: relative; padding: 25px; border-radius: 6.3px; border: 1px solid rgba(0, 0, 0, .09); box-shadow: 0 3px 6px #0000000a, 0 11.6px 11.6px #00000008, 0 27.5px 15.8px #00000005, 0 48.6px 19px #00000003; display: flex; flex-direction: column; justify-content: space-between; background: var(--grain), #f9f7f2; color: var(--text); }
.card.odd { background: var(--grain), var(--peach); transform: rotate(2.7deg); }
.card.even { transform: rotate(-4.6deg); }
.card::after { content: ""; position: absolute; left: 13%; bottom: -9px; width: 18px; height: 18px; background: inherit; border-right: 1px solid rgba(0, 0, 0, .06); border-bottom: 1px solid rgba(0, 0, 0, .06); transform: rotate(45deg) skew(8deg, 8deg); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.card h3 { color: var(--olive); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; font-size: 26px; }
.card p { font-size: 15px; line-height: 1.42; margin: 1.6em .4em 2.4em; }
.card .name { display: block; text-align: right; font-size: 14px; line-height: 1; }
.card .name span { display: block; opacity: .68; margin-bottom: .5em; }
.card .score { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; color: var(--olive); font-size: 64px; line-height: 1; margin: .35em 0 .1em; }
.card .score b { font-weight: 500; }
.card .score em { font-style: normal; color: var(--accent); font-size: .6em; vertical-align: .35em; margin-left: .08em; }
.card .count { font-size: 17px; }
/* stacked mode (JS + motion) */
.stacked .reviews .stack { display: block; aspect-ratio: 1; width: 80%; padding: 0; }
.stacked .reviews .card { position: absolute; top: 50%; left: 50%; width: 100%; aspect-ratio: 1; }
@media (min-width: 768px) {
  .reviews { height: 100svh; min-height: 900px; padding-inline: 0; display: flex; flex-direction: column; justify-content: center; }
  .reviews .top, .reviews .bottom { font-size: clamp(80px, 10.5vw, 170px); }
  .reviews .top { top: 2vh; } .reviews .bottom { top: -4vh; }
  .reviews .stack { width: 60%; }
  .stacked .reviews .stack { width: 68%; max-width: 500px; }
  .card { padding: 50px 40px 50px 50px; }
  .stacked .reviews .card { width: 90%; }
  .card h3 { font-size: 34.75px; }
  .card p { font-size: 19px; margin-inline: 2em; }
  .card .name { font-size: 15px; }
  .card .score { font-size: 88px; }
}
@media (min-width: 1024px) { .reviews .stack { width: 50%; } }
@media (min-width: 1280px) { .reviews .bottom i { width: 22px; } .stacked .reviews .stack { width: 48%; } }
@media (min-width: 1440px) { .stacked .reviews .stack { max-width: 500px; } }

.hline hr { display: block; height: 1px; border: 0; background: #fff; margin-inline: 20px; }

/* ---------- gallery (instagram-style strip) ---------- */
.gallery { overflow: hidden; padding: 2em 0 10em 20px; }
.gallery .head { margin-bottom: 3em; }
.gallery h2 { color: #fff; font-weight: 500; font-size: 13vw; letter-spacing: -.01em; line-height: .93; }
.ring { display: inline-block; vertical-align: middle; position: relative; width: 62px; aspect-ratio: 1; border-radius: 50%; margin-inline: 10px; }
.ring::before { content: ""; position: absolute; top: 50%; left: 50%; width: 61px; aspect-ratio: 1; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.ring img { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; border-radius: 50%; object-fit: cover; transform: translate(-50%, -50%); }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; transform: rotate(-90deg); }
.gallery .bottom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.gallery .text { color: rgba(255, 255, 255, .68); font-size: 17px; margin-bottom: 2em; width: 60%; }
.gallery .text a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.gallery .text a:hover { text-decoration-color: #fff; }
.gallery .rail { position: relative; min-width: 0; }
.strip { display: flex; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; padding-bottom: 6vw; }
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; }
.strip .img { flex: none; position: relative; width: 58vw; aspect-ratio: 224 / 313; margin-right: 17px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .2); }
.strip .img:nth-child(2n) { top: 6vw; }
.strip .img:last-child { margin-right: 20px; }
.strip .img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.strip .img figcaption { position: absolute; left: 14px; bottom: 12px; right: 14px; color: #fff; font-size: 14px; line-height: 1.2; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.eye { position: absolute; top: 0; left: 0; z-index: 30; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.eye svg { width: 135px; height: 72px; transform: translate(-50%, -50%); }
.eye.on { opacity: 1; }
@media (min-width: 768px) {
  .hline hr { margin-inline: 30px; }
  .gallery { padding: 6.5em 0 12em 30px; }
  .gallery .head { margin-bottom: 7em; }
  .gallery h2 { font-size: 100px; }
  .ring { width: 98px; margin-inline: 25px; }
  .ring::before { width: 97px; }
  .ring img { width: 80px; height: 80px; }
  .gallery .bottom { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; }
  .gallery .text { grid-column: span 3; width: 100%; font-size: 19px; margin: 0; }
  .gallery .rail { grid-column: 4 / -1; }
  .strip { padding-bottom: 0; }
  .strip .img { width: 31vw; aspect-ratio: 1; margin-right: 20px; }
  .strip .img:nth-child(2n) { top: 0; }
}

/* ---------- footer (fixed reveal) ---------- */
.footer { background: var(--grain), var(--sage); color: var(--olive); padding: 3em 20px 0; position: relative; }
.footer[data-fixed="true"] { position: fixed; left: 0; bottom: 0; width: 100%; z-index: 1; }
.footer .ftop { display: grid; gap: 3em; }
.footer .tl { position: relative; display: flex; flex-direction: column; gap: 2.2em; }
.footer .tl .pair { position: absolute; right: 14%; bottom: 0; }
.footer .tl .icon { width: 53px; height: 37px; }
.visit { font-size: 16px; line-height: 1.5; max-width: 26em; }
.visit h2 { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 500; font-size: 30px; line-height: 1; margin-bottom: .55em; }
.visit address { font-style: normal; }
.visit a { text-decoration: underline; text-decoration-color: rgba(47, 61, 34, .35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.visit a:hover { text-decoration-color: var(--olive); }
.visit .row { margin-top: .7em; }
.visit .wa { margin-top: 1.3em; color: #fff; }
.visit .wa:hover { text-decoration: none; }
.footer .tr { display: flex; flex-direction: column; justify-content: flex-end; }
.footer .tr .tree { display: none; }
.footer nav { display: flex; justify-content: space-between; gap: 2em; }
.footer ul.main li { margin-bottom: 1em; }
.footer ul.main a { font-weight: 400; font-size: 26px; line-height: 1; }
.footer ul.sub li { margin-bottom: .5em; }
.footer ul.sub a { font-weight: 400; font-size: 17px; line-height: 1; }
.footer nav a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s; padding-bottom: 2px; }
.footer nav a:hover { background-size: 100% 1px; }
.footer .trees { display: flex; justify-content: space-between; align-items: flex-end; padding-inline: 1em; margin-top: 2em; }
.footer .trees svg { height: 40px; width: auto; }
.fclaim { margin: 1.4em auto 0; width: calc(100% - 14px); text-align: center; }
.fclaim span { display: inline-block; white-space: nowrap; font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 500; line-height: 1.05; font-size: 15vw; color: var(--olive); }
.fbottom { padding: 2em 0 1.2em; display: grid; gap: 1em; font-size: 15px; }
.fbottom a, .fbottom span { opacity: .75; transition: opacity .2s; }
.fbottom a:hover { opacity: 1; }
.fbottom .l { display: flex; flex-wrap: wrap; gap: .4em 20px; }
.fbottom .r { text-align: left; }
@media (min-width: 768px) {
  .footer { padding: 7em 23px 0; }
  .footer .ftop { grid-template-columns: 1fr 1fr; padding-inline: 2em; gap: 2em; }
  .footer .tl { justify-content: space-between; }
  .footer .tr { flex-direction: row; justify-content: flex-end; margin-bottom: 4em; }
  .footer .tr .tree { display: block; width: 33px; height: 43px; margin-right: 50px; }
  .footer nav { justify-content: flex-start; gap: 0; }
  .footer ul.main { margin-right: 5em; }
  .footer ul.sub { margin-inline: 1em 0; }
  .footer ul.main a { font-size: 28px; }
  .footer ul.sub a { font-size: 18px; }
  .footer .trees { display: none; }
  .fclaim { width: calc(100% - 20px); margin-top: 3em; }
  .fbottom { grid-template-columns: 1fr auto; align-items: end; padding: 3em 0 1.6em; font-size: 16px; }
  .fbottom .r { text-align: right; }
}
.footer .deco { position: absolute; pointer-events: none; display: none; }
@media (min-width: 768px) { .footer .deco { display: block; } }

/* ---------- fullscreen menu ---------- */
.menu { position: fixed; inset: 0; z-index: 100; color: #fff; visibility: hidden; overflow-y: auto; }
.menu.open { visibility: visible; }
.menu .bg { position: absolute; inset: 0; z-index: -1; }
.menu .bg.dark { background: var(--olive-deep); }
.menu .bg.green { background: var(--grain), var(--olive); }
.menu .wrap { position: relative; min-height: 100%; display: grid; grid-template-columns: 1fr; }
.menu .mlogo { position: absolute; top: 20px; left: 20px; z-index: 2; color: #fff; }
.menu .close { position: absolute; top: 20px; right: 20px; z-index: 2; border: 1px solid #fff; background: var(--olive); }
.menu .close::after { background: rgba(255, 255, 255, .2); }
.menu .close svg { width: 14px; height: 14px; margin-left: 12px; }
.menu .left { display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 30px 30px; }
.menu .label { font-size: 16px; font-weight: 500; letter-spacing: -.01em; opacity: .5; margin-bottom: .5em; }
.menu ul.main { margin-bottom: 1.4em; }
.menu ul.main li { padding-block: .3em; overflow: hidden; position: relative; }
.menu .main a { position: relative; display: inline-block; font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 500; font-size: 11vw; line-height: 1; }
.menu .main a::after { content: ""; position: absolute; left: 0; bottom: .02em; height: 2px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s cubic-bezier(.65, 0, .35, 1); }
.menu .main a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu .bw { display: flex; flex-wrap: wrap; gap: 1.2em 2.5em; }
.menu .sub li { padding-block: .3em; }
.menu .sub a { color: rgba(255, 255, 255, .9); font-size: 19px; font-weight: 400; transition: color .1s; }
.menu .sub a:hover { color: #fff; }
.menu .contact { padding-top: .3em; }
.menu .contact a { display: block; color: rgba(255, 255, 255, .55); font-size: 16px; line-height: 1.6; transition: color .1s; }
.menu .contact a:hover { color: rgba(255, 255, 255, .95); }
.menu .lang { margin: 1.6em 0 0; }
.menu .right { display: none; position: relative; overflow: hidden; align-items: center; justify-content: center; }
.menu .right .pic { position: relative; width: 100%; aspect-ratio: 740 / 890; overflow: hidden; }
.menu .right .pic::before, .menu .right .pic::after { content: ""; position: absolute; left: 0; width: 100%; height: 60px; z-index: 1; }
.menu .right .pic::before { top: 0; background: linear-gradient(0deg, transparent, var(--olive)); }
.menu .right .pic::after { bottom: 0; background: linear-gradient(180deg, transparent, var(--olive)); }
.menu .right img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .menu .wrap { grid-template-columns: 1fr 1fr; padding-inline: 30px; min-height: max(100%, 700px); }
  .menu .mlogo { top: 40px; left: 60px; }
  .menu .close { top: 40px; right: 50px; }
  .menu .left { padding: 160px 0 80px 1em; }
  .menu ul.main { margin-bottom: 3em; }
  .menu ul.main li { padding-block: .5em; width: fit-content; }
  .menu .main a { font-size: clamp(60px, 5.2vw, 105px); }
  .menu .sub a { font-size: 20px; }
  .menu .contact a { font-size: 18px; }
  .menu .right { display: flex; }
}
@media (min-width: 1024px) { .menu .left { padding-left: 3em; } }

/* ---------- concept toast ---------- */
.toast { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: min(380px, calc(100vw - 32px)); display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 11px; background: #fff; color: var(--text); font-size: 14px; line-height: 1.4; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .4s; }
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast b { color: var(--olive); font-weight: 500; }
.toast button { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--olive); }
.toast button:hover { background: var(--peach); }
.toast svg { width: 12px; height: 12px; }

/* ---------- motion helpers (hide only when JS will reveal) ---------- */
.js.motion .hero h1, .js.motion .hero .img-inner img, .js.motion .hero .claim, .js.motion .hero .scroll { visibility: hidden; }
.js.motion .fade { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
