/* ============================================================
   NJAS — New Jersey Anesthesia Services
   Aesthetic: Warm Editorial — Forest Green + Amber + Cream
   Fonts: Gloock (display) + Plus Jakarta Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Gloock&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ── Variables ── */
:root {
  --green:        #0f2d1e;
  --green-mid:    #1a4230;
  --green-light:  #235c40;
  --green-pale:   #e8f0eb;
  --amber:        #c4622e;
  --amber-light:  #d4784a;
  --amber-pale:   #f5e6de;
  --cream:        #faf8f3;
  --cream-dark:   #f0ece2;
  --white:        #ffffff;
  --ink:          #141410;
  --ink-mid:      #2e2e28;
  --ink-muted:    #6b6b60;
  --rule:         rgba(20, 20, 16, 0.12);
  --rule-green:   rgba(255,255,255,0.12);

  --font-display: 'Gloock', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --nav-h: 68px;
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: 1.25rem; }
p  { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-muted); max-width: 62ch; }

.label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 1rem;
}
.label--light { color: rgba(255,255,255,0.5); }

/* ── Top Bar ── */
.topbar {
  background: var(--green);
  padding: 0 2rem;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.58);
  font-weight: 400;
  white-space: nowrap;
}
.topbar__item svg { color: rgba(255,255,255,0.35); flex-shrink: 0; }
.topbar__item a { transition: color 0.2s; }
.topbar__item a:hover { color: rgba(255,255,255,0.9); }

@media (max-width: 700px) {
  .topbar { justify-content: center; gap: 1.25rem; }
  .topbar__item:first-child { display: none; }
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  height: var(--nav-h);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 24px rgba(20,20,16,0.08); }

.nav__inner {
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.nav__logo-abbr {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--green);
  letter-spacing: -0.02em;
}
.nav__logo-full {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 3px;
  position: relative;
  transition: color 0.25s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav__link:hover, .nav__link.active { color: var(--green); }
.nav__link.active {
  background: var(--green-pale);
  color: var(--green);
}
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  border-radius: 2px 2px 0 0;
}

.nav__cta-btn {
  background: var(--green);
  color: var(--white) !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 3px;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  transition: background 0.25s, transform 0.2s !important;
}
.nav__cta-btn.active { background: var(--green) !important; }
.nav__cta-btn::after { display: none !important; }
.nav__cta-btn:hover { background: var(--amber) !important; transform: translateY(-1px); color: var(--white) !important; }

/* Mobile */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__drawer {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--green);
  z-index: 500;
  padding: 5rem 2.5rem 3rem;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.nav__drawer.open { transform: translateX(0); }
.nav__drawer-link {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: rgba(255,255,255,0.75);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
  display: block;
}
.nav__drawer-link:hover { color: var(--white); }
.nav__drawer-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 1.75rem;
  padding: 0.5rem;
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__drawer { display: flex; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  border-radius: 3px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,45,30,0.25); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: var(--amber-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,98,46,0.3); }
.btn-outline-green { border: 1.5px solid var(--green); color: var(--green); background: transparent; }
.btn-outline-green:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.4); color: rgba(255,255,255,0.88); background: transparent; }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.9); color: var(--white); background: rgba(255,255,255,0.08); }

/* ── Layout ── */
.container { max-width: 1340px; margin: 0 auto; width: 100%; }
.section { padding: 7rem 2rem; }
.section-sm { padding: 4rem 2rem; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-cream-dark { background: var(--cream-dark); }
.section-green { background: var(--green); }
.section-green-mid { background: var(--green-mid); }

/* ── Hero ── */
.hero {
  background: var(--green);
  min-height: 95vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 3rem 6rem 2rem;
  padding-left: max(2rem, calc((100vw - 1340px)/2 + 2rem));
  position: relative;
  z-index: 2;
}

.hero__right {
  background: var(--green-mid);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__right-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(255,255,255,0.04) 59px,
      rgba(255,255,255,0.04) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(255,255,255,0.04) 59px,
      rgba(255,255,255,0.04) 60px
    );
}

.hero__right-content {
  position: relative;
  z-index: 1;
  padding: 3rem;
  text-align: center;
}

.hero__right-icon {
  opacity: 0.12;
  margin: 0 auto 2rem;
}

.hero__right-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  font-style: italic;
  max-width: 34ch;
}

.hero__right-attr {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-light);
}

.hero__line {
  width: 48px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 2rem;
  border-radius: 2px;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1.25rem;
  display: block;
}

.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  max-width: 14ch;
}

.hero__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 2.5rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: max(2rem, calc((100vw - 1340px)/2 + 2rem));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  z-index: 2;
}
.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 60% 0%, 40% 0%, 0 40%);
  z-index: 3;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__left { padding: 5rem 1.5rem 4rem; }
  .hero__right { min-height: 300px; padding: 3rem 1.5rem; }
  .hero__h1 { max-width: none; }
  .hero__wave { display: none; }
}

/* ── Stats Row ── */
.stats-row {
  background: var(--amber);
  padding: 2.5rem 2rem;
}
.stats-row__inner {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
@media (max-width: 700px) { .stats-row__inner { grid-template-columns: 1fr 1fr; } }

.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-item__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-top: 0.3rem;
}

/* ── Section Header ── */
.section-hdr { margin-bottom: 4rem; }
.section-hdr--center { text-align: center; }
.section-hdr--center p { margin: 0.75rem auto 0; }
.section-hdr h2 { color: var(--ink); }
.section-hdr--on-dark h2 { color: var(--white); }
.section-hdr--on-dark .label { color: var(--amber-light); }
.section-hdr--on-dark p { color: rgba(255,255,255,0.6); }

.rule { width: 44px; height: 2px; background: var(--amber); margin: 1.25rem 0; border-radius: 2px; }
.rule--center { margin: 1.25rem auto; }
.rule--light { background: rgba(255,255,255,0.3); }

/* ── Services ── */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 768px) { .services-list { grid-template-columns: 1fr; } }

.service-item {
  padding: 3rem 3.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.3s;
}
.service-item:nth-child(even) { border-right: none; }
.service-item:nth-child(3),
.service-item:nth-child(4) { border-bottom: none; }
.service-item:hover { background: var(--cream-dark); }

.service-item::before {
  content: attr(data-num);
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 400;
  color: rgba(20,20,16,0.06);
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  line-height: 1;
  pointer-events: none;
}

.service-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1.25rem;
  transition: background 0.3s, color 0.3s;
}
.service-item:hover .service-item__icon { background: var(--green); color: var(--white); }

.service-item__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.service-item__body {
  font-size: 0.975rem;
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 44ch;
}

@media (max-width: 768px) {
  .service-item { padding: 2.25rem 1.5rem; border-right: none; }
  .service-item:nth-child(3) { border-bottom: 1px solid var(--rule); }
  .service-item:nth-child(4) { border-bottom: none; }
}
@media (min-width: 769px) {
  .service-item:nth-child(3) { border-bottom: none; }
}

/* ── Mission Banner ── */
.mission {
  background: var(--green);
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}
.mission::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.mission::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.025);
  pointer-events: none;
}

.mission__inner {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .mission__inner { grid-template-columns: 1fr; gap: 3rem; } }

.mission__label-col .label { color: rgba(255,255,255,0.4); }
.mission__label-col h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.mission__quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.35;
  font-style: italic;
}
.mission__quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-top: 1.5rem;
}

/* ── Blog ── */
.blog-list { display: flex; flex-direction: column; }

.blog-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 1.75rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--rule);
  transition: background 0.25s, padding-left 0.25s;
  cursor: pointer;
  border-radius: 4px;
  margin: 0 -1rem;
}
.blog-item:first-child { border-top: 1px solid var(--rule); }
.blog-item:hover { background: var(--cream-dark); padding-left: 1.75rem; }

.blog-item__thumb {
  width: 100px;
  height: 72px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  flex-shrink: 0;
}
.blog-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.blog-item__date {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.blog-item__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.3;
}
.blog-item__arrow {
  color: var(--ink-muted);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s, transform 0.25s;
}
.blog-item:hover .blog-item__arrow { opacity: 1; transform: translateX(0); }

@media (max-width: 700px) {
  .blog-item { grid-template-columns: 72px 1fr; gap: 1rem; }
  .blog-item__thumb { width: 72px; height: 56px; }
  .blog-item__arrow { display: none; }
}

/* ── About Split ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; gap: 3rem; } }

.about-visual {
  background: var(--green-mid);
  border-radius: 4px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-visual__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.03) 12px, rgba(255,255,255,0.03) 13px);
}
.about-visual__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem;
}

/* ── Team / About page ── */
.team-card {
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(20,20,16,0.1); }

.team-card__head {
  background: var(--green);
  padding: 2.5rem 2rem 3.5rem;
  position: relative;
}
.team-card__head::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 48px;
  background: var(--white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.team-card__initials {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255,255,255,0.18);
  line-height: 1;
}
.team-card__body { padding: 0.5rem 2rem 2rem; }
.team-card__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-bottom: 0.2rem; }
.team-card__role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.team-card__bio { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.72; max-width: none; }

/* ── Contact Form ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 3rem; } }

.contact-info-block { }
.contact-info-block h2 { color: var(--ink); }

.contact-detail-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.contact-detail-row:last-of-type { border-bottom: none; }
.contact-detail-row__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.contact-detail-row__label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.2rem;
}
.contact-detail-row__val {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.contact-detail-row__val a { transition: color 0.2s; }
.contact-detail-row__val a:hover { color: var(--green); }

/* Tabbed forms */
.form-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--rule);
  margin-bottom: 2.5rem;
  overflow-x: auto;
}
.form-tab {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  padding: 0.75rem 1.25rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.form-tab.active { color: var(--green); border-bottom-color: var(--amber); }
.form-tab:hover { color: var(--green); }

.form-panel { display: none; }
.form-panel.active { display: block; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.25rem; }
input[type="file"] { display: none; }
input[type="checkbox"] { accent-color: var(--green); width: 15px !important; height: 15px; cursor: pointer; appearance: auto !important; border: none !important; border-bottom: none !important; padding: 0 !important; flex-shrink: 0; }

/* ── File input widget ── */
.file-input-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-pale);
  border: 1.5px solid transparent;
  border-radius: 3px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s;
  user-select: none;
}
.file-input-btn:hover { border-color: var(--green); }
.file-input-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.1rem;
}
.file-input-display {
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.file-input-name {
  font-size: 0.875rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
  flex: 1;
}
.file-input-clear {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.file-input-clear:hover { color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
input:not([type="checkbox"]):not([type="file"]):not([type="radio"]), select, textarea {
  font-family: var(--font-body);
  font-size: 0.975rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(20,20,16,0.2);
  padding: 0.65rem 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
}
input:not([type="checkbox"]):not([type="file"]):not([type="radio"]):focus,
select:focus, textarea:focus { border-bottom-color: var(--green); }
input::placeholder, textarea::placeholder { color: rgba(20,20,16,0.3); }
textarea { resize: vertical; min-height: 110px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b60' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 1.5rem; }

/* ── CTA Banner ── */
.cta-strip {
  background: var(--amber);
  padding: 4rem 2rem;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 0.75rem; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.cta-strip p { color: rgba(255,255,255,0.78); margin: 0 auto 2rem; max-width: 52ch; }
.cta-strip .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (subpages) ── */
.page-hero {
  background: var(--green);
  padding: 7rem 2rem 5.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.03) 59px, rgba(255,255,255,0.03) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.03) 59px, rgba(255,255,255,0.03) 60px);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  margin: 0 auto;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 56ch; }
.page-hero__divider {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
}
.page-hero__divider--white { background: var(--white); }
.page-hero__divider--cream-dark { background: var(--cream-dark); }

nav.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}
nav.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
nav.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
nav.breadcrumb .sep { font-size: 0.65rem; }

/* ── Blog Detail ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(20,20,16,0.1); }
.blog-card__head {
  height: 180px;
  background: var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card__head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__head-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.04) 12px, rgba(255,255,255,0.04) 13px);
}
.blog-card__head-icon { position: relative; z-index: 1; opacity: 0.25; }
.blog-card__body { padding: 1.5rem 1.75rem 2rem; }
.blog-card__date {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.6rem;
}
.blog-card__title { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); line-height: 1.3; margin-bottom: 0.75rem; }
.blog-card__excerpt { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.7; max-width: none; }
.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 1rem;
  transition: gap 0.2s;
}
.blog-card__read::after {
  content: '';
  position: absolute;
  inset: 0;
}
.blog-card:hover .blog-card__read { gap: 0.7rem; }

/* ── Payment Page ── */
.payment-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 3rem;
  max-width: 640px;
  margin: 0 auto;
}
.payment-card h2 { font-size: 2rem; margin-bottom: 0.75rem; }

/* ── Footer ── */
.footer {
  background: var(--ink);
  padding: 5rem 2rem 2.5rem;
}
.footer__inner {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.footer__brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1.1rem;
}
.footer__brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  max-width: 28ch;
}
.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.footer__social-btn {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: background 0.2s, color 0.2s;
}
.footer__social-btn:hover { background: var(--amber); color: var(--white); }

.footer__col-head {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer__link:hover { color: rgba(255,255,255,0.82); }
.footer__contact-line {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.65rem;
  line-height: 1.6;
}
.footer__contact-line a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer__contact-line a:hover { color: var(--amber-light); }

.footer__bottom {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer__btm-links { display: flex; gap: 1.5rem; }
.footer__btm-link { font-size: 0.78rem; color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer__btm-link:hover { color: rgba(255,255,255,0.6); }

/* ── Article (Blog Post) Pages ── */
.article-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 2.5rem;
}
.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-mid);
}
.article-body p { margin-bottom: 1.4rem; }
.article-refs {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.article-refs h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.article-refs ol {
  margin-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.article-nav {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  padding: 2.5rem 2rem;
}
.article-nav__inner {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.article-nav__prev { text-align: left; }
.article-nav__center { text-align: center; align-self: center; }
.article-nav__next { text-align: right; }
.article-nav__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.35rem;
}
.article-nav__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.35;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.article-nav__title:hover { color: var(--green); }
.article-nav__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: gap 0.2s;
}
.article-nav__arrow:hover { gap: 0.6rem; color: var(--amber); }
@media (max-width: 680px) {
  .article-nav__inner { grid-template-columns: 1fr 1fr; }
  .article-nav__center { grid-column: span 2; order: -1; margin-bottom: 0.5rem; }
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease-out);
}
.clip-reveal.visible { clip-path: inset(0 0% 0 0); }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pageFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.page-in { animation: pageFade 0.4s var(--ease-out) both; }

/* ── Utility ── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

@media (max-width: 640px) {
  .section { padding: 4.5rem 1.25rem; }
  .section-sm { padding: 3rem 1.25rem; }
  .page-hero { padding: 5rem 1.25rem 4rem; }
}
