/* ==========================================================================
   Self-hosted fonts — no third-party request, no visitor IP leaving the EU.
   Regenerate with the CSS2 API if a weight is added; keep the URL-dedup rule
   (JetBrains Mono 400 and 500 are one variable file).
   ========================================================================== */

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   You & Me Digital Life — single page
   Mobile-first. One implementation, scaled up with min-width queries.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* colour */
  --ink:        #0C1117;
  --ink-2:      #151D26;
  --ink-3:      #1F2A36;
  --paper:      #FBFAF7;
  --surface:    #FFFFFF;
  --line:       #E5E4DE;
  --line-soft:  #EFEEE9;
  --text:       #131A22;
  --muted:      #5D6A78;
  --muted-dark: #93A3B4;
  --accent:     #0E7C5A;
  --accent-ink: #0A5F45;
  --accent-lit: #17BC85;
  --accent-wash:#E7F3EE;

  /* type */
  --font:  "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* layout */
  --gutter: 1.25rem;
  --maxw: 74rem;
  --header-h: 4.5rem;
  --radius: 14px;
  --radius-lg: 20px;

  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .6s;
}

@media (min-width: 48rem) { :root { --gutter: 2rem;   --header-h: 5.25rem; } }
@media (min-width: 75rem) { :root { --gutter: 2.5rem; } }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
img { display: block; max-width: 100%; height: auto; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.u-visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 200;
  padding: .6rem 1rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .8rem; font-weight: 500;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* --- Primitives --------------------------------------------------------- */
.container {
  width: min(100%, var(--maxw));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-variant-ligatures: none;
  font-feature-settings: "tnum" 1;
}

.eyebrow {
  margin: 0 0 1.15rem;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Typographic line breaks that only make sense once there is width for them. */
.br-lg { display: none; }
@media (min-width: 48rem) { .br-lg { display: inline; } }

.lede {
  font-size: clamp(1.03rem, 1.6vw, 1.19rem);
  line-height: 1.62;
  color: var(--muted);
  letter-spacing: -.005em;
}

/* Buttons */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .35s var(--ease);
}
.btn--solid {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  box-shadow: 0 1px 2px rgba(12,17,23,.16);
}
.btn--solid:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); box-shadow: 0 8px 22px -8px rgba(14,124,90,.55); }
.btn--ghost:hover { --btn-bd: var(--ink); background: rgba(12,17,23,.03); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--block { width: 100%; padding-block: .95rem; }

/* --- Logo --------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); }
.logo__mark { width: 36px; height: 22px; flex: none; }
.logo__solid { fill: currentColor; }
.logo__ring  { fill: none; stroke: var(--accent); stroke-width: 2.6; }

.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-size: .96rem; font-weight: 600; letter-spacing: -.025em;
}
.logo__amp { color: var(--accent); font-weight: 500; }
.logo__sub {
  margin-top: .22rem;
  font-family: var(--mono);
  font-size: .53rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}

/* --- Header ------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(251,250,247,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px -12px rgba(12,17,23,.35);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.header__cta { display: none; }

.header__progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.header__progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-lit));
  transition: width .12s linear;
}

/* Desktop nav */
.nav { display: none; }

@media (min-width: 62rem) {
  .nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
  }
  .nav__list { display: flex; align-items: center; gap: .35rem; }
  .nav__link {
    display: block;
    padding: .5rem .95rem;
    font-size: .93rem;
    font-weight: 500;
    letter-spacing: -.01em;
    color: var(--muted);
    transition: color .25s;
  }
  .nav__link:hover, .nav__link.is-active { color: var(--text); }

  .nav__indicator {
    position: absolute;
    bottom: -.35rem;
    left: 0;
    height: 2px;
    width: 0;
    border-radius: 2px;
    background: var(--accent);
    opacity: 0;
    transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s;
  }
  .nav__indicator.is-on { opacity: 1; }

  .header__cta { display: inline-flex; }
}

/* Burger */
.burger {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  margin-right: -.4rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

@media (min-width: 62rem) { .burger { display: none; } }

/* --- Mobile nav --------------------------------------------------------- */
.mobilenav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem var(--gutter) 3rem;
  background: var(--paper);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.mobilenav[hidden] { display: none; }
.mobilenav.is-open { opacity: 1; }

.mobilenav__list a {
  display: block;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -.035em;
}
.mobilenav__list li, .mobilenav__foot {
  opacity: 0;
  transform: translateY(14px);
}

/* Entrance order is positional, so it is derived here rather than marked up. */
.mobilenav__list li:nth-child(1) { --i: 0; }
.mobilenav__list li:nth-child(2) { --i: 1; }
.mobilenav__list li:nth-child(3) { --i: 2; }
.mobilenav__list li:nth-child(4) { --i: 3; }
.mobilenav__foot                 { --i: 4; }
.mobilenav.is-open .mobilenav__list li,
.mobilenav.is-open .mobilenav__foot {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(.06s * var(--i));
}
.mobilenav__foot {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Sections ----------------------------------------------------------- */
.section {
  padding-block: clamp(4.5rem, 11vw, 8.5rem);
  border-top: 1px solid var(--line-soft);
}

.section__head { max-width: 44rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section__title { font-size: clamp(1.95rem, 5.2vw, 3.1rem); }
.section__lede { margin-top: 1.35rem; }

/* Tinted band so the white property cards read as objects on a surface */
.section--properties {
  background: #F4F3EE;
  border-top-color: var(--line);
}

.section--dark {
  background: var(--ink);
  color: #fff;
  border-top-color: var(--ink);
}
.section--dark .section__lede { color: var(--muted-dark); }
.section--dark .eyebrow { color: var(--accent-lit); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 12vw, 7rem));
  padding-bottom: clamp(3.5rem, 9vw, 6rem);
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .85;
  -webkit-mask-image: radial-gradient(115% 80% at 22% 12%, #000 0%, transparent 68%);
          mask-image: radial-gradient(115% 80% at 22% 12%, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero__inner { position: relative; }

.hero__title {
  font-size: clamp(2.4rem, 8.4vw, 4.9rem);
  letter-spacing: -.042em;
  max-width: 16ch;
}
.hero__em {
  color: var(--accent);
  position: relative;
}

.hero__lede { margin-top: 1.6rem; max-width: 40rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2.25rem;
}

/* Hero entrance */
.hero__eyebrow, .hero__title, .hero__lede, .hero__actions, .hero__ledger {
  opacity: 0;
  transform: translateY(20px);
  animation: rise .85s var(--ease) forwards;
}
.hero__eyebrow { animation-delay: .05s; }
.hero__title   { animation-delay: .13s; }
.hero__lede    { animation-delay: .23s; }
.hero__actions { animation-delay: .31s; }
.hero__ledger  { animation-delay: .39s; }

@keyframes rise { to { opacity: 1; transform: none; } }

/* --- Ledger strip ------------------------------------------------------- */
.ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(3rem, 8vw, 5rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.ledger__cell {
  padding: 1rem 1.1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.5);
}
.ledger dt {
  font-family: var(--mono);
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ledger dd {
  margin-top: .3rem;
  font-size: clamp(.98rem, 2.4vw, 1.13rem);
  font-weight: 500;
  letter-spacing: -.02em;
}

@media (min-width: 48rem) {
  .ledger { grid-template-columns: repeat(4, 1fr); }
  .ledger__cell { padding: 1.35rem 1.4rem; }
}

/* --- Split layout (About) ----------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 3rem); }
.split__title { font-size: clamp(1.75rem, 4.6vw, 2.5rem); }

@media (min-width: 62rem) {
  .split {
    grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 5.5rem);
  }
  .split__aside {
    position: sticky;
    top: calc(var(--header-h) + 3rem);
    align-self: start;
  }
}

.principles {
  display: grid;
  gap: 0;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.principle {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.principle h3 {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: .45rem;
}
.principle p { color: var(--muted); font-size: .96rem; }

@media (min-width: 40rem) {
  .principle {
    display: grid;
    grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
    gap: 1.5rem;
    padding-block: 1.7rem;
  }
  .principle h3 { margin-bottom: 0; }
}

/* --- Properties --------------------------------------------------------- */
.properties {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
}

@media (min-width: 62rem) {
  .properties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.prop {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(12,17,23,.04);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .35s;
}
.prop:hover {
  transform: translateY(-4px);
  border-color: #D9D8D1;
  box-shadow: 0 26px 50px -28px rgba(12,17,23,.35);
}

.prop__shot { display: block; padding: 1rem 1rem 0; }

/* Browser frame */
.frame {
  border: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
  background: #F3F2EE;
  overflow: hidden;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem .7rem;
  border-bottom: 1px solid var(--line);
}
.frame__dots { display: flex; gap: 5px; flex: none; }
.frame__dots i { width: 7px; height: 7px; border-radius: 50%; background: #D3D2CB; }
.frame__url {
  flex: 1;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: var(--surface);
  font-size: .63rem;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame__view { overflow: hidden; }
.frame__view picture { display: block; }
.frame__view img {
  width: 100%;
  aspect-ratio: 16 / 9.4;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.001);
  transition: transform .8s var(--ease);
}
.prop:hover .frame__view img { transform: scale(1.035); }

.prop__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem clamp(1.25rem, 3vw, 1.85rem) clamp(1.4rem, 3vw, 1.85rem);
}

.prop__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .85rem;
}
.prop__name {
  font-size: clamp(1.4rem, 3.4vw, 1.7rem);
  letter-spacing: -.035em;
}

.tag {
  padding: .16rem .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag--age { border-color: #E7D3D3; color: #A5453F; background: #FCF3F2; }

.status {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  margin-left: auto;
  font-family: var(--mono);
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.status i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-lit);
  box-shadow: 0 0 0 0 rgba(23,188,133,.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(23,188,133,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(23,188,133,0); }
  100% { box-shadow: 0 0 0 0 rgba(23,188,133,0); }
}

.prop__desc { color: var(--muted); font-size: .96rem; }

.meta {
  margin-top: 1.35rem;
  border-top: 1px solid var(--line-soft);
}
.meta > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.meta dt {
  font-family: var(--mono);
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta dd { font-size: .9rem; font-weight: 500; text-align: right; }

.prop__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--accent-ink);
}
.prop__link svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.prop__link:hover svg,
.prop:hover .prop__link svg { transform: translate(2px, -2px); }
.prop__link span.mono { border-bottom: 1px solid rgba(14,124,90,.28); }

/* --- Company record ----------------------------------------------------- */
.record {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink-3);
}
.record__row {
  display: grid;
  gap: .2rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--ink-3);
}
.record dt {
  font-family: var(--mono);
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.record dd {
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

@media (min-width: 40rem) {
  .record { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 5vw, 4rem); }
}
@media (min-width: 64rem) {
  .record { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .record__row--wide { grid-column: 1 / -1; }
}

/* --- Contact ------------------------------------------------------------ */
.contact { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }

@media (min-width: 62rem) {
  .contact {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(3rem, 7vw, 5.5rem);
    align-items: start;
  }
  .contact__intro { position: sticky; top: calc(var(--header-h) + 3rem); }
}

.contact__facts {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(2.25rem, 5vw, 3rem);
  padding-top: clamp(2rem, 5vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.contact__facts .eyebrow { margin-bottom: .5rem; color: var(--muted); }
.contact__facts p { font-size: .94rem; line-height: 1.65; }

@media (min-width: 30rem) {
  .contact__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

/* Form */
.contact__form-wrap {
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 24px 48px -34px rgba(12,17,23,.3);
}

.form__row { display: grid; gap: 1rem; }
@media (min-width: 34rem) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: block; margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: .42rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.field__opt {
  margin-left: .3rem;
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.select select {
  display: block;
  width: 100%;
  padding: .78rem .9rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  font-size: .93rem;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: #9AA5B1; }

.field input:focus,
.field textarea:focus,
.select select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #C0554E;
  background: #FDF6F5;
}

.field__error {
  display: none;
  margin-top: .35rem;
  font-size: .76rem;
  color: #A5453F;
}
.field.is-invalid .field__error { display: block; }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer; }
.select svg {
  position: absolute;
  right: .9rem; top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

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

.form__foot { margin-top: 1.5rem; }
.form__note {
  margin-top: .85rem;
  font-size: .67rem;
  letter-spacing: .04em;
  color: var(--muted);
  text-align: center;
}

.form.is-sending .btn__label { opacity: .55; }
.form.is-sending #submitBtn { pointer-events: none; }

.form__status {
  display: none;
  margin: 1.15rem 0 0;
  padding: .85rem 1rem;
  border-radius: 11px;
  font-size: .88rem;
}
.form__status.is-ok   { display: block; background: var(--accent-wash); color: var(--accent-ink); }
.form__status.is-fail { display: block; background: #FCF3F2; color: #A5453F; }

/* --- Footer ------------------------------------------------------------- */
.footer {
  padding-block: clamp(3rem, 7vw, 4.5rem);
  background: var(--ink);
  color: #fff;
}
.footer .logo { color: #fff; }
.footer .logo__sub { color: var(--muted-dark); }

.footer__top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--ink-3);
}
@media (min-width: 48rem) {
  .footer__top {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 3rem;
  }
  .footer__nav { justify-content: flex-end; }
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .89rem;
  color: var(--muted-dark);
}
.footer__nav a { transition: color .25s; }
.footer__nav a:hover { color: #fff; }

.footer__record {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.15rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--ink-3);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.footer__record span { position: relative; }
.footer__record span + span::before {
  content: "";
  position: absolute;
  left: -.65rem; top: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ink-3);
  transform: translateY(-50%);
}

.footer__bottom {
  display: grid;
  gap: .4rem;
  padding-top: 1.75rem;
  font-size: .78rem;
  color: var(--muted-dark);
}
.footer__bottom p { margin: 0; }
@media (min-width: 48rem) {
  .footer__bottom { grid-template-columns: auto auto; justify-content: space-between; gap: 1.5rem; }
  .footer__bottom p:last-child { text-align: right; }
}

/* --- Back to top -------------------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2.25rem);
  bottom: clamp(1rem, 3vw, 2.25rem);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  /* accent, not ink — this floats over both the paper and the dark footer */
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(14,124,90,.7);

  /* hidden until it is useful — visibility keeps it out of the tab order */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.92);
  transition:
    opacity .4s var(--ease),
    transform .4s var(--ease),
    visibility .4s,
    background-color .25s,
    border-color .25s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-ink); }
.to-top:active { transform: translateY(1px); }
.to-top svg { width: 17px; height: 17px; }

/* --- Scroll reveal ------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .8s var(--ease) var(--d, 0s),
    transform .8s var(--ease) var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger steps. Classes rather than inline style attributes, so the
   Content-Security-Policy in .htaccess needs no 'unsafe-inline' for styles. */
.reveal--d1 { --d: .04s; }
.reveal--d2 { --d: .08s; }
.reveal--d3 { --d: .12s; }

/* --- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__eyebrow, .hero__title, .hero__lede, .hero__actions, .hero__ledger { opacity: 1; transform: none; }
  .mobilenav.is-open .mobilenav__list li,
  .mobilenav.is-open .mobilenav__foot { opacity: 1; transform: none; }
}
