/* ═══════════════════════════════════════════
   THE HATCH GLOBAL — SHARED STYLESHEET
   ═══════════════════════════════════════════ */

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

:root {
  --magenta:      #5B2D8E;
  --magenta-mid:  #7B3DB0;
  --magenta-light:#f0ebf8;
  --gold:         #C9A84C;
  --gold-light:   #E8C96A;
  --gold-pale:    #fdf6e3;
  --purple:       #8B5CF6;
  --green:        #2D6A4F;
  --green-light:  #40916C;
  --green-pale:   #e8f5ee;
  --white:        #FFFFFF;
  --off-white:    #F8F7F5;
  --dark:         #0D0D0D;
  --mid:          #4A4A4A;
  --light:        #9A9A9A;
  --border:       rgba(0,0,0,0.08);
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.12);
  --radius:       4px;
  --radius-lg:    8px;
  --pill:         100px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:'DM Sans', sans-serif;
  background:var(--white);
  color:var(--dark);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img { max-width:100%; display:block; }
a { color:inherit; }
.serif { font-family:'Cormorant Garamond', serif; }

/* ── UTILITIES ── */
.container { max-width:1280px; margin:0 auto; padding:0 5vw; }
.section-pad { padding:7rem 5vw; }
.section-pad-sm { padding:5rem 5vw; }

.label {
  display:block;
  font-size:0.68rem; font-weight:600; letter-spacing:0.2em; text-transform:uppercase;
  color:var(--magenta); margin-bottom:0.85rem;
}
.label-light { color:rgba(255,255,255,0.55); }

.display-title {
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(2.2rem, 5vw, 4.2rem);
  font-weight:300; line-height:1.1;
  letter-spacing:-0.01em;
}
.display-title em { font-style:italic; color:var(--gold); }
.display-title-white { color:var(--white); }

.body-text {
  font-size:1rem; line-height:1.78;
  color:var(--mid);
}

.text-center { text-align:center; }
.mx-auto { margin-left:auto; margin-right:auto; }
.max-600 { max-width:600px; }
.max-720 { max-width:720px; }
.mt-1 { margin-top:1rem; }
.mt-2 { margin-top:2rem; }
.mt-3 { margin-top:3rem; }
.mt-4 { margin-top:4rem; }

/* ── BUTTONS ── */
.btn {
  display:inline-flex; align-items:center; gap:0.45rem;
  padding:0.7rem 1.75rem; border-radius:var(--pill);
  font-family:'DM Sans', sans-serif;
  font-size:0.875rem; font-weight:500;
  text-decoration:none; border:none; cursor:pointer;
  transition:all 0.22s ease;
  white-space:nowrap;
}
.btn-primary {
  background:var(--magenta); color:var(--white);
}
.btn-primary:hover {
  background:var(--magenta-mid);
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(91,45,142,0.3);
}
.btn-gold {
  background:var(--gold); color:var(--dark);
}
.btn-gold:hover { background:var(--gold-light); transform:translateY(-2px); }
.btn-outline-gold {
  background:transparent; color:var(--dark);
  border:1.5px solid var(--gold);
}
.btn-outline-gold:hover { background:var(--gold); }
.btn-dark {
  background:var(--dark); color:var(--white);
}
.btn-dark:hover { background:#2a2a2a; transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-outline-white {
  background:transparent; color:var(--white);
  border:1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background:rgba(255,255,255,0.12); border-color:var(--white); }
.btn-white {
  background:var(--white); color:var(--dark);
  box-shadow:0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,0,0,0.18); }
.btn-lg { padding:0.9rem 2.5rem; font-size:0.95rem; }
.btn-sm { padding:0.45rem 1.1rem; font-size:0.78rem; }

/* ── NAV ── */
nav.main-nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  height:72px;
  display:flex; align-items:center;
  padding:0 5vw;
  transition:box-shadow 0.3s;
}
nav.main-nav.scrolled { box-shadow:0 2px 24px rgba(0,0,0,0.08); }
.nav-inner {
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:2rem;
}
.nav-logo {
  font-family:'Cormorant Garamond', serif;
  font-size:1.35rem; font-weight:600; letter-spacing:0.02em;
  text-decoration:none; color:var(--dark); white-space:nowrap;
  flex-shrink:0;
}
.nav-logo span { color:var(--magenta); }
.nav-links {
  display:flex; align-items:center; gap:1.75rem;
  list-style:none; flex:1; justify-content:center;
}
.nav-links a {
  text-decoration:none; color:var(--mid);
  font-size:0.865rem; font-weight:400;
  transition:color 0.2s; position:relative; white-space:nowrap;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-3px; left:0; right:0;
  height:1.5px; background:var(--magenta);
  transform:scaleX(0); transform-origin:left; transition:transform 0.2s;
}
.nav-links a:hover { color:var(--dark); }
.nav-links a:hover::after,
.nav-links a.active::after { transform:scaleX(1); }
.nav-links a.active { color:var(--dark); }
.nav-actions { display:flex; align-items:center; gap:0.6rem; flex-shrink:0; }
.nav-text-link {
  font-size:0.8rem; color:var(--mid); text-decoration:none;
  padding:0.4rem 0.6rem; transition:color 0.2s;
}
.nav-text-link:hover { color:var(--dark); }
.hamburger {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; padding:4px; background:none; border:none;
}
.hamburger span {
  display:block; width:24px; height:2px;
  background:var(--dark); border-radius:2px; transition:0.3s;
}
.mobile-menu {
  display:none; position:fixed; top:72px; left:0; right:0;
  background:var(--white); border-bottom:1px solid var(--border);
  padding:1.5rem 5vw 2rem; z-index:999;
  flex-direction:column; gap:0;
}
.mobile-menu.open { display:flex; }
.mobile-menu a {
  padding:0.8rem 0; font-size:0.95rem; color:var(--dark);
  text-decoration:none; border-bottom:1px solid var(--border);
  transition:color 0.2s;
}
.mobile-menu a:hover { color:var(--magenta); }
.mobile-menu .mobile-btns {
  display:flex; flex-direction:column; gap:0.75rem; margin-top:1.5rem;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top:72px;
  min-height:380px;
  display:flex; align-items:flex-end;
  position:relative; overflow:hidden;
}
.page-hero-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
}
.page-hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.6) 100%);
}
.page-hero-content {
  position:relative; z-index:2;
  padding:4rem 5vw 4.5rem;
}
.page-hero-content .display-title { color:var(--white); }
.page-hero-content .body-text { color:rgba(255,255,255,0.75); margin-top:1rem; max-width:560px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display:flex; align-items:center; gap:0.5rem;
  font-size:0.75rem; color:rgba(255,255,255,0.6);
  margin-bottom:1rem; list-style:none;
}
.breadcrumb a { text-decoration:none; color:rgba(255,255,255,0.6); transition:color 0.2s; }
.breadcrumb a:hover { color:var(--white); }
.breadcrumb span { color:rgba(255,255,255,0.4); }

/* ── CARDS ── */
.card {
  background:var(--white); border-radius:var(--radius);
  border:1px solid var(--border);
  overflow:hidden; transition:all 0.3s;
}
.card:hover {
  transform:translateY(-5px);
  box-shadow:var(--shadow-lg);
  border-color:transparent;
}
.card-body { padding:1.5rem; }
.card-label {
  font-size:0.65rem; font-weight:600; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--light); margin-bottom:0.5rem;
}
.card-title { font-size:1rem; font-weight:600; margin-bottom:0.5rem; line-height:1.35; }
.card-text { font-size:0.83rem; color:var(--mid); line-height:1.6; }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom:1.25rem; }
.form-label {
  display:block; font-size:0.8rem; font-weight:500;
  margin-bottom:0.5rem; color:var(--dark);
}
.form-input, .form-select, .form-textarea {
  width:100%; padding:0.78rem 1rem;
  border:1px solid var(--border); border-radius:var(--radius);
  font-family:'DM Sans', sans-serif; font-size:0.9rem; color:var(--dark);
  background:var(--white); outline:none;
  transition:border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color:var(--magenta);
  box-shadow:0 0 0 3px rgba(91,45,142,0.08);
}
.form-textarea { resize:vertical; min-height:120px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; }
.form-hint { font-size:0.75rem; color:var(--light); margin-top:0.35rem; }

/* ── POPUP ── */
.popup-overlay {
  position:fixed; inset:0; z-index:2000;
  background:rgba(0,0,0,0.5); backdrop-filter:blur(4px);
  display:none; align-items:center; justify-content:center;
}
.popup-overlay.visible { display:flex; }
.popup {
  background:var(--white); border-radius:var(--radius-lg);
  padding:3rem; max-width:420px; width:90%;
  position:relative; animation:popIn 0.3s ease;
}
@keyframes popIn { from { opacity:0; transform:scale(0.92); } to { opacity:1; transform:scale(1); } }
.popup-close {
  position:absolute; top:1rem; right:1rem;
  width:32px; height:32px; border-radius:50%;
  background:var(--off-white); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; color:var(--mid); transition:0.2s;
}
.popup-close:hover { background:#e8e8e8; }
.popup h3 {
  font-family:'Cormorant Garamond', serif;
  font-size:1.75rem; font-weight:400; margin-bottom:0.5rem;
}
.popup p { font-size:0.88rem; color:var(--mid); margin-bottom:1.5rem; line-height:1.65; }

/* ── BELL ── */
.bell-btn {
  position:fixed; bottom:2rem; left:2rem; z-index:900;
  width:48px; height:48px; border-radius:50%;
  background:var(--white); border:1px solid var(--border);
  box-shadow:var(--shadow-md);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:1.2rem; transition:0.22s;
}
.bell-btn:hover { transform:scale(1.1); }

/* ── FOOTER ── */
footer.main-footer {
  background:var(--green);
  color:rgba(255,255,255,0.9);
  padding:5rem 5vw 0;
}
.footer-grid {
  display:grid; grid-template-columns:2fr 1.5fr 1fr 1.5fr;
  gap:4vw; padding-bottom:4rem;
  border-bottom:1px solid rgba(255,255,255,0.15);
}
.footer-logo {
  font-family:'Cormorant Garamond', serif;
  font-size:1.5rem; font-weight:600;
  color:var(--white); margin-bottom:0.85rem;
}
.footer-logo span { color:var(--gold-light); }
.footer-about {
  font-size:0.85rem; line-height:1.72;
  color:rgba(255,255,255,0.6); margin-bottom:1.5rem;
}
.footer-socials { display:flex; gap:0.65rem; }
.social-link {
  width:36px; height:36px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.3);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,0.75); text-decoration:none;
  font-size:0.75rem; font-weight:600;
  transition:all 0.2s;
}
.social-link:hover {
  background:rgba(255,255,255,0.15);
  border-color:rgba(255,255,255,0.65); color:var(--white);
}
.footer-col h4 {
  font-size:0.68rem; font-weight:600; letter-spacing:0.16em; text-transform:uppercase;
  color:rgba(255,255,255,0.45); margin-bottom:1.25rem;
}
.footer-links { list-style:none; display:flex; flex-direction:column; gap:0.6rem; }
.footer-links a {
  font-size:0.84rem; color:rgba(255,255,255,0.7);
  text-decoration:none; transition:color 0.2s;
}
.footer-links a:hover { color:var(--white); }
.footer-newsletter p {
  font-size:0.84rem; color:rgba(255,255,255,0.6);
  line-height:1.65; margin-bottom:1rem;
}
.newsletter-form { display:flex; flex-direction:column; gap:0.6rem; }
.newsletter-input {
  padding:0.7rem 1rem; border-radius:var(--pill);
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2);
  color:var(--white); font-size:0.84rem;
  font-family:'DM Sans', sans-serif; outline:none; transition:0.2s;
}
.newsletter-input::placeholder { color:rgba(255,255,255,0.38); }
.newsletter-input:focus { border-color:rgba(255,255,255,0.5); }
.newsletter-btn {
  padding:0.7rem 1.5rem; border-radius:var(--pill);
  background:var(--gold); color:var(--dark);
  font-size:0.84rem; font-weight:600; border:none; cursor:pointer;
  font-family:'DM Sans', sans-serif; transition:all 0.2s;
}
.newsletter-btn:hover { background:var(--gold-light); }
.footer-bottom {
  padding:1.5rem 0;
  display:flex; align-items:center; justify-content:space-between;
  font-size:0.76rem; color:rgba(255,255,255,0.4);
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity:0; transform:translateY(28px);
  transition:opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .footer-grid { grid-template-columns:1fr 1fr; gap:3rem; }
}
@media (max-width:768px) {
  .nav-links { display:none; }
  .nav-actions .btn, .nav-text-link { display:none; }
  .nav-actions .nav-mobile-cta { display:flex !important; }
  .hamburger { display:flex; }
  .section-pad { padding:5rem 6vw; }
  .form-row { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; gap:0.4rem; text-align:center; }
  .display-title { font-size:2.2rem; }
}
