/* ============================================
   SigB — Engineering Signals
   Stylesheet: warm/organic editorial aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT@9..144,300..900,30..100&family=Manrope:wght@300..800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Palette — warm/organic */
  --paper:        #F4E9D2;
  --paper-soft:   #EFE0BF;
  --paper-warm:   #E9D2A0;
  --ink:          #1B1108;
  --ink-soft:     #3A2814;
  --honey:        #C97817;
  --honey-bright: #ECA227;
  --honey-deep:   #8C4E0A;
  --cosmos:       #1F2A4A;
  --rose-clay:    #B85C42;
  --line:         rgba(27, 17, 8, 0.14);
  --line-strong:  rgba(27, 17, 8, 0.42);

  /* Type */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body:    'Manrope', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Sizing rhythm */
  --gutter:   clamp(20px, 4vw, 56px);
  --maxw:     1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle paper grain — sits beneath everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(rgba(27,17,8,0.06) 1px, transparent 1px),
    radial-gradient(rgba(27,17,8,0.04) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

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

img, svg { display: block; max-width: 100%; }

/* ============================================
   Layout primitives
   ============================================ */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--honey-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--honey);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(244, 233, 210, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 30px;
  font-variation-settings: "SOFT" 100, "opsz" 60;
  letter-spacing: -0.01em;
}

.brand svg { width: 40px; height: 40px; }

.brand-mark { color: var(--honey); }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 2px;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--honey-deep); }

.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--honey);
  border-radius: 1px;
}

.nav-cta {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--honey-deep);
  border-color: var(--honey-deep);
  color: var(--paper) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  padding: clamp(60px, 9vw, 130px) 0 clamp(80px, 11vw, 160px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}

.hero-meta {
  display: flex;
  gap: 26px;
  margin-bottom: 36px;
  align-items: center;
}

.hero-meta .id {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "SOFT" 80, "opsz" 144;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero h1 .row { display: block; overflow: visible; padding-bottom: 0.05em; }
.hero h1 .word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero h1 .word.delay-1 { animation-delay: 0.1s; }
.hero h1 .word.delay-2 { animation-delay: 0.25s; }

.hero h1 em {
  font-style: italic;
  font-weight: 350;
  color: var(--honey);
  font-variation-settings: "SOFT" 30, "opsz" 144;
}

.hero h1 .dot {
  display: inline-block;
  color: var(--honey);
  position: relative;
}
.hero h1 .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--honey);
  animation: pulse 2.6s ease-in-out infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes rise {
  to { transform: translateY(0); }
}

@keyframes pulse {
  0%   { transform: scale(0.8); opacity: 0.0; }
  50%  { transform: scale(1.6); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0.0; }
}

.hero-side {
  align-self: end;
  padding-bottom: 8px;
  opacity: 0;
  animation: fadeUp 1.1s ease 0.6s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-lede {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "SOFT" 80, "opsz" 30;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.35;
  margin-bottom: 28px;
  color: var(--ink-soft);
  max-width: 38ch;
}

.hero-lede em {
  font-style: italic;
  color: var(--honey-deep);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-cta:hover {
  background: var(--honey-deep);
  transform: translateY(-2px);
}

.hero-cta .arrow {
  transition: transform 0.4s;
}

.hero-cta:hover .arrow {
  transform: translateX(4px);
}

/* Hexagon lattice — decorative background */
.hex-lattice {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

.hex-lattice.tr {
  top: -40px;
  right: -60px;
  width: 380px;
}

.hex-lattice.bl {
  bottom: -60px;
  left: -60px;
  width: 280px;
  opacity: 0.35;
}

/* Signal waveform under hero */
.hero-signal {
  position: absolute;
  left: 0; right: 0;
  bottom: 30px;
  height: 80px;
  pointer-events: none;
  z-index: 1;
}

.hero-signal svg {
  width: 100%;
  height: 100%;
}

.hero-signal path {
  fill: none;
  stroke: var(--honey);
  stroke-width: 1.2;
  opacity: 0.6;
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  animation: drawSignal 3.5s ease 0.9s forwards;
}

@keyframes drawSignal {
  to { stroke-dashoffset: 0; }
}

/* ============================================
   Marquee strip (between sections)
   ============================================ */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  font-family: var(--display);
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "SOFT" 50, "opsz" 60;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 60px;
}

.marquee-item::after {
  content: "✻";
  color: var(--honey);
  font-size: 18px;
  font-style: normal;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============================================
   Concept section
   ============================================ */

.concept {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.concept-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.concept-visual svg {
  width: 100%;
  height: 100%;
}

.section-title {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "SOFT" 70, "opsz" 100;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 18px 0 28px;
}

.section-title em {
  font-style: italic;
  color: var(--honey-deep);
  font-variation-settings: "SOFT" 30, "opsz" 100;
}

.concept p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 52ch;
}

.concept p strong {
  color: var(--ink);
  font-weight: 600;
}

.concept-equation {
  margin-top: 36px;
  padding: 22px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--paper-soft);
}

.concept-equation .eq-honey { color: var(--honey-deep); font-weight: 500; }
.concept-equation .eq-op    { color: var(--ink-soft); }

/* ============================================
   Pillars — what we're building
   ============================================ */

.pillars {
  padding: clamp(80px, 11vw, 140px) 0;
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.pillars-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}

.pillars-head p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 50ch;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.pillar {
  padding: 38px 32px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s;
}

.pillar:nth-child(3n) { border-right: 0; }
.pillar:hover { background: var(--paper); }

.pillar-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--honey-deep);
  margin-bottom: 24px;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  color: var(--honey);
}

.pillar h3 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 60, "opsz" 60;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}

.pillar p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ============================================
   CTA section
   ============================================ */

.cta-band {
  padding: clamp(80px, 11vw, 140px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band .section-title {
  max-width: 18ch;
  margin: 18px auto 28px;
}

.cta-band p {
  max-width: 50ch;
  margin: 0 auto 36px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

.cta-band .hex-lattice {
  bottom: -100px;
  right: -80px;
  width: 380px;
  opacity: 0.3;
}

.cta-band .hex-lattice.left {
  left: -80px;
  top: -100px;
  bottom: auto;
  right: auto;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 36px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 70px;
}

.footer .brand {
  color: var(--paper);
  margin-bottom: 22px;
}

.footer-tag {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "SOFT" 80, "opsz" 30;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(244, 233, 210, 0.7);
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey-bright);
  margin-bottom: 22px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(244, 233, 210, 0.78);
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--honey-bright); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(244, 233, 210, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(244, 233, 210, 0.55);
}

/* ============================================
   Page hero (interior pages)
   ============================================ */

.page-hero {
  padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 90px);
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "SOFT" 90, "opsz" 144;
  font-size: clamp(48px, 9vw, 130px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: 22px;
  margin-bottom: 30px;
  max-width: 14ch;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--honey);
  font-variation-settings: "SOFT" 30, "opsz" 144;
}

.page-hero p.lede {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "SOFT" 70, "opsz" 30;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 52ch;
}

.page-hero .hex-lattice {
  top: 30px;
  right: -60px;
  width: 320px;
  opacity: 0.4;
}

/* ============================================
   About page — story
   ============================================ */

.story {
  padding: clamp(60px, 9vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.story-grid h2 {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "SOFT" 70, "opsz" 60;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  position: sticky;
  top: 100px;
}

.story-body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.story-body p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 5em;
  font-weight: 400;
  font-variation-settings: "SOFT" 70, "opsz" 144;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 -2px;
  color: var(--honey-deep);
}

.story-body p strong {
  color: var(--ink);
  font-weight: 600;
}

.story-pull {
  margin: 50px 0;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--display);
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "SOFT" 50, "opsz" 60;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Values list */
.values {
  padding: clamp(60px, 9vw, 110px) 0;
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
}

.values-list {
  list-style: none;
  border-top: 1px solid var(--line-strong);
  margin-top: 60px;
}

.value-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.3s, padding-left 0.3s;
}

.value-row:hover {
  background: var(--paper);
  padding-left: 16px;
}

.value-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--honey-deep);
  letter-spacing: 0.1em;
}

.value-row h3 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 60, "opsz" 60;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.value-row p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ============================================
   Services page
   ============================================ */

.services {
  padding: clamp(60px, 9vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.6fr;
  gap: clamp(30px, 5vw, 70px);
  padding: 50px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  position: relative;
}

.service:last-child { border-bottom: 1px solid var(--line); }

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--honey-deep);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.service-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--honey);
}

.service-body h3 {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "SOFT" 70, "opsz" 100;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.service-body h3 em {
  font-style: italic;
  color: var(--honey-deep);
  font-variation-settings: "SOFT" 30, "opsz" 100;
}

.service-body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 56ch;
}

.service-body ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.service-body li {
  font-family: var(--mono);
  font-size: 11px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.service-mark {
  width: 100%;
  aspect-ratio: 1;
  max-width: 140px;
  color: var(--honey);
  justify-self: end;
  opacity: 0.85;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service:hover .service-mark {
  transform: rotate(20deg);
}

/* ============================================
   Contact page
   ============================================ */

.contact {
  padding: clamp(40px, 7vw, 90px) 0 clamp(80px, 11vw, 140px);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 90px);
}

.contact-info h2 {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "SOFT" 70, "opsz" 60;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 22px;
}

.contact-info p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 40ch;
}

.contact-method {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.contact-method:last-child { border-bottom: 1px solid var(--line); }

.contact-method .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 8px;
}

.contact-method .value {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "SOFT" 60, "opsz" 30;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s;
  display: inline-block;
}

a.contact-method .value:hover { color: var(--honey-deep); }

/* Form */
.contact-form {
  background: var(--paper-soft);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
}

.contact-form .form-title {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 60, "opsz" 60;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--line-strong);
  background: transparent;
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.3s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--honey-deep);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--body);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.4s;
}

.submit:hover {
  background: var(--honey-deep);
  transform: translateY(-2px);
}

.form-note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ============================================
   Reveal on scroll
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 980px) {
  .hero-grid,
  .concept-grid,
  .pillars-head,
  .footer-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pillar { border-right: 0 !important; }

  .service {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-mark { max-width: 90px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .story-grid h2 { position: static; }

  .footer-grid { gap: 40px; }

  .value-row {
    grid-template-columns: 60px 1fr;
    gap: 18px;
  }
  .value-row p { grid-column: 2; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 28px var(--gutter);
    gap: 22px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }

  .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .marquee-item { font-size: 22px; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
