:root {
  --bg: #f7f3ec;
  --bg-soft: #efe7db;
  --panel: #fffdfa;
  --text: #101218;
  --text-soft: #47505d;
  --line: rgba(16, 18, 24, 0.12);
  --dark: #111318;
  --dark-soft: #191d24;
  --accent: #f7943a;
  --accent-deep: #d66e1f;
  --accent-soft: rgba(247, 148, 58, 0.16);
  --shadow: 0 22px 50px rgba(17, 19, 24, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --nav-height: 84px;
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: calc(var(--nav-height) - 34px);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(247, 148, 58, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 100%);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

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

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--dark);
  color: #fff;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(247, 243, 236, 0.86);
  border-bottom: 1px solid rgba(16, 18, 24, 0.08);
}

.nav-shell {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  width: clamp(162px, 18vw, 220px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #5f6772;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--accent);
}

.nav-cta {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--dark);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 3rem;
  background:
    linear-gradient(135deg, rgba(17, 19, 24, 0.98), rgba(17, 19, 24, 0.88)),
    linear-gradient(120deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-grid::before {
  left: min(8vw, 5.5rem);
  top: 8.75rem;
  width: min(34vw, 19rem);
  height: 7.2rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 214, 170, 0.2) 0 20%, rgba(255, 255, 255, 0.02) 20% 100%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(143, 214, 170, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  opacity: 0.65;
}

.hero-grid::after {
  right: clamp(2rem, 9vw, 8rem);
  bottom: 6rem;
  width: min(30vw, 15.5rem);
  height: 5.5rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 148, 58, 0.18) 0 25%, rgba(143, 214, 170, 0.16) 25% 100%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  right: -12rem;
  top: -10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 148, 58, 0.36), transparent 60%);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: end;
}

.eyebrow,
.panel-label {
  margin: 0 0 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--accent);
}

.hero h1,
.section h2,
.contact-main h1 {
  margin: 0;
  font-family: "Newsreader", serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(1.92rem, 4.48vw, 3.58rem);
}

.lead {
  font-size: 1.15rem;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.cta-actions,
.credential-links,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-actions {
  margin-top: 1.05rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--dark);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffab5f;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary-light {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: #fff;
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(16, 18, 24, 0.14);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0;
  margin: 0.95rem 0 0;
  list-style: none;
  max-width: 42rem;
}

.hero-points li {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-panel,
.card,
.feature-panel,
.media-card,
.credential-card,
.portrait-card,
.contact-form,
.contact-direct {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-panel h2 {
  font-size: clamp(1.36rem, 2.4vw, 1.84rem);
  margin-bottom: 1rem;
}

.mini-stats {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mini-stats strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.section {
  padding: clamp(2rem, 4vw, 3.4rem) 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(239, 231, 219, 0.56), rgba(239, 231, 219, 0.18));
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.2rem;
}

.section h2,
.contact-main h1 {
  font-size: clamp(1.41rem, 3.2vw, 2.56rem);
  max-width: 24ch;
}

.section-top {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.2rem;
  display: inline-block;
}

.section-bridge {
  margin: 1rem 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.section-bridge a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.cards {
  display: grid;
  gap: 1.2rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.feature-panel,
.media-card,
.credential-card,
.contact-form,
.contact-direct {
  padding: 1.4rem;
  background: var(--panel);
}

.card h3,
.feature-panel h3,
.media-card h3,
.credential-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 0.96rem;
}

.accent-card {
  background: linear-gradient(180deg, #fff1e3, #fff7ef);
}

.split-layout,
.clients-layout,
.about-layout,
.contact-shell {
  display: grid;
  gap: 1.4rem;
}

.split-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-panel {
  padding: 1.8rem;
}

.download-card {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.download-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.download-form {
  display: grid;
  gap: 0.2rem;
}

.download-grid {
  display: grid;
  gap: 0.35rem;
}

.dark-panel {
  background: linear-gradient(180deg, var(--dark), var(--dark-soft));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.06);
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
}

.feature-list li + li {
  margin-top: 0.65rem;
}

.toolkit-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.note-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.68);
}

.note-card strong,
.note-card span {
  display: block;
}

.note-card span {
  color: var(--text-soft);
  margin-top: 0.4rem;
}

.clients-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}

.clients-copy p,
.about-copy p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.compact {
  font-size: 0.97rem;
}

.media-card {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  justify-content: space-between;
  background:
    linear-gradient(120deg, rgba(247, 148, 58, 0.14), rgba(255, 255, 255, 0.92)),
    var(--panel);
}

.media-main {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  flex: 1;
  min-width: 0;
}

.media-thumb {
  width: min(100%, 320px);
  border-radius: 18px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.media-thumb-link {
  display: block;
  line-height: 0;
}

.media-copy {
  max-width: 100%;
}

.media-side {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  width: min(100%, 360px);
}

.media-primary-action {
  width: 100%;
}

.download-inline {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.download-inline h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.download-inline p {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.media-links {
  margin-top: 0.9rem;
}

.about-layout {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: center;
}

.portrait-card {
  padding: 1rem;
  background: linear-gradient(180deg, #fff8ef, #fff);
}

.portrait-card img {
  border-radius: calc(var(--radius) - 10px);
}

.credentials-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credential-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.credential-card img {
  width: 100%;
  max-width: 160px;
}

.credential-links a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.cta-section {
  padding-top: 0;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(180deg, #121924, #101721);
  color: #fff;
}

.cta-shell h2 {
  max-width: 20ch;
}

.cta-contact-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.cta-contact-card p {
  margin: 0 0 0.55rem;
}

.contact-label {
  font-weight: 700;
  color: var(--accent);
}

.contact-value {
  color: var(--text);
}

.contact-value-light {
  color: #fff;
}

.contact-hint {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.text-link {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.light-link {
  color: #fff;
}

.contact-reveal,
.email-reveal {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.contact-reveal-light,
.email-reveal-light {
  color: #fff;
}

.contact-reveal:focus-visible,
.email-reveal:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.revealed-contact-detail {
  color: var(--text);
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.button-full {
  width: 100%;
  margin-top: 0.75rem;
}

.site-footer {
  padding: 2.2rem 0;
  background: #0d0f14;
  color: rgba(255, 255, 255, 0.8);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-brand img {
  width: clamp(170px, 20vw, 235px);
  margin-bottom: 0.8rem;
}

.footer-tagline {
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

.footer-tagline-row {
  display: flex;
  justify-content: center;
  margin-top: 1.1rem;
}

.footer-copy {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.footer-meta-inline {
  color: rgba(255, 255, 255, 0.68);
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.contact-main {
  min-height: calc(100vh - var(--nav-height));
}

.legal-shell {
  display: grid;
  gap: 1rem;
}

.legal-card h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.contact-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
}

.contact-intro .lead {
  color: var(--text-soft);
}

.contact-direct {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.contact-direct a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.contact-direct a.revealed-contact-detail {
  color: var(--text);
}

.cta-shell .contact-direct a.revealed-contact-detail {
  color: #fff;
}

.cta-shell .cta-contact-card a.revealed-contact-detail {
  color: #fff;
}

.contact-static {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  user-select: text;
}

.contact-detail-dark {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.25rem;
  align-items: baseline;
  justify-content: start;
}

.contact-action-link-dark {
  color: var(--accent-deep);
  font-weight: 600;
}

.contact-direct-action {
  margin: 0.35rem 0 0;
  text-align: left;
}

.form-row {
  margin-bottom: 0.5rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(16, 18, 24, 0.14);
  background: #fff;
  color: var(--text);
  font: inherit;
  line-height: 1.35;
}

.form-row textarea {
  min-height: 5.2rem;
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid rgba(247, 148, 58, 0.35);
  border-color: var(--accent);
}

.checkbox-field {
  display: flex;
  gap: 0.4rem;
  align-items: start;
}

.checkbox-field input {
  width: auto;
  margin-top: 0.2rem;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--text-soft);
}

.form-status[data-state="success"] {
  color: #166534;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.site-nav-static {
  margin-left: auto;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  width: min(100% - 2rem, 430px);
  padding: 1rem 1rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(16, 18, 24, 0.12);
  background: rgba(255, 253, 250, 0.98);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0 0 0.8rem;
}

.cookie-banner a {
  color: var(--accent-deep);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (max-width: 980px) {
  .hero-shell,
  .split-layout,
  .clients-layout,
  .about-layout,
  .contact-shell,
  .cta-shell,
  .credentials-grid,
  .cards-3,
  .toolkit-notes,
  .credential-card {
    grid-template-columns: 1fr;
  }

  .media-card,
  .footer-shell {
    flex-direction: column;
    align-items: start;
  }

  .credential-card img {
    max-width: 140px;
  }

  .footer-links {
    padding-top: 0;
  }

  .footer-tagline {
    white-space: normal;
  }

  .hero-grid::before {
    top: 7.25rem;
    width: min(45vw, 16rem);
  }

  .hero-grid::after {
    right: 1.75rem;
    bottom: 8rem;
    width: min(42vw, 13rem);
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 76px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% - 0.25rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 253, 250, 0.98);
    border: 1px solid rgba(16, 18, 24, 0.08);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav-static {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    margin-left: 0;
    gap: 0.8rem;
    overflow-x: auto;
  }

  .section-heading {
    flex-direction: column;
  }

  .hero h1,
  .section h2,
  .contact-main h1 {
    max-width: none;
  }

  .hero-grid::before {
    left: 1.2rem;
    top: 6.5rem;
    width: calc(100% - 2.4rem);
    height: 4.5rem;
    border-radius: 16px;
    opacity: 0.46;
  }

  .hero-grid::after {
    display: none;
  }
}
