/* Simtera — site styles.
   Brand core: Charcoal #111111, Copper #C56A1A, White #FFFFFF.
   Copper is reserved for the decision point and the tagline. */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --charcoal: #111111;
  --copper: #c56a1a;
  --white: #ffffff;
  --ink-2: #444444;
  --ink-3: #6b6b6b;
  --line: #e4e4e4;
  --surface: #f6f6f6;
  --display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 11vw, 136px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
video, canvas { max-width: 100%; height: auto; }
iframe, embed, object { max-width: 100%; }
table { max-width: 100%; }
/* Wrap an iframe in .embed to keep its aspect ratio as it scales. */
.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.embed > iframe, .embed > video, .embed > embed, .embed > object {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
/* Break very long words or addresses instead of pushing the page sideways. */
body { overflow-wrap: break-word; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 300; }
h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--charcoal); color: var(--white); padding: 10px 16px; z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 24px;
}
.brand { display: block; flex: none; }
.brand img { width: 200px; }
.nav { display: flex; align-items: center; font-size: 0.94rem; }
.nav-menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.nav a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover { color: var(--charcoal); }
.nav a.button { color: var(--white); }

/* Menu toggle: only shown on small screens when scripting is available. */
.nav-toggle {
  display: none; align-items: center; gap: 10px;
  min-width: 44px; min-height: 44px; padding: 0 12px; margin-right: -12px;
  background: none; border: 0; border-radius: 2px; cursor: pointer;
  font-family: var(--text); font-size: 1rem; font-weight: 500; color: var(--charcoal);
}
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
  display: block; width: 20px; height: 1.5px; background: currentColor;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.button {
  display: inline-block;
  background: var(--charcoal); color: var(--white);
  font-family: var(--text); font-size: 0.95rem; font-weight: 500;
  padding: 13px 24px; border-radius: 2px; text-decoration: none;
  transition: background-color 0.4s ease;
}
.button:hover { background: #333333; }
.text-link { font-weight: 500; }

/* Eyebrow: a small copper decision point, then the label. */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 28px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); flex: none;
}

/* Hero */
.hero { padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--ink-2); max-width: 34em; margin: 28px 0 40px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.arc { width: 100%; height: auto; }
.arc path { fill: none; stroke: var(--charcoal); stroke-width: 1; vector-effect: non-scaling-stroke; }
.arc .point { fill: var(--copper); }

@media (prefers-reduced-motion: no-preference) {
  .arc path {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: converge 2.4s cubic-bezier(0.22, 0.61, 0.2, 1) forwards;
  }
  .arc path:nth-of-type(2n) { animation-delay: 0.12s; }
  .arc path:nth-of-type(3n) { animation-delay: 0.24s; }
  .arc .point { opacity: 0; animation: settle 1.2s ease-out 2s forwards; }
}
@keyframes converge { to { stroke-dashoffset: 0; } }
@keyframes settle { to { opacity: 1; } }

.tagline {
  font-family: var(--display); font-weight: 300; color: var(--copper);
  font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: 0.01em; margin: 0;
}

/* Sections */
.section { padding: var(--section) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.08rem; margin-top: 24px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.service { border-top: 1px solid var(--charcoal); padding-top: 28px; }
.service .for { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.service h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 18px; }
.service p { color: var(--ink-2); }
.service h4 {
  font-family: var(--text); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  margin: 32px 0 12px;
}
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.note { margin-top: clamp(40px, 6vw, 64px); color: var(--ink-2); max-width: 44em; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--charcoal); padding-top: 22px; }
.steps li::before {
  content: "0" counter(step); display: block;
  font-family: var(--display); font-size: 0.95rem; color: var(--ink-3); letter-spacing: 0.08em; margin-bottom: 18px;
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 0.97rem; }

/* Dark band */
.band { background: var(--charcoal); color: var(--white); padding: var(--section) 0; }
.band .eyebrow { color: #a8a8a8; }
.band h2 { max-width: 18em; }
.standards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 80px); margin-top: clamp(40px, 6vw, 72px); }
.standards div { border-top: 1px solid #3a3a3a; padding: 26px 0 30px; }
.standards h3 { font-size: 1.2rem; margin-bottom: 8px; }
.standards p { color: #bdbdbd; font-size: 0.97rem; }

/* Two-column text blocks */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); }
.split .body > p { color: var(--ink-2); font-size: 1.08rem; }
.facts { margin: 36px 0 0; padding: 0; }
.facts div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 0.3em; }
.facts dd { margin: 0; color: var(--ink-2); }

/* Closing */
.closing { text-align: center; padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 44px; font-size: 0.9rem; color: var(--ink-2); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px; }
.site-footer img { width: 160px; margin: -12px 0 10px -8px; }
.site-footer h2 { font-family: var(--text); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer address { font-style: normal; }
.legal-line { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; color: var(--ink-3); font-size: 0.84rem; }

/* Policy pages */
.doc { padding: clamp(56px, 8vw, 104px) 0 var(--section); }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
.doc .meta { color: var(--ink-3); font-size: 0.92rem; margin: 20px 0 48px; }
.doc h2 { font-size: 1.5rem; font-weight: 400; margin: 52px 0 16px; letter-spacing: -0.005em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.doc li { margin-bottom: 0.5em; }
.summary { border-top: 1px solid var(--charcoal); border-bottom: 1px solid var(--line); padding: 26px 0; margin-bottom: 8px; }
.summary p { color: var(--charcoal); font-size: 1.08rem; }

/* A detail that still needs filling in before launch (preview builds only). */
mark.todo { background: #fbeee2; color: #8a4a12; padding: 1px 6px; border-radius: 2px; font-style: normal; white-space: nowrap; }

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 420px; }
  .services, .standards { grid-template-columns: minmax(0, 1fr); }
  .service + .service { margin-top: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
/* Small screens: collapse the main navigation into a menu. */
@media (max-width: 720px) {
  .site-header { position: relative; z-index: 20; }

  /* Without scripting, keep the Contact button and drop the text links. */
  html:not(.js) .nav a:not(.button) { display: none; }
  html:not(.js) .nav .button { padding: 10px 18px; }

  .js .nav-toggle { display: inline-flex; }
  .js .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 24px;
    background: var(--white);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -20px rgba(17, 17, 17, 0.35);
    font-size: 1.06rem;
  }
  .js .nav.is-open .nav-menu { display: flex; }
  .js .nav-menu a:not(.button) {
    min-height: 52px; color: var(--charcoal); border-bottom: 1px solid var(--line);
  }
  .js .nav-menu a.button { margin-top: 20px; padding: 14px 24px; text-align: center; font-size: 1rem; }
}

/* Touch screens and phones: give links a tap area of at least 44px. */
@media (max-width: 720px), (pointer: coarse) {
  .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer li { margin-bottom: 0; }
  .site-footer li a, .site-footer address a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  /* Links inside running text: enlarge the hit area without moving the text. */
  main p a:not(.button), main li a:not(.button), .facts dd a { padding-block: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header .wrap { min-height: 72px; }
  .brand img { width: 160px; }
  .button { font-size: 1rem; }
  .steps p, .standards p, .doc .meta, .site-footer, .legal-line { font-size: 1rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  mark.todo { white-space: normal; }
}
