/* ============================================================
   Project Acorn — confidential acquisition teaser
   Palette: fir / paper / moss / oak — PNW botanical + deal-room
   ============================================================ */

:root {
  --fir: #22352c;
  --fir-deep: #16241d;
  --ink: #1d221e;
  --paper: #f5f6f2;
  --paper-2: #eceee7;
  --moss: #6f7f6a;
  --moss-soft: #9aa894;
  --oak: #a97142;
  --oak-deep: #8a5a32;
  --line: rgba(34, 53, 44, 0.16);
  --white: #fdfdfb;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Spline Sans Mono", "SF Mono", "Menlo", monospace;

  --wrap: 1120px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--oak-deep); }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--oak);
  flex: none;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--fir);
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fir);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
  display: grid;
  gap: 0.9rem;
}

.section-head p { color: rgba(29, 34, 30, 0.78); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn svg { flex: none; }

.btn-primary {
  background: var(--oak);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--oak-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(169, 113, 66, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--fir);
  border-color: rgba(34, 53, 44, 0.35);
}
.btn-ghost:hover {
  border-color: var(--fir);
  background: rgba(34, 53, 44, 0.05);
}

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

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 246, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fir);
}

.brand svg { flex: none; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  display: block;
  margin-top: -0.2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 1.8rem);
}

.site-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { color: var(--oak-deep); }

.site-nav .btn { padding: 0.55rem 1.15rem; font-size: 0.9rem; }

@media (max-width: 760px) {
  .site-nav a:not(.btn) { display: none; }
}

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

.hero { overflow: hidden; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.hero-copy { display: grid; gap: 1.4rem; justify-items: start; }

.hero-copy .lede {
  font-size: 1.14rem;
  color: rgba(29, 34, 30, 0.8);
  max-width: 34em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--moss);
}

.hero-media { position: relative; }

.hero-media .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(22, 36, 29, 0.28);
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}

.hero-media .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* signature: the withheld-name card */
.redact-card {
  position: absolute;
  left: clamp(-1.5rem, -3vw, -2.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  background: var(--fir-deep);
  color: var(--white);
  border-radius: 12px;
  padding: 0.95rem 1.25rem;
  box-shadow: 0 16px 40px rgba(22, 36, 29, 0.4);
  display: grid;
  gap: 0.3rem;
  max-width: 260px;
}

.redact-card .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--moss-soft);
}

.redacted {
  display: inline-block;
  height: 1.15em;
  width: 11ch;
  border-radius: 4px;
  background:
    repeating-linear-gradient(-55deg,
      rgba(253, 253, 251, 0.28) 0 6px,
      rgba(253, 253, 251, 0.16) 6px 12px);
  vertical-align: middle;
}

.redact-card .hint {
  font-size: 0.8rem;
  color: rgba(253, 253, 251, 0.72);
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .redact-card { left: 1rem; }
}

/* ---------- key figures band ---------- */

.figures {
  background: var(--fir);
  color: var(--white);
}

.figures .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: clamp(2.4rem, 5vw, 3.4rem);
  padding-bottom: clamp(2.4rem, 5vw, 3.4rem);
}

.figure { display: grid; gap: 0.35rem; align-content: start; }

.figure .num {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.figure .num sup {
  font-size: 0.45em;
  color: var(--moss-soft);
  margin-left: 0.15em;
}

.figure .name {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(253, 253, 251, 0.92);
}

.figure .fine {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(253, 253, 251, 0.62);
}

@media (max-width: 760px) {
  .figures .wrap { grid-template-columns: 1fr; }
}

/* ---------- feature grid ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.feature .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(111, 127, 106, 0.14);
  color: var(--fir);
  display: grid;
  place-items: center;
}

.feature p {
  font-size: 0.94rem;
  color: rgba(29, 34, 30, 0.75);
}

@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- gallery / slider ---------- */

.gallery { background: var(--paper-2); }

.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(22, 36, 29, 0.18);
  background: var(--fir-deep);
}

.slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

@media (prefers-reduced-motion: reduce) {
  .slides { transition: none; }
}

.slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: none;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.6rem 1.1rem;
  background: linear-gradient(transparent, rgba(22, 36, 29, 0.82));
  color: var(--white);
  font-size: 0.92rem;
  text-align: left;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(253, 253, 251, 0.92);
  color: var(--fir);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
  z-index: 2;
}
.slider-btn:hover { background: var(--white); }
.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(34, 53, 44, 0.25);
  cursor: pointer;
  padding: 0;
}

.slider-dots button[aria-current="true"] {
  background: var(--oak);
  transform: scale(1.25);
}

.gallery-note {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--moss);
  text-align: center;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(22, 36, 29, 0.92);
  display: none;
  place-items: center;
  padding: 2rem;
}
.lightbox.open { display: grid; }

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(253, 253, 251, 0.14);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(253, 253, 251, 0.28); }

/* ---------- financials ---------- */

.fin-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.fin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fin-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--moss);
  padding-bottom: 0.7rem;
}

.fin-table th,
.fin-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
  vertical-align: top;
}

.fin-table tr:first-child th,
.fin-table tr:first-child td { border-top: 0; }

.fin-table th {
  font-weight: 600;
  color: var(--fir);
  width: 58%;
}

.fin-table td {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.fin-table tr.total th,
.fin-table tr.total td {
  background: rgba(169, 113, 66, 0.09);
  color: var(--oak-deep);
}

.fin-note {
  font-size: 0.86rem;
  color: rgba(29, 34, 30, 0.66);
  margin-top: 0.9rem;
}

.fin-side { display: grid; gap: 1.1rem; }

.fin-side .card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--oak);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}

.fin-side .card h3 { margin-bottom: 0.35rem; }

.fin-side .card p {
  font-size: 0.94rem;
  color: rgba(29, 34, 30, 0.75);
}

@media (max-width: 860px) { .fin-grid { grid-template-columns: 1fr; } }

/* ---------- buyer section ---------- */

.buyer { background: var(--fir); color: var(--white); }

.buyer .section-head h2,
.buyer .section-head p { color: var(--white); }
.buyer .section-head p { opacity: 0.78; }

.buyer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.buyer-card {
  background: rgba(253, 253, 251, 0.07);
  border: 1px solid rgba(253, 253, 251, 0.14);
  border-radius: 12px;
  padding: 1.3rem 1.25rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.buyer-card h3 { color: var(--white); font-size: 1rem; }

.buyer-card p {
  font-size: 0.88rem;
  color: rgba(253, 253, 251, 0.68);
}

.buyer-statement {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  background: rgba(169, 113, 66, 0.18);
  border: 1px solid rgba(169, 113, 66, 0.45);
  font-size: 0.98rem;
  color: var(--white);
}

.buyer-statement strong { color: #e8c9a8; }

@media (max-width: 960px) { .buyer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .buyer-grid { grid-template-columns: 1fr; } }

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

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.15rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--oak);
}

.step h3 { font-size: 0.97rem; }

.step p {
  font-size: 0.85rem;
  color: rgba(29, 34, 30, 0.7);
}

@media (max-width: 960px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

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

.contact { background: var(--paper-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-copy { display: grid; gap: 1.1rem; justify-items: start; }

.contact-copy p { color: rgba(29, 34, 30, 0.78); }

.form-shell {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  box-shadow: 0 18px 44px rgba(22, 36, 29, 0.12);
}

.form-badge {
  position: absolute;
  top: -0.85rem;
  left: 1.4rem;
  background: var(--fir);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.form-shell form {
  display: grid;
  gap: 0.95rem;
}

.form-row { display: grid; gap: 0.3rem; }

.form-row label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--fir);
}

.form-row input,
.form-row select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}

.form-row input:disabled,
.form-row select:disabled { opacity: 0.75; cursor: not-allowed; }

.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.form-shell .btn { justify-content: center; width: 100%; }
.form-shell .btn[aria-disabled="true"] { opacity: 0.65; cursor: not-allowed; }

.form-fine {
  font-size: 0.78rem;
  color: rgba(29, 34, 30, 0.6);
  text-align: center;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
}

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

.site-foot {
  background: var(--fir-deep);
  color: rgba(253, 253, 251, 0.66);
  font-size: 0.86rem;
}

.site-foot .wrap {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
  display: grid;
  gap: 0.7rem;
}

.site-foot .brandline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
