/* =========================================================
   AMBAR INTERPRETING — v3 "Modern"
   Signature: duotone (ink+amber) photography, bold Space
   Grotesk display type, floating glass pill nav.
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0E1526;
  --ink-2: #080C17;
  --ink-soft: #6B7280;
  --paper: #FFFFFF;
  --paper-soft: #F5F4F1;
  --accent: #14B8A6;
  --accent-deep: #0F766E;
  --accent-soft: #CCFBF1;
  --line: rgba(14, 21, 38, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --display: "Space Grotesk", "Inter", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --r-lg: 28px;
  --r-md: 18px;
  --container: 1240px;
}

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

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Photo frame (real color, no tint) ---------- */
.photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}
.photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.photo::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(8,12,23,0.45) 100%);
  pointer-events: none;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.eyebrow.on-dark { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.94rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color .25s ease;
}
.btn-accent { background: var(--accent); color: var(--ink-2); font-weight: 700; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(20,184,166,0.55); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: var(--line-on-dark); }
.btn-ghost-dark:hover { border-color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.84rem; }
.btn-full { width: 100%; justify-content: center; }
.btn svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Header (floating glass pill, dynamic on scroll) ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  padding: 1.1rem 1.25rem 0;
  transition: padding 0.35s cubic-bezier(.2,.7,.3,1);
}
.nav-wrap.scrolled { padding: 0.6rem 1.25rem 0; }

.nav-pill {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(14, 21, 38, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  color: #fff;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, padding 0.35s ease, max-width 0.35s ease;
  animation: nav-drop 0.7s cubic-bezier(.2,.8,.2,1);
}
.nav-pill.scrolled {
  background: rgba(10, 15, 27, 0.92);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.65);
  max-width: calc(var(--container) - 3rem);
}
@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .nav-pill { animation: none; } }

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: 30px; width: auto; filter: brightness(0) invert(1); transition: height 0.35s ease; }
.nav-pill.scrolled .brand img { height: 24px; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }

.nav-desktop { display: flex; align-items: center; gap: 0.3rem; position: relative; }
.nav-link {
  position: relative;
  background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.82);
  font-family: var(--sans); font-size: 0.88rem; font-weight: 500;
  padding: 0.5rem 0.9rem; border-radius: 999px; transition: background 0.25s ease, color 0.25s ease;
}
.nav-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-link.active { background: rgba(20,184,166,0.2); color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: #fff; }
.burger svg { width: 22px; height: 22px; }
.mobile-menu { display: none; flex-direction: column; gap: 0.4rem; padding: 0.8rem 1.5rem 1.2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { text-align: left; color: var(--ink); }
.mobile-panel { max-width: var(--container); margin: 0.4rem auto 0; background: var(--paper); border-radius: 20px; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.3); }

@media (max-width: 880px) {
  .nav-desktop, .header-actions .btn { display: none; }
  .burger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 4.5rem 0 6rem; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -220px; left: 50%; transform: translateX(-10%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,0.28) 0%, rgba(20,184,166,0) 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3rem; align-items: center; position: relative; }
.hero-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.02em;
}
.hero-title .light { font-weight: 400; color: rgba(255,255,255,0.55); }
.hero-title .accent-text { color: var(--accent); }
.hero-desc { font-size: 1.08rem; color: rgba(255,255,255,0.68); max-width: 32rem; margin: 1.4rem 0 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.2rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); padding: 0.5rem 0.9rem; border-radius: 999px;
}
.badge svg { width: 13px; height: 13px; color: var(--accent); }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-photo { aspect-ratio: 4/4.7; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); }
.hero-tag {
  position: absolute; bottom: 1.1rem; left: 1.1rem; right: 1.1rem; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,12,23,0.55); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 16px;
  padding: 0.85rem 1rem;
}
.hero-tag .t1 { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); text-transform: uppercase; }
.hero-tag .t2 { font-family: var(--display); font-size: 0.95rem; font-weight: 700; color: #fff; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(20,184,166,0.25); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
}

/* ---------- Cert marquee ---------- */
.marquee { background: var(--accent); padding: 0.75rem 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 2.5rem; white-space: nowrap; width: max-content;
  animation: scroll-x 24s linear infinite;
}
.marquee-track span {
  font-family: var(--mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--ink-2); display: flex; align-items: center; gap: 0.9rem;
}
.marquee-track span::after { content: "/"; margin-left: 2.5rem; opacity: 0.5; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
section { padding: 6.5rem 0; }
.section-head { max-width: 42rem; margin-bottom: 3.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.08;
}
.section-desc { color: var(--ink-soft); font-size: 1.05rem; margin-top: 0.9rem; }
.catalog { background: var(--paper-soft); }

/* ---------- Bento catalog grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 1.4rem;
}
.b-card {
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.b-card:hover { transform: translateY(-6px); }
.b-card .photo { position: absolute; inset: 0; border-radius: 0; }
.b-card .photo::before {
  background: linear-gradient(180deg, rgba(8,12,23,0.15) 0%, rgba(8,12,23,0.35) 40%, rgba(8,12,23,0.92) 100%);
}
.b-card-content { position: relative; z-index: 3; }
.b-card .price-pill {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  color: #fff; padding: 0.3rem 0.75rem; border-radius: 999px; display: inline-block; margin-bottom: 0.8rem;
}
.b-card .price-pill.soon { background: rgba(20,184,166,0.25); border-color: rgba(20,184,166,0.5); color: var(--accent); }
.b-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.32rem; line-height: 1.15; margin-bottom: 0.5rem; }
.b-card p { font-size: 0.9rem; color: rgba(255,255,255,0.78); margin-bottom: 1rem; max-width: 30rem; }
.b-card .card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.86rem; font-weight: 700; color: #fff; text-decoration: none;
  border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; width: fit-content;
}
.b-card .card-link svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.b-card .card-link:hover svg { transform: translateX(3px); }

.b-1 { grid-column: span 4; grid-row: span 2; }
.b-2 { grid-column: span 2; grid-row: span 2; }
.b-3 { grid-column: span 3; grid-row: span 1; }
.b-4 { grid-column: span 3; grid-row: span 1; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .b-1, .b-2, .b-3, .b-4 { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Commitment (dark full-bleed) ---------- */
.commitment { background: var(--ink); color: #fff; }
.commitment-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
.commitment .section-title { color: #fff; }
.commitment-text { color: rgba(255,255,255,0.7); font-size: 1.06rem; margin: 1.1rem 0 2.2rem; max-width: 34rem; }
.commitment-photo { aspect-ratio: 3/3.8; }

.kit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; list-style: none; }
.kit-item { display: flex; align-items: flex-start; gap: 0.8rem; }
.kit-check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(20,184,166,0.15); border: 1px solid rgba(20,184,166,0.4);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.kit-check svg { width: 13px; height: 13px; color: var(--accent); }
.kit-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.15rem; }
.kit-text { font-size: 0.92rem; color: rgba(255,255,255,0.82); }

@media (max-width: 880px) {
  .commitment-grid { grid-template-columns: 1fr; }
  .commitment-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .kit-grid { grid-template-columns: 1fr; }
}

/* ---------- Quote ---------- */
.quote-section { background: var(--accent-soft); }
.quote-section blockquote {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--ink);
  max-width: 48rem; margin: 0 auto; text-align: center; line-height: 1.35;
}
.quote-section cite {
  display: block; margin-top: 1.4rem; font-style: normal;
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; color: var(--accent-deep);
}

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; }
.contact-info { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-info a { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); font-size: 0.96rem; font-weight: 500; }
.contact-info svg { width: 18px; height: 18px; color: var(--accent-deep); }

.contact-form { background: var(--paper-soft); border-radius: var(--r-lg); padding: 2.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--paper);
  border-radius: 12px; padding: 0.7rem 0.9rem; font-family: var(--sans); font-size: 0.98rem;
  color: var(--ink); transition: border-color 0.2s ease; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: rgba(14,21,38,0.35); }

.success-card { background: var(--paper-soft); border-radius: var(--r-lg); padding: 3rem 2.4rem; text-align: center; }
.success-card svg { width: 42px; height: 42px; color: var(--accent-deep); margin: 0 auto 1rem; }
.success-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.4rem; margin-bottom: 0.5rem; }
.success-card p { color: var(--ink-soft); }

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

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,0.7); padding: 3.5rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-on-dark); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand img { height: 28px; filter: brightness(0) invert(1); }
.footer-brand span { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: #fff; }
.footer-desc { font-size: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.55); }
.footer-heading { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-list a { text-decoration: none; font-size: 0.9rem; color: rgba(255,255,255,0.72); transition: color 0.2s ease; }
.footer-list a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 0.8rem; }
.footer-bottom-links { display: flex; gap: 1.4rem; }
.footer-bottom-links button { background: none; border: none; color: inherit; font-size: 0.8rem; cursor: pointer; }
.footer-bottom-links button:hover { color: var(--accent); }

@media (max-width: 1040px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

.hidden { display: none !important; }

/* ---------- Free resources ---------- */
.resources { padding: 6rem 0; background: var(--paper); }
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.res-card {
  display: flex; flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
a.res-card:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: rgba(20,184,166,0.45);
  box-shadow: 0 18px 36px -22px rgba(14,21,38,0.45);
}
.res-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-deep);
  margin-bottom: 1rem;
}
.res-icon svg { width: 21px; height: 21px; }
.res-tag {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.res-card h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 1.18rem; line-height: 1.2; margin-bottom: 0.5rem;
}
.res-card p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.res-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.88rem; color: var(--accent-deep);
}
.res-link svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
a.res-card:hover .res-link svg { transform: translateY(2px); }

.res-cta {
  background: var(--ink); color: #fff; border-color: transparent;
  justify-content: center;
}
.res-cta .res-tag { color: var(--accent); }
.res-cta p { color: rgba(255,255,255,0.72); margin-bottom: 0; }
.res-cta .btn { align-self: flex-start; }

@media (max-width: 980px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .resources { padding: 4rem 0; }
  .res-grid { grid-template-columns: 1fr; }
}
