/* ATLO — Open Dialogue
   Two things meeting, and the room between them. */

:root {
  --ivory: #F4F1E8;
  --ivory-2: #ECE8DC;
  --ivory-3: #E3DFD2;
  --ink: #15171A;
  --ink-2: #1D2024;
  --ink-3: #26292E;
  --accent: #626975;
  --accent-light: #9CA2AB;
  --accent-dark: #414954;
  --muted: #656760;
  --muted-on-ink: #A6A8A1;
  --line: #DAD8D0;
  --line-on-ink: rgba(244, 241, 232, 0.16);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1520px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ivory);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
s { text-decoration-thickness: 1px; }

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

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

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--ivory);
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

/* ------------------------------------------------------------------
   Shared: page grid
------------------------------------------------------------------- */
.hero, .turn, .thesis, .products, .closing, .footer {
  padding-inline: var(--gutter);
}
.hero__inner,
.turn, .thesis__head, .idea, .products__head, .index, .product, .closing__inner, .footer__inner {
  max-width: var(--max);
  margin-inline: auto;
}

/* ------------------------------------------------------------------
   Buttons and links
------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  background: var(--ink); color: var(--ivory);
  font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.005em;
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(0.98); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--ivory); }
.btn__icon { flex: none; margin-left: -2px; }

.textlink {
  position: relative;
  font-weight: 500; font-size: 0.9375rem;
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease), color 0.25s;
}
.textlink:hover { color: var(--accent); background-size: 30% 1px; }

/* ------------------------------------------------------------------
   Navigation
------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--gutter);
  color: var(--ink);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.3s;
}
.nav::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--line); opacity: 0; transition: opacity 0.4s;
}
.nav.is-scrolled { background: rgba(244, 241, 232, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav.is-scrolled::after { opacity: 1; }
.nav.on-ink { color: var(--ivory); }
.nav.on-ink.is-scrolled { background: rgba(21, 23, 26, 0.8); }
.nav.on-ink.is-scrolled::after { background: var(--line-on-ink); }

.nav__logo { justify-self: start; display: block; }
.nav__logo img { width: 118px; height: auto; }
.nav__logo-ivory { display: none; }
.nav.on-ink .nav__logo-ink { display: none; }
.nav.on-ink .nav__logo-ivory { display: block; }

.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); font-size: 0.9375rem; font-weight: 500; }
.nav__links a {
  padding: 6px 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { background-size: 100% 1px; }

.nav__cta {
  justify-self: end;
  font-size: 0.9375rem; font-weight: 500;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid currentColor;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.nav__cta:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.nav.on-ink .nav__cta:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.nav__toggle {
  display: none; justify-self: end;
  align-items: center; gap: 10px;
  font-size: 0.9375rem; font-weight: 500;
  padding: 8px 0 8px 8px;
}
.nav__toggle-icon { position: relative; width: 22px; height: 12px; display: block; }
.nav__toggle-icon i {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__toggle-icon i:first-child { top: 0; }
.nav__toggle-icon i:last-child { top: 10px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:first-child { top: 5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:last-child { top: 5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink); color: var(--ivory);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__inner { display: flex; flex-direction: column; height: 100%; }
.menu__item {
  font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.1;
  padding: 8px 0; border-bottom: 1px solid var(--line-on-ink);
  opacity: 0; transform: translateY(14px);
  animation: menu-in 0.6s var(--ease) forwards;
}
.menu__item:nth-child(2) { animation-delay: 0.06s; }
.menu__item:nth-child(3) { animation-delay: 0.12s; }
.menu__products {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 28px; font-size: 1.0625rem; color: var(--muted-on-ink);
  opacity: 0; animation: menu-in 0.6s var(--ease) 0.2s forwards;
}
.menu__products a:hover { color: var(--ivory); }
.menu__mail {
  margin-top: auto; padding-top: 40px;
  font-size: 1.0625rem; color: var(--accent-light);
  opacity: 0; animation: menu-in 0.6s var(--ease) 0.26s forwards;
}
@keyframes menu-in { to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------
   Hero: the headline is the hero
------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: clip;
}
.hero__inner {
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto auto;
  column-gap: 24px;
  padding-top: calc(var(--nav-h) + 4vh);
}

.hero__title {
  grid-column: 1 / -1; grid-row: 1;
  align-self: center;
  padding-block: 3vh 5vh;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 10.2vw, 10.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 72;
}
.hero__line { display: block; clip-path: inset(0 -0.6em 0 -0.6em); padding-bottom: 0.14em; margin-bottom: -0.14em; } /* clips only top and bottom for the rise; italic tails may overhang the sides */
.hero__line > span { display: block; transform: translateY(110%); }

.blank {
  --pad-l: 0.32em; /* room for the italic y's tail */
  --pad-r: 0.08em;
  display: inline-grid; justify-items: start;
  position: relative;
  box-sizing: content-box;
  padding: 0.05em var(--pad-r) 0.15em var(--pad-l);
  margin-left: calc(-1 * var(--pad-l));
  margin-right: calc(-1 * var(--pad-r));
  clip-path: inset(0);
  font-style: italic;
  transition: width 0.5s var(--ease);
  white-space: nowrap;
}
.blank::after {
  content: ""; position: absolute; left: var(--pad-l); right: var(--pad-r); bottom: 0;
  height: 2px; background: var(--accent-light);
}
.blank__word {
  grid-area: 1 / 1;
  display: block; white-space: nowrap; line-height: 1;
  transform: translateY(130%); opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.4s;
}
.blank__word.is-in { transform: none; opacity: 1; }
.blank__word.is-out { transform: translateY(-120%); opacity: 0; }

.hero__copy {
  grid-column: 1 / 7; grid-row: 2;
  align-self: end;
  padding-bottom: 6vh;
  opacity: 0;
}
.hero__lede {
  max-width: 30rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.34;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 24;
}
.hero__actions { display: flex; align-items: center; gap: 26px; margin-top: 28px; flex-wrap: wrap; }

/* A small note, in ATLO's voice, that follows the word in the blank */
.hero__note {
  grid-column: 8 / -1; grid-row: 2;
  align-self: end; justify-self: end;
  margin: 0 0 6vh;
  width: min(100%, 23rem);
  display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start;
  padding: 15px 18px 15px 15px;
  border-radius: 18px 18px 18px 5px;
  background: var(--ivory-2);
  font-size: 0.9375rem; line-height: 1.45;
  opacity: 0;
}
.hero__note-mark { width: 22px; height: auto; margin-top: 1px; }
.hero__note-text { transition: opacity 0.3s, transform 0.45s var(--ease); }
.hero__note-text.is-swapping { opacity: 0; transform: translateY(6px); transition-duration: 0.18s, 0.18s; }

.hero__foot {
  grid-column: 1 / -1; grid-row: 3;
  display: flex; justify-content: space-between; gap: 24px;
  padding-block: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
}

/* Entrance */
.hero.is-ready .hero__line > span { animation: rise 1.1s var(--ease) 0.2s forwards; }
.hero.is-ready .hero__line:nth-child(2) > span { animation-delay: 0.36s; }
.hero.is-ready .hero__copy { animation: fade-up 1s var(--ease) 0.8s forwards; }
.hero.is-ready .hero__note { animation: fade-up 1s var(--ease) 1.05s forwards; }
.hero.is-ready .hero__foot { animation: fade-in 0.8s var(--ease) 1.3s forwards; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }

/* ------------------------------------------------------------------
   Turn: positioning as one exchange
------------------------------------------------------------------- */
.turn {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding-block: 18vh 22vh;
}
.turn__you {
  grid-column: 1 / 6;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.9vw, 2.75rem);
  line-height: 1.18; letter-spacing: -0.015em;
  color: var(--muted);
  font-variation-settings: "opsz" 40;
  max-width: 14ch;
}
.turn__us {
  grid-column: 7 / -1;
  margin-top: clamp(80px, 16vh, 200px);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.9vw, 2.75rem);
  line-height: 1.18; letter-spacing: -0.015em;
  font-variation-settings: "opsz" 40;
  max-width: 22ch;
}

/* ------------------------------------------------------------------
   Thesis (on ink)
------------------------------------------------------------------- */
.thesis {
  background: var(--ink); color: var(--ivory);
  padding-block: clamp(80px, 12vh, 160px) clamp(60px, 10vh, 140px);
  border-radius: 28px 28px 0 0;
}
.thesis__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  align-items: end;
  padding-bottom: clamp(48px, 8vh, 96px);
}
.thesis__title {
  grid-column: 1 / 8;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 72;
}
.thesis__sub { grid-column: 8 / -1; color: var(--muted-on-ink); max-width: 30ch; }

.idea {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding-block: clamp(56px, 9vh, 120px);
  border-top: 1px solid var(--line-on-ink);
}
.idea__title {
  grid-column: 1 / 4;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  line-height: 1.15; letter-spacing: -0.01em;
  color: var(--accent-light);
  font-variation-settings: "opsz" 40;
}
.idea__text {
  grid-column: 4 / 9;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.85vw, 1.8rem);
  line-height: 1.34; letter-spacing: -0.005em;
  font-variation-settings: "opsz" 24;
  max-width: 30ch;
}
.idea__text .w { transition: opacity 0.35s linear; }
.idea__visual { grid-column: 9 / -1; align-self: center; }

/* Reversal: command struck, half a sentence answered */
.reversal { color: var(--ivory); }
.reversal__cmd {
  font-family: var(--mono); font-size: 0.875rem; color: var(--muted-on-ink);
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-on-ink);
  word-break: break-word;
}
.reversal__human {
  font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1; letter-spacing: -0.02em; font-variation-settings: "opsz" 72;
}
.reversal__note { margin-top: 14px; font-size: 0.875rem; color: var(--muted-on-ink); }

/* Forms: the four ways to answer */
.forms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; color: var(--ivory); }
.forms__item { display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; color: var(--muted-on-ink); }
.forms__glyph { width: 56px; height: 56px; color: var(--ivory); fill: currentColor; }
.forms__wave rect { transform-origin: center; }
.is-inview .forms__wave rect { animation: wave 2.2s var(--ease-in-out) infinite; }
.forms__wave rect:nth-child(2) { animation-delay: 0.15s; }
.forms__wave rect:nth-child(3) { animation-delay: 0.3s; }
.forms__wave rect:nth-child(4) { animation-delay: 0.45s; }
.forms__wave rect:nth-child(5) { animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }
.is-inview .forms__dot { animation: travel 3.2s var(--ease-in-out) infinite; }
@keyframes travel {
  0%, 12% { transform: translate(0, 0); }
  50%, 62% { transform: translate(40px, 0); }
  100% { transform: translate(0, 0); }
}

/* Memory: see, shape, erase */
.memory__card {
  position: relative;
  padding: 22px 24px 24px;
  border-radius: 20px;
  background: var(--ink-2);
  border: 1px solid var(--line-on-ink);
  min-height: 132px;
  transition: opacity 0.5s, transform 0.5s var(--ease);
}
.memory.is-erased .memory__card { border-style: dashed; }
.memory__label { font-size: 0.8125rem; color: var(--muted-on-ink); margin-bottom: 10px; }
.memory__text {
  font-family: var(--serif); font-size: clamp(1.4rem, 1.8vw, 1.7rem); line-height: 1.3;
  font-variation-settings: "opsz" 24;
  outline: none; border-radius: 4px;
  transition: opacity 0.5s, filter 0.5s;
}
.memory__text[contenteditable="true"] { box-shadow: 0 0 0 2px var(--accent-light); padding: 2px 6px; margin: -2px -6px; }
.memory.is-erased .memory__text { opacity: 0; filter: blur(6px); position: absolute; pointer-events: none; }
.memory__gone { font-family: var(--serif); font-size: 1.4rem; color: var(--muted-on-ink); }
.memory__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-on-ink);
  font-size: 0.9rem; font-weight: 500;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.chip:hover, .chip[aria-pressed="true"] { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.chip--quiet { color: var(--accent-light); }
.memory__source { margin-top: 12px; font-size: 0.875rem; color: var(--muted-on-ink); }

/* ------------------------------------------------------------------
   Products
------------------------------------------------------------------- */
.products { padding-block: clamp(90px, 14vh, 180px) 0; }
.products__head { padding-bottom: clamp(36px, 6vh, 72px); }
.products__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
  line-height: 1.02; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 72;
  max-width: 20ch;
}

.index { border-top: 1px solid var(--line); }
.index__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 6fr);
  column-gap: 24px; align-items: center;
  padding: 26px 0 26px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.5s var(--ease);
}
.index__row::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  transform: translate(-6px, -50%) scale(0);
  transition: transform 0.45s var(--ease);
}
.index__row:hover, .index__row:focus-visible { padding-left: 28px; }
.index__row:hover::before, .index__row:focus-visible::before { transform: translate(0, -50%) scale(1); }
.index__thumb {
  width: 56px; height: 56px; object-fit: contain; border-radius: 14px;
  background: var(--ivory-2); padding: 6px;
  transition: transform 0.5s var(--ease);
}
.index__thumb--nodi { padding: 2px; }
.index__row:hover .index__thumb { transform: scale(1.06); }
.index__name {
  font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1; letter-spacing: -0.02em; font-variation-settings: "opsz" 72;
}
.index__kind, .index__where { font-size: 0.9375rem; color: var(--muted); }
.index__note {
  font-size: 0.9375rem; color: var(--muted);
  transition: color 0.35s var(--ease), transform 0.45s var(--ease);
}
.index__row:hover .index__note, .index__row:focus-visible .index__note { color: var(--ink); }

.product {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding-block: clamp(80px, 13vh, 170px);
  scroll-margin-top: var(--nav-h);
}
.product + .product { border-top: 1px solid var(--line); }
.product__head { grid-column: 1 / 5; position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.product__name {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  line-height: 1; letter-spacing: -0.025em; font-variation-settings: "opsz" 72;
}
.product__mark { width: 0.8em; height: auto; margin-left: -0.1em; }
.product__meta { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.product__head .btn { margin-top: 28px; }
.product__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.product__ctas .btn { margin-top: 0; }
.product__body { grid-column: 6 / -1; }
.nowrap { white-space: nowrap; }
.product__lede {
  text-wrap: pretty;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.2; letter-spacing: -0.015em; font-variation-settings: "opsz" 40;
  max-width: 24ch;
}
.product__text { margin-top: 24px; max-width: 52ch; font-size: 1.0625rem; color: #3A3D3A; }

/* Ditto: two screens */
.screens {
  margin-top: 52px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
  max-width: 640px;
}
.screens__item img {
  width: 100%; height: auto; border-radius: 22px;
  background: var(--ivory-2); border: 1px solid var(--line);
}
.screens__item figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }

/* Atto: photo + places */
.photo { margin-top: 48px; border-radius: 22px; overflow: hidden; background: var(--ivory-2); }
.photo img { width: 100%; height: auto; }
.ces {
  display: flex; align-items: center; gap: 12px;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 0.875rem; color: var(--muted);
}
.ces img { width: 64px; height: auto; flex: none; }
.places { margin-top: 32px; border-top: 1px solid var(--line); }
.places__row {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.places__row dt { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; font-variation-settings: "opsz" 24; }
.places__row dd { color: var(--muted); font-size: 0.9375rem; align-self: center; }

/* Meowting: a meeting, as Meowting keeps it */
.meeting {
  margin-top: 48px;
  border: 1px solid var(--line); border-radius: 22px; background: #FBFAF6;
  overflow: hidden;
}
.meeting__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.meeting__face { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.meeting__title { font-weight: 500; }
.meeting__live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.meeting__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.meeting.is-inview .meeting__live i { animation: pulse 2s var(--ease-in-out) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.meeting__cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.meeting__lines { padding: 18px 20px; border-right: 1px solid var(--line); display: grid; gap: 14px; font-size: 0.9375rem; line-height: 1.5; }
.meeting__lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; color: #3A3D3A; }
.meeting__lines span { color: var(--muted); font-size: 0.8125rem; padding-top: 2px; }
.meeting__notes { padding: 18px 20px; display: grid; gap: 12px; align-content: start; background: var(--ivory-2); }
.meeting__notes div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; font-size: 0.9375rem; line-height: 1.45; }
.meeting__notes dt { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.meeting__ask { padding: 16px 20px 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.meeting__q { font-size: 0.9375rem; color: var(--muted); }
.meeting__q::before { content: "Ask Kitty  "; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-right: 8px; }
.meeting__a { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; font-variation-settings: "opsz" 24; }
.meeting__caption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }

/* Nodi */
.promises { margin-top: 40px; border-top: 1px solid var(--line); max-width: 52ch; }

.gallery { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gallery figure { margin: 0; }
.gallery__wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: auto; border-radius: 18px; background: var(--ivory-2); }
.gallery__wide img { border: 1px solid var(--line); }
.gallery figure:not(.gallery__wide) img { aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.promises li {
  padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line);
  position: relative; font-size: 1.0625rem;
}
.promises li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}


/* ------------------------------------------------------------------
   Closing (on ink)
------------------------------------------------------------------- */
.closing {
  background: var(--ink); color: var(--ivory);
  padding-block: clamp(100px, 18vh, 220px) clamp(80px, 14vh, 180px);
}
.closing__inner { max-width: var(--max); margin-inline: auto; }
.closing__mail { display: block; }
.closing__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3.6rem);
  line-height: 1.12; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
}
.closing__title .w { transition: opacity 0.35s linear; }
.closing__ask { margin-top: 36px; color: var(--muted-on-ink); font-size: 1.125rem; }
.closing__mail {
  margin-top: clamp(40px, 7vh, 80px);
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 6.5rem);
  line-height: 1; letter-spacing: -0.03em;
  font-variation-settings: "opsz" 72;
  padding-bottom: 0.08em;
  background-image: linear-gradient(var(--accent-light), var(--accent-light));
  background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: color 0.35s, background-size 0.5s var(--ease);
  overflow-wrap: anywhere;
}
.closing__mail:hover { color: var(--accent-light); background-size: 0 2px; }

/* ------------------------------------------------------------------
   Footer (on ink)
------------------------------------------------------------------- */
.footer {
  background: var(--ink); color: var(--ivory);
  padding-block: 48px 40px;
  border-top: 1px solid var(--line-on-ink);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px; row-gap: 40px;
  font-size: 0.9375rem;
}
.footer > * { min-width: 0; }
.footer__brand { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 14px; }
.footer__brand img { width: 180px; height: auto; } /* brand minimum for the solid horizontal lockup */
.footer__brand p { color: var(--muted-on-ink); margin-top: 8px; }
.footer__mail { color: var(--ivory); width: fit-content; }
.footer__mail:hover { color: var(--accent-light); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col:nth-of-type(1) { grid-column: 7 / 9; }
.footer__col:nth-of-type(2) { grid-column: 9 / 11; }
.footer__heading { color: var(--muted-on-ink); margin-bottom: 4px; }
.footer__col a { width: fit-content; transition: color 0.25s; }
.footer__col a:hover { color: var(--accent-light); }
.footer__copy { grid-column: 11 / -1; color: var(--muted-on-ink); justify-self: end; align-self: end; }

/* ------------------------------------------------------------------
   Reveal (used sparingly)
------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-inview { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   Legal: a document, set like the rest of the site
------------------------------------------------------------------- */
.legal {
  --serif-kr: "Noto Serif KR", "Newsreader", "Apple Myungjo", serif;
  --sans-kr: "Figtree", "Noto Sans KR", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, sans-serif;
  padding-inline: var(--gutter);
  font-family: var(--sans-kr);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.legal__inner {
  max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding-top: calc(var(--nav-h) + 9vh);
  padding-bottom: clamp(80px, 12vh, 140px);
}
.legal__head { grid-column: 1 / -1; padding-bottom: clamp(40px, 7vh, 80px); border-bottom: 1px solid var(--line); }
.legal__kicker {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.legal__title {
  margin-top: 18px;
  font-family: var(--serif-kr); font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.08; letter-spacing: -0.02em;
}
.legal__meta { margin-top: 22px; font-size: 1rem; color: var(--muted); }

.legal__toc {
  grid-column: 1 / 4; align-self: start;
  position: sticky; top: calc(var(--nav-h) + 24px);
  padding-top: clamp(32px, 6vh, 64px);
}
.legal__toc-title { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal__toc ol { counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: grid; grid-template-columns: 2.2em 1fr; column-gap: 4px; align-items: baseline;
  padding: 7px 0; font-size: 0.9375rem; line-height: 1.4; color: var(--muted);
  transition: color 0.25s;
}
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--accent-light); font-variant-numeric: tabular-nums; }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--ink); }

.legal__doc {
  grid-column: 5 / 12; max-width: 68ch;
  padding-top: clamp(32px, 6vh, 64px);
  font-size: 1.0625rem; line-height: 1.8;
}
.legal__doc > p:first-child { color: var(--ink); font-size: 1.125rem; line-height: 1.75; }
.legal__doc section { margin-top: clamp(44px, 7vh, 72px); padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal__doc h2 {
  font-family: var(--serif-kr); font-weight: 400;
  font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.35; letter-spacing: -0.015em;
}
.legal__doc h3 { margin-top: 26px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.legal__doc p { margin-top: 12px; }
.legal__doc h2 + p, .legal__doc h3 + p { margin-top: 14px; }
.legal__doc ol { margin-top: 12px; padding-left: 1.4em; list-style: decimal; }
.legal__doc li + li { margin-top: 8px; }
.legal__doc a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-light); transition: text-decoration-color 0.25s; }
.legal__doc a:hover { text-decoration-color: var(--ink); }
.legal__date { margin-top: clamp(44px, 7vh, 72px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .idea__title { grid-column: 1 / 4; }
  .idea__text { grid-column: 4 / 9; }
  .product__head { grid-column: 1 / 5; }
  .product__body { grid-column: 5 / -1; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }

  .hero__inner { grid-template-rows: 1fr auto auto auto; padding-top: calc(var(--nav-h) + 3vh); }
  .hero__title { font-size: clamp(2.5rem, 11vw, 6rem); padding-block: 2vh 4vh; }
  .hero__copy { grid-column: 1 / -1; grid-row: 2; padding-bottom: 0; }
  .hero__note { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin: 32px 0 5vh; }
  .hero__foot { grid-row: 4; }

  .turn { padding-block: 12vh 14vh; row-gap: 40px; }
  .turn__you { grid-column: 1 / 10; max-width: none; }
  .turn__us { grid-column: 3 / -1; margin-top: 0; max-width: none; }

  .thesis { border-radius: 20px 20px 0 0; }
  .thesis__title { grid-column: 1 / -1; }
  .thesis__sub { grid-column: 1 / -1; margin-top: 16px; }
  .idea { row-gap: 28px; }
  .idea__title { grid-column: 1 / -1; }
  .idea__text { grid-column: 1 / -1; max-width: 34ch; }
  .idea__visual { grid-column: 1 / -1; margin-top: 8px; max-width: 30rem; }

  .index__row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr); row-gap: 6px; padding: 20px 0; }
  .index__thumb { width: 48px; height: 48px; grid-row: 1 / 3; }
  .index__where { text-align: right; }
  .index__note { grid-column: 2 / -1; }
  .index__row:hover, .index__row:focus-visible { padding-left: 0; }
  .index__row::before { display: none; }

  .product { row-gap: 36px; padding-block: clamp(64px, 10vh, 110px); }
  .product__head { grid-column: 1 / -1; position: static; }
  .product__body { grid-column: 1 / -1; }
  .product__head .btn, .product__ctas { margin-top: 22px; }
  .product__ctas .btn { margin-top: 0; }
  .ces { margin-top: 22px; }

  .legal__inner { padding-top: calc(var(--nav-h) + 6vh); }
  .legal__toc { grid-column: 1 / -1; position: static; padding-top: 28px; }
  .legal__toc ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 24px; }
  .legal__doc { grid-column: 1 / -1; max-width: none; padding-top: 28px; }

  .footer { row-gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col:nth-of-type(1) { grid-column: 1 / 7; }
  .footer__col:nth-of-type(2) { grid-column: 7 / -1; }
  .footer__copy { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .hero__actions { gap: 20px; }
  .turn__you { grid-column: 1 / -1; }
  .turn__us { grid-column: 2 / -1; }
  .forms { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .places__row { grid-template-columns: 1fr; gap: 4px; }
  .index__row { grid-template-columns: 48px minmax(0, 1fr); }
  .index__thumb { grid-row: 1 / 4; }
  .index__where { text-align: left; }
  .hero__title { font-size: clamp(2.6rem, 13.4vw, 3.6rem); }
  .screens { gap: 14px; }
  .meeting__cols { grid-template-columns: 1fr; }
  .meeting__lines { border-right: 0; border-bottom: 1px solid var(--line); }
  .meeting__live { display: none; }
  .gallery { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   Reduced motion
------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; }
  .hero__line > span { transform: none; }
  .hero__copy, .hero__note, .hero__foot { opacity: 1; }
  .blank { transition: none; }
  .blank__word { transition: opacity 0.2s; transform: none; }
  .blank__word.is-out { transform: none; }
  .menu__item, .menu__products, .menu__mail { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .idea__text .w, .closing__title .w { opacity: 1 !important; }
}
