/* INV-16 Little Us · Luxe (A2397, D-289; plan docs/plans/plan_inv16_little_us.md): two little pencil people run the whole invitation.
   Pencil grey on cream, one colour: the tie, the flowers and the buttons. Every drawing comes from one sheet (scripts/little_us_kit.py);
   bare paper is alpha, so no drawing needs a blend mode. Shared parts live here as k-lu-*. */
@font-face { font-family: "Kolker Brush"; src: url("assets/fonts/kolker-brush-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kolker Brush"; src: url("assets/fonts/kolker-brush-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; src: url("assets/fonts/eb-garamond-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; src: url("assets/fonts/eb-garamond-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; src: url("assets/fonts/eb-garamond-400i-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; src: url("assets/fonts/eb-garamond-400i-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --k-gate-plaster: var(--k-paper); --k-gate-metal: var(--k-ink);
  --k-lu-z: .87; /* the whole design's scale (feedback-not-in-the-face): big type and drawings; reading text stays readable */
  --k-font-script: "Kolker Brush", "Snell Roundhand", "Apple Chancery", cursive;
  --k-font-display: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --k-font-body: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --k-font-num: var(--k-font-display);
  --k-paper: #F0E8DB; --k-card: #F8F2E7; --k-paper-deep: #E4DAC9; --k-photo-white: #FBF7EE;
  --k-ink: #2A2620; --k-ink-soft: #5E574B; --k-pencil: #6B6456; --k-ghost: #B9AF9E; --k-field: #F8F2E7; --k-field-line: #C9BFAE;
  --k-script-ink: var(--k-ink);
  --k-line: var(--k-pencil);
  --k-dark: #2A2620; --k-on-dark: #F8F2E7; --k-on-dark-soft: rgba(248, 242, 231, .84);
  --k-light-ground: transparent;
  --k-s-1: 4px; --k-s-2: 8px; --k-s-3: 12px; --k-s-4: 16px; --k-s-5: 24px; --k-s-6: 32px; --k-s-7: 48px; --k-s-8: 64px; --k-s-9: 96px;
  --k-gutter: clamp(22px, 6vw, 72px); --k-section-pad: clamp(72px, 11vh, 128px); --k-day-gap: clamp(56px, 8vh, 96px); --k-measure: 500px;
  --k-ease: cubic-bezier(.22, 1, .36, 1);
  --k-lu-tile: url("/skins/little_us_luxe/assets/art/paper-tile.webp");
  /* small pencil marks, in code: the three ticks that pop when something lands, a puff from the car, the reply's heart */
  --k-lu-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M17 3.5v6M5.5 8l4.4 4.2M28.5 8l-4.4 4.2' fill='none' stroke='%236B6456' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  --k-lu-puff: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M7 21c-5-1-5-8 0-9 0-6 8-8 11-3 5-2 10 2 8 7 2 3-1 7-5 6' fill='none' stroke='%236B6456' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --k-lu-heart-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 44'%3E%3Cpath d='M23 41C8 30 2 23 2 14 2 7 7 2 13.5 2 17.6 2 21 4 23 7.4 25 4 28.4 2 32.5 2 39 2 44 7 44 14c0 9-6 16-21 27Z'/%3E%3C/svg%3E");
  /* a sketched edge: four pencil lines that cross at the corners. The svg needs its width and height, or border-image reads it at the box's size and only stray marks show */
  --k-lu-frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%235E574B' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M4.5 14.8C38 13.6 84 15.8 115.5 14.4'/%3E%3Cpath d='M105.4 4C106.6 40 104.4 82 105.6 116'/%3E%3Cpath d='M3.5 105.2C42 106.4 82 104.2 116 105.6'/%3E%3Cpath d='M14.6 5C13.6 40 15.8 82 14.4 115'/%3E%3C/g%3E%3C/svg%3E");
  --k-lu-grain: url("/skins/little_us_luxe/assets/art/ink-grain-192.webp");
  /* Where the couple stands. The opener and the hero read these and nothing else, so the tap has no join: anchored from the top of
     the screen, one set of numbers (test/inv16_luxe.test.mjs). */
  --k-lu-w: min(84vw, 46.3svh, 487px);
  --k-lu-h: calc(var(--k-lu-w) * .8656);
  --k-lu-top: clamp(70px, 14svh, 132px);
  --k-lu-foot: calc(var(--k-lu-top) + var(--k-lu-h) * .932);
}
@media (min-width: 900px) { :root { --k-lu-w: min(38vw, 50svh, 520px); --k-lu-top: clamp(70px, 11svh, 120px); } }
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--k-paper); scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; color: var(--k-ink);
  font: 400 1rem/1.5 var(--k-font-body);
  background: var(--k-paper) var(--k-lu-tile) 0 0 / 512px 512px repeat;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, dl, dd, ol, ul { margin: 0; font-weight: 400; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.k-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.kjy-main { font-family: var(--k-font-body); position: relative; overflow: hidden; overflow: clip; }

.k-lu-paper { background: var(--k-paper) var(--k-lu-tile) 0 0 / 512px 512px repeat; }

/* type: dry-brush script over widely spaced capitals, ink with a little grain, as the paper asks (feedback-textured-text) */
.k-lu-grain { padding: .2em .24em .3em; margin: -.2em -.24em -.3em;
  -webkit-mask: var(--k-lu-grain) 0 0 / 192px 192px repeat; mask: var(--k-lu-grain) 0 0 / 192px 192px repeat; }
.k-lu-scr { display: block; font: 400 1em/.9 var(--k-font-script); font-style: normal; color: var(--k-script-ink); }
.k-lu-caps { letter-spacing: .22em; margin-right: -.22em; text-transform: uppercase; }
.k-lu-kick { font: 400 clamp(.82rem, .72rem + .5vw, 1rem)/1.4 var(--k-font-body); letter-spacing: .2em; margin-right: -.2em; text-transform: uppercase; color: var(--k-ink); }
.k-lu-note { font: italic 400 1.0625rem/1.4 var(--k-font-body); color: var(--k-ink-soft); }
.k-lu-amp { font-style: normal; color: var(--c-primary); }

/* A section opens the same way every time: its drawing, a brush title, spaced capitals, the pencil heart */
.k-lu-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.k-lu-ttl { font-size: calc(clamp(58px, 16.5vw, 104px) * var(--k-lu-z)); font-weight: 400; margin-top: 2px; }
.k-lu-head .k-lu-kick { margin-top: 12px; }
.k-lu-heart { display: block; width: clamp(150px, 42vw, 196px); height: clamp(14px, 3.8vw, 18px); margin: 14px auto 0; overflow: visible; }

/* A drawing: the ink picture, and on it the couple's colour through its own mask, so a colour change costs nothing */
.k-lu-draw { position: relative; display: block; width: min(62vw, 300px); max-width: 100%; }
.k-lu-draw > img { display: block; width: 100%; height: auto; }
.k-lu-acc { position: absolute; inset: 0; display: block; background: var(--c-primary); pointer-events: none;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* A drawing that moves (W2): its frames sit side by side in one picture, in a clipped box one frame wide. The rest frame comes first, so the
   page without the script shows the still drawing, and no element rests on a transform. Sections say how the frames play. */
.k-lu-strip { overflow: hidden; }
.k-lu-strip__s { position: relative; display: block; }
.k-lu-strip--2 > .k-lu-strip__s { width: 200%; }
.k-lu-strip--3 > .k-lu-strip__s { width: 300%; }
.k-lu-strip__s > img { display: block; width: 100%; height: auto; max-width: none; }

/* The couple on the tug: one strip of three frames in a clipped box, resting on the middle frame (the hero's pose) */
.k-lu-tug { position: absolute; left: 50%; top: var(--k-lu-top); width: var(--k-lu-w); height: var(--k-lu-h); margin-left: calc(var(--k-lu-w) / -2); overflow: hidden; }
.k-lu-tug__s { position: absolute; left: 0; top: 0; width: 300%; height: 100%; transform: translateX(-33.3333%); }
.k-lu-tug__s > img { display: block; width: 100%; height: 100%; max-width: none; }
.k-lu-tug__s > .k-lu-acc { -webkit-mask-image: url("/sections/core/opening/120_walk_the_cover/assets/tug-strip-acc.webp"); mask-image: url("/sections/core/opening/120_walk_the_cover/assets/tug-strip-acc.webp"); }

/* a photo stays whole and sharp, in a thin pencil frame */
.k-lu-print { display: block; padding: 3px; background: var(--k-photo-white); background-clip: padding-box; border: 8px solid transparent; border-image: var(--k-lu-frame) 15 / 8px / 0 stretch; }
.k-lu-print > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* buttons: the page's one colour, drawn by hand: no two corners alike, and pencil hatching on the solid ones */
.k-btn, .kjy-cal__toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--k-s-2);
  min-height: 46px; padding: 0 var(--k-s-5); border-radius: 26px 7px 22px 6px / 7px 22px 6px 26px;
  font: 400 1rem/1 var(--k-font-body); letter-spacing: .04em;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.k-btn--solid { background: var(--c-primary); background-image: repeating-linear-gradient(103deg, rgba(255, 255, 255, .13) 0 1px, transparent 1px 3.5px, rgba(0, 0, 0, .06) 3.5px 4.5px, transparent 4.5px 7px); color: #FFF; border: 1px solid var(--c-primary); }
.k-btn--solid:active { background: var(--k-ink); border-color: var(--k-ink); }
.k-btn--line, .kjy-cal__toggle { background: transparent; color: var(--k-ink); border: 1px solid var(--k-ink-soft); }
.k-btn--line:active, .kjy-cal__toggle:active { background: var(--k-field); }
.k-ico { width: 18px; height: 18px; flex: none; }
.kjy-cal { display: inline-block; position: relative; text-align: left; }
.kjy-cal__toggle { list-style: none; }
.kjy-cal__toggle::-webkit-details-marker { display: none; }
.kjy-cal__menu { position: absolute; z-index: 5; left: 50%; translate: -50% 0; top: calc(100% + 6px); min-width: 190px; padding: 6px; border-radius: 14px; background: var(--k-paper); border: 1px solid var(--k-pencil); }
.kjy-cal__opt { display: block; padding: 10px 12px; font: 400 1rem/1.2 var(--k-font-body); text-decoration: none; }

/* the small print at the end of the page */
.kjy-footer { font: 400 .75rem/1.4 var(--k-font-body); position: relative; z-index: 1; padding: var(--k-s-6) var(--k-gutter) calc(var(--k-s-8) + env(safe-area-inset-bottom)); text-align: center; }
.kjy-footer a { display: inline-flex; align-items: center; gap: 14px; padding: 14px 8px; font: 400 .75rem/1 var(--k-font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--k-ink-soft); text-decoration: none; }
.kjy-footer__logo { display: block; width: 47px; height: 23.5px; } /* 35 % smaller than the shared 72 px (owner, A2420) */
.kjy-footer__logo--porcelain { display: none; }

/* music is off everywhere until a licence (D-044); kept so the switch needs no skin change */
.kjy-sound { position: fixed; z-index: 90; top: calc(12px + env(safe-area-inset-top)); right: calc(12px + env(safe-area-inset-right));
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center; cursor: pointer; border-radius: 50%; border: 1px solid var(--k-pencil);
  background: var(--k-paper); color: var(--k-ink); }
.kjy-preview ~ .kjy-sound { top: calc(64px + env(safe-area-inset-top)); }
.kjy-sound[aria-pressed="true"] .kjy-sound__off,
.kjy-sound[aria-pressed="false"] .kjy-sound__on { display: none; }
