/* Salt and Light Media — design system
   Brand colours lifted from the Elementor globals on the WordPress site. */

:root {
  /* The palette is fixed light-on-brand; declaring this stops Chrome's
     auto dark mode from inverting the light sections. */
  color-scheme: light;

  --orange: #ff9e3c;
  --red: #f93c3c;
  --gold: #ffbc36;
  --ink: #121212;
  --ink-soft: #1c1c1c;
  --grey: #6b6b6b;
  --grey-light: #f4f4f5;
  --white: #fff;
  --brand-gradient: linear-gradient(100deg, var(--gold) 0%, var(--orange) 45%, var(--red) 100%);

  --measure: 68ch;
  --wrap: 1160px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 14px;
  --shadow: 0 10px 30px rgb(0 0 0 / 0.10);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.15rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.45rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.7rem); }
h4 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); }

p { margin: 0 0 1.15em; max-width: var(--measure); }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.75rem 1.25rem;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band-dark :focus-visible, .band-brand :focus-visible { outline-color: var(--white); }

/* ---------- header ---------- */

.topbar { background: var(--red); color: var(--white); font-size: 0.9rem; }
.topbar .wrap {
  display: flex; justify-content: flex-end; gap: 1.75rem;
  padding: 0.55rem 0; flex-wrap: wrap;
}
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.topbar a:hover { text-decoration: underline; }

.masthead { background: var(--brand-gradient); color: var(--white); }
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap); padding: 0.9rem 0;
}
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 92px; }

.nav { display: flex; align-items: center; gap: clamp(0.85rem, 2vw, 2rem); flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-weight: 600; padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: currentColor; }
.nav a[aria-current="page"] { border-bottom-color: var(--white); }

.social { display: flex; gap: 0.6rem; }
.social a {
  width: 40px; height: 40px; border-radius: 10px; background: var(--ink);
  display: grid; place-items: center; color: var(--white);
}
.social a:hover { background: var(--ink-soft); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Mobile nav: a checkbox toggle, so no JS is needed for the menu. */
.nav-toggle { display: none; }
.nav-btn { display: none; }

@media (max-width: 900px) {
  .masthead .wrap { flex-wrap: wrap; }
  .nav-btn {
    display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
    font-weight: 700; padding: 0.6rem 0.9rem; border: 2px solid currentColor;
    border-radius: 10px; margin-left: auto;
  }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .nav a { padding: 0.6rem 0; width: 100%; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .social { order: 3; }
}

/* ---------- sections ---------- */

.band { padding-block: var(--section-y); }
.band-dark { background: var(--ink); color: var(--white); }
.band-dark p { color: #d6d6d6; }
.band-brand { background: var(--brand-gradient); color: var(--white); }
.band-grey { background: var(--grey-light); }

.band-head { max-width: var(--measure); margin-bottom: clamp(2rem, 4vw, 3rem); }
.band-head.center { margin-inline: auto; text-align: center; }
.band-head.center p { margin-inline: auto; }

.rule { width: 68px; height: 4px; border: 0; border-radius: 2px; background: currentColor; opacity: 0.5; margin: 0 0 1.4rem; }
.center .rule { margin-inline: auto; }

/* ---------- hero ---------- */

.hero { background: var(--brand-gradient); color: var(--white); padding-block: clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero .wrap { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 0.95fr; } }
.hero p.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); opacity: 0.95; }
.hero video, .hero img { border-radius: var(--radius); box-shadow: var(--shadow); }

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem;
  font-family: inherit; transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-outline { border-color: currentColor; }
.btn-brand { background: var(--orange); color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- layout helpers ---------- */

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 1.35fr 0.65fr; }
}
.split img { border-radius: var(--radius); }

.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }

.card {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3, .card h4 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-outline { background: transparent; box-shadow: none; border: 1px solid rgb(255 255 255 / 0.22); }
.band-dark .card-outline { color: var(--white); }

.quote {
  border-left: 4px solid var(--orange); padding-left: 1.5rem;
  font-size: 1.25rem; font-style: italic; line-height: 1.5;
}
.quote cite { display: block; margin-top: 0.85rem; font-size: 0.95rem; font-style: normal; opacity: 0.7; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; max-width: var(--measure); }
.ticks li { padding-left: 2rem; margin-bottom: 0.8rem; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 1.1rem; height: 0.6rem; border-left: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange); transform: rotate(-45deg);
}

.price { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem); font-weight: 800; line-height: 1; margin-bottom: 0.15rem; }
.price small { font-size: 0.95rem; font-weight: 600; opacity: 0.65; }

.team-card img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1.4; object-fit: cover; margin-bottom: 1rem; }
.role { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem; }

.partners { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4rem); align-items: center; justify-content: center; }
.partners img { max-height: 78px; width: auto; }

/* ---------- forms ---------- */

.form { max-width: 560px; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem; font: inherit; color: inherit;
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 10px;
}
.band-grey .field input, .band-grey .field textarea,
.band-light .field input, .band-light .field textarea {
  background: var(--white); border-color: #d6d6d8;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: inherit; opacity: 0.5; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 0.9rem; opacity: 0.75; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status:empty { margin: 0; }
.form-status[data-state="error"] { color: #ffd7d7; }
.band-grey .form-status[data-state="error"], .band .form-status[data-state="error"] { color: #b00020; }

/* ---------- footer ---------- */

.footer { background: var(--ink); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer a { color: #dcdcdc; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer h2 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.55rem; }
.footer .tagline { color: #b9b9b9; max-width: 34ch; }
.footer-bottom {
  margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.9rem; color: #a5a5a5;
}

/* ---------- client portal ---------- */

.portal-bar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: flex-start; justify-content: space-between;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.file-list li {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border: 1px solid #e2e2e4; border-radius: var(--radius);
  background: var(--white);
}
.file-list .meta { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.file-list .file-name { font-weight: 600; overflow-wrap: anywhere; }
.file-list .file-sub { font-size: 0.875rem; color: var(--grey); }
.file-list .btn { padding: 0.6rem 1.2rem; flex-shrink: 0; }
