/* Intersectworx — direction A "Crossing" */
:root {
  --orange: #F26A1B;
  --orange-dark: #C2470A;
  --black: #000;
  --white: #fff;
  --silver: #C9CCD1;
  --grey: #5E636B;   /* secondary text, 5.9:1 on white */
  --body: #3B3F45;   /* body copy, 10:1 on white */
  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(64px, 9vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

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

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand:hover { color: var(--black); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; }
.site-nav a { text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.site-nav .btn { font-size: 15px; padding: 11px 20px; }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--orange); color: var(--black); }
.btn--orange { background: var(--orange); color: var(--black); }
.btn--orange:hover { background: var(--black); color: var(--white); }
.btn--outline { border: 1.5px solid var(--black); color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; gap: 32px; padding: clamp(56px, 9vw, 96px) 0 clamp(80px, 11vw, 120px); }
.hero__lines { flex: 1 1 0; min-width: 0; height: auto; max-height: 520px; overflow: visible; }
.line { fill: none; }
.line--orange { stroke: var(--orange); stroke-width: 3; }
.line--silver { stroke: var(--silver); stroke-width: 2; }
.node { fill: var(--white); stroke: var(--black); stroke-width: 3; }
.hero__content { flex: 0 1 640px; }
.hero__kicker { margin-bottom: 28px; font-size: 17px; color: var(--grey); }
h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 800; }
.hero__lede { margin-top: 36px; max-width: 560px; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: #2A2D31; }

/* The one orchestrated moment: the two lines draw in and meet at the node */
@media (prefers-reduced-motion: no-preference) {
  .line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s cubic-bezier(.65,0,.35,1) forwards; }
  .line--silver { animation-delay: .15s; }
  .node { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .4s ease-out 1.25s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
}

/* Sections */
.section { padding: var(--section) 0; border-top: 1.5px solid var(--black); }
h2 { font-size: clamp(32px, 4vw, 40px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.section p { font-size: 17px; line-height: 1.6; color: var(--body); }
.narrow { max-width: 640px; margin-bottom: 56px; }

.section--split { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.section--split > h2 { flex: 1 1 280px; }
.features { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px 40px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.step { border-top: 3px solid; padding-top: 24px; }
.step--orange { border-color: var(--orange); }
.step--black { border-color: var(--black); }
.step--silver { border-color: var(--silver); }
.step h3 { font-size: 24px; }
.section .step__num { margin-bottom: 8px; font-size: 15px; color: var(--grey); }

.experience { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 48px; }
.section .experience__num { font-size: clamp(120px, 16vw, 220px); line-height: 0.8; font-weight: 800; letter-spacing: -0.05em; color: var(--black); }
.section .experience__text { flex: 1 1 340px; max-width: 620px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; letter-spacing: -0.01em; color: var(--black); }

/* Contact / footer */
.contact { padding-bottom: 64px; }
.contact h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; max-width: 760px; }
.contact__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 64px; margin-top: 48px; }
.contact .actions { margin-top: 0; }
.section .legal { margin-top: clamp(64px, 9vw, 96px); font-size: 14px; color: var(--grey); }

@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero__content { flex: none; }
  .hero__lines { flex: none; width: 100%; max-height: 220px; }
}

@media (max-width: 560px) {
  .site-nav a:not(.btn) { display: none; }
  .btn { font-size: 16px; }
}
