  /* ============================================================
     TOKENS

     Deliberately single-theme. A landing page should look the same
     to every visitor regardless of their OS or browser theme, so
     there is no dark palette here at all, by design.
     `color-scheme: light` keeps scrollbars and form controls light
     even for visitors whose system is set to dark.
     ============================================================ */
  :root {
    color-scheme: light;

    --paper:      #FFFCF8;
    --paper-2:    #F3EEE6;
    --ink:        #221A13;
    --ink-2:      #4A4139;
    --ink-soft:   #7A6F64;
    --accent:      #065F4A;
    --accent-dim:  rgba(6, 95, 74, 0.07);
    --accent-lift: #4FB89B;
    --line:       rgba(34, 26, 19, 0.13);
    --line-soft:  rgba(34, 26, 19, 0.07);

    --serif: Spectral, ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

    --wrap: 1040px;
    --read: 680px;
  }

  /* ============================================================
     BASE
     ============================================================ */
  * { box-sizing: border-box; }

  html { background: var(--paper); }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink-2);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 300;
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
    letter-spacing: -0.018em;
  }

  h1 { font-size: clamp(2.45rem, 5.6vw, 4.1rem); line-height: 1.04; }
  h2 { font-size: clamp(1.95rem, 3.5vw, 2.85rem); line-height: 1.12; }
  h3 { font-size: 1.24rem; line-height: 1.3; letter-spacing: -0.01em; }

  p { margin: 0; }
  a { color: inherit; }

  ::selection { background: var(--accent); color: #FFFCF8; }

  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
  }

  /* ============================================================
     LAYOUT PRIMITIVES
     ============================================================ */
  .wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 24px;
  }

  .band { padding-block: clamp(72px, 10vw, 132px); }
  .band--tight { padding-block: clamp(56px, 7vw, 88px); }
  .band--ruled { border-top: 1px solid var(--line-soft); }

  .stack { display: flex; flex-direction: column; }
  .col { display: flex; flex-direction: column; gap: 20px; max-width: var(--read); }
  .col--center { margin-inline: auto; text-align: center; align-items: center; }

  .lede {
    font-size: 1.075rem;
    color: var(--ink-soft);
    max-width: 60ch;
  }

  .eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: var(--sans);
  }

  /* ============================================================
     BUTTONS
     ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 27px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(34, 26, 19, 0.16), 0 10px 26px -12px rgba(34, 26, 19, 0.45);
    transition: transform 0.18s cubic-bezier(.2,.8,.3,1), box-shadow 0.18s;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 2px rgba(34, 26, 19, 0.18), 0 18px 34px -14px rgba(34, 26, 19, 0.5);
  }

  .btn__arrow { color: var(--accent-lift); font-size: 1.05em; line-height: 1; }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 15px 4px;
    transition: color 0.18s;
  }

  .btn-ghost:hover { color: var(--ink); }
  .btn-ghost span:last-child { border-bottom: 1px solid var(--line); padding-bottom: 1px; }

  .actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    justify-content: center;
  }

  /* ============================================================
     HERO
     ============================================================ */
  .hero {
    position: relative;
    padding-block: clamp(96px, 13vw, 156px) clamp(60px, 8vw, 96px);
    overflow: hidden;
  }

  /* Engraved Lake Como / Amalfi scene. Generated as hatched linework rather
     than flat fills, so tone comes from line density the way it does in a real
     engraving. Sits behind the headline and fades out before the body copy. */
  .hero__art {
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% 0;
    width: max(1180px, 108%);
    max-width: none;          /* the global svg{max-width:100%} reset would clip the bleed */
    height: clamp(430px, 62vw, 700px);
    opacity: 0.13;
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }

  .hero__art svg { width: 100%; height: 100%; display: block; }

  @media (max-width: 700px) {
    .hero__art { opacity: 0.10; height: clamp(320px, 78vw, 430px); }
  }

  .hero .wrap { position: relative; z-index: 1; }

  .mark {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }

  /* Sized by height: the mark is portrait, so height is what keeps it
     consistent with the rest of the page. Source art is 57x79, so this
     runs a shade past 2x on retina: invisible on a solid silhouette.
     A taller export (or an SVG) would let it grow further, cleanly. */
  .mark img {
    display: block;
    width: auto;
    height: 46px;
  }

  @media (max-width: 520px) {
    .mark { margin-bottom: 32px; }
    .mark img { height: 38px; }
  }

  .flag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 16px 5px 5px;
    border-radius: 999px;
    background: var(--ink);
    color: color-mix(in srgb, var(--paper) 84%, transparent);
    font-size: 0.79rem;
    font-weight: 500;
  }

  .flag b {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: -0.005em;
    white-space: nowrap;
  }

  @media (max-width: 520px) {
    .flag {
      font-size: 0.72rem;
      padding-right: 14px;
      gap: 8px;
    }
    .flag b { font-size: 0.69rem; padding: 4px 9px; }
  }

  .hero h1 { margin-top: 26px; }
  .hero .lede { margin-top: 6px; }
  .hero .actions { margin-top: 18px; }

  .hero h1 em {
    font-style: italic;
    color: var(--accent);
  }

  /* A page that is nothing but the hero: fills the screen and centers its
     content, so tall screens do not end in an empty strip of paper. */
  .hero--solo {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero--solo h1 em { display: block; }

  /* With nothing else on the page the engraving carries the visual weight,
     so it runs stronger here than behind the full landing pages. */
  .hero--solo .hero__art { opacity: 0.34; }

  /* Same size on every screen. Set from the approved 147x46 reference, whose
     visible wordmark is about 129x39; the file itself is high resolution so
     the hairlines stay sharp on retina. */
  .hero--solo .mark { margin-bottom: 0; }
  .hero--solo .mark img { height: 40px; }

  @media (max-width: 700px) {
    .hero--solo .hero__art { opacity: 0.28; }
  }

  /* ============================================================
     REVEAL
     ============================================================ */
  .rise {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(.2,.8,.3,1), transform 0.7s cubic-bezier(.2,.8,.3,1);
  }

  .rise.in { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    .rise { opacity: 1; transform: none; transition: none; }
    .btn, .btn:hover { transform: none; transition: none; }
    * { animation: none !important; }
  }
