@font-face {
    font-family: "Fraunces";
    src: url("fonts/fraunces.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: "Source Sans 3";
    src: url("fonts/source-sans-3.woff2") format("woff2");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}



:root {
    --paper: #F7F4EC;
    --paper-2: #ECE6D6;
    --ink: #1C1B17;
    --muted: #57544A;
    --forest: #24401A;
    --bark: #3A271B;
    --leaf: #8CC63E;
    --leaf-dark: #79B02F;
    --line: #CFC8B4;
    --field: #6B6759;
    --danger: #9B1C1C;
    --gutter: clamp(16px, 4vw, 40px);
    --edge: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
    --header-h: 76px;
    --display: "Fraunces", Georgia, "Times New Roman", serif;
    --text: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
    color-scheme: light;
}



*, *::before, *::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}


html:has(dialog[open]) {
    overflow: hidden;
}


body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-tap-highlight-color: transparent;
}


img, video {
    display: block;
    max-width: 100%;
    height: auto;
}


a {
    color: inherit;
    text-underline-offset: 0.2em;
}


a, button, input, textarea {
    touch-action: manipulation;
}


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


.tnum {
    font-variant-numeric: tabular-nums;
}


h1, h2, h3 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.12;
    margin: 0;
    text-wrap: balance;
}


h1 { font-size: clamp(2.15rem, 1.1rem + 4.6vw, 4.3rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem); }


p {
    margin: 0 0 1em;
    text-wrap: pretty;
}



.wrap {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}


.skip {
    position: absolute;
    left: var(--gutter);
    top: -100px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
}


.skip:focus {
    top: 8px;
}


.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}



.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border: 2px solid var(--ink);
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    font: 600 1rem/1.2 var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}


.btn:hover {
    background: var(--ink);
    color: var(--paper);
}


.btn:active {
    transform: translateY(1px);
}


.btn[disabled] {
    opacity: 0.7;
    cursor: progress;
}


.btn-primary {
    background: var(--leaf);
    border-color: var(--leaf);
    color: var(--ink);
}


.btn-primary:hover {
    background: var(--leaf-dark);
    border-color: var(--leaf-dark);
    color: var(--ink);
}


.btn-light {
    border-color: #fff;
    color: #fff;
}


.btn-light:hover {
    background: #fff;
    color: var(--ink);
}


.btn-call {
    background: var(--forest);
    border-color: var(--forest);
    color: #fff;
    min-height: 44px;
    padding: 8px 16px;
    white-space: nowrap;
}


.btn-call:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}



.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top);
}


.top-in {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: var(--header-h);
    max-width: 1240px;
    margin-inline: auto;
    padding: 6px var(--gutter);
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}


.brand img {
    width: auto;
    height: 60px;
}


.brand-name {
    display: none;
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.1;
    max-width: 9em;
}


@media (min-width: 1040px) {
    .brand-name {
        display: block;
    }
}


.nav {
    margin-left: auto;
}


.nav ul {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}


.nav a {
    display: block;
    padding: 12px 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}


.nav a:hover {
    background: var(--paper-2);
}


.menu-btn {
    display: none;
    min-height: 44px;
    padding: 8px 16px;
    border: 2px solid var(--ink);
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    font: 600 1rem/1 var(--text);
    cursor: pointer;
}


@media (max-width: 899px) {
    .js .menu-btn {
        display: inline-flex;
        align-items: center;
    }

    .btn-call {
        margin-left: auto;
    }

    .js .nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        margin: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 8px var(--gutter) 16px;
        display: none;
    }

    .js .nav.open {
        display: block;
    }

    .js .nav ul {
        flex-direction: column;
    }

    .js .nav a {
        padding: 14px 4px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .nav {
        margin-left: 0;
    }

    .nav ul {
        flex-wrap: wrap;
    }

    html:not(.js) .top-in {
        flex-wrap: wrap;
    }

    html:not(.js) .nav {
        order: 5;
        width: 100%;
    }
}


@media (max-width: 520px) {
    .call-label {
        display: none;
    }
}



.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(520px, 84svh, 780px);
    background: var(--bark);
    color: #fff;
    overflow: hidden;
}


.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 14, 8, 0.86) 0%, rgba(12, 14, 8, 0.7) 45%, rgba(12, 14, 8, 0.58) 100%);
}


.hero-in {
    position: relative;
    padding-block: clamp(40px, 8vw, 96px);
}


.hero h1 {
    max-width: 16ch;
}


.hero-text {
    max-width: 38rem;
    margin: 20px 0 28px;
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
}


.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


.hero :focus-visible {
    outline-color: var(--leaf);
}


.hero-toggle {
    position: absolute;
    right: var(--gutter);
    top: 16px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    background: rgba(12, 14, 8, 0.7);
    color: #fff;
    font: 600 0.95rem/1.1 var(--text);
    cursor: pointer;
}


.hero-toggle:hover {
    background: #fff;
    color: var(--ink);
}


.js .hero-toggle:not([hidden]) {
    display: block;
}



.sec {
    padding-block: clamp(56px, 9vw, 120px);
    scroll-margin-top: var(--header-h);
}


.sec-tight {
    padding-top: clamp(24px, 4vw, 56px);
    padding-bottom: clamp(48px, 7vw, 96px);
}


#activites {
    padding-bottom: clamp(16px, 3vw, 32px);
}


.sec-head {
    margin-bottom: clamp(24px, 4vw, 48px);
}


.sec-head p {
    max-width: 36rem;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 1.15rem;
}


.sec-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}


.sec :target, [id] {
    scroll-margin-top: calc(var(--header-h) + 8px);
}



.act {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
    padding-block: clamp(36px, 6vw, 80px);
    border-top: 1px solid var(--line);
}


.poles {
    display: grid;
    gap: 16px;
    margin-bottom: clamp(32px, 5vw, 64px);
}


.pole {
    padding: clamp(24px, 4vw, 40px);
    color: #fff;
}


.pole-paysage {
    background: var(--forest);
}


.pole-charpente {
    background: var(--bark);
}


.pole h3 {
    margin: 0;
    color: #fff;
}


.pole-text {
    margin: 12px 0 20px;
    color: #E6DCCB;
    max-width: 38rem;
}


.pole-paysage .pole-text {
    color: #D5E4C2;
}


.pole-list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}


.pole-list a {
    display: block;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
}


.pole-list a:hover .pole-name {
    text-decoration: underline;
}


.pole-list a:focus-visible {
    outline: 3px solid var(--leaf);
    outline-offset: 2px;
}


.pole-name {
    display: block;
    font-weight: 600;
}


.pole-short {
    display: block;
    color: #E6DCCB;
    font-size: 0.95rem;
}


.pole-paysage .pole-short {
    color: #D5E4C2;
}


.act-pole {
    margin-left: 12px;
    font-family: var(--text);
    font-size: 0.9rem;
}


@media (min-width: 800px) {
    .poles {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}


.act-n {
    margin: 0 0 8px;
    color: var(--muted);
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 500;
}


.act-short {
    margin: 12px 0 16px;
    font-size: 1.2rem;
    font-weight: 600;
}


.ticks {
    margin: 20px 0 28px;
    padding: 0;
    list-style: none;
}


.ticks li {
    padding: 8px 0;
    border-top: 1px solid var(--line);
}


.ticks li:last-child {
    border-bottom: 1px solid var(--line);
}


.act-media {
    display: grid;
    gap: 8px;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 5 / 4;
}


.act-media a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: var(--paper-2);
}


.act-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.act-media a:hover img {
    transform: scale(1.03);
}


.act-media a:first-child {
    grid-row: 1 / 3;
}


.act-media.m1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}


.act-media.m1 a:first-child {
    grid-row: auto;
}


.act-media.m2 {
    grid-template-rows: 1fr;
}


.act-media.m2 a:first-child {
    grid-row: auto;
}


@media (min-width: 900px) {
    .act {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    }

    .act:nth-of-type(odd) .act-media {
        order: -1;
    }

    .act:nth-of-type(odd) {
        grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    }
}


.band {
    background: var(--forest);
    color: #fff;
}


.band .act {
    border-top: 0;
    align-items: start;
}


.band .act-n {
    color: #D5E4C2;
}


.band .ticks-wide {
    columns: 1;
    margin: 0;
}


.band .ticks li {
    border-color: rgba(255, 255, 255, 0.28);
    break-inside: avoid;
    font-size: 1.15rem;
}


.band .ticks li:last-child {
    border-bottom-color: rgba(255, 255, 255, 0.28);
}


@media (min-width: 900px) {
    .band .act,
    .band .act:nth-of-type(odd) {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    }

    .band .ticks-wide {
        columns: 2;
        column-gap: 40px;
    }
}



.strip {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 4px var(--edge) 20px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--edge);
    overscroll-behavior-x: contain;
    scrollbar-color: var(--forest) var(--paper-2);
}


.real {
    flex: 0 0 min(78vw, 360px);
    scroll-snap-align: start;
}


.real a {
    display: block;
    text-decoration: none;
}


.real img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 4px;
    background: var(--paper-2);
    transition: opacity 0.2s ease;
}


.real a:hover img {
    opacity: 0.9;
}


.real a:hover .real-title {
    text-decoration: underline;
}


.real-title {
    display: block;
    margin-top: 12px;
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.25;
}


.real-place {
    display: block;
    color: var(--muted);
}


.strip-ctrl {
    gap: 8px;
}


.js .strip-ctrl:not([hidden]) {
    display: flex;
}


@media (max-width: 699px) {
    .strip-ctrl {
        display: none !important;
    }
}



.bark {
    background: var(--bark);
    color: #fff;
}


.about {
    display: grid;
    gap: clamp(32px, 6vw, 80px);
    grid-template-columns: minmax(0, 1fr);
}


.about h2 {
    margin-bottom: 24px;
    max-width: 18ch;
}


.about p {
    max-width: 36rem;
    font-size: 1.15rem;
}


.diplomas ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


.diplomas li {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    font-family: var(--display);
    font-size: clamp(2rem, 1.2rem + 3.6vw, 3.4rem);
    font-weight: 500;
    line-height: 1.1;
}


.diplomas li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}


.diplomas p {
    margin: 14px 0 0;
    color: #E6DCCB;
    font-size: 1rem;
}


@media (min-width: 900px) {
    .about {
        grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
        align-items: center;
    }
}



.zone {
    display: grid;
    gap: 32px;
}


.zone-intro {
    margin: 16px 0 0;
    max-width: 36rem;
    font-size: 1.15rem;
    color: var(--muted);
}


.zone-body {
    display: grid;
    gap: 32px;
    align-items: center;
}


.zone-text {
    display: grid;
    gap: 24px;
}


.towns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--display);
    font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
    font-weight: 500;
    line-height: 1.25;
}


.towns li:not(:last-child)::after {
    content: "/";
    margin-inline: 0.55em;
    color: var(--muted);
}


.zone-note {
    max-width: 40rem;
    margin: 0;
    color: var(--muted);
}


.zone-map {
    margin: 0;
    min-width: 0;
}


.zone-map-scroll {
    overflow-x: auto;
    border-radius: 6px;
    background: var(--paper-2);
}


.zone-map-svg {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin-inline: auto;
}


@media (max-width: 719px) {
    .zone-map-svg {
        min-width: 640px;
    }
}


.zone-map figcaption {
    max-width: 760px;
    margin: 12px auto 0;
    font-size: 0.95rem;
    color: var(--muted);
}


.map-c {
    fill: var(--paper);
    stroke: var(--line);
    stroke-width: 1;
    stroke-linejoin: round;
}


.map-c.listed {
    fill: #BBD98A;
    stroke: #6E9B3A;
}


.map-d {
    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-dasharray: 10 6;
}


.map-zone {
    fill: var(--leaf);
    fill-opacity: 0.16;
    stroke: var(--forest);
    stroke-width: 4;
}


.map-ring {
    fill: var(--forest);
    font: 700 24px var(--text);
    paint-order: stroke;
    stroke: var(--paper);
    stroke-width: 6px;
    stroke-linejoin: round;
}


.map-dot {
    fill: var(--ink);
    stroke: var(--paper);
    stroke-width: 2;
}


.map-dot.home {
    fill: var(--bark);
    stroke-width: 3;
}


.map-label {
    fill: var(--ink);
    font: 600 21px var(--text);
    paint-order: stroke;
    stroke: var(--paper);
    stroke-width: 5px;
    stroke-linejoin: round;
}


.map-label.home {
    font-size: 26px;
    font-weight: 700;
}


.map-scale path,
.map-north path {
    fill: none;
    stroke: var(--ink);
    stroke-width: 3;
}


.map-scale text,
.map-north text {
    fill: var(--ink);
    font: 600 21px var(--text);
    paint-order: stroke;
    stroke: var(--paper);
    stroke-width: 5px;
}


@media (min-width: 960px) {
    .zone-body {
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        gap: clamp(32px, 4vw, 56px);
    }
}



.paper2 {
    background: var(--paper-2);
}


.contact {
    display: grid;
    gap: clamp(32px, 6vw, 80px);
    grid-template-columns: minmax(0, 1fr);
}


.contact h2 {
    margin-bottom: 16px;
}


.coords {
    margin: 32px 0 0;
}


.coords dt {
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}


.coords dd {
    margin: 2px 0 0;
}


.coord-big {
    font-family: var(--display);
    font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem);
    font-weight: 600;
    text-decoration: none;
}


.coord-big:hover {
    text-decoration: underline;
}


.form {
    display: grid;
    gap: 18px;
    align-content: start;
}


.field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}


.opt {
    color: var(--muted);
    font-weight: 400;
}


.field input,
.field textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1.5px solid var(--field);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font: 400 1rem/1.4 var(--text);
}


.field textarea {
    resize: vertical;
    min-height: 140px;
}


.field input::placeholder,
.field textarea::placeholder {
    color: #6B6759;
    opacity: 1;
}


.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: var(--danger);
    border-width: 2px;
}


.err {
    margin: 6px 0 0;
    color: var(--danger);
    font-weight: 600;
}


.status {
    min-height: 1.65em;
    margin: 0;
    font-weight: 600;
}


.status.ok {
    color: var(--forest);
}


.status.bad {
    color: var(--danger);
}


@media (min-width: 900px) {
    .contact {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    }
}



.foot {
    background: var(--ink);
    color: #E9E5D8;
    padding-block: 40px calc(40px + env(safe-area-inset-bottom));
}


.foot-in {
    display: grid;
    gap: 24px;
}


.foot p {
    margin: 0 0 4px;
}


.foot-name {
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}


.foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}


.foot a {
    display: inline-block;
    padding-block: 8px;
}


.foot :focus-visible {
    outline-color: var(--leaf);
}


.foot-credit {
    color: #BFBAAA;
    font-size: 0.95rem;
}


@media (min-width: 900px) {
    .foot-in {
        grid-template-columns: 1fr auto auto;
        align-items: start;
        gap: 48px;
    }
}



.legal-in {
    max-width: 760px;
    padding-block: clamp(40px, 7vw, 88px);
}


.legal h2 {
    margin: 36px 0 10px;
    font-size: 1.6rem;
}


.legal h3 {
    margin: 28px 0 6px;
    font-size: 1.25rem;
}


.legal .legal-h1 {
    margin-top: 64px;
    font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem);
}



.viewer {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--ink);
    color: #fff;
    overscroll-behavior: contain;
}


.viewer::backdrop {
    background: rgba(12, 14, 8, 0.92);
}


.viewer[open] {
    display: flex;
    flex-direction: column;
}


.viewer :focus-visible {
    outline-color: var(--leaf);
}


.v-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: calc(16px + env(safe-area-inset-top)) var(--gutter) 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}


.v-bar h2 {
    font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
}


.v-sub {
    margin: 4px 0 0;
    color: #D7D2C4;
}


.v-btn {
    min-height: 44px;
    padding: 8px 16px;
    border: 1.5px solid #fff;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font: 600 1rem/1.1 var(--text);
    cursor: pointer;
    white-space: nowrap;
}


.v-btn:hover {
    background: #fff;
    color: var(--ink);
}


.v-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
}


.v-project {
    padding-top: 28px;
}


.v-project h3 {
    font-size: 1.4rem;
}


.v-place {
    margin: 2px 0 0;
    color: #D7D2C4;
}


.v-lines {
    margin: 12px 0 0;
    padding-left: 1.2em;
    max-width: 52rem;
}


.v-note {
    margin: 10px 0 0;
    max-width: 52rem;
    font-style: italic;
}


.thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 16px;
}


.thumbs button {
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #2B2A25;
    cursor: pointer;
    overflow: hidden;
}


.thumbs img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: opacity 0.15s ease;
}


.thumbs button:hover img {
    opacity: 0.8;
}


.v-single {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    height: 100%;
    align-items: center;
}


.v-single[hidden] {
    display: none;
}


.v-single figure {
    margin: 0;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


.v-single img {
    max-width: 100%;
    max-height: calc(100dvh - 250px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
}


.v-single figcaption {
    text-align: center;
    max-width: 52rem;
}


.v-foot {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}


.v-count {
    min-width: 5ch;
    text-align: center;
}


@media (max-width: 699px) {
    .v-single {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .v-prev,
    .v-next {
        display: none;
    }

    .v-foot .v-prev,
    .v-foot .v-next {
        display: inline-flex;
    }

    .v-single img {
        max-height: calc(100dvh - 290px);
    }
}


@media (min-width: 700px) {
    .v-foot .v-prev,
    .v-foot .v-next {
        display: none;
    }
}



@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .js .reveal.in {
        opacity: 1;
        transform: none;
    }
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .act-media img,
    .real img,
    .btn {
        transition: none;
    }
}



.notice {
    position: fixed;
    inset: auto var(--gutter) calc(16px + env(safe-area-inset-bottom)) var(--gutter);
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    max-width: 760px;
    margin-inline: auto;
    padding: 16px 18px;
    border: 2px solid var(--ink);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    font-size: 0.97rem;
    line-height: 1.5;
}


.notice[hidden] {
    display: none;
}


.notice p {
    flex: 1 1 320px;
    margin: 0;
}


.notice a {
    color: var(--forest);
}


.btn-notice {
    min-height: 44px;
    padding: 8px 18px;
    border: 2px solid var(--forest);
    border-radius: 4px;
    background: var(--forest);
    color: #fff;
    font: 600 1rem/1.2 var(--text);
    cursor: pointer;
}


.btn-notice:hover {
    background: var(--ink);
    border-color: var(--ink);
}
