/* ============================================================
   STADSFLOW — stylesheet
   ============================================================ */

/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/geist-v5-gyByhwUxId8gMEwSGFWfOw.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/geist-v5-gyByhwUxId8gMEwcGFU.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;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/geist-v5-gyByhwUxId8gMEwSGFWfOw.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/geist-v5-gyByhwUxId8gMEwcGFU.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;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/geist-v5-gyByhwUxId8gMEwSGFWfOw.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/geist-v5-gyByhwUxId8gMEwcGFU.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;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/geist-v5-gyByhwUxId8gMEwSGFWfOw.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/geist-v5-gyByhwUxId8gMEwcGFU.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;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/spacegrotesk-v22-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/spacegrotesk-v22-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.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;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/spacegrotesk-v22-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/spacegrotesk-v22-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.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;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/spacegrotesk-v22-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/spacegrotesk-v22-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.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;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/spacegrotesk-v22-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/spacegrotesk-v22-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.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;
}

:root {
  --bg: #ffffff;
  --paper-soft: #f5f5f5;
  --ink: #18181b;
  --ink-soft: #6b6b73;
  --plot: #e4e4e7;
  --line: #e4e4e7;
  --accent: #1e3a8a;

  --serif: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --sans:  "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --brand: "Space Grotesk", "Geist", sans-serif;

  --max:   1020px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1rem; max-width: 60ch; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- HEADER ---- */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand {
  display: inline-flex; align-items: center;
  font-family: var(--brand);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 180ms ease;
}
.brand:hover { opacity: 0.7; }

.nav { display: flex; gap: 1rem; align-items: center; }
.nav a {
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}
.nav a:hover, .nav a.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* language picker */
.lang { position: relative; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.95rem;
  color: var(--ink);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: border-color 180ms ease, color 180ms ease;
}
.lang-btn:hover, .lang.open .lang-btn {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
.lang-chev {
  display: inline-block; width: 0.42rem; height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}
.lang.open .lang-chev { transform: rotate(-135deg) translateY(0); }
.lang-menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 7.5rem;
  padding: 0.3rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: none;
  flex-direction: column;
  z-index: 20;
}
.lang.open .lang-menu { display: flex; }
.lang-option {
  background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--sans); font-size: 0.95rem;
  padding: 0.45rem 0.6rem; border-radius: 4px;
  color: var(--ink);
}
.lang-option:hover { background: var(--paper-soft); }
.lang-option.active { color: var(--accent); }

/* per-letter brand colours */
.l-s  { color: #1971c2; }
.l-st, .l-sa, .l-sd { color: var(--ink); }
.l-t, .l-e, .l-a, .l-m { color: #1971c2; }
.l-ochre { color: #f7c548; }

/* ---- HERO ---- */
.hero { padding: clamp(40px, calc(5vw - 3px), 53px) 0 clamp(2.5rem, 5vw, 3.5rem); }
.hero h1 {
  font-family: var(--brand);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
}
.hero p { margin-top: 0; margin-bottom: 0; font-size: 1.1rem; color: var(--ink-soft); max-width: 48ch; }

/* ---- PLOTS ---- */
.plots { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.plots-intro { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--ink-soft); }

/* 3 columns: G is 0.85 of A's width; A and B equal. */
.plot-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1fr;
  gap: 0.5rem;
}
.plot.col1-top    { grid-column: 1; grid-row: 1; }
.plot.col1-bottom { grid-column: 1; grid-row: 2; }

/* A+B zone: the Hong Kong photo with a light dark overlay; only a small white
   dot on the top-left of a 6% offset, plus project A / project B labels. */
.ab {
  --off: 6%;
  position: relative;
  grid-column: 2 / span 2;
  grid-row: 1 / span 2;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(10,20,50,0.30), rgba(10,20,50,0.40)),
    url("./hongkong-harbor.jpg");
  background-size: cover, cover;
  background-position: center, center;
  font-family: var(--serif);
}
@media (min-width: 440px) { .plot-grid { gap: 0.75rem; } }
@media (min-width: 760px) { .plot-grid { gap: 1rem; } }

/* white dot fully inside the offset */
.ab-dot {
  position: absolute;
  top: var(--off); left: var(--off);
  width: 8px; height: 8px;
  background: #fff; border-radius: 50%;
}

/* project A — horizontal, vertically centered on the dot; gap is 4% of width */
.ab-label-a {
  position: absolute;
  left: calc(var(--off) + 8px + 4%);
  top: calc(var(--off) + 4px);
  transform: translateY(-50%);
  color: #fff; font-weight: 600;
  font-size: clamp(0.85rem, 1.8vw, 1.3rem);
  line-height: 1;
}
/* project B — vertical, reads bottom-to-top, B near the dot; gap is 4% of width */
.ab-label-b {
  position: absolute;
  left: calc(var(--off) + 4px);
  top: calc(var(--off) + 8px + 4%);
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: #fff; font-weight: 600;
  font-size: clamp(0.85rem, 1.8vw, 1.3rem);
  line-height: 1;
}

/* bottom-right dot — point-symmetric to the top-left dot */
.ab-dot2 {
  position: absolute;
  bottom: var(--off); right: var(--off);
  width: 8px; height: 8px;
  background: #fff; border-radius: 50%;
}
/* On cities — horizontal, centered on the bottom-right dot, to its left (mirror of project A) */
.ab-cap-label {
  position: absolute;
  right: calc(var(--off) + 8px + 4%);
  bottom: calc(var(--off) + 4px);
  transform: translateY(50%);
  color: #fff; font-weight: 600;
  font-size: clamp(0.85rem, 1.8vw, 1.3rem);
  line-height: 1;
  white-space: nowrap;
}
/* Coming soon — vertical, reads bottom-to-top, above the bottom-right dot (mirror of project B) */
.ab-cap-status {
  position: absolute;
  right: calc(var(--off) + 4px);
  bottom: calc(var(--off) + 8px + 4%);
  transform: translateX(50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: #fff; font-weight: 600;
  font-size: clamp(0.85rem, 1.8vw, 1.3rem);
  line-height: 1;
}

/* full-width row, ~half the height of a G box */
.plot.full-row {
  grid-column: 1 / -1;
  grid-row: 3;
  aspect-ratio: 5.6 / 1;
}

.plot.col1-top, .plot.col1-bottom, .plot.full-row {
  background: #fff;
  border: 1.5px solid #000;
  border-radius: 10px;
}

.plot {
  position: relative;
  border-radius: 10px;
  padding: clamp(0.5rem, 1.6vw, 1.25rem);
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--ink);
  overflow: hidden;
}

.plot-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 1.4rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.plot-label, .plot-status { word-break: break-word; }
.plot-label { font-size: clamp(0.7rem, 1.5vw, 0.95rem); margin-bottom: 0.2rem; }
.plot-status { font-size: clamp(0.7rem, 1.5vw, 0.95rem); color: #555; margin-top: 0.4rem; }
.plot.col1-top .plot-status::before, .plot.col1-bottom .plot-status::before {
  content: ""; display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%;
  background: var(--ink); margin-right: 0.4em; vertical-align: 0.05em;
}


/* yellow corners */
.plot.col1-top, .plot.col1-bottom { position: relative; text-align: right; }
.plot.col1-top::after, .plot.col1-bottom::after,
.ab::before, .ab::after {
  content: ""; position: absolute; width: 40px; height: 40px; background: #fbcf56; z-index: 1;
}
@media (max-width: 699px) {
  .plot.col1-top::after, .plot.col1-bottom::after, .ab::before, .ab::after { width: 20px; height: 20px; }
}
.plot.col1-top > *, .plot.col1-bottom > * { position: relative; z-index: 2; }
.plot.col1-top::after { left: 0; top: 0; bottom: auto; clip-path: polygon(0 0, 100% 0, 0 100%); }
.plot.col1-bottom::after { left: 0; bottom: 0; top: auto; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.ab::before { right: 0; top: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.ab::after { right: 0; bottom: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* ---- ABOUT ---- */
.about { padding: clamp(33px, calc(8vw - 10px), 86px) 0 clamp(3rem, 8vw, 6rem); }
.about-block { margin-bottom: 2.5rem; max-width: 60ch; }
.about-block:last-child { margin-bottom: 0; }
.about h2 { margin-bottom: 0.75rem; }

/* founder + logo side by side, bottoms aligned */
.founder-row {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: none;
}
.logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.logo-sub {
  font-size: 0.8rem;
  color: #9b9ba3;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about p { font-size: 1.05rem; line-height: 1.65; }
.about ul {
  list-style: none; padding: 0; margin: 0.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
}
.about ul li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.about ul li:last-child { border-bottom: 1px solid var(--line); }
.about ul li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }

/* word entries */
.word { margin-top: 1.5rem; }
.word:first-child { margin-top: 0.5rem; }
.word-head {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}
.word-lang {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 0.6rem;
}
.word p { font-size: 1rem; margin: 0; line-height: 1.6; }

/* gallery */
.gallery {
  display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1rem;
}
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
.image-slot {
  aspect-ratio: 4 / 3;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--ink-soft);
}

/* ---- FOOTER ---- */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink);
}
.footer .wrap,
.footer .wrap span { color: #000; }

/* utility for translatable text */
[data-t] { display: inline; }
[data-nl] { display: none; }
html[lang="nl"] [data-en] { display: none; }
html[lang="nl"] [data-nl] { display: inline; }
html[lang="nl"] p[data-nl] { display: block; }

/* intro paragraphs must stay block in both languages so the bottom margin
   below them is identical (an inline element would drop the vertical margin). */
.plots-intro[data-en],
.plots-intro[data-nl] { display: none; }
html:not([lang="nl"]) .plots-intro[data-en] { display: block; }
html[lang="nl"] .plots-intro[data-nl] { display: block; }

/* ---- StadsFlow popup ---- */
.plot-grid { position: relative; }
.plot.col1-top, .plot.col1-bottom, .ab { cursor: pointer; }
.flow { position: relative; grid-column: 2 / span 2; grid-row: 1 / span 2; z-index: 5; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.flow[hidden] { display: none; }
.flow-box {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 1rem;
  padding: calc(clamp(0.75rem, 2vw, 1.25rem) - 2px) calc(clamp(1.25rem, 3vw, 2rem) - 2px);
  background: transparent; border: 4px solid #fff; border-radius: 6px;
  animation: flow-in 180ms ease-out;
}
.flow-name { font-family: var(--brand); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(calc(1.5rem - 6px), calc(4vw - 6px), calc(2.5rem - 6px)); color: #fff; }
.flow-close { position: absolute; top: 0.25rem; right: 0.4rem; background: none; border: none; cursor: pointer; color: #fff; font-size: 1.25rem; line-height: 1; padding: 0.25rem; }
.flow-close:hover { opacity: 0.7; }
@keyframes flow-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 699px) { .flow-name { font-size: 17px; } .flow-box { padding: 3px 11px; border-width: 3px; } .flow-close { top: 0; right: 0; padding: 2px 4px; } .flow { position: relative; inset: auto; grid-column: 2 / span 2; grid-row: 1 / span 2; } }
.brand-logo { height: 1.6em; width: auto; margin-right: 0.5rem; display: block; }
