/* =========================================================================
   WAGATORU — 2026 rebuild
   Priorities: legibility first, no decorative noise, Japanese-safe line breaks.
   ========================================================================= */

:root {
  --paper: #ffffff;
  --paper-2: #f5f8f6;
  --ink: #0b1f2a;
  --text: #33454f;
  --muted: #5c6e78;
  --accent: #0aa47c;
  --accent-deep: #08805f;
  --accent-soft: #e6f5f0;
  --blue: #2e8fd4;
  --warm: #e0983c;
  --dark: #0b1f2a;
  --accent-on-dark: #3fd6a6;
  --hair: #dde7e9;
  --hair-dark: rgba(255, 255, 255, 0.14);

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Noto Sans JP", "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.95;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
}

em {
  font-style: normal;
  color: var(--accent);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

/* Japanese-safe line breaking: each phrase wraps as a unit, never mid-phrase. */
.ph {
  display: inline-block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

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

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--hair);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.desktop-nav {
  display: flex;
  gap: 1.9rem;
  margin-left: auto;
  margin-right: 1.8rem;
}
.desktop-nav a {
  font-size: 0.92rem;
  color: var(--text);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--accent);
}
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  width: 100%;
}
.header-cta {
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease;
}
.header-cta:hover {
  background: var(--accent-deep);
}
.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.menu-button span {
  display: block;
  height: 1.5px;
  width: 24px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}
.mobile-menu {
  border-top: 1px solid var(--hair);
  background: var(--paper);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem var(--pad) 1.5rem;
}
.mobile-menu a {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--hair);
  font-size: 1rem;
}
.mobile-menu .mobile-contact {
  margin-top: 1.2rem;
  border: none;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.button:hover svg {
  transform: translateX(3px);
}
.button-primary {
  background: var(--accent);
  color: #fff;
}
.button-primary:hover {
  background: var(--accent-deep);
}
.button-ghost {
  border: 1px solid var(--hair);
  color: var(--ink);
}
.button-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* =========================================================================
   HERO — single column, no decorative figure
   ========================================================================= */
.hero {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
  padding-bottom: clamp(2.2rem, 5vw, 3.4rem);
}
.hero-eyebrow {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.42;
  font-weight: 700;
  margin-bottom: 1.6rem;
}
.hero-title .accent {
  color: var(--accent);
}
.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 2.4rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3.2rem;
}
.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
}
.hero-proof dt {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.hero-proof dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.hero-proof dd b {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.hero-proof dd span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

/* =========================================================================
   SECTION SHELL
   ========================================================================= */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section-head {
  max-width: 800px;
  margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
}
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1.1rem;
  border-bottom: 2px solid var(--accent);
}
.eyebrow-light {
  color: var(--accent-on-dark);
  border-bottom-color: var(--accent-on-dark);
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}
.section-lead {
  font-size: clamp(0.98rem, 1.3vw, 1.05rem);
  line-height: 2.05;
  color: var(--muted);
}

/* =========================================================================
   ISSUE
   ========================================================================= */
.issue {
  background: var(--paper-2);
}
.issue-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.issue-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.issue-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--hair);
}
.issue-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.97rem;
  line-height: 1.9;
}
.issue-card li:last-child {
  margin-bottom: 0;
}
.issue-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
}
.issue-note {
  margin-top: 2rem;
  padding: 1.3rem 1.6rem;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

/* =========================================================================
   HERO STAGE — the signature: a sales conversation becoming a system.
   This is the product thesis performed, not decoration.
   ========================================================================= */
.stage {
  position: relative;
  margin: 0;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--ink);
  border-radius: 14px;
  box-shadow: 0 30px 70px -34px rgba(11, 31, 42, 0.7);
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(46, 143, 212, 0.22), transparent 60%);
  pointer-events: none;
}
.stage-caption {
  position: relative;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.stage-side {
  position: relative;
}
.stage-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.22rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}
.stage-human .stage-tag {
  color: var(--warm);
  background: rgba(224, 152, 60, 0.14);
}
.stage-system .stage-tag {
  color: var(--accent-on-dark);
  background: rgba(63, 214, 166, 0.14);
}

/* human fragments — offset, uneven, alive */
.fragments {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 132px;
}
.fragments li {
  align-self: flex-start;
  max-width: 92%;
  padding: 0.55rem 0.9rem;
  border-radius: 12px 12px 12px 3px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  line-height: 1.6;
  color: #d6e2e6;
  opacity: 0;
  transform: translateY(8px);
  animation: fragIn 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.fragments li:nth-child(1) {
  animation-delay: 0.2s;
  margin-left: 0;
}
.fragments li:nth-child(2) {
  animation-delay: 0.9s;
  margin-left: 1.4rem;
}
.fragments li:nth-child(3) {
  animation-delay: 1.6s;
  margin-left: 0.5rem;
}
@keyframes fragIn {
  0% { opacity: 0; transform: translateY(8px); }
  8%, 42% { opacity: 1; transform: translateY(0); }
  52% { opacity: 0.18; transform: translateY(-4px); }
  92%, 100% { opacity: 0; transform: translateY(8px); }
}

/* the transform beam */
.stage-beam {
  position: relative;
  height: 34px;
  margin: 0.5rem 0 0.9rem;
  display: grid;
  place-items: center;
}
.stage-beam::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}
.stage-beam span {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(10, 164, 124, 0.16);
  animation: beamPulse 9s ease-in-out infinite;
}
.stage-beam span::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: translateY(-2px) rotate(45deg);
}
@keyframes beamPulse {
  0%, 40% { transform: scale(0.86); opacity: 0.45; }
  50% { transform: scale(1); opacity: 1; }
  62%, 100% { transform: scale(0.86); opacity: 0.45; }
}

/* structured output — aligned, machine-clean */
.structured {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  min-height: 132px;
}
.structured > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.62rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0;
  transform: translateX(-6px);
  animation: rowIn 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.structured > div:last-child {
  border-bottom: none;
}
.structured > div:nth-child(1) { animation-delay: 0s; }
.structured > div:nth-child(2) { animation-delay: 0.15s; }
.structured > div:nth-child(3) { animation-delay: 0.3s; }
.structured dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #8fa5ae;
}
.structured dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-on-dark);
}
@keyframes rowIn {
  0%, 52% { opacity: 0; transform: translateX(-6px); }
  60%, 92% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-6px); }
}

/* =========================================================================
   WORK — interactive tabs. Each tool shows what it actually produces.
   ========================================================================= */
.work-tabs {
  border: 1px solid var(--hair);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}
.tab-list {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--hair);
  background: var(--paper-2);
  scrollbar-width: thin;
}
.tab-list button {
  flex: 1 1 auto;
  min-width: max(180px, 33.333% - 1px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.3rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tab-list button:hover {
  color: var(--ink);
  background: rgba(10, 164, 124, 0.05);
}
.tab-list button.is-active {
  color: var(--accent-deep);
  background: var(--paper);
  border-bottom-color: var(--accent);
}
.tab-no {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0.75;
}
.tab-body {
  position: relative;
}
.tab-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  align-items: center;
}
.tab-panel[hidden] {
  display: none;
}
.tab-panel.is-active {
  animation: panelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.panel-copy h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}
.panel-copy > p {
  font-size: 0.97rem;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.panel-points {
  border-top: 1px solid var(--hair);
  padding-top: 1rem;
}
.panel-points li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--text);
}
.panel-points li:last-child { margin-bottom: 0; }
.panel-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 5px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---- real product screenshots ------------------------------------------ */
.shot {
  margin: 0;
}
.shot-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: var(--paper);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.shot-zoom:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 40px -22px rgba(11, 31, 42, 0.45);
}
.shot-zoom img {
  width: 100%;
  height: auto;
}
.shot-icon {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 31, 42, 0.82);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.shot-zoom:hover .shot-icon,
.shot-zoom:focus-visible .shot-icon {
  opacity: 1;
  transform: none;
}
.shot-icon svg {
  width: 17px;
  height: 17px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.shot figcaption {
  margin-top: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: right;
}

/* ---- lightbox ----------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 16, 22, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.lightbox[hidden] {
  display: none;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.lightbox-close {
  position: absolute;
  top: clamp(0.8rem, 3vw, 1.6rem);
  right: clamp(0.8rem, 3vw, 1.6rem);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.lightbox-close svg {
  width: 19px;
  height: 19px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* work CTA */
.work-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.6rem;
  padding: 1.5rem 1.8rem;
  background: var(--accent-soft);
  border-radius: 12px;
}
.work-cta p { font-size: 0.97rem; line-height: 1.9; color: var(--text); }
.work-cta strong { color: var(--ink); }

/* =========================================================================
   SERVICES
   ========================================================================= */
.services {
  background: var(--paper-2);
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.service-card {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.3rem);
}
.service-title h3 {
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.service-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}
.service-body > p {
  font-size: 0.97rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.service-body ul {
  border-top: 1px solid var(--hair);
  padding-top: 1rem;
}
.service-body li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--muted);
}
.service-body li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.85em;
  width: 7px;
  height: 2px;
  background: var(--accent);
}

/* =========================================================================
   APPROACH
   ========================================================================= */
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.approach-steps li {
  padding-top: 1.2rem;
  border-top: 2px solid var(--ink);
}
.step-no {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.approach-steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.approach-steps p {
  font-size: 0.93rem;
  line-height: 1.95;
  color: var(--muted);
}

/* =========================================================================
   FOUNDER + RECORD (dark)
   ========================================================================= */
.founder {
  background: var(--dark);
  color: #dde6e1;
}
.founder h2,
.founder h3 {
  color: #fff;
}
.founder em {
  color: var(--accent-on-dark);
}
.founder .section-lead {
  color: #a9b8b1;
}
.founder-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) 1fr;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: start;
}
.founder-profile {
  position: sticky;
  top: 100px;
}
.founder-profile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius);
}
.founder-name {
  margin-top: 1.1rem;
}
.founder-name strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.founder-name span {
  font-size: 0.85rem;
  color: #9fb0a8;
}
.record-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hair-dark);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 2rem;
}
.record-metrics > div {
  background: var(--dark);
  padding: 1.2rem 1.4rem;
}
.record-metrics dt {
  font-size: 0.83rem;
  color: #9fb0a8;
  margin-bottom: 0.35rem;
}
.record-metrics dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-on-dark);
}
.career {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.career h3 {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
}
.career h3 span {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-on-dark);
  margin-top: 0.3rem;
}
.career p {
  font-size: 0.95rem;
  line-height: 2;
  color: #b7c5be;
}
.founder-message {
  margin: 0;
  padding: 1.6rem 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent-on-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.founder-message p {
  font-size: 0.95rem;
  line-height: 2.05;
  color: #cdd9d4;
  margin-bottom: 1rem;
}
.founder-message footer {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: #fff;
}
.record-disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair-dark);
  font-size: 0.82rem;
  line-height: 1.9;
  color: #8c9c95;
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact {
  background: var(--paper-2);
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact-detail {
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--hair);
}
.contact-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-detail h3 {
  font-size: 0.98rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.contact-detail p {
  font-size: 0.94rem;
  line-height: 1.95;
  color: var(--muted);
}
.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
}
.honeypot {
  position: absolute;
  left: -9999px;
}
.form-row {
  display: block;
  margin-bottom: 1.2rem;
}
.form-row.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.form-row label,
.contact-form-wrap label {
  display: block;
}
.contact-form-wrap label > span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.contact-form-wrap label > span b {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: 1px;
}
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: var(--paper);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.contact-form-wrap textarea {
  line-height: 1.85;
  resize: vertical;
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.privacy-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}
.privacy-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.privacy-check a {
  color: var(--accent);
  text-decoration: underline;
}
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.submit-button:hover:not(:disabled) {
  background: var(--accent-deep);
}
.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.submit-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  text-align: center;
  color: var(--muted);
}
.form-status.is-error {
  color: #b3261e;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--dark);
  color: #b7c5be;
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: #fff;
}
.footer-brand span {
  font-size: 0.82rem;
  color: #8c9c95;
}
.footer-vision {
  font-size: 0.93rem;
  line-height: 1.9;
  color: #a9b8b1;
}
.footer-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--hair-dark);
}
.footer-nav a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--accent-on-dark);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--hair-dark);
  font-size: 0.82rem;
  color: #8c9c95;
}
.footer-base a:hover {
  color: var(--accent-on-dark);
}

/* =========================================================================
   BACK TO TOP
   ========================================================================= */
.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top svg {
  width: 19px;
  height: 19px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================================
   REVEAL
   ========================================================================= */
.no-js .reveal {
  opacity: 1;
  transform: none;
}
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-1 {
  transition-delay: 0.08s;
}
.reveal-2 {
  transition-delay: 0.16s;
}
.reveal-3 {
  transition-delay: 0.24s;
}
.reveal-4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fragments li,
  .structured > div,
  .stage-beam span,
  .tab-panel.is-active {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 960px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 1rem;
  }
  .tab-panel {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .panel-visual {
    order: -1;
  }
  .menu-button {
    display: flex;
  }
  .issue-columns,
  .contact-layout,
  .founder-layout {
    grid-template-columns: 1fr;
  }
  .approach-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .founder-profile {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 200px) 1fr;
    gap: 1.4rem;
    align-items: center;
  }
  .founder-profile img {
    aspect-ratio: 1 / 1;
  }
  .founder-name {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.9;
  }
  .hero-proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem 1rem;
  }
  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }
  .approach-steps {
    grid-template-columns: 1fr;
  }
  .tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .tab-list button {
    flex: 0 0 auto;
    min-width: 0;
    padding: 0.85rem 1rem;
    font-size: 0.86rem;
  }
  .stage { padding: 1.1rem; }
  .fragments li { font-size: 0.82rem; max-width: 100%; }
  .structured > div { grid-template-columns: 5.2rem 1fr; }
  .work-cta { flex-direction: column; align-items: stretch; }
  .work-cta .button { justify-content: center; }
  .record-metrics,
  .form-row.two-columns {
    grid-template-columns: 1fr;
  }
  .founder-profile {
    grid-template-columns: minmax(0, 140px) 1fr;
    gap: 1.1rem;
  }
  .founder-name strong {
    font-size: 1.1rem;
  }
  .founder-message {
    padding: 1.3rem 1.2rem;
  }
  .contact-form-wrap,
  .issue-card,
  .service-card {
    padding: 1.4rem 1.2rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}
