/* ==========================================================================
   VIDA'S ATTIC — "Powder Blue Haberdashery"
   Design system + components. Plain CSS, no build step.

   Contents
     01. Tokens
     02. Reset & base
     03. Texture kit (grain, stripes, scallops, rules, stamps)
     04. Layout primitives
     05. Awning bar + nav
     06. Hero
     07. Ticker
     08. The Rail (hang-tag links)
     09. Instagram display case
     10. Media kit spotlight
     11. Inquiries
     12. Footer
     13. Media kit page
     14. Motion & reveals
     15. Responsive
     16. Reduced motion / print
   ========================================================================== */

/* ---------------------------------------------------------------- 01. Tokens */

:root {
  /* Palette — vintage baby blue core.
     Saturated rather than pastel: the cream cards need to read as objects
     sitting on the blue, not blend into it. */
  --sky-wash: #a6c7da;
  --powder: #8fb6cd;
  --powder-deep: #5e8ca6;
  --porcelain: #f7f1e4;
  --ink: #1e2a31;
  --ink-soft: #2e424b;
  --brass: #b8934a;
  --rose-tag: #c97f7a;
  --sage: #8a9c7e;

  /* Text-safe variants. --brass / --rose-tag / --sage are bright enough for
     hairlines, eyelets and borders but fail contrast as type, so anything
     rendered as words uses these instead. All ≥4.5:1 on both blue and cream;
     the script sits ≥3:1 everywhere and is only ever used at large sizes. */
  --script-ink: #2f566d;
  --brass-text: #5f4820;
  --rose-text: #a2524c;
  --sage-text: #5f7154;

  /* Derived */
  --sky-deep: #93b8ce; /* foot of the page gradient */
  --sky-glow: #c2dae8; /* soft light from the top, like an attic window */
  --powder-pale: #d8e8f0;
  --brass-pale: #dcc68f;
  --brass-dark: #8e6f35;
  --ink-hairline: rgba(30, 42, 49, 0.22);
  --shadow-soft: 0 2px 0 rgba(43, 58, 66, 0.06), 0 12px 28px -18px rgba(43, 58, 66, 0.45);
  --shadow-lift: 0 3px 0 rgba(43, 58, 66, 0.08), 0 22px 44px -22px rgba(43, 58, 66, 0.5);

  /* Type */
  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;

  /* Scale — fluid, clamps so nothing overflows at 320px */
  --step--1: clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
  --step-0: clamp(0.98rem, 0.94rem + 0.25vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.45vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.32rem + 0.9vw, 2.1rem);
  --step-3: clamp(1.95rem, 1.6rem + 1.7vw, 3rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 5rem);
  --step-5: clamp(3.1rem, 1.7rem + 7vw, 8.5rem);

  /* Space */
  --gap: clamp(1rem, 0.8rem + 1vw, 1.6rem);
  --pad-section: clamp(3.5rem, 2.5rem + 5vw, 7.5rem);
  --measure: 62ch;
  --shell: 1180px;

  /* Motion */
  --ease-settle: cubic-bezier(0.16, 0.84, 0.28, 1);
  --ease-swing: cubic-bezier(0.36, 0.07, 0.19, 0.97);

  /* Aged-paper grain — inline feTurbulence, no image request */
  --grain-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------- 02. Reset & base */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background-color: var(--sky-wash);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Soft vertical wash so the page feels like light through an attic window */
  background-image:
    radial-gradient(120% 70% at 50% -10%, var(--sky-glow) 0%, transparent 58%),
    linear-gradient(180deg, var(--sky-wash) 0%, var(--sky-deep) 100%);
  background-attachment: fixed;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--brass);
  color: var(--porcelain);
}

/* Visible, on-brand focus ring everywhere */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 200;
  padding: 0.7rem 1.4rem;
  transform: translate(-50%, -120%);
  background: var(--ink);
  color: var(--porcelain);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s var(--ease-settle);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------ 03. Texture kit */

/* Aged-paper grain — one fixed overlay across the whole page */
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: var(--grain-url);
  background-size: 220px 220px;
}

/* Letterspaced all-caps micro-label — the shop-signage voice */
.label {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Script flourish */
.script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--script-ink);
  text-transform: none;
}

/* Brass double-rule, as used on old shop labels */
.rule {
  height: 4px;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  opacity: 0.75;
}

.rule--short {
  width: 4.5rem;
}

/* Ticking stripe field */
.stripes {
  background-image: repeating-linear-gradient(
    90deg,
    var(--powder) 0 14px,
    var(--porcelain) 14px 28px
  );
}

/* Rubber-stamp mark */
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35em 0.75em;
  border: 2px solid var(--rose-text);
  border-radius: 3px;
  color: var(--rose-text);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* No opacity here — fading it costs >1 point of contrast and the muted
     rose already reads as old ink. */
  transform: rotate(-4deg);
}

/* Halftone dot field for section corners */
.halftone {
  position: absolute;
  pointer-events: none;
  background-image: radial-gradient(var(--powder-deep) 1.1px, transparent 1.2px);
  background-size: 11px 11px;
  opacity: 0.35;
}

/* Deckled / scalloped bottom edge — vintage awning */
.scallop {
  height: 15px;
  background: var(--ink);
  --scallop-mask: radial-gradient(circle at 50% 0, transparent 0 7px, #000 7.5px);
  mask-image: var(--scallop-mask);
  mask-size: 22px 15px;
  mask-repeat: repeat-x;
  -webkit-mask-image: var(--scallop-mask);
  -webkit-mask-size: 22px 15px;
  -webkit-mask-repeat: repeat-x;
}

/* --------------------------------------------- 04. Layout primitives */

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--pad-section);
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  text-align: center;
}

.section__head .script {
  font-size: var(--step-2);
}

.section__title {
  font-size: var(--step-3);
}

.section__lede {
  max-width: 48ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Aged-paper card */
.card {
  position: relative;
  background: var(--porcelain);
  border: 1px solid var(--ink-hairline);
  border-radius: 3px;
  box-shadow: var(--shadow-soft);
}

/* ------------------------------------------------ 05. Awning bar + nav */

.awning {
  position: sticky;
  top: 0;
  z-index: 90;
}

.awning__canvas {
  position: relative;
  background-image: repeating-linear-gradient(
    90deg,
    var(--powder) 0 26px,
    var(--porcelain) 26px 52px
  );
  border-bottom: 1px solid rgba(43, 58, 66, 0.18);
  box-shadow: 0 10px 24px -18px rgba(43, 58, 66, 0.6);
  overflow: hidden;
}

/* Slow sheen sweeping across the awning canvas */
.awning__canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  animation: sheen 9s ease-in-out 2s infinite;
}

@keyframes sheen {
  0%,
  55% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.awning__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding-block: 0.7rem;
  transition: padding-block 0.3s var(--ease-settle);
}

.awning.is-condensed .awning__inner {
  padding-block: 0.35rem;
}

.awning__mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.awning__mark small {
  font-family: var(--font-body);
  font-size: 0.58em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 0.4rem + 1.4vw, 2rem);
}

.nav a {
  position: relative;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.2rem;
}

/* Brass underline that draws in on hover */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-settle);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

/* -------------------------------------------------------------- 06. Hero */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 7vw, 8rem) clamp(3rem, 2rem + 4vw, 5rem);
  overflow: hidden;
  text-align: center;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 0.7rem + 1vw, 1.5rem);
}

.hero__welcome {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem);
  color: var(--script-ink);
}

.hero__wordmark {
  font-size: var(--step-5);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 0.92;
  text-transform: uppercase;
  /* Slight ink-on-paper weight */
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Each letter is its own span so it can stagger in. Letters are grouped into
   .wd words that never break internally — the heading only wraps at spaces. */
.hero__wordmark .wd {
  display: inline-block;
  white-space: nowrap;
}

.hero__wordmark .ltr {
  display: inline-block;
}

.hero__est {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100%, 26rem);
}

.hero__est .rule {
  flex: 1;
}

.hero__est span {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-text);
  white-space: nowrap;
}

.hero__bio {
  max-width: 46ch;
  font-size: var(--step-1);
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero__handle {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

/* --- Buttons --- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--porcelain);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--powder-deep);
  transition:
    transform 0.18s var(--ease-settle),
    box-shadow 0.18s var(--ease-settle),
    background-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--powder-deep);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--powder-deep);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: 0 3px 0 var(--brass-pale);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--porcelain);
  box-shadow: 0 5px 0 var(--brass-pale);
}

.btn--ghost:active {
  box-shadow: 0 1px 0 var(--brass-pale);
}

.btn svg {
  flex: none;
  width: 1em;
  height: 1em;
}

/* --- Hero decor: clothes rail + dust motes --- */

.hero__rail {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: grid;
  place-items: start center;
}

.hero__rail svg {
  width: min(115%, 1400px);
  height: auto;
  /* Kept faint: it sits directly behind the wordmark and must not compete */
  opacity: 0.4;
  will-change: transform;
}

/* Restated here rather than in the markup so the whole palette stays in this
   file — CSS beats the SVG's presentation attributes. */
.hero__rail svg path {
  stroke: #6e9bb5;
}

.motes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.mote {
  position: absolute;
  top: 100%;
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.7);
  opacity: 0;
  animation: drift var(--dur, 26s) linear var(--delay, 0s) infinite;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  88% {
    opacity: 0.6;
  }
  100% {
    transform: translate3d(var(--dx, 40px), -105vh, 0);
    opacity: 0;
  }
}

/* ------------------------------------------------------------ 07. Ticker */

.ticker {
  position: relative;
  border-block: 1px solid rgba(43, 58, 66, 0.18);
  background: var(--ink);
  color: var(--porcelain);
  overflow: hidden;
  /* Fade the ends so the loop never visibly cuts */
  --ticker-fade: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: var(--ticker-fade);
  -webkit-mask-image: var(--ticker-fade);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.85rem 1.25rem;
  white-space: nowrap;
}

.ticker__group span {
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.ticker__group i {
  color: var(--brass);
  font-style: normal;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    /* Two identical groups: shifting by exactly one is seamless */
    transform: translate3d(-50%, 0, 0);
  }
}

/* -------------------------------------------------------- 08. The Rail */

.rail {
  position: relative;
}

/* The physical rail the tags hang from */
.rail__bar {
  position: relative;
  height: 8px;
  margin-bottom: 2.5rem;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--brass-pale), var(--brass) 45%, var(--brass-dark));
  box-shadow: 0 6px 16px -10px rgba(43, 58, 66, 0.7);
}

.rail__bar::before,
.rail__bar::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 22px;
  height: 22px;
  border: 3px solid var(--brass);
  border-radius: 50%;
  background: var(--sky-wash);
}

.rail__bar::before {
  left: -11px;
}

.rail__bar::after {
  right: -11px;
}

.tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 2.75rem) var(--gap);
}

/* --- The hang tag --- */

.tag {
  position: relative;
  display: block;
  padding: 1.5rem 1.4rem 1.4rem;
  background: var(--porcelain);
  border: 1px solid var(--ink-hairline);
  border-radius: 3px 3px 5px 5px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  /* Hangs from the punched hole at top-left */
  transform-origin: 2.35rem -1.4rem;
  transform: rotate(-1.2deg);
  transition:
    transform 0.4s var(--ease-settle),
    box-shadow 0.35s var(--ease-settle);
}

.tag:nth-child(even) {
  transform: rotate(1.4deg);
}

/* The string, running up off the top of the tag */
.tag::before {
  content: "";
  position: absolute;
  left: 2.3rem;
  top: -1.5rem;
  width: 1px;
  height: 1.6rem;
  background: var(--brass);
  opacity: 0.8;
}

/* The punched hole with its brass eyelet */
.tag::after {
  content: "";
  position: absolute;
  left: 1.85rem;
  top: 0.55rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--brass);
  border-radius: 50%;
  background: var(--sky-wash);
  box-shadow: inset 0 1px 2px rgba(43, 58, 66, 0.25);
}

.tag:hover,
.tag:focus-visible {
  box-shadow: var(--shadow-lift);
  animation: swing 1.4s var(--ease-swing);
}

@keyframes swing {
  0% {
    transform: rotate(-1.2deg);
  }
  25% {
    transform: rotate(3.4deg);
  }
  50% {
    transform: rotate(-2.4deg);
  }
  75% {
    transform: rotate(1.4deg);
  }
  100% {
    transform: rotate(-1.2deg);
  }
}

.tag__row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  /* Clears the punched hole */
  padding-left: 3.4rem;
}

.tag__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--ink);
  background: var(--powder-pale);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tag__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.tag:hover .tag__icon {
  background: var(--powder);
}

.tag__text {
  min-width: 0;
}

.tag__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.15;
}

.tag__meta {
  display: block;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Dashed price line + arrow at the tag's foot */
.tag__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(43, 58, 66, 0.28);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tag__foot svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--ink);
  transition: transform 0.3s var(--ease-settle);
}

.tag:hover .tag__foot svg {
  transform: translateX(5px);
}

/* Feature tag — the Depop shop, the commercial priority */
.tag--feature {
  background: var(--ink);
  border-color: var(--ink);
}

.tag--feature .tag__name,
.tag--feature .tag__foot svg {
  color: var(--porcelain);
}

.tag--feature .tag__meta,
.tag--feature .tag__foot {
  color: rgba(247, 243, 234, 0.72);
  border-top-color: rgba(247, 243, 234, 0.3);
}

.tag--feature::after {
  background: var(--ink);
}

.tag--feature .tag__icon {
  background: rgba(247, 243, 234, 0.12);
  color: var(--porcelain);
  border-color: var(--brass);
}

.tag--feature:hover .tag__icon {
  background: var(--brass);
  color: var(--ink);
}

/* Little rose "new" flag on a tag */
.tag__flag {
  position: absolute;
  top: -0.7rem;
  right: 1rem;
  padding: 0.15em 0.55em;
  background: var(--rose-tag);
  color: var(--porcelain);
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(3deg);
}

/* ------------------------------------------- 09. Instagram display case */

.case {
  position: relative;
  padding: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem);
  background: var(--porcelain);
  border: 1px solid var(--brass);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

/* Inner brass rule, like a glass display cabinet */
.case::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(200, 169, 106, 0.5);
  border-radius: 2px;
  pointer-events: none;
}

.case__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: var(--gap);
}

/* Fixed-ratio frame: reserves space so an embed loading never shifts layout */
.frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--powder-pale);
  border: 1px solid var(--ink-hairline);
  border-radius: 2px;
  box-shadow: inset 0 0 0 4px var(--porcelain), var(--shadow-soft);
  transition: transform 0.35s var(--ease-settle), box-shadow 0.35s var(--ease-settle);
}

.frame:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: inset 0 0 0 4px var(--porcelain), var(--shadow-lift);
}

.frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--porcelain);
}

/* Skeleton shows through until an embed paints — and stays put if IG is blocked */
.frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  text-align: center;
  background-image: repeating-linear-gradient(
    45deg,
    var(--powder-pale) 0 10px,
    #c8deea 10px 20px
  );
  color: var(--ink-soft);
}

.frame__placeholder svg {
  width: 1.9rem;
  height: 1.9rem;
  opacity: 0.55;
}

.frame__placeholder span {
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.frame__placeholder em {
  max-width: 22ch;
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.04em;
  line-height: 1.5;
  opacity: 0.8;
}

/* Once an embed is in, hide the skeleton beneath it */
.frame.is-loaded .frame__placeholder {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.case__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(43, 58, 66, 0.25);
  text-align: center;
}

/* ------------------------------------------- 10. Media kit spotlight */

.kit {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--porcelain);
}

.kit .halftone {
  background-image: radial-gradient(rgba(247, 243, 234, 0.4) 1.1px, transparent 1.2px);
  opacity: 0.5;
}

.kit__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: center;
}

@media (min-width: 62rem) {
  .kit__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.kit__title {
  font-size: var(--step-4);
  line-height: 1;
}

.kit__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.kit__body .script {
  font-size: var(--step-2);
  color: var(--brass);
}

.kit__body .label {
  color: rgba(247, 243, 234, 0.6);
}

.kit__lede {
  max-width: 44ch;
  color: rgba(247, 243, 234, 0.8);
  text-wrap: pretty;
}

.kit__list {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  margin-block: 0.4rem;
}

.kit__list li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(247, 243, 234, 0.16);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kit__list b {
  flex: none;
  color: var(--brass);
  font-family: var(--font-display);
  font-size: 1.15em;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.kit .btn {
  --btn-bg: var(--porcelain);
  --btn-fg: var(--ink);
  border-color: var(--porcelain);
  box-shadow: 0 3px 0 var(--brass);
}

.kit .btn:hover,
.kit .btn:focus-visible {
  box-shadow: 0 5px 0 var(--brass);
}

.kit .btn:active {
  box-shadow: 0 1px 0 var(--brass);
}

.kit__note {
  font-size: var(--step--1);
  color: rgba(247, 241, 228, 0.72);
}

/* The portfolio-folder illustration */
.kit__folder {
  position: relative;
  justify-self: center;
  width: min(100%, 26rem);
  transition: transform 0.5s var(--ease-settle);
}

.kit__folder:hover {
  transform: rotate(-1.5deg) translateY(-6px);
}

/* ---------------------------------------------------------- 11. Inquiries */

.inquiries__card {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  text-align: center;
}

/* Aged corners on the inquiries card */
.inquiries__card::before,
.inquiries__card::after {
  content: "";
  position: absolute;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--brass);
  opacity: 0.7;
}

.inquiries__card::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}

.inquiries__card::after {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
}

.inquiries__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.mail__addr {
  font-family: var(--font-display);
  font-size: var(--step-2);
  letter-spacing: -0.005em;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
  word-break: break-word;
  transition: color 0.25s ease;
}

.mail__addr:hover {
  color: var(--powder-deep);
}

.copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--ink-hairline);
  border-radius: 2px;
  background: var(--powder-pale);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.copy:hover {
  background: var(--powder);
  border-color: var(--powder-deep);
}

.copy svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* "Copied!" stamp that pops out of the button */
.copy__stamp {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.5rem);
  padding: 0.25em 0.6em;
  border: 2px solid var(--sage-text);
  border-radius: 3px;
  background: var(--porcelain);
  color: var(--sage-text);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px) rotate(-5deg) scale(0.85);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s var(--ease-settle);
}

.copy.is-copied .copy__stamp {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-5deg) scale(1);
}

.inquiries__fine {
  max-width: 40ch;
  font-size: var(--step--1);
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ------------------------------------------------------------ 12. Footer */

.footer {
  position: relative;
  padding-top: 2px;
  background: var(--porcelain);
}

/* Tear line at the top of the receipt */
.footer__tear {
  height: 12px;
  background: var(--sky-wash);
  --tear-mask: radial-gradient(circle at 50% 100%, transparent 0 6px, #000 6.5px);
  mask-image: var(--tear-mask);
  mask-size: 18px 12px;
  mask-repeat: repeat-x;
  -webkit-mask-image: var(--tear-mask);
  -webkit-mask-size: 18px 12px;
  -webkit-mask-repeat: repeat-x;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
  text-align: center;
}

.footer__mark {
  font-family: var(--font-display);
  font-size: var(--step-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.footer__socials a {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--ink-hairline);
  border-radius: 50%;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-settle);
}

.footer__socials a:hover,
.footer__socials a:focus-visible {
  background: var(--powder);
  border-color: var(--powder-deep);
  transform: translateY(-3px);
}

.footer__socials svg {
  width: 1.05rem;
  height: 1.05rem;
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* Back-to-top, styled as a brass elevator button */
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--brass);
  border-radius: 999px;
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s var(--ease-settle);
}

.to-top:hover,
.to-top:focus-visible {
  background: var(--brass-pale);
  transform: translateY(-2px);
}

.to-top svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* ---------------------------------------------------- 13. Media kit page */

.page-kit {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-kit main {
  display: grid;
  flex: 1;
  place-items: center;
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem);
}

.soon {
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(2rem, 1.5rem + 3.5vw, 4rem);
  text-align: center;
}

.soon__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.soon__title {
  font-size: var(--step-4);
  line-height: 1;
  text-transform: uppercase;
}

.soon__lede {
  max-width: 44ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.soon__list {
  display: grid;
  gap: 0.65rem;
  width: min(100%, 30rem);
  margin-block: 0.5rem;
  text-align: left;
}

.soon__list li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(43, 58, 66, 0.25);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.soon__list b {
  flex: none;
  color: var(--brass-text);
  font-family: var(--font-display);
  font-size: 1.15em;
  font-weight: 400;
}

.soon__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

/* ------------------------------------------------- 14. Motion & reveals */

/* Scroll reveal — JS adds .is-in when the element enters the viewport.
   The hidden start state is scoped to .js-reveal, a class main.js puts on
   <html>. Without JS the rule never applies, so content is never stranded
   at opacity 0 — the page just renders normally with no animation. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px) rotate(var(--reveal-rot, -0.6deg));
  transition:
    opacity 0.75s var(--ease-settle),
    transform 0.75s var(--ease-settle);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Tags settle back to their resting tilt rather than to 0 */
.js-reveal .tag[data-reveal].is-in {
  transform: translateY(0) rotate(-1.2deg);
}

.js-reveal .tag:nth-child(even)[data-reveal].is-in {
  transform: translateY(0) rotate(1.4deg);
}

/* Wordmark letter stagger */
.hero__wordmark .ltr {
  opacity: 0;
  transform: translateY(0.45em) rotate(-4deg);
  animation: letter-in 0.85s var(--ease-settle) forwards;
  animation-delay: calc(var(--i, 0) * 45ms + 150ms);
}

@keyframes letter-in {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

/* Hero fade-up for everything that isn't the wordmark */
.hero__inner > *:not(.hero__wordmark) {
  opacity: 0;
  animation: rise 0.9s var(--ease-settle) forwards;
}

.hero__welcome {
  animation-delay: 0.05s;
}

.hero__est {
  animation-delay: 0.55s;
}

.hero__bio {
  animation-delay: 0.68s;
}

.hero__handle {
  animation-delay: 0.78s;
}

.hero__cta {
  animation-delay: 0.88s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------- 15. Responsive */

@media (max-width: 46rem) {
  .awning__inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav {
    gap: 0.9rem;
  }

  .nav a {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .hero__rail svg {
    width: 150%;
    opacity: 0.35;
  }

  .rail__bar {
    margin-bottom: 2.75rem;
  }
}

@media (max-width: 30rem) {
  .shell {
    width: min(100% - 1.75rem, var(--shell));
  }

  .nav {
    gap: 0.65rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__cta,
  .soon__cta {
    width: 100%;
  }
}

/* ------------------------------------------- 16. Reduced motion / print */

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

  /* Nothing animates; everything lands in its final, readable state. */
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .motes,
  .awning__canvas::after {
    display: none;
  }

  .hero__inner > *,
  .hero__wordmark .ltr,
  .js-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .js-reveal .tag[data-reveal].is-in,
  .js-reveal .tag:nth-child(even)[data-reveal].is-in {
    transform: none !important;
  }

  /* Freeze the ticker mid-strip so the text is still legible */
  .ticker__track {
    transform: none !important;
  }
}

@media print {
  .grain,
  .motes,
  .hero__rail,
  .ticker,
  .to-top {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .kit {
    background: #fff;
    color: #000;
  }
}
