:root{
  --brand-1:#FF5349;
  --brand-2:#FF7F50;
  --wordmark:#5B5B5D;

  --ink:#1f2937;
  --muted:#6b7280;
  --bg:#ffffff;
  --bg2:#fafafa;
  --line:#e5e7eb;

  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.07);
  --shadow-sm:0 6px 18px rgba(0,0,0,.06);

  --container:1180px;
}

/* Sleeker baseline typography */
html{ font-size:15px; }

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}

/* Premium page backdrop so sections don’t feel flat */
body{
  background:
    radial-gradient(1100px 520px at 10% -10%, rgba(255,83,73,.07), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(255,127,80,.06), transparent 55%),
    var(--bg);
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}

.container{max-width:var(--container);margin:0 auto;padding:0 20px}

/* Slightly tighter sections for a more premium look */
.section{padding:64px 0}
.section.alt{background:var(--bg2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

/* prevent dropdown clipping */
.topbar, .nav, .navlinks{ overflow: visible; }

/* ===== HEADER LAYOUT ===== */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 0;
  flex-wrap:nowrap;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  flex-shrink:0;
  min-width:0;
}
.brand img{height:72px;width:auto;display:block}

.navlinks{
  display:flex;
  align-items:center;
  gap:22px;
  flex:1;
  justify-content:center;
  flex-wrap:nowrap;
  min-width:0;
}

/* Tier-1 link styles (applies to both <a> and button.nav-parent) */
.navlinks a,
.nav-parent{
  font-weight:700;
  font-size:14px;
  color:var(--ink);
  opacity:.92;
  white-space:nowrap;
}

.navlinks a:hover,
.nav-parent:hover{opacity:1}

.navcta{
  display:flex;
  gap:14px;
  align-items:center;
  flex-shrink:0;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:12px;
  font-weight:800;
  font-size:13.5px;
  border:1px solid var(--line);
  background:#fff;
  white-space:nowrap;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}
.btn.primary{
  border:none;
  background:linear-gradient(90deg,var(--brand-1),var(--brand-2));
  color:#fff;
}
.btn.ghost{background:transparent}

/* Mobile menu button (hidden on desktop) */
.menu-btn{display:none}

/* Mobile CTAs hidden on desktop */
.navlinks-cta{display:none}

/* ===== DROPDOWNS ===== */
.nav-item{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}
.solo-link{display:inline-flex;align-items:center}

/* If nav-parent is a BUTTON (tier-1 non-link), reset it to look like text */
.nav-parent{
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  cursor:pointer;
  font:inherit;
}

/* caret toggle (desktop) - SMALL */
.nav-dd-toggle{
  display:inline-flex;
  width:12px;
  height:12px;
  padding:0;
  border:none;
  background:transparent;
  cursor:pointer;
  opacity:.75;
}
.nav-dd-toggle:hover{opacity:1}

.nav-dd-toggle::after{
  content:"";
  width:5px;
  height:5px;
  border-right:1px solid var(--muted);
  border-bottom:1px solid var(--muted);
  transform: rotate(45deg);
  display:block;
}

/* dropdown panel */
.dropdown{
  display:none;
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width:260px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow-sm);
  padding:10px;
  z-index:99999;
}

.dropdown a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  font-weight:700;
  font-size:14px;
  color:var(--ink);
  opacity:.95;
}
.dropdown a:hover{
  background: rgba(255,83,73,.10);
  opacity:1;
}

/* optional “All …” top link emphasis if you use class="dropdown-top" */
.dropdown .dropdown-top{font-weight:800}

/* open on hover/focus, and on click via .open */
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown{
  display:block;
}

/* ===== DESKTOP DROPDOWN HOVER BRIDGE (fix close-on-hover) ===== */
@media (min-width: 921px){
  .has-dropdown{ position: relative; }

  .has-dropdown::after{
    content:"";
    position:absolute;
    left:-10px;
    right:-10px;
    top:100%;
    height:16px;
  }

  .dropdown{ top: calc(100% + 10px); }
}

/* ===== CARDS / SECTIONS ===== */
.card-link{display:block}
.card-link:hover{opacity:1}
.card-link:focus{
  outline:3px solid rgba(255,83,73,.35);
  outline-offset:4px;
  border-radius:16px;
}

.kicker{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 12px;border:1px solid var(--line);
  border-radius:999px;font-size:13px;color:var(--muted);
  background:#fff;
}
.kicker .dot{
  width:10px;height:10px;border-radius:999px;
  background:linear-gradient(90deg,var(--brand-1),var(--brand-2));
}

h1{font-size:40px;line-height:1.14;margin:14px 0 12px}
.lead{font-size:16px;color:var(--muted);max-width:64ch}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}

.trustbar{margin-top:22px;display:flex;gap:18px;flex-wrap:wrap;font-size:13px}
.trust-pill{border:1px solid var(--line);padding:8px 12px;border-radius:999px;background:#fff}

.section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}
.section-title h2{margin:0;font-size:26px}
.section-title p{margin:0;color:var(--muted);max-width:70ch}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}

.card{
  background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:18px;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}
.card h3{margin:0 0 8px;font-size:17px}
.card p{margin:0;color:var(--muted)}

.icon{
  width:46px;height:46px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(90deg, rgba(255,83,73,.14), rgba(255,127,80,.14));
  border:1px solid rgba(255,83,73,.22);
  margin-bottom:10px;
  font-weight:900;color:var(--brand-1);
  font-size:24px;line-height:1;
}

.list{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.list li{margin:6px 0}

.callout{
  background:linear-gradient(90deg, rgba(255,83,73,.08), rgba(255,127,80,.08));
  border:1px solid rgba(255,83,73,.2);
  border-radius:var(--radius);
  padding:18px;
}
.callout h3{margin:0 0 6px}
.callout p{margin:0;color:var(--muted)}

.hr{height:1px;background:var(--line);margin:18px 0}
.small{font-size:13px;color:var(--muted)}

/* ===== FOOTER (PREMIUM GRADIENT) ===== */
.footer{
  position: relative;
  padding:48px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(255,83,73,.22), transparent 60%),
    radial-gradient(800px 480px at 82% 18%, rgba(255,127,80,.18), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #060a12 100%);
  color: rgba(255,255,255,.78);
}

.footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.18;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 80%);
}

.footer .container{ position: relative; z-index: 1; }

.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:18px}

.footer a{
  color:rgba(255,255,255,.72);
  font-size:14px;
  display:inline-block;
  padding:4px 0;
}
.footer a:hover{color:rgba(255,255,255,.95);opacity:1}

.footer p{color:rgba(255,255,255,.72);margin:10px 0 0}
.footer .small{color:rgba(255,255,255,.72)}
.footer .hr{background:rgba(255,255,255,.12)}

/* FIX: footer column headings were dark due to inline style color:var(--ink) */
.footer .small[style*="font-weight:800"]{
  color: rgba(255,255,255,.92) !important;
}

.footer-logo{
  height:72px;width:auto;display:block;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}

/* ===== MAUTIC EMBED (SLEEK) ===== */
.mautic-embed, .mautic-embed *{box-sizing:border-box}
.mautic-embed .mauticform_wrapper{width:100%; max-width:100%}
.mautic-embed .mauticform-row{margin-bottom:10px}
.mautic-embed label{display:block;margin:10px 0 6px;font-weight:700;color:var(--ink)}

.mautic-embed input,
.mautic-embed select,
.mautic-embed textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 14px;
  font-size:14px;
  background:#fff;
  outline:none;
}

.mautic-embed input:focus,
.mautic-embed select:focus,
.mautic-embed textarea:focus{
  border-color: rgba(255,83,73,.45);
  box-shadow: 0 0 0 4px rgba(255,83,73,.12);
}

.mautic-embed textarea{min-height:140px;resize:vertical}
.mautic-embed .mauticform-errormsg{color:#b91c1c;font-size:13px;margin-top:6px}

/* Hide the top error & success containers by default */
.mautic-embed .mauticform-error,
.mautic-embed .mauticform-message{
  display:none;
}

/* Show and style ONLY when Mautic inserts text */
.mautic-embed .mauticform-error:not(:empty){
  display:block;
  color:#b91c1c;
  font-size:13px;
  margin:0 0 10px;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(185,28,28,.08);
  border: 1px solid rgba(185,28,28,.18);
}

.mautic-embed .mauticform-message:not(:empty){
  display:block;
  color:#16a34a !important;
  font-weight:700;
  font-size:13px;
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(22,163,74,.10);
  border: 1px solid rgba(22,163,74,.22);
}

.mautic-embed button,
.mautic-embed input[type="submit"]{
  width:100%;
  border:none;border-radius:12px;
  padding:12px 14px;
  font-weight:800;font-size:14px;
  color:#fff;
  background:linear-gradient(90deg,var(--brand-1),var(--brand-2));
  cursor:pointer;
}
.mautic-embed button:hover,
.mautic-embed input[type="submit"]:hover{opacity:.95}

/* ===== FULL HERO ===== */
.hero-full{
  position: relative;
  width: 100%;
  height: 600px;
  overflow:hidden;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.hero-full::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.32) 0%,
    rgba(0,0,0,.18) 35%,
    rgba(0,0,0,0) 70%
  );
  pointer-events:none;
  z-index:1;
}
.hero-full .container{
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: 20px;
  display: flex;
  align-items: center;
}
.hero-full .hero-content{
  max-width: 760px;
  padding: 22px 22px;
  border-radius: 18px;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 12px 30px rgba(0,0,0,.20);
}
.hero-full h1{ color: rgba(255,255,255,.96); }
.hero-full .lead{ color: rgba(255,255,255,.82); }
.hero-full .kicker{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.86);
}
.hero-full .hero-ctas .btn.primary{ box-shadow:0 10px 24px rgba(0,0,0,.20); }
.hero-full .hero-ctas .btn:not(.primary){
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}
.hero-full .hero-ctas .btn:not(.primary):hover{
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.60);
}
.hero-full .trust-pill{
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  color: rgba(255,255,255,.88) !important;
}

/* breadcrumbs bar */
.breadcrumbs-bar{border-bottom:1px solid var(--line);padding:14px 0;background:#fff}

/* ===== WORK / PROJECTS ACCORDION (GLOBAL) ===== */
.proj-controls{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.proj-input,
.proj-select{
  border:1px solid var(--line);
  border-radius:12px;
  padding:11px 12px;
  font-size:14px;
  background:#fff;
  outline:none;
}
.proj-input{ flex:1; min-width:240px; }
.proj-select{ min-width:200px; }

.accordion{ display:flex; flex-direction:column; gap:12px; }

.acc-item{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  overflow:hidden;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}

/* IMPORTANT: remove native summary marker to prevent double caret */
.acc-item > summary{ list-style:none; }
.acc-item > summary::-webkit-details-marker{ display:none; }

.acc-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  cursor:pointer;
}
.acc-title{
  font-weight:800;
  font-size:15px;
  color:var(--ink);
}
.acc-meta{
  margin-top:6px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.acc-chip{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  background:#fff;
  padding:6px 10px;
  border-radius:999px;
}

.acc-right{ display:flex; align-items:center; }
.acc-caret{
  width:8px;
  height:8px;
  border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);
  transform:rotate(45deg);
  opacity:.8;
}
.acc-item[open] .acc-caret{
  transform:rotate(-135deg);
  opacity:1;
}
.acc-body{ padding:0 18px 18px 18px; }

.tagrow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}
.tag{
  font-size:12px;
  color:var(--ink);
  background:rgba(255,83,73,.08);
  border:1px solid rgba(255,83,73,.18);
  padding:6px 10px;
  border-radius:999px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px){
  .brand img{height:64px}
  .navlinks{gap:14px}
  .navlinks a, .nav-parent{font-size:13px}
  .navcta .btn{padding:9px 12px;font-size:13px}
}

@media (max-width: 920px){
  h1{font-size:32px}
  .lead{font-size:15.5px}

  .grid3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}

  .nav{ position:relative; }
  .menu-btn{ display:inline-flex; }
  .navcta{ display:none !important; }

  .navlinks{
    display:none;
    position:absolute;
    top:84px;
    left:0;
    right:0;
    flex-direction:column;
    gap:12px;
    background:#fff;
    padding:14px 18px;
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:var(--shadow-sm);
    z-index:100;
    justify-content:flex-start;
  }
  .navlinks.open{display:flex;}

  .nav-item{display:flex;justify-content:space-between;width:100%}
  .nav-parent{flex:1;padding:6px 0;text-align:left}

  /* mobile caret larger */
  .nav-dd-toggle{
    width:34px;height:34px;
    border-radius:10px;
    border:1px solid var(--line);
    background:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    opacity:1;
  }
  .nav-dd-toggle::after{
    width:8px;height:8px;
    border-right:2px solid var(--muted);
    border-bottom:2px solid var(--muted);
    transform: rotate(45deg);
  }

  .dropdown{
    position: static;
    min-width: 100%;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 6px 0 0 12px;
    display: none;
  }
  .has-dropdown.open > .dropdown{ display:block; }
  .has-dropdown.open .nav-dd-toggle::after{ transform: rotate(-135deg); }

  .navlinks-cta{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:10px;
    padding-top:12px;
    border-top:1px solid var(--line);
  }
  .navlinks-cta .btn{width:100%;justify-content:center}

  .topbar .brand img{height:56px;width:auto;display:block}

  /* mobile hero: auto height, no overlap */
  .hero-full{
    height:auto !important;
    min-height:520px;
    padding:72px 0 44px;
  }
  .hero-full .container{
    height:auto !important;
    padding-top:0 !important;
    align-items:flex-start !important;
  }
  .hero-full .hero-content{max-width:100%}

  .hero-full::after{
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.38) 0%,
      rgba(0,0,0,.20) 55%,
      rgba(0,0,0,0) 100%
    );
  }
}