@import url("colors_and_type.css");

/* ===================================================================
   Echomatic — marketing site styles
   =================================================================== */

html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg-1); font-family: var(--font-sans); }

/* page wash — faintest possible warm radial so the page doesn't feel flat black */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212,165,116,0.06), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(212,165,116,0.03), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ===================================================================
   HEADER
   =================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--fg-1);
}
.brand-mark { height: 30px; width: auto; }
.brand-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.site-nav { display: flex; gap: 40px; }
.site-nav a {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 120ms var(--ease);
}
/* Product switcher segmented control sits where the old nav links were */
.product-switch {
  display: inline-flex;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
}
.product-switch a {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-decoration: none;
  padding: 10px 18px;
  transition: all 140ms var(--ease);
}
.product-switch a + a { border-left: 1px solid var(--hairline); }
.product-switch a:hover { color: var(--fg-1); }
.product-switch a.is-active {
  background: var(--amber);
  color: var(--bg);
}

.site-nav a:hover, .site-nav a.active { color: var(--amber); }

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--fg-1);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 120ms var(--ease);
}
.btn:hover { border-color: var(--amber); color: var(--amber); }
.btn-primary { border-color: var(--amber); color: var(--amber); }
.btn-primary:hover { background: var(--amber); color: var(--bg); }
.btn-ghost { border-color: transparent; padding-inline: 0; color: var(--fg-2); }
.btn-ghost:hover { color: var(--amber); }
.btn.lg { padding: 17px 32px; font-size: 12px; }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  padding: 24px 0 40px;
  text-align: center;
  position: relative;
}
/* Gradient bridge — warm amber wash that links the ECHOMATIC wordmark
   into the plugin photo below. Sits behind everything in the hero. */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 120px;
  transform: translateX(-50%);
  width: min(1100px, 90%);
  height: 520px;
  background:
    radial-gradient(
      ellipse 60% 70% at 50% 0%,
      rgba(232, 189, 140, 0.42) 0%,
      rgba(212, 165, 116, 0.22) 35%,
      rgba(212, 165, 116, 0.0) 75%
    );
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
  position: relative;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 32px;
}

/* The signature Echo-M-atic wordmark — outlined amber sides with a bold solid
   M centered on horizontal "tape" lines that stream out behind the letters. */
.hero-title {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(64px, 11vw, 168px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  color: var(--fg-1);
  position: relative;
  isolation: isolate;
}
/* tape lines streaming horizontally across the wordmark, behind everything */
.hero-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 0.58em;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 6px,
    #d4a574 6px,
    #d4a574 8px
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.45));
  opacity: 0.85;
}
.hero-title .side {
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px #e8bd8c;
  text-shadow:
    0 0 18px rgba(232, 189, 140, 0.45),
    0 0 42px rgba(212, 165, 116, 0.30);
  position: relative;
  z-index: 2;
}
/* double-outline effect: a duplicated, slightly inset ghost of each side word */
.hero-title .side::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1px #d4a574;
  transform: scale(0.93);
  transform-origin: center;
  opacity: 0.85;
  pointer-events: none;
}
.hero-title .left  { padding-right: 0.04em; }
.hero-title .right { padding-left:  0.04em; }
.hero-title .m-wrap {
  position: relative;
  display: inline-block;
  text-align: center;
  z-index: 3;
}
.hero-title .m-wrap::before,
.hero-title .m-wrap::after {
  /* warm amber bloom that follows the contour of the M itself */
  content: "M";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 900;
  font-size: 1.55em;
  letter-spacing: 0;
  color: rgba(232, 189, 140, 0.85);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-title .m-wrap::before {
  /* outer halo — soft, wide */
  filter: blur(24px) saturate(1.1);
  opacity: 0.85;
}
.hero-title .m-wrap::after {
  /* inner halo — tighter, brighter, hugs the strokes */
  color: rgba(248, 220, 178, 0.6);
  filter: blur(8px);
  opacity: 0.9;
}
.hero-title .m {
  font-weight: 900;
  font-size: 1.55em;
  color: #e8bd8c;
  filter:
    drop-shadow(0 0 18px rgba(232, 189, 140, 0.55))
    drop-shadow(0 0 38px rgba(212, 165, 116, 0.35));
  letter-spacing: 0;
  position: relative;
  z-index: 2;
  line-height: 0.78; /* let the tall M extend above/below baseline */
}
/* old diagonal-extrude ghosts — no longer used in the new wordmark, kept as a no-op */
.hero-title .ghost { display: none; }

.hero-tagline {
  margin: 18px auto 0;
  text-align: center;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--amber);
  letter-spacing: 0.02em;
  max-width: 720px;
}

.hero-art {
  width: 100%;
  max-width: 1400px;
  margin: 8px auto 0;
  display: block;
  position: relative;
  padding: 0 24px;
  box-sizing: border-box;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  /* subtle warm halo behind the white logo, matching the page palette */
  filter:
    drop-shadow(0 0 32px rgba(232, 189, 140, 0.18))
    drop-shadow(0 8px 40px rgba(0, 0, 0, 0.6));
}

.hero-image {
  margin: 40px auto 32px;
  max-width: 1080px;
  position: relative;
}
.hero-image > img,
.hero-image .hero-machine.static {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.85));
  /* classy gradient — top of the image fades into the page bg so the
     plugin emerges from black instead of having a hard top edge */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.25) 6%,
    rgba(0,0,0,0.7) 14%,
    #000 24%,
    #000 100%
  );
          mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.25) 6%,
    rgba(0,0,0,0.7) 14%,
    #000 24%,
    #000 100%
  );
}

/* ===================================================================
   Spinning reels overlaid on top of the plugin's tape reels
   =================================================================== */
.reel {
  position: absolute;
  width: 33%;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  /* scaled up from the original 33% reel size, centered on the anchor */
  transform: scale(1.5);
  transform-origin: center;
}
.reel > img {
  width: 100%;
  height: 100%;
  display: block;
  animation: reel-spin 15s linear infinite;
  transform-origin: 50% 50%;
  /* hide partial-paint flashes — only show when the image is fully decoded.
     fades in over 200ms once the bytes are in. */
  opacity: 0;
  transition: opacity 220ms ease-out;
}
.reel > img.is-ready { opacity: 1; }
/* black disk behind the right reel so its transparent windows
   don't reveal the plugin's right reel underneath */
.reel-bg {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: #000;
}
.reel-left  { left: 9.1%; top: 9.8%; }
.reel-right { right: 11.2%; top: 9.8%; }

@keyframes reel-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }   /* anti-clockwise */
}
@media (prefers-reduced-motion: reduce) {
  .reel > img { animation: none; }
}
.hero-image::before {
  /* warm amber glow under the plugin */
  content: "";
  position: absolute;
  bottom: -40px;
  left: 10%;
  right: 10%;
  height: 80px;
  background: radial-gradient(ellipse 60% 100% at center, rgba(212,165,116,0.18), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.hero-actions {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  gap: 14px;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-meta .dot { opacity: 0.4; }

/* ===================================================================
   SECTION HEAD
   =================================================================== */
.section {
  padding: 120px 0;
  border-top: 1px solid var(--hairline);
}
.section-head {
  text-align: center;
  margin-bottom: 80px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.eyebrow-lg {
  font-size: clamp(22px, 3.2vw, 38px);
  letter-spacing: 0.32em;
  font-weight: 300;
  margin-bottom: 0;
}
.section-title {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 56ch;
  margin: 22px auto 0;
  text-wrap: pretty;
}

/* ===================================================================
   SCHEMATIC — circuit diagram of the analog signal path
   =================================================================== */
.schematic {
  margin: 0;
  position: relative;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(212,165,116,0.05), transparent 70%),
    #000;
  border-radius: 4px;
  overflow: hidden;
}
.schematic::before,
.schematic::after {
  /* corner tick-marks like a technical drawing */
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--amber);
  opacity: 0.55;
  pointer-events: none;
}
.schematic::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.schematic::after  { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.schematic img {
  display: block;
  width: 100%;
  height: auto;
  /* very subtle amber warmth, but keep the line work crisp */
  filter: drop-shadow(0 0 18px rgba(212,165,116,0.18));
}
.schematic figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 22px 24px 26px;
  border-top: 1px solid var(--hairline);
}
.schematic figcaption .sep { color: var(--amber); opacity: 0.7; }

/* ===================================================================
   A/B PLAYER — dry vs. wet example cards
   =================================================================== */
.ab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.ab {
  background: var(--bg);
  padding: 32px 32px 28px;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 22px;
  position: relative;
}
.ab[data-active="wet"] {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212,165,116,0.06), transparent 75%),
    var(--bg);
}
.ab-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ab-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  padding-top: 3px;
}
.ab-meta { min-width: 0; }
.ab-title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--fg-1);
  margin: 0;
}
.ab-tag {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* play button */
.ab-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--amber);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 140ms var(--ease);
  justify-self: start;
}
.ab-play:hover {
  border-color: var(--amber);
  box-shadow: 0 0 24px rgba(212,165,116,0.18);
}
.ab-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}
.ab-play .ico-pause { display: none; }
.ab.is-playing .ab-play .ico-play  { display: none; }
.ab.is-playing .ab-play .ico-pause { display: block; }
.ab.is-playing .ab-play {
  border-color: var(--amber);
  box-shadow: 0 0 24px rgba(212,165,116,0.22);
}

/* scrubber row */
.ab-scrub {
  position: relative;
  height: 32px;
}
.ab-wave {
  position: absolute;
  inset: 12px 0 12px 0;
  border-top: 1px dashed rgba(255,255,255,0.08);
  /* tiny decorative tick marks like a tape strip */
  background-image: linear-gradient(
    to right,
    rgba(255,255,255,0.10) 0,
    rgba(255,255,255,0.10) 1px,
    transparent 1px,
    transparent 8px
  );
  background-size: 8px 100%;
  background-position: 0 50%;
  background-repeat: repeat-x;
  opacity: 0.6;
}
.ab-progress {
  position: absolute;
  top: 14px;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber-glow);
  transition: width 120ms linear;
}
.ab-time {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}

/* dry/wet segmented toggle */
.ab-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
}
.ab-toggle button {
  background: transparent;
  color: var(--fg-2);
  border: 0;
  padding: 11px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 100ms var(--ease);
}
.ab-toggle button + button {
  border-left: 1px solid var(--hairline);
}
.ab-toggle button:hover {
  color: var(--fg-1);
}
.ab-toggle button.is-active {
  background: var(--amber);
  color: var(--bg);
  box-shadow: inset 0 0 18px rgba(0,0,0,0.15);
}

/* missing-file state */
.ab.is-missing .ab-play {
  opacity: 0.35;
  pointer-events: none;
}
.ab.is-missing::after {
  content: "Audio file not found";
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  opacity: 0.7;
}

.ab-note {
  margin: 28px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.ab-note-top {
  margin: 22px 0 0;
}

/* ===================================================================
   PULL — full-width image with copy on the right
   =================================================================== */
.pull {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.pull.reverse {
  grid-template-columns: 1fr 1.15fr;
}
.pull-img {
  position: relative;
}
.pull-img img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7));
}
.pull-copy h3 {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 36px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--fg-1);
}
.pull-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-2);
  margin: 0 0 18px;
  max-width: 42ch;
}
.pull-copy .quote {
  border-left: 1px solid var(--amber);
  padding-left: 20px;
  margin-top: 32px;
  font-size: 15px;
  font-style: italic;
  color: var(--fg-1);
  line-height: 1.6;
  max-width: 38ch;
}
.pull-copy .quote-attr {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* Compressed Built like hardware section */
#features.section { padding: 80px 0 72px; }
#features .section-head { margin-bottom: 40px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.feature {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.feature-ico {
  width: 24px;
  height: 24px;
  color: var(--amber);
}
.feature-ico svg {
  width: 100%; height: 100%;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.feature-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-1);
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ===================================================================
   SPECS
   =================================================================== */
.spec-list {
  max-width: 720px;
  margin: 0 auto;
}
.spec-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.spec-row:last-of-type { border-bottom: 1px solid var(--hairline); }
.spec-row dt {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0;
  align-self: center;
}
.spec-row dd {
  font-size: 15px;
  color: var(--fg-1);
  margin: 0;
  line-height: 1.5;
}

/* ===================================================================
   BUY
   =================================================================== */
.buy-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 64px;
}
.buy-left { display: flex; flex-direction: column; gap: 22px; }
.buy-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.buy-price .amount {
  font-size: 88px;
  font-weight: 200;
  letter-spacing: 0.01em;
  color: var(--fg-1);
  line-height: 1;
}
.buy-price .unit {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.buy-copy {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.7;
  margin: 0;
  max-width: 38ch;
}
.buy-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}
.buy-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-1);
  letter-spacing: 0.02em;
}
.buy-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber-glow);
  flex-shrink: 0;
}
.buy-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 4px;
}
.buy-right img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8));
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  padding: 80px 0 36px;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
}
.footer-left {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-tag {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-head {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--fg-1);
  text-decoration: none;
  transition: color 120ms var(--ease);
}
.footer-col a:hover { color: var(--amber); }
.footer-base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  padding-top: 32px;
  margin-top: 24px;
  border-top: 1px solid var(--hairline);
}
.footer-base .tag-line {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ===================================================================
   CONTACT MODAL
   =================================================================== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms var(--ease);
}
.contact-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.contact-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 44px 44px 36px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(212,165,116,0.08),
    0 0 60px rgba(212,165,116,0.06);
  transform: translateY(8px);
  transition: transform 200ms var(--ease);
}
.contact-modal[aria-hidden="false"] .contact-card {
  transform: translateY(0);
}
.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  color: var(--fg-2);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: all 120ms var(--ease);
}
.contact-close:hover { color: var(--amber); background: rgba(255,255,255,0.04); }
.contact-card h3 {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 28px;
  letter-spacing: 0.02em;
  margin: 8px 0 10px;
  color: var(--fg-1);
}
.contact-sub {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
}
.contact-form label { display: block; margin-bottom: 16px; }
.contact-form label span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 2px;
  resize: vertical;
  transition: border-color 120ms var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--amber);
}
.contact-form textarea { min-height: 110px; }
.contact-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.contact-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  flex: 1 1 220px;
  line-height: 1.5;
}
.contact-note a { color: var(--amber); text-decoration: none; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  .site-nav { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .buy-card { grid-template-columns: 1fr; padding: 40px 28px; }
  .pull, .pull.reverse { grid-template-columns: 1fr; gap: 40px; }
  .pull.reverse .pull-img { order: -1; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .hero-actions { flex-direction: column; gap: 14px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 12px; text-align: center; }
}
