:root{
  --black:#000000;
  --ui:#0E0E0E;
  --card:#121212;
  --card2:#141414;
  --white:#FFFFFF;
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.58);

  /* Brand gold (locked) */
  --gold:#E4B637;
  --gold2:#C9A933;

  --border:rgba(255,255,255,.10);
  --border2:rgba(255,255,255,.14);

  --shadow:0 18px 50px rgba(0,0,0,.55);
  --shadowSoft:0 10px 28px rgba(0,0,0,.45);

  --radius:16px;
  --radius2:20px;

  --container:1120px;
  --containerNarrow:920px;

  --space-1:8px;
  --space-2:12px;
  --space-3:16px;
  --space-4:22px;
  --space-5:28px;
  --space-6:36px;
  --space-7:52px;
  --space-8:72px;

  --font-display:"DM Serif Display", serif;
  --font-body:"Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-accent:"Cormorant Garamond", serif;

  --focus:0 0 0 3px rgba(228,182,55,.26), 0 0 0 1px rgba(228,182,55,.22);
}

*{box-sizing:border-box}
html,body{height:100%}
html{overflow-x:hidden}
body{
  margin:0;
  color:var(--white);
  background:var(--black);
  font-family:var(--font-body);
  line-height:1.55;
  letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
button,input,select,textarea{font:inherit; color:inherit}
input,select,textarea{background:transparent}
::selection{background:rgba(228,182,55,.22)}

.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:var(--space-3);
  top:var(--space-3);
  width:auto;height:auto;
  z-index:9999;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(14,14,14,.95);
  border:1px solid var(--border2);
  box-shadow:var(--shadowSoft);
}

/* Core centering system */
.container{
  width:100%;
  max-width:var(--container);
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--space-3);
  padding-right:var(--space-3);
}
.container-narrow{
  width:100%;
  max-width:var(--containerNarrow);
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--space-3);
  padding-right:var(--space-3);
}

main{display:block; min-height:50vh}

/* Panels */
.panel{
  padding:var(--space-8) 0;
  background:linear-gradient(180deg, rgba(14,14,14,.96), rgba(0,0,0,.98));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.top-gap{margin-top:var(--space-6)}

.section-head{
  display:flex;
  flex-direction:column;
  gap:var(--space-2);
  margin-bottom:var(--space-5);
}
.section-head-center{
  align-items:center;
  text-align:center;
}
.section-sub{
  color:var(--muted);
  max-width:70ch;
  margin:0;
  font-size:15px;
}

.heading-outline{
  margin:0;
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:.02em;
  font-size:clamp(26px, 3.6vw, 44px);
  line-height:1.08;
  text-shadow:
    0 0 0 rgba(0,0,0,0),
    0 0 18px rgba(228,182,55,.08),
    0 0 1px rgba(228,182,55,.18),
    1px 0 0 rgba(228,182,55,.10),
    -1px 0 0 rgba(228,182,55,.10),
    0 1px 0 rgba(228,182,55,.10),
    0 -1px 0 rgba(228,182,55,.10);
}
.section-h2{
  margin:0;
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:.02em;
  font-size:20px;
  line-height:1.15;
}

.accent-label{
  font-family:var(--font-display);
  font-weight:600;
  font-size:16px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:0 0 10px 0;

  color:rgba(255,255,255,.92);
  -webkit-text-stroke:1px rgba(228,182,55,.26);
  text-shadow:0 0 10px rgba(228,182,55,.10), 0 1px 18px rgba(0,0,0,.35);
}

.accent-kicker{
  font-family:var(--font-accent);
  font-weight:600;
  font-size:14px;
  letter-spacing:.10em;
  color:var(--gold);
  text-transform:uppercase;
  margin:0 0 var(--space-2) 0;
}

.service-title-outline{
  margin:0 0 12px 0;
  font-family:var(--font-display);
  font-weight:700;
  font-size:20px;
  letter-spacing:.10em;
  text-transform:uppercase;

  color:rgba(255,255,255,.92);
  -webkit-text-stroke:0.55px rgba(228,182,55,.28);
  text-shadow:
    0 1px 0 rgba(0,0,0,.55),
    0 0 10px rgba(255,255,255,.05),
    0 0 16px rgba(228,182,55,.06);
}

.muted{color:var(--muted)}
.micro-note{
  margin:10px 0 0 0;
  color:var(--muted2);
  font-size:13px;
}

.note-box{
  max-width:var(--containerNarrow);
  margin-left:auto;
  margin-right:auto;
  padding:16px 18px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(255,255,255,.03);
  text-align:center;
}
.note-text{margin:0; color:var(--muted); font-size:14px}

/* Grids */
.grid{
  display:grid;
  gap:var(--space-4);
  width:100%;
}
.grid-2{grid-template-columns:repeat(2, minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3, minmax(0,1fr))}

@media (max-width: 960px){
  .grid-3{grid-template-columns:repeat(2, minmax(0,1fr))}
  .grid-2{grid-template-columns:1fr}
}
@media (max-width: 560px){
  .grid-3{grid-template-columns:1fr}
}

.card{
  position:relative;
  border:1px solid var(--border);
  border-radius:var(--radius2);
  background:rgba(18,18,18,.88);
  box-shadow:var(--shadowSoft);
  padding:22px;
  overflow:hidden;
}
.card p{margin:0 0 12px 0; color:var(--muted)}
.card p:last-child{margin-bottom:0}
.card h3{
  margin:0 0 10px 0;
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:.02em;
  font-size:20px;
  line-height:1.18;
}
.card-compact{padding:18px;text-align:center;}
.card-carousel{
  background:rgba(20,20,20,.86);
  padding:18px 18px 16px 18px;
}
.is-muted{opacity:.76; filter:saturate(.85)}

.card-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  margin-top:14px;
}
.card-actions-center{justify-content:center}

.badge{
  position:absolute;
  top:14px;
  right:14px;
  z-index:3;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(228,182,55,.20);
  background:rgba(228,182,55,.10);
  color:var(--gold);
  letter-spacing:.06em;
  text-transform:uppercase;
}

.media-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
  text-align:center;
}
.media-frame{
  width:100%;
  height: 100%; /* cap the media so it wont grow taller than text cards */
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(1200px 520px at 30% 15%, rgba(228,182,55,.10), rgba(0,0,0,0) 60%),
    radial-gradient(900px 420px at 75% 70%, rgba(255,255,255,.06), rgba(0,0,0,0) 62%),
    rgba(10,10,10,.9);
  box-shadow:var(--shadowSoft);
  overflow:hidden;
  display:flex;
  align-items:stretch;
  position: relative;
}

.media-frame-img{
  position:absolute;
  inset: 0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

.media-frame-img-2{
  position:relative;
  inset: 0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

.media-note{margin:0; color:var(--muted2); font-size:13px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:46px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid var(--border2);
  background:rgba(255,255,255,.02);
  color:var(--white);
  font-weight:600;
  letter-spacing:.01em;
  cursor:pointer;
  transition:transform .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
  user-select:none;
  white-space:nowrap;
}
.btn:hover{
  border-color:rgba(228,182,55,.30);
  background:rgba(228,182,55,.07);
  transform:translateY(-1px);
}
.btn:active{transform:translateY(0)}
.btn:focus-visible{outline:none; box-shadow:var(--focus)}

.btn-primary{
  background:rgba(228,182,55,.12);
  border-color:rgba(228,182,55,.26);
}
.btn-primary:hover{
  background:rgba(228,182,55,.16);
  border-color:rgba(228,182,55,.34);
}
.btn-secondary{
  background:rgba(255,255,255,.02);
  border-color:rgba(255,255,255,.16);
}

.cta-row{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}
.cta-row-center{justify-content:center}

.icon-btn{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.03);
  color:var(--white);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background-color .12s ease, transform .12s ease, border-color .12s ease;
}
.icon-btn span{font-size:26px; line-height:1; opacity:.92}
.icon-btn:hover{
  background:rgba(228,182,55,.08);
  border-color:rgba(228,182,55,.30);
  transform:translateY(-1px);
}
.icon-btn:active{transform:translateY(0)}
.icon-btn:focus-visible{outline:none; box-shadow:var(--focus)}

/* HEADER: full-width */
.site-header{
  position:sticky;
  top:0;
  z-index:2000;
  background:rgba(0,0,0,0.65);
  border-bottom:1px solid rgba(255,255,255,.08);
  height:72px;            /* pick the header height you want */
  padding:0;              /* IMPORTANT: prevents growth */
}

.site-header .container{
  max-width:none;
  padding-left:0;
  padding-right:0;
}

.site-header .brand{
  margin-left:16px; /* fine tune */
}

.site-header .menu{
  margin-right:16px; /* fine tune */
}

.nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;            /* must match .site-header height */
  padding:0;
  gap:var(--space-3);
  width:100%;
}

.brand{
  margin-right:auto;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  background:transparent;
  height:56px;            /* internal logo slot (smaller than header) */
}
.brand-mark{
  font-family:var(--font-display);
  font-size:22px;
  letter-spacing:.06em;
  padding:6px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
}
.brand-logo{
  height:0px;
  width:auto;
  display:block;
  height:100%;            /* fills the .brand slot, not the header */
}

.primary-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin-left:auto;
}
.menu{
  display:flex;
  gap:18px;
  list-style:none;
  padding:0;
  margin:0;
  align-items:center;
  justify-content:flex-end;
}
.menu > li > a,
.menu > li > button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid transparent;
  background:transparent;
  color:var(--white);
  cursor:pointer;
  font-weight:600;
  letter-spacing:.01em;
  transition:background-color .12s ease, border-color .12s ease;
}
.menu > li > a:hover,
.menu > li > button:hover{
  background:rgba(255,255,255,.03);
  border-color:rgba(255,255,255,.10);
}
.menu > li > a:focus-visible,
.menu > li > button:focus-visible{
  outline:none;
  box-shadow:var(--focus);
}
.menu a[aria-current="page"]{
  border-color:rgba(228,182,55,.20);
  background:rgba(228,182,55,.08);
}

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.02);
  cursor:pointer;
}
.nav-toggle:focus-visible{outline:none; box-shadow:var(--focus)}
.hamburger{
  position:relative;
  display:block;
  width:18px;
  height:2px;
  background:rgba(255,255,255,.84);
  margin:0 auto;
}
.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:rgba(255,255,255,.84);
}
.hamburger::before{top:-6px}
.hamburger::after{top:6px}

.has-submenu{position:relative}

/* Submenus */
.submenu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:240px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(14,14,14,.98);
  box-shadow:var(--shadow);
  padding:10px;
  display:none;
  z-index:2200;
}
.submenu::before{
  content:"";
  position:absolute;
  right:18px;
  top:-10px;
  width:220px;
  height:10px;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.is-open > .submenu{display:block}

.submenu li{list-style:none; margin:0; padding:0}
.submenu a,
.submenu button{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid transparent;
  background:transparent;
  color:var(--white);
  cursor:pointer;
  font-weight:600;
}
.submenu a:hover,
.submenu button:hover{
  background:rgba(228,182,55,.07);
  border-color:rgba(228,182,55,.20);
}
.submenu a:focus-visible,
.submenu button:focus-visible{outline:none; box-shadow:var(--focus)}
.submenu li + li{
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:6px;
  padding-top:6px;
}

/* Flyouts */
.flyout{
  right:calc(100% + 10px);
  top:-6px;
}
.flyout::before{
  content:"";
  position:absolute;
  right:-10px;
  top:10px;
  width:10px;
  height:220px;
}

@media (max-width: 980px){
  .nav-toggle{display:inline-flex; align-items:center; justify-content:center}
  .primary-nav{
    position:fixed;
    inset:72px 0 auto 0;
    padding:var(--space-3);
    display:none;
    background:#000000;
    backdrop-filter:none;
    border-bottom:1px solid rgba(255,255,255,.10);
    z-index:2100;
  }
  .primary-nav.is-open{display:block}
  .menu{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    max-width:var(--containerNarrow);
    margin-left:auto;
    margin-right:auto;
  }
  .menu > li > a,
  .menu > li > button{
    width:100%;
    justify-content:space-between;
    border-color:rgba(255,255,255,.10);
    background:rgba(255,255,255,.02);
    border-radius:18px;
    padding:0 14px;
  }
  .submenu{
    position:static;
    display:none;
    margin-top:10px;
    min-width:unset;
    padding:10px;
  }
  .has-submenu.is-open > .submenu{display:block}
  .flyout{
    position:static;
    margin-top:10px;
    right:auto;
  }
  .submenu::before,
  .flyout::before{display:none}
}

/* HERO */
.hero{
  background:transparent;
  position:relative;
  min-height:76vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:var(--space-8) 0;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.06);
}

/* Bottom fade to black (matches your site base) */
.hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:140px;
  z-index:3;
  pointer-events:none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.55) 45%,
    rgba(0,0,0,1) 100%
  );
}

.hero-bg{ background:transparent; }

.hero-inner{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  gap:var(--space-3);
  align-items:center;
  text-align:center;
  max-width:var(--containerNarrow);
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--space-3);
  padding-right:var(--space-3);
}

.hero-title{
  margin:0;
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:.02em;
  font-size:clamp(38px, 6.2vw, 68px);
  line-height:1.02;
  text-shadow:
    0 10px 34px rgba(0,0,0,.75),
    0 1px 0 rgba(0,0,0,.55);
}

.hero-sub{margin:0; color:var(--muted); font-size:16px; max-width:64ch}
.hero-note{margin:10px 0 0 0; color:var(--muted2); font-size:13px; max-width:68ch}

.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
}

/* If you're using <img> inside .hero-media */
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  /* Raise the image: smaller % = higher crop */
  object-position:center 15%;
  display:block;

  filter:saturate(.85) contrast(.95) brightness(.55);
  transform:scale(1.04);
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(1100px 620px at 20% 20%, rgba(228,182,55,.14), rgba(0,0,0,0) 62%),
    linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.90));
}

/* Buttons more prominent on hero */
.hero .btn{
  background: rgba(0,0,0,.48);
  border-color: rgba(255,255,255,.32);
  color: #fff;
}
.hero .btn:hover{
  background: rgba(0,0,0,.58);
  border-color: rgba(255,255,255,.45);
}
.hero .btn-primary{
  background: rgba(228,182,55,.88);
  border-color: rgba(228,182,55,.9);
  color: #0a0a0a;
}
.hero .btn-primary:hover{
  background: rgba(228,182,55,1);
}

@media (max-width: 720px){
  .hero{min-height:78vh}
  .hero-title{font-size:clamp(34px, 9vw, 48px)}
}

/* HERO CTA: equal-width buttons */
.hero .cta-row-center{gap:18px}
.hero .cta-row-center .btn{
  min-width:180px;
  justify-content:center;
}

/* CAROUSEL: centered between arrows, controlled width */
.carousel{
  width:100%;
  max-width:var(--containerNarrow);
  margin-left:auto;
  margin-right:auto;
}

.carousel-shell{
  display:grid;
  grid-template-columns:48px minmax(0, 560px) 48px;
  gap:var(--space-3);
  justify-content:center;
  align-items:center;
  margin-top:-40px;
}

.carousel-shell > .icon-btn{
  justify-self:center;
  align-self:center;
}

.carousel-stage{
  width:100%;
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
  justify-content:center;
}

.carousel-viewport{width:100%; outline:none}

.carousel-track{
  width:100%;
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
  min-height:172px;
  display:flex;
  justify-content:center;
  align-items:center;
  padding-top:34px; /* small drop to align with arrow vertical center */
}

/* Hide all slides by default */
.carousel-track [data-slide],
.carousel-track [data-carousel-slide],
.carousel-track .card-carousel{
  display:none;
  width:100%;
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
}

/* Show only active slide */
.carousel-track [data-slide].is-active,
.carousel-track [data-carousel-slide].is-active,
.carousel-track .card-carousel.is-active{
  display:block;
}

.card-carousel{text-align:center}
.carousel-track .card-carousel h3{
  font-size:22px;
  margin:0 0 8px 0;
  text-align:center;
}
.carousel-track .card-carousel p{
  margin:0;
  color:var(--muted);
  text-align:center;
}

.carousel-dots{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  margin-top:4px;
  min-height:22px;
}
.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
  cursor:pointer;
  transition:transform .12s ease, background-color .12s ease, border-color .12s ease;
}
.dot:hover{
  transform:scale(1.05);
  border-color:rgba(228,182,55,.28);
  background:rgba(228,182,55,.10);
}
.dot.is-active{
  border-color:rgba(228,182,55,.42);
  background:rgba(228,182,55,.18);
}

.carousel-hint{
  margin:0;
  color:var(--muted2);
  font-size:13px;
  text-align:center;
}

@media (max-width: 560px){
  .carousel-shell{
    grid-template-columns:44px minmax(0, 520px) 44px;
    gap:12px;
  }
  .carousel-stage{max-width:520px}
  .carousel-track{max-width:520px; min-height:186px}
}

/* FOOTER */
.site-footer{
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(14,14,14,.98), rgba(0,0,0,.98));
  padding:var(--space-5) 0 var(--space-4) 0;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:var(--space-5);
  align-items:start;
  width:100%;
  max-width:var(--container);
  margin-left:auto;
  margin-right:auto;
}
.footer-col{display:flex; flex-direction:column; gap:6px}
.footer-kicker{
  margin:0;
  font-family:var(--font-accent);
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold);
  font-size:13px;
}
.footer-tagline{margin:0; color:var(--muted); font-size:14px; max-width:46ch}
.footer-links{display:flex; gap:6px; flex-wrap:wrap}
.footer-links-stack{flex-direction:column; align-items:flex-start}
.footer-links a{
  color:var(--muted);
  font-size:14px;
  padding:0;
  line-height:1.7;
  border-bottom:1px solid transparent;
}
.footer-links a:hover{color:var(--white); border-bottom-color:rgba(228,182,55,.18)}
.footer-links a:focus-visible{
  outline:none;
  box-shadow:var(--focus);
  border-radius:10px;
  padding-inline:8px;
  padding-block:4px;
}
.footer-bottom{
  margin-top:var(--space-2);
  padding-top:var(--space-2);
  border-top:1px solid rgba(255,255,255,.08);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:var(--space-2);
  width:100%;
  max-width:var(--container);
  margin-left:auto;
  margin-right:auto;
  min-height: 48px;
}
.footer-copy{margin:0; color:var(--muted2); font-size:13px}
.footer-logo{
  justify-self:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:12px;
  border:none;
  background:transparent;
  font-family:var(--font-display);
  letter-spacing:.06em;
  line-height:0;
  max-height: 36px;
}
.footer-logo-img{
  height:64px;
  width:auto;
  max-width:120px;
}
.traylil-link{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  border:none;
  background:transparent;
}
.traylil-link:hover{
  border-color:rgba(228,182,55,.22);
  background:rgba(228,182,55,.06);
}

@media (max-width: 960px){
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 560px){
  .footer-grid{grid-template-columns:1fr; gap:var(--space-4)}
  .footer-bottom{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
    gap:12px;
  }
  .traylil-link{justify-self:center}
}

/* Forms */
.form{width:100%; margin-top:12px}
.form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
}
.field{display:flex; flex-direction:column; gap:8px}
.field-full{grid-column:1 / -1}
label{font-size:13px; letter-spacing:.02em; color:var(--muted2)}
input,select,textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.02);
  padding:12px 12px;
  color:var(--white);
  transition:border-color .12s ease, background-color .12s ease, box-shadow .12s ease;
}
textarea{resize:vertical; min-height:120px}
input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:rgba(228,182,55,.30);
  box-shadow:var(--focus);
}
select{
  appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.60) 50%),
    linear-gradient(135deg, rgba(255,255,255,.60) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
  padding-right:34px;
}
.form-status{margin:12px 0 0 0; color:var(--muted); font-size:13px}

/* Reveal */
.reveal{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .46s ease, transform .46s ease;
}
.reveal.is-visible{opacity:1; transform:translateY(0)}
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important; transition:none !important; animation:none !important}
  .reveal{opacity:1; transform:none}
}

/* Modal */
.modal-overlay{
  position:fixed;
  inset:0;
  z-index:3000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:var(--space-4);
  background:rgba(0,0,0,.68);
}
.modal-overlay.is-open{display:flex}
.modal-content{
  width:min(560px, 100%);
  border-radius:20px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(14,14,14,.98);
  box-shadow:var(--shadow);
  padding:22px;
  text-align:center;
}
.modal-content h3{
  margin:0 0 10px 0;
  font-family:var(--font-display);
  font-weight:400;
  font-size:26px;
  letter-spacing:.02em;
}
.modal-content p{margin:0 0 16px 0; color:var(--muted)}
.modal-close{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.02);
  color:var(--white);
  cursor:pointer;
}
.modal-close:hover{
  border-color:rgba(228,182,55,.22);
  background:rgba(228,182,55,.06);
}
.modal-close:focus-visible{outline:none; box-shadow:var(--focus)}

/* FIX: enforce spacing between adjacent buttons inside card-actions (Safari-safe) */
.card-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 18px; /* preferred when supported */
  row-gap: 12px;
}

.card-actions > .btn + .btn {
  margin-left: 5px; /* hard fallback if gap/column-gap is ignored */
}

/* FIX: Hero CTA spacing (Safari-safe if flex gap is ignored) */
.hero .cta-row {
  column-gap: 18px;
  row-gap: 12px;
}

.hero .cta-row > .btn + .btn {
  margin-left: 5px;
}

.carousel-shell .howwork-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

.coming-soon-badge{
  display: inline-block;
  margin: 12px auto 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;

  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(228,182,55,.20);
  background:rgba(228,182,55,.10);
  color:var(--gold);

  text-align: center;
}

.card-actions + .coming-soon-badge{
  display: block;
  text-align: center;
}

.badge{
  position:absolute;
  top:14px;
  right:14px;
  z-index:3;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(228,182,55,.20);
  background:rgba(228,182,55,.10);
  color:var(--gold);
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* Logo button base */
.btn-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;     /* controls button height */
}

/* Logo inside button */
.btn-logo-img {
  height: 40px;          /* ← primary size control */
  width: auto;
  display: block;
  pointer-events: none;  /* prevents image drag/select */
}

/* Mobile nav drops from the header toggle (top-right) */
@media (max-width: 980px) {
  /* Make header the anchor */
  .site-header {
    position: sticky;   /* or position: relative; if you don’t want sticky */
    top: 0;
    z-index: 1000;
  }

  /* Ensure the inner container is the positioning context (optional but helps) */
  .site-header .nav-container {
    position: relative;
  }

  /* Mobile panel (closed state) */
  #primaryNav.primary-nav {
    position: absolute;
    top: calc(100% + 10px);   /* drops under header */
    right: 0;                 /* aligns to the toggle corner */
    left: auto;

    width: min(92vw, 360px);
    max-height: calc(100vh - 90px);
    overflow: auto;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;

    background: rgba(0, 0, 0, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 12px;

    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  }

  /* Open state */
  #primaryNav.primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Mobile menu layout */
  #primaryNav .menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* If your submenu opens inside the panel */
  #primaryNav .submenu {
    position: static;
    margin-top: 6px;
    padding-left: 10px;
  }
}

@media (max-width: 980px) {
  /* Submenu should behave like a normal stacked list on mobile */
  .primary-nav .submenu {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    visibility: visible;

    display: none;            /* hidden by default */
    margin: 8px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid rgba(255,255,255,.10);
    background: transparent;
    box-shadow: none;
    width: 100%;
  }

  /* When the parent is open, show submenu */
  .primary-nav .has-submenu.is-open > .submenu {
    display: block;
  }

  /* Make submenu links indented and full-width */
  .primary-nav .submenu a {
    display: block;
    padding: 10px 12px;
    margin-left: 10px;
    border-radius: 10px;
  }

  /* Ensure the Services row (the toggle link) behaves like a row */
  .primary-nav .has-submenu > .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}