/* palette: bg=#F6F7F8 fg=#1A1D24 accent=#0091D5 */
/* fonts: display="Shippori Mincho" body="Noto Sans" mono="IBM Plex Mono" */

:root {
  --bg: #F6F7F8;        /* clean washi off-white from reference background */
  --bg-alt: #EAEFF3;    /* cool light blue-grey alternating section */
  --bg-deep: #0E1620;   /* dark inverted band (sumi ink, cool) */
  --fg: #1A1D24;        /* primary near-black text */
  --fg-soft: #3A424E;   /* slightly lighter foreground */
  --muted: #717885;     /* secondary text */
  --accent: #0091D5;    /* "Think Blue" cyan-blue accent */
  --accent-deep: #006FA6; /* darker accent for hover */
  --accent-soft: #DCEEF8; /* faint accent wash for tints */
  --border: rgba(26, 29, 36, 0.12);
  --border-soft: rgba(26, 29, 36, 0.07);

  --serif: 'Shippori Mincho', ui-serif, 'Times New Roman', serif;
  --sans: 'Noto Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1240px;
  --pad: clamp(80px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.78;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }
p { margin: 0; }

/* ───────────── layout primitives ───────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: var(--pad) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: #E7ECF1; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.section--deep .eyebrow { color: #4FB8E8; }
.section--deep .eyebrow::before { background: #4FB8E8; }

.h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 56ch;
}
.section--deep .lede { color: #AEB9C5; }
em { font-style: normal; color: var(--accent); }

/* ───────────── header ───────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 248, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--border-soft), 0 6px 28px -18px rgba(14, 22, 32, 0.4);
  border-color: var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
}
.brand__dot { color: var(--accent); }
.nav { display: none; gap: 38px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--fg); }

.header__cta {
  display: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--fg);
  border-radius: 9999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
@media (min-width: 900px) { .header__cta { display: inline-block; } }
.header__cta:hover { background: var(--fg); color: var(--bg); }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: flex-end;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle span:nth-child(2) { width: 18px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { width: 24px; transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 48px 28px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:last-of-type { border-bottom: 0; }

/* ───────────── hero ───────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(246,247,248,0.72) 0%, rgba(246,247,248,0.30) 38%, rgba(246,247,248,0.85) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(56px, 9vw, 110px); width: 100%; }
.hero__eyebrow { color: var(--accent); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 300;
  max-width: 15ch;
  margin: 0 0 34px;
}
.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--fg-soft);
  max-width: 48ch;
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

/* ───────────── buttons ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.section--deep .btn--ghost { color: #E7ECF1; border-color: rgba(255,255,255,0.28); }
.section--deep .btn--ghost:hover { background: #fff; color: var(--bg-deep); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
  transition: gap 0.3s var(--ease);
}
.tlink:hover { gap: 14px; }
.tlink .arr { transition: transform 0.3s var(--ease); }

/* ───────────── intro / two-column ───────────── */
.split {
  display: grid;
  gap: clamp(36px, 6vw, 80px);
}
@media (min-width: 860px) { .split { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.split__aside { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted); line-height: 1.9; }
.split__aside .num { color: var(--accent); }
.prose p + p { margin-top: 24px; }
.prose p { color: var(--fg-soft); font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.72; }

/* ───────────── manifesto ───────────── */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 300;
  max-width: 18ch;
  margin: 0 auto;
}
.manifesto__quote em { color: #4FB8E8; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.32;
  display: block;
  margin-bottom: 18px;
}
.manifesto__by {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A98A8;
  margin-top: 48px;
}

/* ───────────── cards (Think Blue 3-up) ───────────── */
.sec-head { max-width: 70ch; margin-bottom: clamp(48px, 7vw, 84px); }
.sec-head .lede { margin-top: 26px; }

.cards {
  display: grid;
  gap: 28px;
}
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px -4px rgba(14,22,32,0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px -10px rgba(14,22,32,0.16); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--accent-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 28px 26px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.card__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; }
.card__text { font-size: 15.5px; line-height: 1.66; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 16px; }

/* ───────────── timeline ───────────── */
.timeline { display: grid; gap: 0; }
.tl-item {
  display: grid;
  gap: 8px 36px;
  padding: 40px 0;
  border-top: 1px solid var(--border-soft);
}
@media (min-width: 820px) {
  .tl-item { grid-template-columns: 200px 1fr; align-items: start; }
}
.tl-item:last-child { border-bottom: 1px solid var(--border-soft); }
.tl-marker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent); display: flex; gap: 14px; align-items: baseline; }
.tl-marker .step { font-family: var(--serif); font-size: 2.4rem; color: var(--fg); line-height: 1; opacity: 0.16; }
.section--deep .tl-marker .step { color: #fff; }
.tl-body h3 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; margin-bottom: 12px; }
.tl-body p { color: var(--fg-soft); font-size: 16.5px; line-height: 1.7; max-width: 62ch; }
.section--deep .tl-item { border-color: rgba(255,255,255,0.12); }
.section--deep .tl-body p { color: #AEB9C5; }

/* ───────────── stats ───────────── */
.stats { display: grid; gap: 8px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.stat { padding: 18px 0; }
@media (min-width: 700px) { .stat { padding: 0 32px; border-left: 1px solid rgba(255,255,255,0.14); } .stat:first-child { border-left: 0; padding-left: 0; } }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -0.02em; line-height: 1; }
.stat__num em { color: #4FB8E8; }
.stat__label { font-size: 14px; color: #9DA9B6; margin-top: 14px; line-height: 1.5; }

/* ───────────── feature list (services) ───────────── */
.flist { display: grid; gap: 0; }
.frow {
  display: grid;
  gap: 14px 40px;
  padding: clamp(34px, 5vw, 56px) 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 860px) { .frow { grid-template-columns: 90px 0.9fr 1.1fr; align-items: start; } }
.frow:last-child { border-bottom: 1px solid var(--border); }
.frow__idx { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.04em; }
.frow__title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.015em; line-height: 1.12; }
.frow__title small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.frow__desc p { color: var(--fg-soft); font-size: 16.5px; line-height: 1.72; }
.frow__desc ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.frow__desc li { font-size: 15px; color: var(--muted); padding-left: 22px; position: relative; }
.frow__desc li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ───────────── faq ───────────── */
.faq { display: grid; gap: 0; max-width: 880px; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq__icon::before { width: 16px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 16px; transition: transform 0.3s var(--ease); }
.faq__item[data-open="true"] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { padding: 0 0 30px; color: var(--fg-soft); font-size: 16.5px; line-height: 1.72; max-width: 64ch; }

/* ───────────── CTA band ───────────── */
.cta { text-align: center; }
.cta h2 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.025em; line-height: 1.05; font-weight: 300; max-width: 16ch; margin: 0 auto 30px; }
.cta h2 em { color: #4FB8E8; }
.cta .lede { margin: 0 auto 42px; text-align: center; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ───────────── contact form ───────────── */
.contact-grid { display: grid; gap: clamp(40px, 7vw, 80px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; } }
.contact-info dl { margin: 0; display: grid; gap: 30px; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.contact-info dd { margin: 0; font-size: 17px; color: var(--fg-soft); line-height: 1.6; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 16px;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ───────────── footer ───────────── */
.footer { background: var(--bg-deep); color: #C4CDD7; padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand { font-family: var(--serif); font-size: 1.7rem; color: #fff; margin-bottom: 18px; }
.footer__brand .brand__dot { color: var(--accent); }
.footer__tag { font-size: 15px; color: #93A0AD; max-width: 32ch; line-height: 1.6; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #6E7C8A; margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; font-size: 15px; color: #C4CDD7; padding: 6px 0; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  font-size: 13px;
  color: #7E8B98;
}
.footer__bottom a { color: #7E8B98; }
.footer__bottom a:hover { color: var(--accent); }

/* ───────────── reveal ───────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
}

/* ───────────── cookie popup ───────────── */
.cookie-popup { position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-end;justify-content:flex-start;padding:24px;background:rgba(14,22,32,0.4);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:opacity .3s; }
.cookie-popup[data-open="true"] { opacity:1;pointer-events:all; }
.cookie-popup__card { background:var(--bg);padding:32px 36px;max-width:480px;border-radius:6px;box-shadow:0 24px 70px -20px rgba(14,22,32,0.5); }
.cookie-popup__label { font-family:var(--mono);font-size:10px;letter-spacing:0.2em;text-transform:uppercase;color:var(--accent);margin-bottom:14px; }
.cookie-popup__card h3 { font-family:var(--serif);font-size:1.5rem;margin-bottom:14px;letter-spacing:-0.01em; }
.cookie-popup__card p { font-size:14.5px;line-height:1.65;color:var(--muted); }
.cookie-popup__card p a { color:var(--accent);text-decoration:underline; }
.cookie-popup__actions { display:flex;gap:12px;margin-top:22px; }
.cookie-popup__actions button { padding:11px 24px;border:1px solid var(--border);cursor:pointer;font-size:13px;font-family:var(--mono);letter-spacing:0.04em;border-radius:9999px;transition:background .25s,color .25s; }
.cookie-popup__actions button:first-child:hover { background:var(--bg-alt); }
.cookie-popup__actions button:last-child { background:var(--fg);color:var(--bg);border-color:var(--fg); }
.cookie-popup__actions button:last-child:hover { background:var(--accent);border-color:var(--accent); }

/* ───────────── legal pages ───────────── */
.legal { padding: clamp(120px, 16vw, 180px) 0 var(--pad); }
.legal__head { max-width: 760px; margin-bottom: 60px; }
.legal h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.025em; font-weight: 300; line-height: 1.05; margin-bottom: 22px; }
.legal__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.legal__body { max-width: 760px; }
.legal__body h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.015em; margin: 56px 0 18px; }
.legal__body h3 { font-family: var(--serif); font-size: 1.3rem; margin: 32px 0 12px; }
.legal__body p, .legal__body li { font-size: 16.5px; line-height: 1.75; color: var(--fg-soft); }
.legal__body p + p { margin-top: 18px; }
.legal__body ul { padding-left: 22px; margin: 18px 0; display: grid; gap: 10px; }
.legal__body a { color: var(--accent); text-decoration: underline; }

/* thank-you */
.thanks { min-height: 86vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks__mark { font-family: var(--serif); font-size: clamp(4rem, 10vw, 7rem); color: var(--accent); line-height: 1; margin-bottom: 28px; }
.thanks h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.025em; font-weight: 300; margin-bottom: 22px; }
.thanks p { color: var(--fg-soft); font-size: 1.1rem; margin-bottom: 38px; }
