/* =========================================================
   HAYAH — Design Tokens
   ========================================================= */

:root {
  --forest-950: #0E241D;
  --forest-900: #123527;
  --forest-800: #16402F;
  --cream: #FAF5E9;
  --ivory: #F6F0E2;
  --beige: #EFE6D3;
  --card-beige: #F1E8D6;
  --gold: #C79A52;
  --gold-light: #D9BC85;
  --gold-deep: #8F6E36;
  --olive: #6E7A4B;
  --ink: #1B2620;
  --ink-soft: #4A554D;
  --line: rgba(27, 38, 32, 0.10);
  --line-light: rgba(250, 245, 233, 0.20);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

/* =========================================================
   Typography
   ========================================================= */

.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--gold-deep);
}
.eyebrow-center { text-align: center; }

.section-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
  color: var(--ink);
}
.heading-light { color: var(--cream); }
.heading-center { margin-left: auto; margin-right: auto; text-align: center; max-width: 40ch; }

.mfg-heading { font-size: clamp(22px, 2.4vw, 30px); max-width: 46ch; }

.accent-line {
  width: 46px;
  height: 3px;
  background: var(--gold);
  margin: 0 0 20px;
  border-radius: 2px;
}
.heading-center + .accent-line,
.eyebrow-center + .section-heading + .accent-line { margin-left: auto; margin-right: auto; }

.body-text {
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 48ch;
}
.body-text--light { color: rgba(250, 245, 233, 0.82); }

.section-intro { margin-bottom: 40px; }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--gold); color: var(--forest-950); }
.btn-primary:hover { background: var(--gold-light); }

.btn-dark { background: var(--forest-950); color: var(--cream); }
.btn-dark:hover { background: var(--forest-800); }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 245, 233, 0.55);
}
.btn-outline-light:hover { background: rgba(250, 245, 233, 0.1); border-color: var(--cream); }

.btn-small { padding: 10px 18px; font-size: 12.5px; }
.btn-full { width: 100%; }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 233, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo { height: 28px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 32px; }

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1.5px;
  background: var(--gold-deep);
  transition: width 0.25s var(--ease);
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding: 8px 32px 26px;
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: all 0.28s var(--ease);
  z-index: 99;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav-link {
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500;
  background: none; border-left: none; border-right: none; border-top: none;
  font-family: var(--font-body); color: var(--ink); text-align: left; cursor: pointer; width: 100%;
}
.mobile-nav-link { border-bottom: 1px solid var(--line); }
.mobile-nav-cta { margin-top: 20px; align-self: flex-start; }

/* =========================================================
   Hero
   ========================================================= */

.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(14, 36, 29, 0.94) 0%,
    rgba(14, 36, 29, 0.86) 30%,
    rgba(14, 36, 29, 0.5) 52%,
    rgba(14, 36, 29, 0.18) 72%,
    rgba(14, 36, 29, 0.02) 92%);
}

.hero-inner { position: relative; z-index: 1; padding: 64px 32px; }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--cream);
  max-width: 16ch;
  margin: 0 0 18px;
}
.accent-gold { color: var(--gold-light); }

.hero .accent-line { margin-bottom: 22px; }

.hero-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(250, 245, 233, 0.85);
  max-width: 42ch;
  margin: 0 0 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   Sections
   ========================================================= */

.section { padding: 64px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-ivory { background: var(--ivory); }
.section-forest { background: var(--forest-900); }

/* =========================================================
   About
   ========================================================= */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual img { width: 100%; }

/* =========================================================
   Problem / Solution split
   ========================================================= */

.split-section { display: grid; grid-template-columns: 1fr 1fr; }
.split-panel { display: flex; align-items: center; padding: 56px 0; }
.split-panel-inner { max-width: 460px; margin: 0 auto; padding: 0 40px; }
.split-panel--dark { background: var(--forest-900); }
.split-panel--cream { background: var(--cream); }
.split-panel--dark .body-text { max-width: 42ch; }

/* =========================================================
   Manufacturing cards
   ========================================================= */

.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 56px; }

.mfg-card {
  background: var(--card-beige);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.mfg-card-body { padding: 32px 32px 8px; flex: 1; }

.mfg-card-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--ink);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.check-list--two-col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.check-list li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0; top: -1px;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 13px;
}

.mfg-card-image {
  position: relative;
  height: 150px;
  margin-top: 12px;
}
.mfg-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 32%);
  mask-image: linear-gradient(to right, transparent 0%, black 32%);
}

/* =========================================================
   Mission / Vision / Direction
   ========================================================= */

.mvd-section { padding-top: 8px; padding-bottom: 64px; }

.mvd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.mvd-col {
  text-align: center;
  padding: 0 36px;
  border-left: 1px solid var(--line);
}
.mvd-col:first-child { border-left: none; }

.mvd-icon {
  display: inline-flex;
  width: 44px; height: 44px;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.mvd-icon svg { width: 100%; height: 100%; }

.mvd-heading {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 12px;
}
.mvd-col .body-text { max-width: none; text-align: center; margin: 0 auto; font-size: 14px; }

/* =========================================================
   Impact / Why It Matters
   ========================================================= */

.impact-section { position: relative; padding: 56px 0 44px; overflow: hidden; }
.impact-media { position: absolute; inset: 0; z-index: 0; }
.impact-media img { width: 100%; height: 100%; object-fit: cover; }
.impact-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,36,29,0.94) 0%, rgba(14,36,29,0.82) 42%, rgba(14,36,29,0.25) 75%, rgba(14,36,29,0.05) 100%);
}

.impact-inner { position: relative; z-index: 1; }
.impact-inner .section-heading { margin-bottom: 36px; max-width: 20ch; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 150px));
  gap: 28px;
  justify-content: start;
}

.impact-item { text-align: left; }

.impact-icon {
  display: inline-flex;
  width: 34px; height: 34px;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.impact-icon svg { width: 100%; height: 100%; }

.impact-heading {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cream);
  margin: 0;
}

/* =========================================================
   Partnerships bar
   ========================================================= */

.partnerships-bar { position: relative; overflow: hidden; padding: 44px 0; }

.partnerships-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.partnerships-text { max-width: 640px; }
.partnerships-heading { margin-bottom: 10px; }
.partnerships-body { margin-bottom: 0; max-width: 60ch; }

.partnerships-leaf {
  position: absolute;
  right: 4%;
  bottom: -10%;
  width: 110px;
  height: 150px;
  z-index: 0;
  pointer-events: none;
}

/* =========================================================
   Newsletter bar
   ========================================================= */

.newsletter-bar { padding: 26px 0; }

.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.newsletter-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s var(--ease);
}
.newsletter-icon:hover { background: var(--forest-800); }
.newsletter-icon svg { width: 20px; height: 20px; }

.newsletter-text { flex: 1; min-width: 220px; }
.newsletter-heading {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 2px;
}
.newsletter-body { font-size: 14px; color: var(--ink-soft); margin: 0; }

.newsletter-form { display: flex; gap: 10px; flex-shrink: 0; }
.newsletter-form input {
  width: 220px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}
.newsletter-form input:focus { outline: none; border-color: var(--gold); }

.form-note { font-size: 13.5px; color: var(--gold-deep); margin: 10px 0 0; min-height: 18px; }

/* =========================================================
   Contact
   ========================================================= */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; }

.contact-details { margin: 26px 0 0; display: grid; gap: 16px; }
.contact-detail dt {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 3px;
}
.contact-detail dd { margin: 0; font-size: 15px; color: var(--ink); }
.contact-detail a:hover { color: var(--gold-deep); }

.contact-form { background: var(--card-beige); border-radius: 12px; padding: 36px; }

.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  background: #fff; resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); }

/* =========================================================
   Footer
   ========================================================= */

.site-footer { background: var(--forest-950); color: rgba(250, 245, 233, 0.75); padding: 56px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo { height: 26px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 14px; color: rgba(250,245,233,0.7); margin: 0; max-width: 26ch; }

.footer-heading {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 16px;
}

.footer-text { font-size: 13.5px; margin: 0 0 10px; display: flex; align-items: center; }
.footer-text--icon svg { width: 15px; height: 15px; margin-right: 9px; flex-shrink: 0; color: var(--gold); }
.footer-text a:hover { color: var(--gold-light); }

.footer-link { display: block; font-size: 13.5px; margin-bottom: 10px; }
.footer-link:hover { color: var(--gold-light); }

.footer-social { display: flex; gap: 10px; }
.footer-social-link:hover { color: var(--gold-light); }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
}
.social-icon svg { width: 15px; height: 15px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 32px;
  border-top: 1px solid var(--line-light);
  font-size: 12.5px; color: rgba(250, 245, 233, 0.5);
}
.footer-tagline-2 { margin: 0; }

/* =========================================================
   Scroll reveal
   ========================================================= */

.fade-up { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .impact-grid { grid-template-columns: repeat(2, minmax(0,150px)); gap: 24px 32px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-section { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .mvd-grid { grid-template-columns: 1fr; gap: 32px; }
  .mvd-col { border-left: none; border-top: 1px solid var(--line); padding: 28px 12px 0; }
  .mvd-col:first-child { border-top: none; padding-top: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }

  .section { padding: 52px 0; }
  .hero { min-height: 620px; }

  .partnerships-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { width: auto; flex: 1; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .header-inner { height: 64px; }
  .brand-logo { height: 24px; }
  .mobile-nav { top: 64px; padding: 8px 20px 22px; }

  .hero-inner { padding: 44px 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .impact-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 18px 20px; }

  .mfg-card-body { padding: 24px 22px 6px; }
  .check-list--two-col { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 22px; }

  .split-panel { padding: 44px 0; }
  .split-panel-inner { padding: 0 22px; }

  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form input { width: 100%; }
}

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

/* =========================================================
   Modal / Popup system
   ========================================================= */

html { scrollbar-gutter: stable; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(14, 36, 29, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal-panel {
  position: relative;
  background: var(--cream);
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  max-height: 86vh;
  overflow-y: auto;
  padding: 52px 44px 44px;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
  outline: none;
}
.modal-overlay.open .modal-panel { transform: translateY(0) scale(1); opacity: 1; }

.modal-panel .section-heading { max-width: none; }
.modal-panel .body-text { max-width: none; }

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: background 0.2s var(--ease);
}
.modal-close:hover { background: var(--beige); }
.modal-close svg { width: 16px; height: 16px; }

.modal-image {
  width: 100%;
  border-radius: 10px;
  margin-top: 24px;
}

body.modal-open { overflow: hidden; }

/* Content blocks reused inside "What We Do" popup */
.modal-block {
  background: var(--card-beige);
  border-radius: 10px;
  padding: 26px 28px;
  margin: 24px 0;
}
.modal-block--dark { background: var(--forest-900); }
.modal-block .body-text:last-child { margin-bottom: 0; }

.modal-subheading {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink);
}
.modal-subheading--light { color: var(--cream); }
.modal-subheading--section { margin-top: 36px; font-size: 20px; }

.modal-cards { display: grid; gap: 20px; margin-top: 18px; }
.modal-cards .mfg-card { min-height: auto; }
.modal-cards .mfg-card-body { padding: 24px 24px 4px; }
.modal-cards .mfg-card-image { height: 120px; }

.modal-mvd-stack { display: grid; gap: 22px; margin-top: 18px; }
.modal-mvd-item { display: flex; gap: 16px; align-items: flex-start; }
.modal-mvd-item .mvd-icon { flex-shrink: 0; margin-bottom: 0; width: 36px; height: 36px; }
.modal-mvd-item .mvd-heading { font-size: 17px; margin-bottom: 6px; }
.modal-mvd-item .body-text { font-size: 14px; margin-bottom: 0; }

.modal-impact-grid { display: grid; gap: 22px; margin-top: 20px; }
.modal-impact-item { display: flex; gap: 16px; align-items: flex-start; }
.impact-icon--modal { color: var(--gold-deep); width: 32px; height: 32px; flex-shrink: 0; }
.modal-impact-heading {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
}
.modal-impact-item .body-text { font-size: 14px; margin-bottom: 0; }

.modal-contact-details { margin: 22px 0; }

.modal-form .form-note,
.modal-newsletter-form .form-note { font-size: 13.5px; color: var(--gold-deep); margin: 12px 0 0; min-height: 18px; }

.modal-newsletter-form { margin-top: 26px; display: grid; gap: 12px; }
.modal-newsletter-form input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
}
.modal-newsletter-form input:focus { outline: none; border-color: var(--gold); }

@media (min-width: 641px) {
  .modal-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-panel {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    padding: 46px 22px 32px;
  }
  .modal-block { padding: 20px 20px; }
}

/* =========================================================
   Contact form — in-place success / error state
   ========================================================= */

.contact-form-wrap { position: relative; }

.form-success {
  background: var(--card-beige);
  border-radius: 12px;
  padding: 44px 36px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: successFadeIn 0.5s var(--ease) forwards;
}
@keyframes successFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.form-success-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  display: block;
}

.form-success-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}
.form-success-check svg { width: 100%; height: 100%; }
.check-circle {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: checkCircle 0.5s var(--ease) 0.15s forwards;
}
.check-mark {
  stroke: var(--gold-deep);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: checkMark 0.35s var(--ease) 0.55s forwards;
}
@keyframes checkCircle { to { stroke-dashoffset: 0; } }
@keyframes checkMark { to { stroke-dashoffset: 0; } }

.form-success-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
}

.form-success-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 auto 14px;
}
.form-success-body:last-of-type { margin-bottom: 26px; }

.form-success-btn { min-width: 200px; }

.form-error-banner {
  background: rgba(185, 92, 78, 0.1);
  border: 1px solid rgba(185, 92, 78, 0.3);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #8a4436;
  margin-top: 14px;
}
