
  .d-root {
    --beige:       #F2EBD8;
    --beige-deep:  #E6DDC2;
    --paper:       #FBF7EE;
    --tomato:      #E73E2C;
    --pink:        #ED2D6E;
    --cobalt:      #2A6EE5;
    --butter:      #F2C035;
    --ink:         #1B1612;
    --rule:        rgba(27,22,18,0.18);
    --ink-soft:    rgba(27,22,18,0.65);

    --sans:  Helvetica, "Helvetica Neue", "Plus Jakarta Sans", sans-serif;
    --serif: "EB Garamond", "Times New Roman", Georgia, serif;
    --mono:  "JetBrains Mono", ui-monospace, monospace;

    /* Tweakable */
    --accent:     #E73E2C;
    --cup-size:   300px;
    --cup-drop:   26px;
    --cup-tilt:   -2deg;
    --ring-speed: 36s;
    --ghost-o:    0.045;
    --grain-o:    0.30;
    --steam-o:    0.7;
    --steam-x:    0px;
  }

  .d-root * { box-sizing: border-box; }

  .d-root, .d-root { margin: 0; padding: 0; }

  .d-root { overflow-x: hidden; }

  .d-root {
    font-family: var(--sans);
    background: var(--beige);
    color: var(--ink);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }


  /* ── Multi-color salon stripe ───────────────── */
  .d-root .stripe { display: flex; height: 8px; width: 100%; }

  .d-root .stripe > span { flex: 1; display: block; }

  .d-root .stripe .s1 { background: var(--tomato); }

  .d-root .stripe .s2 { background: var(--pink); }

  .d-root .stripe .s3 { background: var(--cobalt); }

  .d-root .stripe .s4 { background: var(--butter); }

  .d-root .stripe .s5 { background: var(--ink); }


  .d-root .page {
    min-height: calc(100vh - 8px);
    min-height: calc(100dvh - 8px);
    display: flex; flex-direction: column;
  }


  /* ── Header ─────────────────────────────────── */
  .d-root header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 48px 16px;
    border-bottom: 1px solid var(--rule);
    gap: 24px;
  }

  .d-root .meta {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
  }

  .d-root .meta a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .15s, color .15s;
  }

  .d-root .meta a:hover { color: var(--tomato); border-bottom-color: var(--tomato); }

  .d-root .meta .mark {
    display: inline-block;
    width: 9px; height: 9px;
    background: var(--tomato);
    vertical-align: -1px;
    margin-right: 8px;
  }


  /* ── Main ───────────────────────────────────── */
  .d-root main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(20px, 4.5vh, 44px) 48px clamp(16px, 3vh, 32px);
    position: relative;
  }


  /* Ghosted serif monogram — atmosphere behind the hero */
  .d-root .ghost {
    position: absolute;
    right: -0.06em;
    top: 50%;
    transform: translateY(-54%) rotate(-4deg);
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(280px, 44vw, 640px);
    line-height: 1;
    color: rgba(27, 22, 18, var(--ghost-o));
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }


  /* Hero — grid-areas reflow: desktop = lockup+aside left, cup right (spans);
     mobile = lockup full width, then aside + cup in a row */
  .d-root .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    grid-template-areas:
      "name cup"
      "tag  cup";
    column-gap: 56px;
    row-gap: 24px;
    align-items: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }

  .d-root .lockup { grid-area: name; }

  .d-root .aside { grid-area: tag; }

  .d-root .teacup-wrap { grid-area: cup; justify-self: end; }


  /* Wordmark — two voices, weight contrast */
  .d-root .lockup {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 0.88;
    color: var(--ink);
    max-width: 100%;
  }

  .d-root .lockup .surname {
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(44px, 7.2vw, 132px);
    letter-spacing: -0.04em;
    text-transform: uppercase;
  }

  .d-root .lockup .given {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(54px, 8.6vw, 158px);
    letter-spacing: -0.025em;
    margin-top: -0.05em;
    margin-left: 0.18em;
  }

  .d-root .lockup .dot { color: var(--tomato); }


  /* Steeping — quiet italic aside */
  .d-root .aside {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    padding-left: 2px;
  }

  .d-root .aside .lede {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-soft);
    white-space: nowrap;
  }

  .d-root .steeping {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(22px, 2.4vw, 34px);
    letter-spacing: -0.005em;
    line-height: 1;
    color: var(--ink);
    margin: 0;
  }

  .d-root .steeping .comma { color: var(--tomato); }


  /* Tagline row */
  .d-root .bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 760px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }

  .d-root .tagline {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.3;
    margin: 0;
    color: var(--ink);
    text-wrap: pretty;
  }

  .d-root .tagline .lead {
    font-style: normal;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: -0.005em;
    background: linear-gradient(transparent 58%, var(--butter) 58%, var(--butter) 94%, transparent 94%);
    padding: 0 3px;
    margin-left: -3px;
  }

  .d-root .tagline .lead .dot { color: var(--tomato); }


  /* Teacup — image slot with steam + rotating type ring */
  .d-root .teacup-wrap {
    position: relative;
    width: 100%;
    max-width: min(var(--cup-size), 34vh);
    aspect-ratio: 1 / 1;
    transform: rotate(var(--cup-tilt)) translateY(var(--cup-drop));
    margin-right: clamp(0px, 3vw, 40px);
    transition: transform .5s cubic-bezier(.34,1.56,.64,1);
  }

  .d-root .teacup-wrap:hover {
    transform: rotate(calc(var(--cup-tilt) + 2deg)) translateY(var(--cup-drop)) scale(1.02);
  }

  .d-root .teacup-slot {
    width: 100%;
    height: 100%;
    background: transparent;
  }

  .d-root .teacup-slot::part(frame) {
    background: var(--beige-deep);
    box-shadow: 0 0 0 1.5px rgba(27,22,18,0.16), inset 0 2px 12px rgba(27,22,18,0.10);
  }

  /* Rotating type ring */
  .d-root .ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 134%;
    height: 134%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
  }

  .d-root .ring text {
    font-family: var(--mono);
    font-size: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    fill: var(--ink-soft);
  }

  .d-root .ring .tick { fill: var(--tomato); }

  @keyframes spin{
    to { transform: rotate(360deg); }
  }

  .d-root .steam {
    position: absolute;
    left: 50%;
    bottom: 82%;
    transform: translateX(calc(-50% + var(--steam-x)));
    width: 65%;
    height: 130px;
    pointer-events: none;
    z-index: 2;
    opacity: var(--steam-o);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 22%, black 68%, transparent 100%);
    mask-image: linear-gradient(to top, transparent 0%, black 22%, black 68%, transparent 100%);
  }

  .d-root .swirl {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.4;
    stroke-linecap: round;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: bottom center;
  }

  .d-root .swirl-1 { animation: rise 5.2s ease-in-out infinite; }

  .d-root .swirl-2 { animation: rise 5.2s ease-in-out infinite 1.7s; }

  .d-root .swirl-3 { animation: rise 5.2s ease-in-out infinite 3.4s; }

  @keyframes rise{
    0%   { transform: translateY(20px) scale(0.85); opacity: 0; }
    18%  { opacity: 0.6; }
    70%  { opacity: 0.3; }
    100% { transform: translateY(-46px) scale(1.05); opacity: 0; }
  }


  /* Soft-wisp steam variant (default) — blurred, slower, gentler */
  .d-root[data-steam="wisps"] .swirl {
    stroke-width: 5;
    stroke: rgba(27,22,18,0.8);
    filter: blur(3px);
  }

  .d-root[data-steam="wisps"] .swirl-1 { animation: riseSoft 7.5s ease-in-out infinite; }

  .d-root[data-steam="wisps"] .swirl-2 { animation: riseSoft 7.5s ease-in-out infinite 2.5s; }

  .d-root[data-steam="wisps"] .swirl-3 { animation: riseSoft 7.5s ease-in-out infinite 5s; }

  @keyframes riseSoft{
    0%   { transform: translateY(12px) scale(0.92); opacity: 0; }
    25%  { opacity: 0.5; }
    75%  { opacity: 0.22; }
    100% { transform: translateY(-30px) scale(1.04); opacity: 0; }
  }

  .d-root[data-steam="off"] .steam { display: none; }


  /* "More soon" pulse */
  .d-root .more {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-soft);
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .d-root .more .dots { display: inline-flex; gap: 4px; }

  .d-root .more .dots span {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--tomato);
    animation: pulse 1.4s ease-in-out infinite;
  }

  .d-root .more .dots span:nth-child(2) { background: var(--cobalt); animation-delay: 0.2s; }

  .d-root .more .dots span:nth-child(3) { background: var(--pink);   animation-delay: 0.4s; }

  @keyframes pulse{
    0%, 60%, 100% { opacity: 0.25; transform: scale(1); }
    30%           { opacity: 1;    transform: scale(1.25); }
  }


  /* ── Footer (pumped up) ──────────────────────── */
  .d-root footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 24px 48px;
    border-top: 1px solid var(--rule);
    font-family: var(--mono);
    color: var(--ink);
  }

  .d-root .f-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

  .d-root .f-label {
    font-size: 9.5px;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .d-root .f-label .sq {
    width: 7px; height: 7px;
    background: var(--tomato);
    display: inline-block;
  }

  .d-root .f-col:nth-child(2) .f-label .sq { background: var(--cobalt); }

  .d-root .f-col:nth-child(3) .f-label .sq { background: var(--pink); }

  .d-root .f-col:nth-child(4) .f-label .sq { background: var(--butter); }

  .d-root .f-val {
    font-size: 13px;
    letter-spacing: 0.4px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .15s, color .15s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .d-root a.f-val {
    align-self: start;
    width: max-content;
    max-width: 100%;
  }

  .d-root a.f-val:hover { color: var(--tomato); border-bottom-color: var(--tomato); }


  /* Paper grain overlay */
  .d-root .grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    opacity: var(--grain-o);
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.55 0 0 0 0 0.52 0 0 0 0 0.45 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  }


  /* ── Responsive ─────────────────────────────── */
  @media (max-width: 960px){

    .d-root footer { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }

  }

  @media (max-width: 720px){

    .d-root header { padding: 16px 22px 12px; gap: 12px; }

    .d-root .meta { font-size: 9.5px; letter-spacing: 1.6px; }

    .d-root main { padding: 28px 22px 24px; gap: 26px; justify-content: center; }

    /* Lockup spans full width; steeping + cup share the row below */
    .d-root .hero {
      grid-template-columns: 1fr auto;
      grid-template-areas:
        "name name"
        "tag  cup";
      column-gap: 16px;
      row-gap: 18px;
      align-items: center;
    }

    .d-root .aside { gap: 10px; align-self: center; }

    .d-root .teacup-wrap {
      max-width: 160px;
      width: 38vw;
      justify-self: end;
      margin: 0 6px 0 0;
      transform: rotate(var(--cup-tilt));
    }

    .d-root .steam { height: 90px; bottom: 84%; }

    .d-root .ghost { font-size: 240px; right: -30px; top: 30%; }

    .d-root .bottom { gap: 12px; }

    .d-root footer { padding: 18px 22px; gap: 14px 18px; }

    .d-root .f-val { font-size: 11.5px; }

    .d-root .f-label { font-size: 9px; letter-spacing: 2px; }

  }

  @media (max-width: 380px){

    .d-root footer { grid-template-columns: 1fr; gap: 10px; }

  }


  @media (prefers-reduced-motion: reduce){

    .d-root .swirl { animation: none; opacity: 0.45; transform: translateY(-10px); }

    .d-root .more .dots span { animation: none; opacity: 0.7; }

  }


  /* Accent-driven details (tweakable) */
  .d-root .meta .mark { background: var(--accent); }

  .d-root .lockup .dot { color: var(--accent); }

  .d-root .steeping .comma { color: var(--accent); }

  .d-root .tagline .lead .dot { color: var(--accent); }

  .d-root .ring .tick { fill: var(--accent); }

  .d-root .more .dots span:nth-child(1) { background: var(--accent); }

  .d-root .f-col:nth-child(1) .f-label .sq { background: var(--accent); }

  .d-root .meta a:hover, .d-root footer a.f-val:hover { color: var(--accent); border-bottom-color: var(--accent); }


/* baked approved settings */
.d-root{--cup-size:305px;--cup-drop:24px;--cup-tilt:0.5deg;--ring-speed:58s;--ghost-o:0.045;--grain-o:0.15;--steam-o:0.7;--steam-x:-6px;}
.d-root .teacup-slot{position:relative;border-radius:50%;overflow:hidden;background:var(--beige-deep);box-shadow:0 0 0 1.5px rgba(27,22,18,0.16), inset 0 2px 12px rgba(27,22,18,0.10);}
.d-root .teacup-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:53% 50%;mix-blend-mode:multiply;-webkit-user-drag:none;user-select:none;}

/* Short desktop windows: trim the steam reach so it can't crash into the header. */
@media (min-width: 900px) and (max-height: 720px){
  .d-root .steam { height: 96px; }
}
