/* www.redan.club styles. Brand tokens first, then the home page (design A2). */

/* ── Font faces ───────────────────────────────────────────── */
/* Academy is the approved typeface (Regular + Italic only — no bold exists).
 * For screen/OS use, the codebase falls back to Georgia serif + system sans.
 * We ship BOTH here: Academy for display / presentation, Georgia for body. */
@font-face {
  font-family: 'Academy';
  src: url('assets/fonts/academy-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Academy';
  src: url('assets/fonts/academy-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  /* Brand core — Hickory & Sand */
  --hickory:        #260E00; /* Primary. Headings, logos on sand, all text on sand */
  --hickory-deep:   #1A0A00; /* Body text on sand (slightly softer than hickory) */
  --sand:           #E2D5C3; /* Primary complement. Borders on sand; text on hickory */
  --sand-light:     #EDE6DA; /* Sand panel backgrounds, subtle tints */
  --sand-page:      #F5F0E8; /* Page background */
  --surface:        #FDFCFA; /* Card / surface */
  --white-card:     #FFFFFF; /* Floating cards inside sand panels only */


  /* Muted — the ONLY way to express "secondary" is opacity of the primary */
  --muted-on-sand:     rgba(38, 14, 0, 0.45);
  --muted-on-hickory:  rgba(226, 213, 195, 0.45);
  --footer-on-sand:    rgba(38, 14, 0, 0.35); /* 65% transparency per spec */
  --footer-on-hickory: rgba(226, 213, 195, 0.35);

  /* Borders — always 1px, sand on sand, sand-at-alpha on hickory */
  --border-sand:     #E2D5C3;
  --border-hickory:  rgba(245, 240, 232, 0.14); /* for hickory nav divider */


  /* Typography — families */
  --font-display:  'Academy', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-serif:    Georgia, 'Times New Roman', serif;
  --font-sans:     -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Typography — letter-spacing */
  --tracking-label:  0.12em; /* small caps labels / eyebrows */
  --tracking-title:  0.08em;
  --tracking-subtle: 0.02em;

  /* Typography — line-height (brand guide mandates generous) */
  --leading-body:    1.6;
  --leading-heading: 1.3;
  --leading-tight:   1.2;

  /* Spacing scale — generous, based on 4/8px grid, padding never < 28px in cards */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;  /* minimum card padding */
  --space-8:  32px;
  --space-10: 40px;  /* page margins baseline */
  --space-12: 48px;
  --space-16: 64px;

  /* Radius — deliberately restrained. Square corners for presentation cards.
   * OS product UI uses gentle radii; never exceed 16px on cards, 10px on inputs. */
  --radius-none: 0;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-xl:   16px;
  --radius-pill: 999px;

  /* Borders */
  --border-1: 1px solid var(--border-sand);
  --border-dashed: 1.5px dashed var(--border-sand);

  /* Elevation — borders only per brand rules; a single whisper-shadow is
   * permitted on floating white cards inside sand panels (spec: blur 4, 6%). */
  --shadow-card:   0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-drawer: 0 12px 36px rgba(26, 10, 0, 0.18);

  /* Layout */
  --content-max:   1200px;
  --content-pad:   40px;
  --nav-height:    54px;
}

/* ── Semantic roles (shorthand aliases used across components) ── */
:root {
  --bg:            var(--sand-page);
  --fg:            var(--hickory-deep);
  --fg-heading:    var(--hickory);
  --fg-muted:      var(--muted-on-sand);
  --border:        var(--border-sand);
  --accent:        var(--hickory);
  --on-accent:     var(--sand);
}

/* ── Base element styles ──────────────────────────────────── */
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

/* Display headings — serif, normal weight (400/500), never bold/heavy.
 * Sizes mirror Redan OS usage patterns: h1 hero 32, workspace 24, card 20-18. */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: var(--leading-heading);
  letter-spacing: -0.01em;
  color: var(--fg-heading);
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: var(--leading-heading);
  letter-spacing: 0.01em;
  color: var(--fg-heading);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: var(--leading-heading);
  color: var(--fg-heading);
}

/* Eyebrow / section label — small caps, wide tracking. The brand's
 * signature label treatment; used EVERYWHERE over content groups. */
.eyebrow,
.section-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-muted);
}

/* Italic subtitle — the Academy Italic voice. Used under titles, as
 * subtitle under the Chequy, and for statement slides. */
.subtitle,
em.subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--fg-muted);
}

/* Body */
p, .body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: var(--leading-body);
  color: var(--fg);
}
.body-serif {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: var(--leading-body);
}

/* Small / footer */
.small,
small {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: var(--tracking-subtle);
}

/* ── Link default ─────────────────────────────────────────── */
a {
  color: var(--hickory);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.15s;
}
a:hover { opacity: 0.7; }

/* ── Home page ───────────────────────────────────────────── */
body{margin:0;background:#F5F0E8}
a{color:#260E00}a:hover{color:#260E00;opacity:.7}
.rd, .rd p, .rd h1, .rd h2, .rd h3, .rd a, .rd span, .rd button, .rd input, .rd label{font-family:var(--font-display)}
.rd a{border-bottom:0}

/* The live site's own button: 17px Academy, hairline border, 2px corners */
.rd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 16px 9px;box-sizing:border-box;border-radius:2px;font-size:17px;line-height:1.2;text-decoration:none;cursor:pointer;white-space:nowrap;transition:background-color .3s ease-out,color .3s ease-out}
.rd .rd-line{background:#F5F0E8;color:#260E00;border:1px solid #260E00}
.rd .rd-line:hover{background:#E2D5C3;opacity:1}
.rd .rd-dark{background:#260E00;color:#E2D5C3;border:1px solid #260E00}
.rd .rd-dark:hover{background:#1A0A00;color:#E2D5C3;opacity:1}
.rd .rd-line-sand{background:transparent;color:#E2D5C3;border:1px solid rgba(226,213,195,.6)}
.rd .rd-line-sand:hover{background:rgba(226,213,195,.12);opacity:1}
.rd .rd-sand{background:#E2D5C3;color:#260E00;border:1px solid #E2D5C3}
.rd-more{display:inline-flex;align-items:center;gap:10px;padding:10px 0;background:none;border:0;cursor:pointer;font-size:17px;color:#260E00;text-decoration:none}
.rd-more span{background-image:linear-gradient(currentColor,currentColor);background-size:0% 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .5s cubic-bezier(.2,.7,.2,1)}
.rd-more:hover{opacity:1}
.rd-more:hover span{background-size:100% 1px}
.rd-field{display:flex;flex-direction:column;gap:8px;min-width:0;text-align:left}
.rd-field span{font-size:15px;opacity:.75}
.rd-field input{height:48px;box-sizing:border-box;padding:0 2px;border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;font-size:18px;outline:none;border-radius:0}
.rd-field input:focus{border-bottom-width:2px}
.rd-tab{background:none;border:0;border-bottom:1px solid transparent;padding:12px 0;cursor:pointer;font-size:17px;color:rgba(38,14,0,.5)}
.rd-tab[aria-selected="true"]{color:#260E00;border-bottom-color:#260E00}

/* The chequy glint, as on the live site */
.rd-glint{position:absolute;inset:0;pointer-events:none;clip-path:polygon(50% 3%,50% 10%,95% 96%,100% 96%);background:linear-gradient(-45deg,transparent 40%,rgba(255,255,255,.75),transparent 60%) 100% 0/300%;animation:rd-shimmer 8s linear infinite}
@keyframes rd-shimmer{0%{background-position:100% 0}35%{background-position:0 0}100%{background-position:0 0}}

/* The live site's measured frame at 1440 wide */
.rd-row{margin-top:48px;position:relative}
.rd-half{width:calc(50% - 8px)}
.rd-cig{width:calc(50% - 24px);margin-left:16px}
.rd-narrow{width:32%}
.rd-text{width:50%;max-width:760px;margin:0 auto;padding-bottom:208px;text-align:center}
.rd-text p{margin:0;font-size:26px;line-height:1.2;color:#260E00}
.rd-off-lg{margin-top:-37.5vw}
.rd-off-md{margin-top:-25vw}
.rd-off-sm{margin-top:-12.5vw}

/* Hero */
.rd-kb{animation:rd-kb 34s ease-in-out infinite alternate}
@keyframes rd-kb{from{transform:scale(1.02)}to{transform:scale(1.08)}}
.rd-mark{animation:rd-mark 1.8s cubic-bezier(.2,.7,.2,1) .4s both}
@keyframes rd-mark{from{transform:translateY(40%);opacity:0}to{transform:none;opacity:1}}

/* The row: buttons either side, chequy centred on the same line */
.rd-cheq{width:clamp(120px,9.7vw,140px)}
.rd-pinrow{height:clamp(63px,5.07vw,73px);padding:0 24px;box-sizing:border-box}
@media (max-width:767px){
  .rd-cheq{width:76px}
  .rd-pinrow{height:40px;padding:0 12px}
  .rd .rd-pinbtn{font-size:13px;white-space:normal;max-width:128px;min-height:40px;padding:7px 10px 5px;text-align:center}
  .rd-stick{top:calc(min(100vh, 1000px) - 50px) !important}
}

/* The top row */
.rd-hdr{position:fixed;top:0;left:0;right:0;z-index:50;height:72px;padding:0 24px;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;border-bottom:1px solid transparent;transition:background-color .5s ease,border-color .5s ease}
.rd-hmark{position:relative;display:block;width:72px;border-bottom:0}
.rd .rd-hbtn{font-size:15px;min-height:40px;padding:9px 14px 7px;background:transparent;transition:color .5s ease,border-color .5s ease,background-color .3s ease}
.rd-hdr.on-film .rd-hbtn{color:#F5F0E8;border:1px solid rgba(245,240,232,.75)}
.rd-hdr.on-film .rd-hbtn:hover{background:rgba(245,240,232,.14)}
.rd-hdr.solid{background:#F5F0E8;border-bottom-color:rgba(38,14,0,.12)}
.rd-hdr.solid .rd-hbtn{color:#260E00;border:1px solid #260E00}
.rd-hdr.solid .rd-hbtn:hover{background:#E2D5C3}
@media (max-width:767px){
  .rd-hdr{height:64px;padding:0 10px;gap:8px}
  .rd-hmark{width:52px}
  .rd .rd-hbtn{font-size:12px;white-space:normal;max-width:124px;min-height:40px;padding:6px 8px 4px;text-align:center;line-height:1.15}
}

/* Row sizes per version */
.rd-A{--row-h:72px;--row-c:36px;--cq-s0:.5;--lab-h:38px;--lab-fs:10.5px;--lab-px:22px}
.rd-B{--row-h:48px;--row-c:24px;--cq-s0:.36;--lab-h:30px;--lab-fs:9.5px;--lab-px:16px}

/* The two labels, pinned top left and top right */
.rd-paths{position:fixed;top:0;left:0;right:0;z-index:50;height:var(--row-h);padding:0 clamp(12px,1.7vw,24px);box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.rd-paths > *{pointer-events:auto}
.rd-label{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;height:var(--lab-h);padding:0 var(--lab-px);border:0;border-radius:1px;cursor:pointer;font-size:var(--lab-fs);line-height:1;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap;outline-offset:-4px;transition:background-color .4s ease,color .4s ease}
/* Woven garment label: off-white satin, faint rib, dark capitals, one colour for both */
.rd .rd-label{background-color:#F8F6F1;background-image:repeating-linear-gradient(0deg,rgba(38,14,0,.035) 0 1px,transparent 1px 3px);color:#260E00;outline:none;letter-spacing:.26em;box-shadow:0 1px 1px rgba(26,10,0,.18),0 8px 20px rgba(26,10,0,.14);transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s ease,background-color .4s ease}
.rd .rd-label:hover{background-color:#FFFFFF;transform:translateY(-1px);box-shadow:0 2px 2px rgba(26,10,0,.18),0 12px 28px rgba(26,10,0,.18);opacity:1}
.rd .rd-label:focus-visible{outline:1px solid #260E00;outline-offset:3px}
.rd-label::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(105deg,transparent,rgba(255,255,255,.85),transparent);mix-blend-mode:soft-light;transform:skewX(-14deg);animation:rd-sheen 8s ease-in-out infinite;pointer-events:none}
.rd-paths .rd-label + .rd-label::after{animation-delay:-4s}
.rd-label:hover::after{animation:rd-sheen-fast .9s ease-out 1}
@keyframes rd-sheen{0%,72%{left:-60%}100%{left:130%}}
@keyframes rd-sheen-fast{from{left:-60%}to{left:130%}}


/* Version A: the labels sit at the foot of the film, and all three wait for a tap or a scroll */
.rd-paths.rd-foot{top:auto;bottom:clamp(16px,2.2vw,32px);height:auto;align-items:flex-end}
.rd-hide{opacity:0;transform:translateY(10px);pointer-events:none !important}
.rd-hide *{pointer-events:none !important}
.rd-show{opacity:1;transform:none}
.rd-paths,.rd-cq-fade{transition:opacity 1.1s cubic-bezier(.2,.7,.2,1),transform 1.1s cubic-bezier(.2,.7,.2,1)}
.rd-cq-fade.rd-hide{transform:translateY(-6px)}
.rd-paths.rd-away{opacity:0;transform:translateY(14px);pointer-events:none !important}
.rd-paths.rd-away *{pointer-events:none !important}

/* Slim bar (version B): sand on load, gone once you scroll */
.rd-bar{position:fixed;top:0;left:0;right:0;height:var(--row-h);z-index:4;background:#F5F0E8;border-bottom:1px solid rgba(38,14,0,.1);transition:background-color .6s ease,border-color .6s ease}
.rd-bar.scrolled{background:rgba(245,240,232,0);border-bottom-color:transparent}

/* The chequy */
.rd-cq-travel{position:absolute;left:50%;top:0;width:clamp(120px,9.7vw,140px);margin-left:calc(clamp(120px,9.7vw,140px) / -2);transform-origin:50% 50%;transform:scale(var(--cq-s0))}

@media (max-width:767px){
  .rd-A{--row-h:64px;--row-c:32px;--cq-s0:.74;--lab-h:auto;--lab-fs:9.5px;--lab-px:10px}
  .rd-B{--row-h:56px;--row-c:28px;--cq-s0:.62;--lab-h:auto;--lab-fs:9.5px;--lab-px:10px}
  .rd-label{white-space:normal;max-width:132px;min-height:36px;padding:7px var(--lab-px);line-height:1.35;text-align:center}
  .rd-cq-stick{top:calc(var(--row-c) - 20px) !important}
  .rd-cq-travel{width:76px;margin-left:-38px}
}

/* Membership rail */
.rd-rail{scrollbar-width:none}
.rd-rail::-webkit-scrollbar{display:none}

@media (max-width:767px){
  .rd-half{width:88%}
  .rd-cig{width:76%}
  .rd-narrow{width:56%}
  .rd-text{width:84%;padding-bottom:128px}
  .rd-text p{font-size:22px}
  .rd-off-lg{margin-top:-24vw}.rd-off-md{margin-top:-16vw}.rd-off-sm{margin-top:-8vw}
  .rd-split{grid-template-columns:minmax(0,1fr) !important}
}


/* Opening film: never show a play button over it */
video[data-film]::-webkit-media-controls,video[data-film]::-webkit-media-controls-start-playback-button,video[data-film]::-webkit-media-controls-overlay-play-button{display:none !important;-webkit-appearance:none;opacity:0}
.rd-film-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* Motion: the live site's slow fade-in, plus scroll-driven extras where supported */
@media (prefers-reduced-motion:reduce){.rd-kb,.rd-mark{animation:none}}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline: view()){
    .rv{animation:rd-fade linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
    .rd-draw{animation:rd-draw linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
    .rd-lift{animation:rd-lift linear both;animation-timeline:view();animation-range:cover 15% cover 75%}
    .rd-slide{animation:rd-focus linear both;animation-timeline:view(inline)}
    .rd-pill{animation:rd-pill linear both;animation-timeline:scroll(root);animation-range:90vh 110vh}
    .rd-cq-travel{animation:rd-travel linear both;animation-timeline:scroll(root);animation-range:0 min(65vh, 640px)}
    .rd-emerge{animation:rd-emerge linear both;animation-timeline:scroll(root);animation-range:0 min(50vh, 600px)}
  }
}
@keyframes rd-travel{from{transform:scale(var(--cq-s0))}to{transform:translateY(calc(min(50vh, 600px) - var(--row-c))) scale(1)}}
@keyframes rd-fade{from{opacity:0}to{opacity:1}}
@keyframes rd-emerge{from{opacity:0;transform:scale(.55) translateY(24px)}to{opacity:1;transform:none}}
@keyframes rd-draw{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes rd-lift{from{transform:translateY(3%)}to{transform:translateY(-5%)}}
@keyframes rd-focus{0%{opacity:.3}40%,60%{opacity:1}100%{opacity:.3}}
@keyframes rd-pill{from{opacity:0;transform:translate(-50%,20px);visibility:hidden}to{opacity:1;transform:translate(-50%,0);visibility:visible}}

/* ===== A2: audit fixes ===== */
/* Chequy: smaller at rest in the middle of the screen (96px, was 140px), same size in the top row as before */
.rd-A2{--cq-s0:.75;--cq-half:17px}
.rd-A2 .rd-cq-stick{top:calc(var(--row-c) - var(--cq-half)) !important}
.rd-A2 .rd-cq-travel{width:64px;margin-left:-32px}
@media (max-width:767px){
  .rd-A2{--cq-s0:.9;--cq-half:13px}
  .rd-A2 .rd-cq-travel{width:48px;margin-left:-24px}
}
/* Label shine runs on hover only */
.rd-A2 .rd-label::after{animation:none}
.rd-A2 .rd-label:hover::after{animation:rd-sheen-fast .9s ease-out 1}
/* Waitlist: a quiet text link beside the Inquire label */
.rd-quiet{position:relative;display:inline-flex;align-items:center;height:var(--lab-h);padding:0 2px;border:0;border-radius:1px;background:transparent;cursor:pointer;font-size:var(--lab-fs);line-height:1;letter-spacing:.26em;text-transform:uppercase;white-space:nowrap;color:#F5F0E8;text-shadow:0 1px 10px rgba(26,10,0,.55);background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:2px calc(50% + 10px);transition:color .5s ease,background-color .5s ease,padding .5s ease,background-size .5s cubic-bezier(.2,.7,.2,1)}
.rd .rd-quiet:hover{opacity:1;background-size:calc(100% - 4px) 1px}
.rd-quiet:focus-visible{outline:1px solid currentColor;outline-offset:4px}
.rd-paths.rd-on-page .rd-quiet{color:#260E00;text-shadow:none;background-color:rgba(245,240,232,.92);padding:0 14px;background-position:14px calc(50% + 10px)}
.rd-paths.rd-on-page .rd-quiet:hover{background-size:calc(100% - 28px) 1px}
/* Members' sign in: top right, arrives with the chequy */
.rd-sign-stick{position:relative;height:0;z-index:50;pointer-events:none}
.rd-sign-stick .rd-signin{pointer-events:auto}
.rd-signin{position:absolute;right:clamp(12px,1.7vw,24px);top:calc(var(--row-c) - 19px);height:38px;display:flex;align-items:center;font-size:var(--lab-fs);letter-spacing:.26em;text-transform:uppercase;text-decoration:none;color:#F5F0E8;text-shadow:0 1px 10px rgba(26,10,0,.55);transition:opacity 1.1s cubic-bezier(.2,.7,.2,1),transform 1.1s cubic-bezier(.2,.7,.2,1),color .5s ease}
.rd .rd-signin{color:#F5F0E8}
.rd .rd-signin.rd-on-page{color:#260E00;text-shadow:none}
.rd-signin.rd-hide{transform:translateY(-6px)}
@media (max-width:767px){.rd-signin{top:calc(var(--row-c) - 19px);font-size:9.5px}.rd-quiet{height:36px;align-self:flex-end;background-position:2px calc(50% + 9px)}.rd-paths.rd-on-page .rd-quiet{padding:0 10px;background-position:10px calc(50% + 9px)}}
/* Cookie notice: a slim strip above the film on arrival, never on it */
.rd-cookie{min-height:40px;box-sizing:border-box;padding:8px 16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 20px;background:#F5F0E8;color:#260E00;font-size:13px;line-height:1.3;border-bottom:1px solid rgba(38,14,0,.12);text-align:center}
.rd-cookie button{min-height:24px;padding:0;background:none;border:0;color:#260E00;font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* Consent line under the email field */
.rd-consent{margin:0;font-size:13px;line-height:1.4;color:rgba(38,14,0,.7);text-align:center}
.rd-form{width:100%;display:flex;flex-direction:column;align-items:center;gap:20px}
.rd-inq-grid{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.rd-wl-row{width:100%;display:flex;align-items:flex-end;gap:16px}
@media (max-width:767px){.rd-inq-grid{grid-template-columns:minmax(0,1fr)}.rd-wl-row{flex-direction:column;align-items:stretch}}

/* ===== A2 · the page under the film, redrawn ===== */
.rd-A2{--slot:240px}
@media (max-width:767px){.rd-A2{--slot:200px}}
/* The chequy rides its own rail: it floats down over the film and settles above the statement, then leaves with the page */
/* The rail now runs the length of the page: the chequy floats in the middle of the screen over the crest, the craft, the membership and the collection, and comes to rest in the empty slot at the end of the collection */
.rd-A2{--land:240px}
.x-rail{position:absolute;top:0;left:0;right:0;z-index:5;pointer-events:none;bottom:calc(var(--land) / 2 + var(--cq-half) + min(50vh, 600px) - var(--row-c))}

.x-wrap{padding-left:40px;padding-right:40px;box-sizing:border-box}
.x-eyebrow{margin:0;font-size:11.5px;line-height:1.5;letter-spacing:.26em;text-transform:uppercase;color:inherit}
.x-cta{display:inline-flex;align-items:center;padding:0 0 7px;background:none;border:0;border-bottom:1px solid currentColor;border-radius:0;cursor:pointer;font-size:11.5px;line-height:1;letter-spacing:.26em;text-transform:uppercase;color:inherit;text-decoration:none;transition:opacity .35s ease}
.rd .x-cta{color:inherit}
.rd .x-cta:hover{opacity:.55}
.x-lede{text-wrap:balance;margin:0;font-size:clamp(28px, 3.1vw, 46px);line-height:1.14;letter-spacing:-.005em;color:#260E00}
.x-body{text-wrap:balance;margin:0;font-size:clamp(19px, 1.6vw, 23px);line-height:1.32;color:inherit}
.x-small{margin:0;font-size:16px;line-height:1.5;color:inherit}

.x-pair{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:16px}
.x-frame{margin:0;position:relative;overflow:hidden;background:#E2D5C3}
.x-frame > img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.8s cubic-bezier(.2,.7,.2,1)}
.x-frame:hover > img{transform:scale(1.025)}
.x-sq{aspect-ratio:1 / 1}
.x-panel{min-height:clamp(440px, 38vw, 560px);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:72px clamp(32px, 6vw, 96px);text-align:center}
.x-stage{position:relative;display:grid;place-items:center;overflow:hidden}
.x-stage > *{grid-area:1 / 1}

.x-benefits{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));column-gap:clamp(32px, 4vw, 64px);row-gap:44px}
.x-benefit{border-top:1px solid rgba(38,14,0,.25);padding-top:20px;display:flex;flex-direction:column;gap:12px}
.x-benefit h3{margin:0;font-weight:400;font-size:11.5px;line-height:1.5;letter-spacing:.22em;text-transform:uppercase;color:#260E00}
.x-cards{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));column-gap:clamp(20px, 2.4vw, 32px);row-gap:clamp(56px, 5vw, 72px)}
.x-card{display:flex;flex-direction:column;gap:12px;margin:0}
.x-card-media{margin:0 0 8px;position:relative;aspect-ratio:4 / 5;overflow:hidden}
.x-card h3{margin:0;font-weight:400;font-size:11.5px;line-height:1.5;letter-spacing:.22em;text-transform:uppercase;color:#260E00}
.x-card .x-small{max-width:28em;color:#260E00}
.x-ph{background:#D8C8B1;display:grid;place-items:center;outline:1px dashed rgba(38,14,0,.32);outline-offset:-14px}
.x-ph-in{display:flex;flex-direction:column;align-items:center;gap:12px;padding:0 14%;text-align:center}
.x-ph-tag{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:#260E00}
.x-ph-brief{font-size:15px;line-height:1.45;font-style:italic;color:rgba(38,14,0,.72)}
@media (max-width:767px){.x-cards{grid-template-columns:repeat(2, minmax(0, 1fr));column-gap:12px;row-gap:40px}.x-cards > .x-card:first-child{grid-column:1 / -1}.x-card-media.x-stage{padding:0 !important;min-height:0 !important}.x-ph-in{padding:0 10%;gap:8px}.x-ph-brief{font-size:12px}.x-ph{outline-offset:-8px}}
.x-members{display:grid;grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);gap:clamp(40px, 6vw, 96px);align-items:start}

.x-cabinet{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:16px}
.x-tile{aspect-ratio:4 / 5;position:relative;overflow:visible;display:grid;place-items:center}
.x-tile > *{grid-area:1 / 1}
.x-tile img{transition:transform 1.8s cubic-bezier(.2,.7,.2,1)}
.x-tile:hover img{transform:scale(1.035)}

.x-inq{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:24px;width:100%}
.x-wl{display:flex;align-items:flex-end;gap:16px;width:100%}

@media (max-width:767px){
  .x-wrap{padding-left:16px;padding-right:16px}
  .x-about{align-items:center;text-align:center;margin:0 auto}
  .x-about .x-cta{align-self:center !important}
  .x-pair,.x-members,.x-benefits,.x-inq{grid-template-columns:minmax(0, 1fr)}
  .x-pair{gap:12px}
  .x-cabinet{grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px}
  .x-panel{min-height:0;padding:72px 24px}
  .x-stage{min-height:0 !important;padding:40px 16px !important;aspect-ratio:1 / 1}
  .x-wl{flex-direction:column;align-items:stretch}
  .x-order-first{order:-1}
}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline: view()){
    .x-rise{animation:x-rise linear both;animation-timeline:view();animation-range:entry 0% entry 70%}
  }
}
@keyframes x-rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}

/* ===== The page under the film, laid out on the live site's grid =====
   Measured on redan.club at 1654px wide: flat-lays run half the page wide and bleed off one edge at full height,
   a single line sits in the middle half of the page between them, left aligned at 26px,
   smaller pieces sit on the opposite half part way down, layered pieces run the full width and pass over the chequy,
   and groups are about 15.5% of the page width apart. Everything here is sized in page width so it holds that proportion. */
.rd-A2{--cq-w:clamp(88px, 8vw, 132px);--cq-half:calc(var(--cq-w) * .2613);--cq-s0:.46;--gap:15.5vw}
.rd-A2 .rd-cq-travel{width:var(--cq-w);margin-left:calc(var(--cq-w) / -2)}
.y-ground{background:#F6F0E9;color:#260E00;position:relative;overflow-x:clip}
.y-line{margin:0 0 0 25vw;width:50vw;display:flex;flex-direction:column;gap:14px;position:relative;z-index:2}
.y-line p{margin:0;font-size:clamp(19px, 1.57vw, 26px);line-height:1.2;text-wrap:pretty;color:#260E00}
.y-line .x-eyebrow{font-size:11px}
.y-gap{height:var(--gap)}
.y-gap-s{height:3vw}
.y-grp{position:relative}
.y-grp > img,.y-grp > div > img{display:block;height:auto}
.y-half-l{width:50vw}
.y-half-r{width:50vw;margin-left:50vw}
.y-abs{position:absolute}
.y-full{position:relative;z-index:6;width:100vw}
.y-full > img{display:block;width:100%;height:auto}
.y-full > img + img{position:absolute;inset:0}
/* Craft: jumper left, the car-boot photograph right, two thirds of the way down */
.g-craft{padding-bottom:15.7vw}
.g-craft .y-abs{right:0;top:65vw;width:33vw}
/* Membership: the drawing at the left, about a third of the page wide, as on the live opening screen */
.y-draw{display:block;width:34vw;height:auto;margin-left:4vw}
/* Collection: shoe right with the cigarette card left, then the ball, then the polo */
.g-shoe .y-abs{left:1vw;top:55.4vw;width:49vw}
.g-ball img{width:32vw;margin-left:67vw}
@media (max-width:767px){
  .rd-A2{--cq-w:72px;--cq-s0:.62;--gap:28vw}
  .y-line{margin-left:8vw;width:84vw}
  .y-line p{font-size:20px}
  .y-half-l{width:86vw}
  .y-half-r{width:86vw;margin-left:14vw}
  .y-gap-s{height:28px}
  .g-craft{padding-bottom:64vw}
  .g-craft .y-abs{top:150vw;width:56vw}
  .y-full{width:150vw;margin-left:-25vw}
  .y-full.y-key{width:170vw;margin-left:-35vw}
  .y-draw{width:76vw;margin-left:4vw}
  .g-shoe .y-abs{left:-6vw;top:150vw;width:84vw}
  .g-shoe{padding-bottom:40vw}
  .g-ball img{width:56vw;margin-left:40vw}
}

[hidden]{display:none!important}
html,body{margin:0;padding:0}
