/* ═══════════════════════════════════════════════════════════
   BOTTLE ROCKET SEARCH GROUP — the arc that doesn't come down
   palette: theirs, pushed
   ═══════════════════════════════════════════════════════════ */
:root {
  --field:      #1B2620;   /* deep forest, deepened */
  --field-mid:  #24322A;
  --forest:     #37493F;   /* their green */
  --bone:       #EAE4D6;
  --bone-dim:   #D9D3C4;   /* their bone */
  --bronze:     #C9A986;   /* arc ink */
  --taupe:      #A48F7A;   /* their taupe */
  --rose:       #C98F88;   /* their rose — RESERVED: the falling arc, month-18 */
  --ink-on-bone:#26332C;
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Instrument Sans", -apple-system, sans-serif;
  --mono:  "Spline Sans Mono", ui-monospace, monospace;
  --rail-x: clamp(24px, 7vw, 104px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
html { scroll-behavior: smooth; }
body {
  background: var(--field);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--bronze); color: var(--field); }
em { font-style: italic; }
img { max-width: 100%; display: block; }

/* ─── NAV ─── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 2.4rem;
  padding: 1.15rem clamp(1.2rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(27,38,32,.92), rgba(27,38,32,0));
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.nav-scrolled {
  background: rgba(27,38,32,.97);
  box-shadow: 0 1px 0 rgba(201,169,134,.18);
  padding-top: .8rem; padding-bottom: .8rem;
}
@supports (backdrop-filter: blur(8px)) {
  .nav.nav-scrolled { background: rgba(27,38,32,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.lockup { display: flex; align-items: center; gap: .7rem; color: var(--bone); text-decoration: none; margin-right: auto; }
.lockup-mark { width: 26px; height: 34px; color: var(--bone); flex: none; }
.lockup-text { display: flex; flex-direction: column; line-height: 1.05; }
.lockup-name { font-family: var(--sans); font-weight: 600; letter-spacing: .34em; font-size: .78rem; text-transform: uppercase; }
.lockup-sub  { font-family: var(--mono); font-weight: 300; letter-spacing: .46em; font-size: .5rem; text-transform: uppercase; color: var(--taupe); margin-top: .28em; }
.nav-links { display: flex; gap: 1.9rem; }
.nav-links a {
  color: var(--bone-dim); text-decoration: none;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500; transition: color .25s;
}
.nav-links a:hover { color: var(--bronze); }
.nav-cta {
  color: var(--bronze); text-decoration: none;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--bronze) 55%, transparent);
  border-radius: 999px; padding: .55em 1.4em;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--bronze); color: var(--field); }

/* ─── HERO / THE PLOT ─── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hero-plot, .hero-plot .plot { position: absolute; inset: 0; width: 100%; height: 100%; }
.plot-mobile { display: none; }

.grid line { stroke: rgba(217,211,196,.065); stroke-width: 1; }
.baseline  { stroke: rgba(217,211,196,.28); stroke-width: 1; }

.ticks text {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  fill: rgba(217,211,196,.5);
  opacity: 0; animation: tickIn .6s ease forwards;
}
.ticks line { stroke: rgba(217,211,196,.3); stroke-width: 1; opacity: 0; animation: tickIn .6s ease forwards; }
@keyframes tickIn { to { opacity: 1; } }

.arc-br {
  fill: none; stroke: var(--bronze); stroke-width: 2.2; stroke-linecap: round;
}
.arc-industry {
  fill: none; stroke: var(--rose); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 5 7;
  opacity: .85;
}
/* draw-on-load (JS sets real path lengths) */
.arc-draw { transition: none; }

.satellite { fill: var(--bronze); filter: drop-shadow(0 0 6px rgba(201,169,134,.9)); opacity: 0; }

.anno-text { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; }
.anno-rose   { fill: var(--rose); }
.anno-bronze { fill: var(--bronze); }
.anno-drop { stroke: var(--rose); stroke-width: 1; stroke-dasharray: 2 3; }
.anno { opacity: 0; animation: tickIn 1s ease forwards; }
.anno-industry { animation-delay: 5.2s; }
.anno-br       { animation-delay: 6.4s; }

.hero-copy {
  position: relative; z-index: 2;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  padding-left: calc(clamp(1.2rem, 4vw, 3rem) + clamp(1.6rem, 3vw, 3.2rem));
  margin-top: clamp(4rem, 10vh, 7rem);
  max-width: 840px;
}
.coord-label {
  font-family: var(--mono); font-size: .72rem; font-weight: 400;
  letter-spacing: .34em; color: var(--taupe);
  margin-bottom: 1.6rem;
  opacity: 0; animation: riseIn .7s ease .1s forwards;
}
.hero-h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 340;
  font-size: clamp(3.1rem, 8.2vw, 7.2rem);
  line-height: .98;
  letter-spacing: -0.015em;
  color: var(--bone);
}
.h1-line { display: block; opacity: 0; animation: riseIn 1s cubic-bezier(.2,.65,.25,1) forwards; }
.h1-line:nth-child(1) { animation-delay: .25s; }
.h1-line:nth-child(2) { animation-delay: .4s; }
.h1-em em { color: var(--bronze); font-weight: 380; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-lede {
  max-width: 34em;
  margin-top: 1.7rem;
  color: var(--bone-dim);
  font-size: clamp(.98rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  opacity: 0; animation: riseIn .8s ease .55s forwards;
}
.cta-line {
  display: inline-flex; align-items: center; gap: .9em;
  margin-top: 2.4rem;
  background: var(--bronze); color: var(--field); text-decoration: none;
  font-size: .82rem; letter-spacing: .28em; font-weight: 600; text-transform: uppercase;
  padding: 1em 1.9em 1em 2.1em; border-radius: 999px;
  opacity: 0; animation: riseIn .8s ease .7s forwards;
  transition: background .3s ease;
}
.cta-line:hover { background: var(--bone); }
.cta-tick { width: 2.6em; height: 1px; background: var(--field); display: inline-block; transition: width .35s ease; }
.cta-line:hover .cta-tick { width: 4.2em; }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; gap: 2.2rem; align-items: baseline;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  padding-left: calc(clamp(1.2rem, 4vw, 3rem) + clamp(1.6rem, 3vw, 3.2rem));
  border-top: 1px solid rgba(217,211,196,.12);
}
.hero-foot-item { font-family: var(--mono); font-size: .62rem; letter-spacing: .3em; color: rgba(217,211,196,.45); }
.hero-foot-axis { margin-left: auto; font-family: var(--mono); font-size: .62rem; letter-spacing: .3em; color: var(--taupe); }

/* ═══ PLOTTED COORDINATES — each section is a point on the chart (no rail, no traveller) ═══ */
.railwrap { position: relative; }
.rail-marker {
  position: absolute; top: clamp(3.2rem, 8vh, 5.2rem); left: var(--rail-x);
  display: flex; align-items: center; gap: .9rem; z-index: 7;
  transform: translateX(-8px);
}
.rm-dot {
  position: relative; width: 17px; height: 17px; flex: none;
}
.rm-dot::before, .rm-dot::after {
  content: ""; position: absolute; background: var(--bronze);
}
.rm-dot::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-.5px); }
.rm-dot::after  { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-.5px); }
.rm-dot { border-radius: 0; }
.sec-bone .rm-dot::before, .sec-bone .rm-dot::after { background: var(--taupe); }
.rm-label { font-family: var(--mono); font-size: .64rem; letter-spacing: .3em; color: var(--taupe); white-space: nowrap; }
.sec-bone .rm-label { color: #6E5B3E; }
.sec-bone .rm-dot::before, .sec-bone .rm-dot::after { background: #6E5B3E; }
.rm-rose .rm-dot::before, .rm-rose .rm-dot::after { background: var(--rose); }
.rm-rose .rm-label { color: var(--rose); }
.rm-tip {
  position: absolute; left: calc(100% + 1.2rem); top: 50%; transform: translateY(-50%);
  width: min(280px, 60vw);
  background: var(--field); border: 1px solid var(--rose); color: var(--bone-dim);
  font-size: .78rem; line-height: 1.5; letter-spacing: 0; font-family: var(--sans);
  padding: .8em 1em; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.rm-rose:hover .rm-tip, .rm-rose:focus .rm-tip { opacity: 1; }

/* ═══ SECTIONS ═══ */
.sec { position: relative; padding: clamp(6.5rem, 15vh, 10rem) clamp(1.2rem, 4vw, 3rem); }
.sec-inner { margin-left: calc(var(--rail-x) + clamp(1.4rem, 3.5vw, 3.4rem)); max-width: 1160px; }
.sec-bone  { background: var(--bone); color: var(--ink-on-bone); }
.sec-deep  { background: var(--forest); color: var(--bone); }
.sec-field { background: var(--field); color: var(--bone); }

.sec-h2 {
  font-family: var(--serif); font-weight: 350; line-height: 1.04;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem); letter-spacing: -0.01em;
}
.sec-h2 em { font-style: normal; color: inherit; }   /* the italic accent is rationed: the h1 and the refusal */
#month18 .sec-h2 em { font-style: italic; color: var(--bronze); }
.sec-h2-big { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.sec-lede { max-width: 34em; margin-top: 1.4rem; font-size: 1.02rem; line-height: 1.7; }
.sec-bone .sec-lede { color: #4A574F; }
.sec-deep .sec-lede, .sec-field .sec-lede { color: var(--bone-dim); }
.sec-head-offset { margin-left: clamp(0rem, 8vw, 9rem); margin-bottom: clamp(2.6rem, 6vh, 4.2rem); }
.sec-head { margin-bottom: clamp(2.6rem, 6vh, 4.2rem); }
.coord-rose { color: var(--rose); }

.inline-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--bronze); }
.inline-link:hover { color: var(--taupe); }

/* ═══ LEDGER (services) ═══ */
.ledger { list-style: none; border-top: 1px solid rgba(55,73,63,.25); }
.ledger-row {
  display: grid; grid-template-columns: 4rem 16.5rem 1fr auto; gap: 1.8rem; align-items: start;
  padding: 2rem 0 2.1rem; border-bottom: 1px solid rgba(55,73,63,.25);
}
.lg-no { font-family: var(--mono); font-size: .8rem; color: var(--taupe); padding-top: .5em; }
.lg-body { display: contents; }
.lg-name { font-family: var(--serif); font-weight: 420; font-size: 1.65rem; line-height: 1.15; }
.lg-desc { max-width: 44em; color: #4A574F; font-size: .98rem; line-height: 1.65; padding-top: .35em; }
.lg-axis { font-family: var(--mono); font-size: .62rem; letter-spacing: .26em; color: var(--taupe); padding-top: .9em; white-space: nowrap; }
.lg-axis-bronze { color: #8C6D46; }
.lg-feature { background: linear-gradient(to right, rgba(164,143,122,.12), transparent 70%); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
.lg-feature .lg-name::after {
  content: "— the service the industry forgot";
  display: block; font-family: var(--serif); font-style: italic; font-weight: 340;
  font-size: .95rem; color: #8C6D46; margin-top: .3em;
}

/* ═══ THE SEARCH ═══ */
.sec-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.cred-line { margin-top: 2.2rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--bone-dim); max-width: 22em; }
.desk-line {
  margin-top: 2.6rem; padding-top: 1.3rem; max-width: 22em;
  border-top: 1px solid rgba(217,211,196,.18);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .3em; color: var(--taupe);
}
.cred-strong { color: var(--bronze); font-style: normal; font-family: var(--mono); font-size: 1.05rem; letter-spacing: .06em; }
.stages { list-style: none; border-top: 1px solid rgba(217,211,196,.18); }
.stage { display: flex; gap: 1.6rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(217,211,196,.18); }
.st-wk { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; color: var(--bronze); flex: 0 0 6.4em; padding-top: .55em; white-space: nowrap; }
.st-name { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.st-desc { margin-top: .35rem; color: var(--bone-dim); font-size: .92rem; line-height: 1.6; max-width: 30em; }

/* ═══ MONTH 18 ═══ */
.sec-cliff { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cliff-copy .sec-lede + .sec-lede { margin-top: 1.1rem; }
.cliff-plot .miniplot { width: 100%; height: auto; }
.mini-br { stroke-width: 2; }
.anno-dim { fill: rgba(217,211,196,.4); }

/* ═══ THE BOARD ═══ */
.board { list-style: none; border-top: 1px solid rgba(55,73,63,.25); }
.bd-row {
  display: grid; grid-template-columns: 1.3fr 1fr .7fr auto; gap: 1.2rem; align-items: baseline;
  padding: 1.15rem 0; border-bottom: 1px solid rgba(55,73,63,.25);
}
.bd-role { font-family: var(--serif); font-size: 1.22rem; font-weight: 420; }
.bd-kind { color: #4A574F; font-size: .92rem; }
.bd-geo { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; color: var(--taupe); }
.bd-stage { font-family: var(--mono); font-size: .64rem; letter-spacing: .24em; padding: .45em 1em; border: 1px solid; border-radius: 999px; white-space: nowrap; }
.bd-placed { color: #6E5B3E; border-color: rgba(164,143,122,.7); background: rgba(201,169,134,.18); }
.bd-short  { color: #37493F; border-color: rgba(55,73,63,.5); }
.bd-search { color: #A0655D; border-color: rgba(201,143,136,.7); animation: pulseStage 3.2s ease-in-out infinite; }
@keyframes pulseStage { 0%,100% { background: rgba(201,143,136,0); } 50% { background: rgba(201,143,136,.14); } }
.bd-note { margin-top: 1.8rem; font-size: .95rem; color: #4A574F; }

/* ═══ FLIGHT PLANS ═══ */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.plan { border: 1px solid rgba(217,211,196,.22); padding: clamp(1.6rem, 3.5vw, 2.8rem); }
.plan-b { transform: translateY(clamp(1rem, 4vh, 2.6rem)); border-color: rgba(201,169,134,.55); background: rgba(27,38,32,.35); }
.plan-tag { font-family: var(--mono); font-size: .64rem; letter-spacing: .3em; color: var(--bronze); }
.plan-name { font-family: var(--serif); font-weight: 380; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: .9rem; line-height: 1.1; }
.plan-desc { margin-top: 1rem; color: var(--bone-dim); font-size: .97rem; line-height: 1.68; }
.plan-cand { margin-top: clamp(2.6rem, 7vh, 4.4rem); font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--bone-dim); }

/* ═══ THE DESK ═══ */
.desk-quote { max-width: 30em; margin-bottom: clamp(3rem, 7vh, 4.6rem); }
.dq-text { font-family: var(--serif); font-weight: 340; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.25; }
.dq-text em { font-style: normal; color: inherit; }
.dq-cite { display: block; margin-top: 1.4rem; font-family: var(--mono); font-style: normal; font-size: .72rem; letter-spacing: .26em; color: var(--taupe); }
.roster { list-style: none; border-top: 1px solid rgba(217,211,196,.16); max-width: 920px; }
.ro-row {
  display: grid; grid-template-columns: 64px 1.1fr 1.3fr auto; gap: 1.4rem; align-items: center;
  padding: .85rem 0; border-bottom: 1px solid rgba(217,211,196,.16);
}
.ro-img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 4px;
  filter: saturate(.82) sepia(.08); border: 1px solid rgba(201,169,134,.35);
}
.ro-name { font-family: var(--serif); font-size: 1.18rem; font-weight: 400; }
.ro-role { color: var(--bone-dim); font-size: .92rem; }
.ro-geo { font-family: var(--mono); font-size: .64rem; letter-spacing: .24em; color: var(--taupe); }

/* ═══ CONTACT ═══ */
.sec-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; padding-top: .6rem; }
.cf-field { display: flex; flex-direction: column; gap: .5rem; }
.cf-label { font-family: var(--mono); font-size: .62rem; letter-spacing: .3em; color: var(--taupe); }
.cf-input {
  background: transparent; border: none; border-bottom: 1px solid rgba(55,73,63,.4);
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink-on-bone);
  padding: .45em 0; outline: none; border-radius: 0; transition: border-color .3s;
}
.cf-input:focus { border-bottom-color: var(--taupe); }
.cf-area { resize: vertical; line-height: 1.5; }
.cf-send {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .9em;
  background: none; border: none; cursor: pointer; margin-top: .6rem;
  font-family: var(--sans); font-size: .84rem; letter-spacing: .3em; font-weight: 600;
  color: #8C6D46;
}
.cf-send .cta-tick { background: #8C6D46; }
.cf-send:hover .cta-tick { width: 4.2em; }
.cf-sent { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: #6E5B3E; opacity: 0; transition: opacity .4s ease; }

/* ═══ FOOTER ═══ */
.foot { background: var(--field); padding: clamp(4rem, 10vh, 6.5rem) clamp(1.2rem, 4vw, 3rem) 2rem; }
.foot-orbit { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-bottom: clamp(3rem, 7vh, 4.5rem); }
.orbit-svg { width: 120px; height: 120px; }
.orbit-path { fill: none; stroke: rgba(201,169,134,.5); stroke-width: 1; stroke-dasharray: 3 4; }
.orbit-dot { fill: var(--bronze); }
.orbit-line { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--taupe); }
.foot-band {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; align-items: baseline;
  border-top: 1px solid rgba(217,211,196,.14); padding-top: 1.4rem;
}
.fb-name { font-family: var(--sans); font-weight: 600; letter-spacing: .3em; font-size: .7rem; color: var(--bone); }
.fb-item { font-family: var(--mono); font-size: .6rem; letter-spacing: .24em; color: rgba(217,211,196,.45); }
.fb-link { margin-left: auto; font-family: var(--mono); font-size: .6rem; letter-spacing: .24em; color: var(--bronze); text-decoration: none; }
.fb-link:hover { color: var(--bone); }

/* ─── responsive ─── */
@media (max-width: 860px) {
  .nav { gap: 1rem; }
  .nav-links { display: none; }
  .plot-desktop { display: none; }
  .plot-mobile { display: block; }
  .hero-copy { margin-top: 13svh; }
  .hero-h1 { font-size: clamp(2.7rem, 12.5vw, 3.4rem); }
  .hero-foot { gap: 1.1rem; overflow: hidden; }
  .hero-foot-item, .hero-foot-axis { white-space: nowrap; }
  .hero-foot-item:nth-child(3), .hero-foot-item:nth-child(4) { display: none; }
  .plot-mobile .anno-br { display: none; }

  :root { --rail-x: 18px; }
  .sec { padding-top: clamp(5.2rem, 12vh, 7rem); }
  .sec-inner { margin-left: calc(var(--rail-x) + 1.2rem); }
  .sec-head-offset { margin-left: 0; }
  .sec-split, .sec-cliff, .sec-contact { grid-template-columns: 1fr; gap: 2.4rem; }
  .plans { grid-template-columns: 1fr; }
  .plan-b { transform: none; }
  .ledger-row { grid-template-columns: 2.6rem 1fr; }
  .lg-body { display: block; grid-column: 2; }
  .lg-desc { margin-top: .55rem; padding-top: 0; }
  .lg-axis { display: none; }
  .bd-row { grid-template-columns: 1fr auto; }
  .bd-role { grid-row: 1; grid-column: 1; }
  .bd-stage { grid-row: 1; grid-column: 2; }
  .bd-kind { grid-row: 2; grid-column: 1; }
  .bd-geo { grid-row: 2; grid-column: 2; text-align: right; }
  .ro-row { grid-template-columns: 48px 1fr auto; }
  .ro-img { width: 44px; height: 44px; grid-row: 1 / span 2; }
  .ro-name { grid-row: 1; grid-column: 2 / -1; }
  .ro-role { grid-row: 2; grid-column: 2; }
  .ro-geo { grid-row: 2; grid-column: 3; text-align: right; }
  .cliff-plot { max-width: 340px; }
  .rm-label { font-size: .56rem; letter-spacing: .22em; }
  .rm-tip { left: 0; top: calc(100% + .9rem); transform: none; }
}

/* reveal system */
.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.65,.25,1); }
.will-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition: none !important; }
}
