:root {
  --bg: #f4efe6;
  --surface: #fbf7f0;
  --surface-strong: #f0e7d8;
  --ink: #132028;
  --muted: #5d6a70;
  --line: rgba(19, 32, 40, 0.14);
  --line-strong: rgba(19, 32, 40, 0.22);
  --deep: #0f1c23;
  --teal: #1d5050;
  --brass: #b48746;
  --sea: #5f7f8f;
  --rust: #8f5f4c;
  --cream: #efe6d6;
  --success: #1e5b49;
  --error: #8b3f38;
  --shadow: 0 24px 70px rgba(15, 28, 35, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

img,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
ol,
dl,
h1,
h2,
h3 {
  margin-top: 0;
}

ul {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

button,
input,
textarea,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.compliance-bar {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.compliance-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.compliance-inner p {
  margin-bottom: 0;
}

.compliance-inner a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(19, 32, 40, 0.08);
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, var(--deep), var(--teal));
  color: #fff;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.footer-nav a:hover,
.contact-details a:hover,
.compliance-inner a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 56px;
  background:
    radial-gradient(circle at top left, rgba(180, 135, 70, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 239, 230, 0.96));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin-bottom: 14px;
  color: var(--rust);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.legal-hero h1,
.section h3 {
  font-family: "Manrope", sans-serif;
  line-height: 1.04;
}

.hero h1 {
  margin-bottom: 20px;
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 5.25rem);
}

.hero-text {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-solid {
  background: var(--deep);
  color: #fff;
}

.button-solid:hover {
  background: #17313b;
}

.button-outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.button-outline:hover {
  border-color: rgba(19, 32, 40, 0.28);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-notes span {
  position: relative;
  padding-left: 16px;
}

.hero-notes span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 6px;
  height: 6px;
  background: var(--brass);
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 640px;
  padding: 18px;
  border: 1px solid rgba(19, 32, 40, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
  box-shadow: var(--shadow);
}

#hero-canvas {
  width: 100%;
  height: 100%;
  min-height: 604px;
  background: linear-gradient(180deg, #0d1a22 0%, #17323d 55%, #355464 100%);
}

.hero-overlay {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 21, 27, 0.78);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero-overlay-top {
  top: 34px;
  left: 34px;
  padding: 18px 22px;
}

.hero-overlay-bottom {
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(480px, calc(100% - 68px));
}

.hero-overlay-bottom > div {
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-overlay-bottom > div:first-child {
  border-left: 0;
}

.overlay-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.hero-overlay strong {
  font-size: 1rem;
  line-height: 1.3;
}

.signal-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-item {
  padding: 26px 24px 24px;
  border-left: 1px solid var(--line);
}

.signal-item:first-child {
  border-left: 0;
}

.signal-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.signal-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Manrope", sans-serif;
}

.signal-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: 94px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.section h2,
.legal-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-heading h2 {
  max-width: 13ch;
}

.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.intro-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
}

.intro-text p:last-child,
.operations-copy p:last-child,
.contact-copy p:last-child {
  margin-bottom: 0;
}

.lines-section {
  background:
    linear-gradient(180deg, rgba(95, 127, 143, 0.08), transparent 36%),
    var(--bg);
}

.experience-desk {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.desk-rail {
  display: grid;
  border-top: 1px solid var(--line);
}

.desk-tab {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.desk-tab span {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.06rem;
}

.desk-tab small {
  color: var(--muted);
  font-size: 0.88rem;
}

.desk-tab.is-active,
.desk-tab:hover {
  color: var(--ink);
}

.desk-tab.is-active span {
  color: var(--teal);
}

.desk-panels {
  min-width: 0;
}

.desk-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  padding: 28px 0 30px;
  border-top: 1px solid var(--line);
}

.desk-panel:last-child {
  border-bottom: 1px solid var(--line);
}

.desk-panel-copy h3 {
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.desk-panel-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.desk-panel-data {
  display: grid;
  gap: 18px;
}

.desk-panel-data div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.desk-panel-data span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.desk-panel-data strong {
  font-size: 1rem;
}

.catalogue {
  background:
    linear-gradient(180deg, rgba(95, 127, 143, 0.06), transparent 30%),
    var(--bg);
}

.catalogue-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  padding: 28px 0 30px;
  border-top: 1px solid var(--line);
}

.catalogue-row:last-child {
  border-bottom: 1px solid var(--line);
}

.catalogue-title p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.catalogue-title h3 {
  margin-bottom: 0;
  font-size: 1.75rem;
}

.catalogue-body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.88fr);
  gap: 28px;
}

.catalogue-body p {
  margin-bottom: 0;
  color: var(--muted);
}

.catalogue-body ul {
  margin: 0;
}

.compliance-section {
  background: var(--deep);
  color: #edf3f3;
}

.compliance-section .section-label {
  color: #d4a96d;
}

.compliance-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.compliance-copy p {
  color: rgba(237, 243, 243, 0.76);
}

.compliance-copy p:last-child {
  margin-bottom: 0;
}

.compliance-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
}

.compliance-table th,
.compliance-table td {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  vertical-align: top;
}

.compliance-table th {
  color: #fff;
  font-size: 0.9rem;
}

.compliance-table td {
  color: rgba(237, 243, 243, 0.78);
}

.workflow-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-list {
  display: grid;
  gap: 0;
}

.workflow-step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.workflow-step:last-child {
  border-bottom: 1px solid var(--line);
}

.workflow-step span {
  color: var(--muted);
  font-size: 0.95rem;
}

.workflow-step h3 {
  margin-bottom: 10px;
  font-size: 1.34rem;
}

.workflow-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.operations-section {
  background: var(--cream);
}

.operations-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
}

.operations-list {
  border-top: 1px solid var(--line);
}

.operations-list > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.operations-list span {
  font-weight: 600;
}

.operations-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-section {
  background: var(--bg);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-trigger span {
  max-width: 52ch;
  font-weight: 600;
  font-size: 1.08rem;
}

.faq-trigger::after {
  content: "+";
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-trigger[aria-expanded="true"]::after {
  content: "−";
}

.faq-panel {
  padding: 0 0 24px;
}

.faq-panel p {
  margin-bottom: 0;
  max-width: 78ch;
  color: var(--muted);
}

.contact-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.contact-details {
  padding-top: 20px;
}

.contact-details dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.contact-details div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details dt {
  font-weight: 600;
}

.contact-details dd {
  margin: 0;
  color: var(--muted);
}

.contact-form-wrap {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.form-alert {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-left: 4px solid transparent;
  background: rgba(19, 32, 40, 0.04);
}

.form-alert strong {
  display: block;
  margin-bottom: 6px;
}

.form-alert p {
  margin-bottom: 0;
}

.form-alert-success {
  border-left-color: var(--success);
}

.form-alert-error {
  border-left-color: var(--error);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fffdf9;
  color: var(--ink);
  padding: 14px 14px;
  appearance: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 180px;
}

.form-message {
  display: grid;
}

.form-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
}

.form-check span {
  font-weight: 400;
  color: var(--muted);
}

.form-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.form-actions p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  background: #0d171d;
  color: rgba(255, 255, 255, 0.74);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-top {
  padding: 34px 0 26px;
}

.footer-top strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.footer-top p {
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.legal-page {
  background: var(--surface);
}

.legal-hero {
  padding: 88px 0 34px;
  border-bottom: 1px solid var(--line);
}

.legal-hero p {
  max-width: 70ch;
  color: var(--muted);
}

.legal-content {
  padding: 46px 0 90px;
}

.legal-grid {
  display: grid;
  gap: 28px;
}

.legal-section {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  font-family: "Manrope", sans-serif;
}

.legal-section p:last-child,
.legal-section ul:last-child,
.legal-section ol:last-child {
  margin-bottom: 0;
}

.legal-list {
  display: grid;
  gap: 12px;
}

@media (max-width: 1040px) {
  .hero-layout,
  .section-heading,
  .intro-layout,
  .experience-desk,
  .catalogue-row,
  .catalogue-body,
  .compliance-grid,
  .operations-layout,
  .contact-layout,
  .desk-panel {
    grid-template-columns: 1fr;
  }

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

  .signal-item:nth-child(3) {
    border-left: 0;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .hero-visual {
    min-height: auto;
  }

  #hero-canvas {
    min-height: 520px;
  }

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

  .operations-list > div,
  .contact-details div,
  .workflow-step,
  .form-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(1180px, calc(100% - 28px));
  }

  .compliance-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .compliance-bar {
    font-size: 0.78rem;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    max-width: calc(100% - 62px);
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy span {
    font-size: 0.76rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border: 1px solid var(--line);
    background: rgba(251, 247, 240, 0.98);
  }

  .site-nav a {
    width: 100%;
    padding: 14px 16px;
    border-top: 1px solid rgba(19, 32, 40, 0.08);
  }

  .site-nav a:first-child {
    border-top: 0;
  }

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

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(1.72rem, 8vw, 2.65rem);
    hyphens: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-layout,
  .intro-layout,
  .contact-layout,
  .section-heading,
  .catalogue-row,
  .catalogue-body,
  .experience-desk,
  .compliance-grid,
  .operations-layout,
  .desk-panel {
    gap: 24px;
  }

  .signal-grid,
  .form-grid,
  .desk-panel-data {
    grid-template-columns: 1fr;
  }

  .signal-item {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .signal-item:first-child {
    border-top: 0;
  }

  .hero-overlay-top {
    top: 22px;
    left: 22px;
    right: 22px;
  }

  .hero-overlay-bottom {
    left: 22px;
    right: 22px;
    bottom: 22px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .hero-overlay-bottom > div {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .hero-overlay-bottom > div:first-child {
    border-top: 0;
  }

  #hero-canvas {
    min-height: 440px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading h2,
  .intro-layout h2,
  .operations-copy h2,
  .contact-copy h2 {
    max-width: 10ch;
    hyphens: auto;
  }

  .faq-trigger span,
  .hero-text,
  .intro-text p,
  .catalogue-body p,
  .compliance-copy p,
  .operations-list p,
  .contact-details dd,
  .form-actions p {
    overflow-wrap: anywhere;
  }

  .contact-form-wrap {
    padding: 20px;
  }
}
