/* Colla Futurity, LLC — collafuturity.com */

:root {
  --paper: #fbf8f4;
  --paper-2: #f4efe6;
  --card: #ffffff;
  --ink: #16151a;
  --ink-2: #3a3844;
  --muted: #6d6a78;
  --muted-2: #8f8b99;
  --line: #eae1d5;
  --line-2: #ddd2c1;
  --accent: #ff4f2b;
  --accent-deep: #d63c15;
  --accent-soft: #ffeae3;
  --navy: #191a3d;
  --navy-2: #23255a;
  --sun: #ffc247;
  --mint: #0f9b7a;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1180px;
  --shadow-sm: 0 2px 4px rgba(56, 38, 20, 0.04), 0 10px 24px -18px rgba(56, 38, 20, 0.24);
  --shadow: 0 4px 10px rgba(56, 38, 20, 0.05), 0 26px 50px -28px rgba(56, 38, 20, 0.34);
  --shadow-lg: 0 8px 18px rgba(56, 38, 20, 0.06), 0 50px 90px -44px rgba(56, 38, 20, 0.45);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.25; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 26px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- shared ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}

.section { padding: clamp(66px, 8vw, 120px) 0; position: relative; }
.section-tinted { background: var(--paper-2); }
.section-tight { padding: clamp(44px, 5vw, 66px) 0; }

.section-head { max-width: 60ch; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { color: var(--muted); margin-bottom: 0; }

.serif-accent { font-style: italic; color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(255, 79, 43, 0.75);
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 18px 34px -14px rgba(255, 79, 43, 0.85); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }

.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: rgba(22, 21, 26, 0.04); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #fff; box-shadow: var(--shadow); }

.btn-clear { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-clear:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--muted);
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: block; }
.pill-alpha { color: var(--mint); border-color: rgba(15, 155, 122, 0.35); background: rgba(15, 155, 122, 0.08); }
.pill-build { color: var(--accent-deep); border-color: rgba(255, 79, 43, 0.32); background: var(--accent-soft); }
.pill-design { color: #7a5b16; border-color: rgba(255, 194, 71, 0.55); background: rgba(255, 194, 71, 0.16); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 244, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -26px rgba(56, 38, 20, 0.5);
}
.site-header > .container { display: flex; align-items: center; gap: 20px; min-height: 76px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: var(--shadow-sm); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 10px;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }
.nav .nav-cta {
  margin-left: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.nav-toggle i {
  display: block;
  width: 15px;
  height: 1.6px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
  transition: box-shadow 0.2s var(--ease);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(52px, 7vw, 96px) 0 clamp(56px, 7vw, 100px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.75;
}
.blob-1 {
  width: 540px; height: 540px;
  top: -240px; left: -120px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 122, 61, 0.4), rgba(255, 194, 71, 0.12) 60%, transparent 72%);
  animation: drift 26s var(--ease) infinite alternate;
}
.blob-2 {
  width: 520px; height: 520px;
  right: -180px; top: -120px;
  background: radial-gradient(circle at 60% 50%, rgba(120, 132, 255, 0.3), rgba(255, 145, 173, 0.14) 60%, transparent 72%);
  animation: drift 32s var(--ease) infinite alternate-reverse;
}
.blob-3 {
  width: 420px; height: 420px;
  left: 42%; bottom: -260px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 194, 71, 0.32), transparent 70%);
  animation: drift 38s var(--ease) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.12); }
}

.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(34px, 4.5vw, 66px);
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.09em;
  border-radius: 99px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: draw 0.9s 0.75s var(--ease) forwards;
}
@keyframes draw { to { transform: scaleX(1); } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }

/* fade-up on load, staggered */
.rise { opacity: 0; transform: translateY(20px); animation: rise 0.85s var(--ease) forwards; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.16s; }
.rise-3 { animation-delay: 0.27s; }
.rise-4 { animation-delay: 0.38s; }
.rise-5 { animation-delay: 0.49s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- device mock ---------- */

.mock { position: relative; display: grid; place-items: center; padding: 20px 0; }
.mock-plate {
  position: absolute;
  inset: 6% 4%;
  border-radius: 38px;
  background: linear-gradient(150deg, #fff, rgba(255, 255, 255, 0.35));
  border: 1px solid var(--line);
  transform: rotate(-5deg);
  box-shadow: var(--shadow);
}
.phone {
  position: relative;
  width: 274px;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(165deg, #2a2933, #14131a);
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(8px); }
}
.phone-screen {
  border-radius: 32px;
  background: #fff;
  padding: 16px 15px 18px;
  overflow: hidden;
}
.phone-notch { width: 76px; height: 5px; border-radius: 99px; background: rgba(0, 0, 0, 0.12); margin: 1px auto 15px; }
.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.phone-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(15, 155, 122, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(15, 155, 122, 0); }
}
.phone-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 2px; }
.phone-sub { font-size: 0.78rem; color: var(--muted); margin: 0 0 14px; }
.phone-card {
  border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 11px 12px;
  margin-bottom: 8px;
}
.phone-card:last-of-type { margin-bottom: 0; }
.phone-card-top { display: flex; align-items: center; gap: 9px; font-size: 0.8rem; font-weight: 600; margin-bottom: 9px; }
.phone-card-top span:last-child { margin-left: auto; font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.phone-glyph {
  width: 22px; height: 22px;
  border-radius: 7px;
  display: grid; place-items: center;
  flex: none;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.phone-glyph svg { width: 13px; height: 13px; }
.phone-glyph.mint { background: rgba(15, 155, 122, 0.12); color: var(--mint); }
.phone-glyph.sun { background: rgba(255, 194, 71, 0.22); color: #8a5f0d; }
.bar { height: 6px; border-radius: 99px; background: rgba(22, 21, 26, 0.07); overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), #ff8a3d);
  transform-origin: left;
  transition: transform 1.3s 0.3s var(--ease);
}
.js .bar i { transform: scaleX(0); }
.bar i.mint { background: linear-gradient(90deg, var(--mint), #4fc7a6); }
.bar i.sun { background: linear-gradient(90deg, #e9a51f, var(--sun)); }
.js .is-in .bar i { transform: scaleX(1); }
.phone-tabs {
  display: flex; justify-content: space-between; gap: 8px;
  margin-top: 16px; padding-top: 12px;
  border-top: 1px solid var(--line);
}
.phone-tabs span { width: 26px; height: 4px; border-radius: 99px; background: rgba(22, 21, 26, 0.08); }
.phone-tabs span:first-child { background: var(--accent); }

.mock-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.mock-chip svg { width: 15px; height: 15px; }
.mock-chip.one { top: 8%; left: -8px; color: var(--accent-deep); animation: float 8s ease-in-out infinite; }
.mock-chip.two { bottom: 22%; right: -14px; color: var(--navy); animation: float 9s 0.6s ease-in-out infinite; }
.mock-chip.three { bottom: 4%; left: 4%; color: #7a5b16; animation: float 10s 1.2s ease-in-out infinite; }

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 18px 0;
  display: flex;
  gap: 0;
  user-select: none;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  flex: none;
  padding-right: 34px;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 34px;
}
.marquee-track span::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- reveal on scroll ---------- */

/* Hidden only when JS is there to reveal it again (see head.js). */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.4s; }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.stat { padding-left: 18px; border-left: 2px solid var(--line-2); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--accent);
}
.stat span { font-size: 0.93rem; color: var(--muted); }

/* ---------- cards ---------- */

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--sun));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }
.card > .pill { margin-bottom: 18px; }

.card-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.card-icon svg { width: 22px; height: 22px; }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); background: var(--accent); color: #fff; }

.card-list { list-style: none; margin: 18px 0 0; padding: 0; font-size: 0.92rem; color: var(--muted); }
.card-list li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--sun);
}

/* ---------- process ---------- */

.process { position: relative; }
.process-line {
  position: absolute;
  left: 0; right: 0; top: 34px;
  height: 2px;
  background: var(--line-2);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.js .process-line { transform: scaleX(0); }
.js .process.is-in .process-line { transform: scaleX(1); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; position: relative; }
.step { position: relative; padding-top: 76px; display: flex; flex-direction: column; }
.step-num {
  position: absolute;
  top: 0; left: 0;
  width: 68px; height: 68px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  background: #fff;
  border: 2px solid var(--line-2);
  color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover .step-num { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.96rem; }
.step-meta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--accent-deep);
}
.step-meta::before { content: "→"; }

/* ---------- projects ---------- */

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.project-top { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.project-icon {
  width: 50px; height: 50px;
  border-radius: 15px;
  display: grid; place-items: center;
  flex: none;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease);
}
.project:hover .project-icon { transform: rotate(-6deg) scale(1.05); }
.project-icon svg { width: 24px; height: 24px; }
.i-mint { background: linear-gradient(150deg, #0f9b7a, #35c9a2); }
.i-sun { background: linear-gradient(150deg, #e79a12, #ffc247); }
.i-navy { background: linear-gradient(150deg, #23255a, #4b4fa8); }
.i-coral { background: linear-gradient(150deg, #ff4f2b, #ff8a5b); }
.project-top h3 { margin: 0 0 2px; }
.project-top span { font-size: 0.85rem; color: var(--muted); }
.project p { color: var(--muted); font-size: 0.96rem; }
.project p:last-of-type { margin-bottom: 22px; }
.project-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.project-foot .plat { font-size: 0.83rem; color: var(--muted-2); margin-left: auto; }

.project-wide { grid-column: 1 / -1; }
.project-wide .project-top { margin-bottom: 18px; }
.project-wide .project-head { margin-bottom: 22px; }
.project-wide .project-body p:last-of-type { margin-bottom: 0; }
.project-wide .project-foot { margin-top: 0; }

@media (min-width: 860px) {
  .project-wide { flex-direction: row; gap: 40px; }
  .project-wide .project-head { flex: 0 0 31%; margin-bottom: 0; }
  .project-wide .project-head .project-foot { margin-top: 0; }
  .project-wide .project-body {
    flex: 1;
    padding-left: 40px;
    border-left: 1px solid var(--line);
  }
}

.notice {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--accent-soft);
  font-size: 0.95rem;
  color: var(--ink-2);
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent-deep); }
.notice strong { display: block; margin-bottom: 3px; color: var(--ink); }

/* ---------- split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.panel {
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.principles { list-style: none; margin: 0; padding: 0; }
.principles li { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principles li:first-child { padding-top: 0; }
.principles li:last-child { border-bottom: 0; padding-bottom: 0; }
.principles .tick {
  width: 26px; height: 26px;
  border-radius: 50%;
  flex: none;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-top: 2px;
}
.principles .tick svg { width: 14px; height: 14px; }
.principles h4 { margin: 0 0 4px; }
.principles p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chips span:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-deep); }
.stack-group + .stack-group { margin-top: 26px; }
.stack-group h4 {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line-2); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-deep); }
.faq summary .plus {
  margin-left: auto;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  position: relative;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.3s var(--ease);
}
.faq summary .plus::before, .faq summary .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); opacity: 0; }
.faq .answer { overflow: hidden; }
.faq .answer p { color: var(--muted); font-size: 0.99rem; padding: 0 4px 26px; margin: 0; max-width: 72ch; }
.faq details[open] .answer { animation: unfold 0.4s var(--ease); }
@keyframes unfold {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- contact ---------- */

.contact-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: clamp(60px, 8vw, 108px) 0;
}
.contact-band::before, .contact-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.contact-band::before {
  width: 460px; height: 460px;
  top: -200px; right: -120px;
  background: radial-gradient(circle, rgba(255, 79, 43, 0.45), transparent 68%);
}
.contact-band::after {
  width: 420px; height: 420px;
  bottom: -220px; left: -140px;
  background: radial-gradient(circle, rgba(255, 194, 71, 0.28), transparent 68%);
}
.contact-band > .container { position: relative; z-index: 1; }
.contact-band h2, .contact-band h3, .contact-band h4 { color: #fff; }
.contact-band .eyebrow { color: var(--sun); }
.contact-band .lead { color: rgba(255, 255, 255, 0.76); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}
.form-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.field .hint { display: block; font-weight: 400; color: rgba(255, 255, 255, 0.58); font-size: 0.83rem; margin-top: 4px; }
.field .hint-inline { font-weight: 400; color: rgba(255, 255, 255, 0.58); font-size: 0.83rem; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sun);
  background: rgba(255, 255, 255, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px 17px;
}
.field select option { background: var(--navy); color: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.form-foot p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin: 0; max-width: 32ch; }

.contact-blocks { display: grid; gap: 22px; }
.contact-block {
  padding-left: 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.22);
}
.contact-block h4 {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 10px;
}
.contact-block p, .contact-block address {
  font-style: normal;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.7;
}
.contact-block a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.contact-block a:hover { text-decoration-color: var(--sun); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: clamp(46px, 6vw, 66px) 0 32px;
  font-size: 0.93rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-2);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { max-width: 38ch; margin: 0; }
.footer-col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-note { padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.footer-note p { font-size: 0.85rem; color: var(--muted-2); max-width: 92ch; margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 0.86rem; padding-top: 24px; }
.footer-bottom p { margin: 0; }
.footer-bottom .sep { margin-left: auto; }

/* ---------- 404 ---------- */

.center-page {
  min-height: 66vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.center-page > .container { position: relative; z-index: 1; }
.center-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}
.center-page .lead { margin: 0 auto 30px; }
.center-page .hero-actions { justify-content: center; }

/* ---------- utilities ---------- */

.w-35 { width: 35%; }
.w-52 { width: 52%; }
.w-68 { width: 68%; }
.w-80 { width: 80%; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock { margin-top: 10px; }
  .mock-plate { inset: 4% 8%; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .process-line { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}

@media (max-width: 880px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 22px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(56, 38, 20, 0.5);
  }
  .nav.is-open { display: flex; animation: unfold 0.3s var(--ease); }
  .nav a { padding: 14px 12px; font-size: 1.02rem; border-radius: 12px; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--accent-deep); }
  .nav .nav-cta { margin: 10px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .site-header > .container { position: relative; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  html { scroll-padding-top: 80px; }
  .container { padding: 0 20px; }
  .card, .project { padding: 26px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .mock-chip.one { top: 1%; left: 0; }
  .mock-chip.two { bottom: 12%; right: 0; }
  .mock-chip.three { display: none; }
  .footer-bottom .sep { margin-left: 0; }
}

@media (max-width: 520px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .stats { gap: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .phone { width: min(100%, 264px); }
  .mock-chip { font-size: 0.75rem; padding: 8px 13px; }
  .step { padding-top: 68px; }
  .step-num { width: 58px; height: 58px; font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .rise { opacity: 1; transform: none; }
  .hero h1 .underline::after, .js .bar i, .js .process-line { transform: scaleX(1); }
}

@media print {
  .site-header, .marquee, .contact-band, .nav-toggle, .hero-actions { display: none; }
  body { background: #fff; }
}
