/* =====================================================================
   INTELLIGENT OPERATIONS CO.
   Bright orange. Pure white. Bold black. Simple. Direct.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #F7F4EE;
  --bg-canvas: #FAF8F2;
  --bg-soft: #F1EDE5;
  --line: #E5DFD3;
  --line-strong: #C8C0AF;

  --ink: #0F0F0F;
  --ink-2: #2A2A2A;
  --ink-soft: #5A5A5A;
  --ink-mute: #8A8A8A;

  --dot: rgba(15, 15, 15, 0.10);

  --orange: #FF5A1F;
  --orange-deep: #E84A0F;
  --orange-bright: #FF7848;
  --orange-soft: #FFD9C2;
  --orange-wash: #FFF1E5;

  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 3px rgba(15, 15, 15, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 15, 15, 0.08);
  --shadow-lg: 0 24px 56px rgba(15, 15, 15, 0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Dotted grid background pattern + subtle radial vignette for atmosphere */
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 90, 31, 0.04), transparent 60%),
    radial-gradient(circle at var(--dot-size, 1px) var(--dot-size, 1px), var(--dot) 1px, transparent 1px);
  background-size:
    100% 100%,
    24px 24px;
  background-attachment: fixed, fixed;
  background-position: 0 0, 0 0;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--orange); color: white; }

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

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(247, 244, 238, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s var(--ease);
}
.nav.scrolled { background: rgba(247, 244, 238, 0.96); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__mark svg { width: 100%; height: 100%; }
.brand em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); letter-spacing: -0.01em; }

.nav__links { display: flex; gap: 2rem; list-style: none; }
.nav__links a {
  font-size: 0.92rem; font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.18s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a.active { font-weight: 600; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.92rem; font-weight: 600;
  padding: 0.7rem 1.15rem;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  transition: all 0.2s var(--ease);
}
.nav__cta:hover { background: var(--orange); transform: translateY(-1px); }

/* Language toggle — small mono pair beside CTA */
.nav__lang {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0 0.75rem 0 1rem;
  color: var(--ink-mute);
}
.nav__lang a {
  color: var(--ink-mute);
  padding: 0.25rem 0.35rem;
  transition: color 0.18s var(--ease);
}
.nav__lang a:hover { color: var(--ink); }
.nav__lang a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__lang > span { opacity: 0.4; }

.nav__toggle { display: none; }
@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__lang { font-size: 0.68rem; margin: 0 0.5rem 0 auto; }
  .nav__toggle { display: flex; flex-direction: column; gap: 5px; width: 28px; padding: 6px; }
  .nav__toggle span { width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
  .nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.menu-open .nav__toggle span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav.menu-open .nav__links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-canvas);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--gutter); gap: 1.25rem;
  }
  .nav.menu-open .nav__cta { display: inline-flex; margin: 0.5rem var(--gutter) 1.5rem; align-self: flex-start; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 8.5rem 0 4rem;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.hero__head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--orange);
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.1s forwards;
}
.hero__eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}
.hero__eyebrow::after { display: none; }

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span { display: inline-block; transform: translateY(105%); opacity: 0; }
.hero__title .line:nth-child(1) span { animation: heroRise 1s var(--ease) 0.15s forwards; }
.hero__title .line:nth-child(2) span { animation: heroRise 1s var(--ease) 0.28s forwards; }
.hero__title .line:nth-child(3) span { animation: heroRise 1s var(--ease) 0.41s forwards; }
.hero__title .line:nth-child(4) span { animation: heroRise 1s var(--ease) 0.54s forwards; }
.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.02em;
  position: relative;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: -0.05em;
  left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  animation: underline-draw 1.2s var(--ease) 1.1s forwards;
  opacity: 0.8;
}

@keyframes underline-draw {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.hero__sub {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.22rem;
  color: var(--ink-soft);
  line-height: 1.5;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.85s forwards;
}

/* ===== HERO CHIPS (technical spec-sheet style) ===== */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 1.75rem;
  max-width: 1180px;
  margin: 2.25rem auto 3rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.85s forwards;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.5rem 0.95rem 1.25rem;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  /* Orange margin rule on the left edge */
  border-left: 2px solid var(--orange);
  transition: all 0.22s var(--ease);
}

/* Hairline corner ticks — top-right corner only, like spec sheets */
.chip::after {
  content: '';
  position: absolute;
  top: 7px; right: 7px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--ink-mute);
  border-right: 1px solid var(--ink-mute);
  opacity: 0.4;
  transition: all 0.22s var(--ease);
}

.chip__main {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.chip__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.chip__label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--ink);
  border-left-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 15, 15, 0.08);
}
.chip:hover .chip__icon { color: var(--orange); }
.chip:hover::after { border-color: var(--orange); opacity: 1; }

@media (max-width: 640px) {
  .hero__chips { gap: 1rem 1rem; }
  .chip { padding: 0.8rem 1.2rem 0.8rem 1rem; }
  .chip__label { font-size: 0.88rem; }
  .chip__icon { width: 20px; height: 20px; }
}

/* ===== ICON ANIMATIONS (subtle, ambient) ===== */

/* Brain — sparks pulse around it */
.brain-spark-1 {
  transform-origin: 25px 6px;
  animation: spark-pulse 2.4s ease-in-out infinite;
}
.brain-spark-2 {
  transform-origin: 3px 23px;
  animation: spark-pulse 2.4s ease-in-out 0.8s infinite;
}
.brain-spark-3 {
  transform-origin: 23px 20px;
  animation: spark-pulse 2.4s ease-in-out 1.6s infinite;
}

@keyframes spark-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.7); }
  50%      { opacity: 1;   transform: scale(1.2); }
}

/* Network nodes — center pulses, outer nodes blink in sequence */
.node-center {
  transform-origin: 14px 14px;
  animation: node-pulse 2.2s ease-in-out infinite;
}
.node-1 { animation: node-blink 3.2s ease-in-out 0s infinite; transform-origin: 6px 7px; }
.node-2 { animation: node-blink 3.2s ease-in-out 0.6s infinite; transform-origin: 22px 7px; }
.node-3 { animation: node-blink 3.2s ease-in-out 1.2s infinite; transform-origin: 6px 21px; }
.node-4 { animation: node-blink 3.2s ease-in-out 1.8s infinite; transform-origin: 22px 21px; }

@keyframes node-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.25); }
}
@keyframes node-blink {
  0%, 80%, 100% { opacity: 0.4; }
  20%, 60%      { opacity: 1; }
}

/* Gear — rotates slowly */
.gear-rotate {
  transform-origin: 14px 14px;
  animation: gear-spin 14s linear infinite;
}
@keyframes gear-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Code brackets — gentle bounce */
.code-bracket-l, .code-bracket-r {
  animation: bracket-nudge 3s ease-in-out infinite;
}
.code-bracket-r { animation-delay: 1.5s; }
@keyframes bracket-nudge {
  0%, 100% { opacity: 0.65; }
  50%      { opacity: 1; }
}

/* Chart — bars subtly rise */
.chart-bar {
  transform-origin: bottom;
  animation: bar-rise 3.6s ease-in-out infinite;
}
.bar-1 { animation-delay: 0s; }
.bar-2 { animation-delay: 0.2s; }
.bar-3 { animation-delay: 0.4s; }
.bar-4 { animation-delay: 0.6s; }
.bar-5 { animation-delay: 0.8s; }
.chart-dot {
  transform-origin: 23px 7px;
  animation: dot-pulse 2.8s ease-in-out infinite;
}
@keyframes bar-rise {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.7); }
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.7; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .brain-spark-1, .brain-spark-2, .brain-spark-3,
  .node-center, .node-1, .node-2, .node-3, .node-4,
  .gear-rotate, .code-bracket-l, .code-bracket-r,
  .chart-bar, .chart-dot {
    animation: none;
  }
}

.hero__cta {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: rise 0.8s var(--ease) 1.2s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.96rem; font-weight: 600;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  transition: all 0.2s var(--ease);
  letter-spacing: -0.005em;
}
.btn--primary { background: var(--orange); color: white; }
.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 90, 31, 0.32);
}
.btn--primary svg { transition: transform 0.2s var(--ease); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ink { background: var(--ink); color: white; }
.btn--ink:hover { background: var(--ink-2); transform: translateY(-1px); }

.btn--ghost {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--lg { padding: 1.15rem 2rem; font-size: 1rem; }

/* Hero image */
.hero__image {
  margin-top: 4rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  opacity: 0;
  animation: rise 1s var(--ease) 0.5s forwards;
}
.hero__image img { width: 100%; height: auto; display: block; }

/* ===== RECOGNITION SECTION ===== */
.recognition {
  padding: clamp(5rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recognition__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.recognition__head h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 1rem;
}
.recognition__head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}
.recognition__head p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto;
}

.scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 720px) { .scenarios { grid-template-columns: 1fr; } }

.scenario {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
}
.scenario:hover {
  border-color: var(--orange-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.scenario__icon {
  width: 38px; height: 38px;
  background: var(--orange-wash);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--orange);
  flex-shrink: 0;
}
.scenario__text {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}
.scenario__text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  font-size: 1.1em;
}

/* ===== SHIFT ===== */
.section { padding: clamp(5rem, 9vw, 7rem) 0; }

.section__head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section__head--minimal {
  margin-bottom: 2rem;
}
.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.section__tag::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 1rem;
}
.section__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}
.section__lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto;
}

/* ===== SHIFT (emblem + 3-column summary) ===== */
.shift-section { background: var(--bg); }

.emblem {
  margin: 0 auto 4rem;
  max-width: 1240px;
  padding: 2rem clamp(1rem, 3vw, 2.5rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.emblem img { width: 100%; height: auto; display: block; }

.shift-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 860px) {
  .shift-summary { grid-template-columns: 1fr; }
}

.shift-summary__col {
  padding: 1.75rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.shift-summary__col:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-soft);
}
.shift-summary__col--accent {
  background: linear-gradient(160deg, var(--orange-wash), white);
  border-color: var(--orange-soft);
}

.shift-summary__text {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 0.75rem;
}

/* ===== Shared shift label styles (used on emblem section + about.html) ===== */
.shift__label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0;
  padding: 0.4rem 0.85rem;
  background: var(--bg-soft);
  color: var(--ink-mute);
  border-radius: 999px;
}
.shift__label--accent {
  background: var(--orange-wash);
  color: var(--orange);
}
.shift__label--solid {
  background: var(--ink);
  color: white;
}

/* ===== SHIFT card layout (still used on about.html for Mission/Vision) ===== */
.shift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 860px) { .shift { grid-template-columns: 1fr; } }

.shift__card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.shift__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shift__body { padding: 2rem 2rem 2.25rem; }

.shift__title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  margin-top: 1rem;
}

/* ===== BIG TAGLINE BAND ===== */
.tagline {
  padding: clamp(6rem, 10vw, 9rem) 0;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.tagline::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 700px; height: 700px;
  background: var(--orange);
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  pointer-events: none;
}

.tagline__text {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  position: relative;
  z-index: 1;
  text-align: center;
}
.tagline__text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange-bright);
  letter-spacing: -0.025em;
}

/* ===== SERVICES (simple grid) ===== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

.service {
  padding: 2rem 1.75rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.25s var(--ease);
}
.service:hover {
  border-color: var(--orange-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service__icon {
  width: 48px; height: 48px;
  background: var(--orange-wash);
  color: var(--orange);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
  transition: all 0.25s var(--ease);
}
.service:hover .service__icon { background: var(--orange); color: white; }

.service__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.service__desc {
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ===== STEPS (how it works) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 1.75rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.25s var(--ease);
}
.step:hover { border-color: var(--orange-soft); transform: translateY(-3px); }

.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.step:hover .step__num { background: var(--orange); }

.step__title { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.step__desc { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }

/* ===== WHY NOW (big stat block) ===== */
.why-now {
  background: var(--orange-wash);
  padding: clamp(5rem, 9vw, 7rem) 0;
}
.why-now__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.why-now__big {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.why-now__big em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}
.why-now__body {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ===== VALUES ===== */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.value {
  padding: 2.25rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.value:hover { border-color: var(--orange-soft); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.value__icon {
  width: 52px; height: 52px;
  background: var(--orange-wash);
  color: var(--orange);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 1.5rem;
  transition: all 0.25s var(--ease);
}
.value:hover .value__icon { background: var(--orange); color: white; }

.value__name { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.value__desc { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }

/* ===== BIG CTA ===== */
.cta-section { padding: clamp(5rem, 9vw, 7rem) 0; }
.cta-section__inner {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  background: var(--ink);
  color: white;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.cta-section__inner::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 400px; height: 400px;
  background: var(--orange);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
}
.cta-section__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  color: white;
}
.cta-section__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange-bright);
}
.cta-section__sub {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto 2.25rem;
  max-width: 540px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.cta-section .btn { position: relative; z-index: 1; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-soft); padding: 4rem 0 2rem; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }

.footer__brand-section { max-width: 360px; }
.footer__big-mark {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.footer__big-mark em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }

.footer__tag { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55; margin-bottom: 1.25rem; }
.footer__location {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; color: var(--ink-soft); font-weight: 500;
}
.footer__location svg { color: var(--orange); }

.footer__col h4 { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 1.25rem; font-weight: 700; text-transform: uppercase; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { color: var(--ink-soft); font-size: 0.95rem; transition: color 0.18s var(--ease); }
.footer__col a:hover { color: var(--orange); }

.footer__base { border-top: 1px solid var(--line); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-mute); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.07s; }
.reveal--d2 { transition-delay: 0.14s; }
.reveal--d3 { transition-delay: 0.21s; }
.reveal--d4 { transition-delay: 0.28s; }

/* ===== KEYFRAMES ===== */
@keyframes heroRise { 0% { transform: translateY(105%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes rise { 0% { transform: translateY(18px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.6); } }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 9rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.page-hero__eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}
.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.page-hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.page-hero__sub { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; margin: 0 auto; line-height: 1.55; }

/* ===== SERVICES PAGE ===== */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.svc-detail:last-child { border-bottom: none; }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; gap: 2rem; } }
.svc-detail__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--orange-wash);
  color: var(--orange);
  border-radius: 14px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.svc-detail__num em { display: none; }

.svc-detail__label {
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1rem;
  text-transform: none;
}

.svc-detail__title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.svc-detail__title em { color: var(--orange); }
.svc-detail__desc { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.65; margin: 1rem 0 2rem; max-width: 580px; }
.svc-detail__list { display: grid; grid-template-columns: repeat(2, 1fr); list-style: none; border-top: 1px solid var(--line); }
@media (max-width: 540px) { .svc-detail__list { grid-template-columns: 1fr; } }
.svc-detail__list li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 0.96rem; font-weight: 500; display: flex; align-items: center; gap: 0.6rem; }
.svc-detail__list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

/* ===== ABOUT PAGE ===== */
.founder { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.founder__visual {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--orange), var(--orange-deep));
  border-radius: var(--radius-xl);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.founder__visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 20% 20%, rgba(255,255,255,0.25), transparent 60%);
}
.founder__mark { font-family: var(--serif); font-style: italic; font-size: 13rem; color: white; line-height: 0.85; font-weight: 400; position: relative; }
.founder__text h3 { font-size: 0.78rem; font-weight: 700; color: var(--orange); margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.06em; }
.founder__text .big { font-family: var(--serif); font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 1.75rem; }
.founder__text .big em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.founder__text p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.15rem; }
.founder__stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.founder__stat strong { font-size: 2.75rem; font-weight: 700; color: var(--ink); letter-spacing: -0.035em; display: block; line-height: 1; margin-bottom: 0.4rem; }
.founder__stat strong em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.founder__stat span { font-size: 0.88rem; color: var(--ink-soft); font-weight: 500; }

/* ===== CONTACT PAGE ===== */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__info h3 { font-size: 0.78rem; font-weight: 700; color: var(--orange); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact__info .big { font-family: var(--serif); font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 2rem; }
.contact__info .big em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.contact__details { margin-top: 2.5rem; }
.contact__detail { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.contact__detail:first-child { border-top: 1px solid var(--line); }
.contact__detail span { font-size: 0.74rem; color: var(--ink-mute); display: block; margin-bottom: 0.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.contact__detail p { font-size: 1.05rem; color: var(--ink); font-weight: 500; }

.contact__form { background: white; border: 1px solid var(--line); padding: 2.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.5rem; }
.field input, .field textarea, .field select { width: 100%; background: white; border: 1.5px solid var(--line); padding: 0.85rem 1rem; font-family: var(--sans); font-size: 0.98rem; border-radius: 8px; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-wash); }
.field textarea { resize: vertical; min-height: 130px; }
.contact__form .btn { width: 100%; justify-content: center; }
.contact__form .btn:disabled { opacity: 0.65; cursor: default; }
.form-status { margin: 1rem 0 0; font-size: 0.92rem; line-height: 1.5; padding: 0.75rem 1rem; border-radius: 8px; }
.form-status--ok { color: #1B5E20; background: #EAF6EC; border: 1px solid #BFE3C4; }
.form-status--err { color: var(--orange-deep); background: var(--orange-wash); border: 1px solid var(--orange-soft); }
