@font-face { font-family: 'PonteLight'; src: url('fonts/ponte-light.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'PonteExtraLight'; src: url('fonts/ponte-extralight.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'PonteRegular'; src: url('fonts/ponte-regular.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'PonteLightItalic'; src: url('fonts/ponte-lightitalic.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'PonteExtraLightItalic'; src: url('fonts/ponte-extralightitalic.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'RedHatDisplaySemiBold'; src: url('fonts/redhatdisplay-semibold.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'BilletScriptOpti'; src: url('fonts/billetscriptopti.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'MrsSaintDelafield'; src: url('fonts/mrs-saint-delafield.woff2') format('woff2'); font-display: swap; }

:root {
  --ink: rgba(37,31,24,1);          /* espresso brown */
  --teal: rgba(134,157,159,1);      /* dusty teal (menu / footer) */
  --dark: rgba(13,25,28,1);         /* near-black teal */
  --brown: rgba(37,31,24,1);
  --cream: rgba(252,251,249,1);
  --paper: rgba(249,249,245,1);
  --white: rgba(255,255,255,1);
  --font-title: 'PonteLight', serif;
  --font-serif: 'PonteExtraLight', serif;
  --font-heading: 'MrsSaintDelafield', cursive;
  --font-body: 'Albert Sans', sans-serif;
  --font-label: 'Red Hat Display', sans-serif;
  --font-script: 'MrsSaintDelafield', cursive;
  --gutter: max(0px, calc((100vw - 1200px) / 2));
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 60px; }
body { font-family: var(--font-body); color: var(--ink); background: #fff;
       overflow-x: hidden; }
img { max-width: none; }
a { color: inherit; }

.sec { position: relative; height: var(--h); }
.cv { position: relative; width: 1200px; height: 100%; margin: 0 auto; }
.cv > *, .state-view > * { position: absolute; }
.ph { object-fit: cover; display: block; }

.t-title { font-family: var(--font-title); font-size: 48px; line-height: 1.1;
           text-align: center; font-weight: 400; }
.t-heading { font-family: var(--font-heading); font-style: italic;
             font-size: 26px; line-height: 1.2; text-align: center; font-weight: 400; }
.t-subheading { font-family: var(--font-label); font-weight: 500; font-size: 15px;
                letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.6;
                text-align: center; }
.t-paragraph { font-family: var(--font-body); font-size: 18px; line-height: 1.6;
               text-align: left; font-weight: 400; }
.t-title em, .t-heading em, .t-subheading em, .t-paragraph em
  { font-family: var(--font-heading); font-style: italic; text-transform: none;
    letter-spacing: 0; }

.btn { display: flex; align-items: center; justify-content: center;
       border: 1px solid var(--white); background: transparent;
       text-decoration: none; color: var(--white); transition: all .4s; }
.btn span { font-family: var(--font-label); font-weight: 500; font-size: 12px;
            letter-spacing: 0.15em; text-transform: uppercase; line-height: 1.6; }
.btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-secondary { border-color: var(--ink); color: var(--ink); }
.btn-secondary span { font-size: 13px; }
.btn-secondary:hover { background: transparent; border-color: rgba(37,31,24,.6);
                       color: rgba(37,31,24,.6); }

.ico { display: inline-flex; align-items: center; justify-content: center;
       background: none; border: 0; cursor: pointer; text-decoration: none; }
.ico svg { width: 100%; height: 100%; }

.field { position: absolute; background: transparent; border: 0;
         border-bottom: 0 solid transparent; outline: none;
         font-family: var(--font-label); font-size: 14px; letter-spacing: .1em;
         text-transform: uppercase; color: var(--ink); height: 35px; }
.field::placeholder { color: rgba(37,31,24,.65); }
textarea.field { resize: none; text-transform: none; letter-spacing: .02em;
                 font-family: var(--font-body); font-size: 15px; padding-top: 8px; }

.fade-gallery { position: absolute; }
.fade-gallery .fade-slide { position: absolute; inset: 0; width: 100%; height: 100%;
                            opacity: 0; transition: opacity 1.2s; }
.fade-gallery .fade-slide.is-on { opacity: 1; }

.menu-overlay { position: fixed; inset: 0; background: var(--teal); z-index: 100;
                overflow: hidden; color: var(--white); }
.menu-overlay .cv { height: 100vh; }
.menu-overlay[hidden] { display: none; }
.menu-overlay .ico svg, .menu-overlay .ico svg path { fill: var(--white); }

.stick-wrap { position: relative; }

.state-rot { position: absolute; inset: 0; }
.state-view .state-bg { inset: 0; width: 100%; height: 100%; opacity: .85; }
.state-view .state-wash { inset: 0;
  background: linear-gradient(90deg, rgba(23,18,13,.78) 0%, rgba(23,18,13,.25) 65%); }
.z-optional-featured-posts_view-1_1 {
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.55) 70%) !important; }
.state-rot .state-view { position: absolute; inset: 0; opacity: 0;
                         transition: opacity 1s; pointer-events: none; }
.state-rot .state-view.is-on { opacity: 1; pointer-events: auto; }
.sec-stick-top-menu-white.is-shown { transform: translateY(0) !important; }

.sec-stick-top-menu-white { box-shadow: none; }

/* ============ palette-tinted custom cursors ============
   The arrow is filled with the colorway's accent (--teal slot) and outlined
   in its cream so it reads on light and dark grounds; links/buttons get an
   accent dot. cursor: url() cannot read CSS variables, so the colors are
   BAKED per colorway below and mirror the :root palettes in the GENERATED
   colorways.css — if gen_shutter_colorways.py changes a palette, update the
   matching hex pair here by hand. Text fields keep the native I-beam.
   Scoped by [data-colorway], so legacy Aperol pages are unaffected. */

:root[data-colorway="oxblood-glow"] body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><path d="M5 2 L21.5 12.2 L13.6 13.8 L9.6 21.8 Z" fill="%23c0662f" stroke="%23f5ead9" stroke-width="1.6" stroke-linejoin="round"/></svg>') 5 2, auto; }
:root[data-colorway="oxblood-glow"] a, :root[data-colorway="oxblood-glow"] button,
:root[data-colorway="oxblood-glow"] label, :root[data-colorway="oxblood-glow"] .jnl-deck {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><circle cx="13" cy="13" r="7.5" fill="%23c0662f" stroke="%23f5ead9" stroke-width="2"/></svg>') 13 13, pointer; }

:root[data-colorway="coffee-espresso"] body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><path d="M5 2 L21.5 12.2 L13.6 13.8 L9.6 21.8 Z" fill="%23a9642e" stroke="%23ede0c8" stroke-width="1.6" stroke-linejoin="round"/></svg>') 5 2, auto; }
:root[data-colorway="coffee-espresso"] a, :root[data-colorway="coffee-espresso"] button,
:root[data-colorway="coffee-espresso"] label, :root[data-colorway="coffee-espresso"] .jnl-deck {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><circle cx="13" cy="13" r="7.5" fill="%23a9642e" stroke="%23ede0c8" stroke-width="2"/></svg>') 13 13, pointer; }

:root[data-colorway="ew-chestnut"] body, :root[data-colorway="ew-espresso"] body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><path d="M5 2 L21.5 12.2 L13.6 13.8 L9.6 21.8 Z" fill="%23837a24" stroke="%23f5edda" stroke-width="1.6" stroke-linejoin="round"/></svg>') 5 2, auto; }
:root[data-colorway="ew-chestnut"] a, :root[data-colorway="ew-chestnut"] button,
:root[data-colorway="ew-chestnut"] label, :root[data-colorway="ew-chestnut"] .jnl-deck,
:root[data-colorway="ew-espresso"] a, :root[data-colorway="ew-espresso"] button,
:root[data-colorway="ew-espresso"] label, :root[data-colorway="ew-espresso"] .jnl-deck {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><circle cx="13" cy="13" r="7.5" fill="%23837a24" stroke="%23f5edda" stroke-width="2"/></svg>') 13 13, pointer; }

:root[data-colorway="champagne-coffee"] body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><path d="M5 2 L21.5 12.2 L13.6 13.8 L9.6 21.8 Z" fill="%2385431e" stroke="%23f3e7d0" stroke-width="1.6" stroke-linejoin="round"/></svg>') 5 2, auto; }
:root[data-colorway="champagne-coffee"] a, :root[data-colorway="champagne-coffee"] button,
:root[data-colorway="champagne-coffee"] label, :root[data-colorway="champagne-coffee"] .jnl-deck {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><circle cx="13" cy="13" r="7.5" fill="%2385431e" stroke="%23f3e7d0" stroke-width="2"/></svg>') 13 13, pointer; }

:root[data-colorway="champagne-coffee-red"] body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><path d="M5 2 L21.5 12.2 L13.6 13.8 L9.6 21.8 Z" fill="%23bd543a" stroke="%23f3e7d0" stroke-width="1.6" stroke-linejoin="round"/></svg>') 5 2, auto; }
:root[data-colorway="champagne-coffee-red"] a, :root[data-colorway="champagne-coffee-red"] button,
:root[data-colorway="champagne-coffee-red"] label, :root[data-colorway="champagne-coffee-red"] .jnl-deck {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><circle cx="13" cy="13" r="7.5" fill="%23bd543a" stroke="%23f3e7d0" stroke-width="2"/></svg>') 13 13, pointer; }

/* ================= mobile layer (additive only; desktop unchanged) ========
   Everything below lives inside one max-width:900px block. The blanket rule
   flows every absolutely-positioned canvas child; per-section rules in
   css/home.css re-layout deliberately on top of it. */
@media (max-width: 900px) {
  /* clip (not hidden): forbids scrollable overflow entirely, so art that
     deliberately pokes past the edges (desktop intent) can never expand the
     mobile layout viewport via shrink-to-fit */
  html, body { overflow-x: clip; }
  body { min-width: 0; }
  .sec { height: auto; }
  .cv { width: auto; height: auto; }
  /* THE BLANKET — the .sec prefix is load-bearing: (0,2,0) so it outranks the
     page stylesheets' single-class geometry rules, which load after this file. */
  .sec .cv > * { position: static; left: auto; top: auto; right: auto;
                 bottom: auto; width: auto; height: auto; }
  .cv .ph { width: 100%; height: auto; }
  .cv .btn { position: static; width: 100%; max-width: 340px; height: 50px;
             align-self: center; }
  /* the fixed menu overlay is not a .sec — it gets its own blanket */
  .menu-overlay .cv > * { position: static; left: auto; top: auto; right: auto;
                          bottom: auto; width: auto; height: auto; }
  .t-title { font-size: clamp(30px, 8.5vw, 40px); }
  .t-paragraph { font-size: 16px; }
}
