:root {
  --ink: #171717;
  --forest: #191918;
  --forest-2: #292927;
  --paper: #ebeae7;
  --white: #f6f8f9;
  --line: rgba(17, 25, 32, 0.19);
  --lime: #adb8bc;
  --orange: #ef7d2b;
  --blue: #5b5954;
  --gold: #a9b4bb;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Archivo", "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px;
  background: var(--lime); color: var(--ink); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; padding: 0 4vw; color: var(--white);
  transition: background .25s ease, height .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  height: 68px; background: rgba(31, 29, 26, .97); backdrop-filter: blur(16px);
  box-shadow: inset 0 -2px 0 var(--orange), 0 8px 30px rgba(0,0,0,.2);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor;
  border-radius: 2px; font-family: var(--display); font-weight: 800; font-size: 17px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 48%);
  border-color: rgba(239,125,43,.9);
}
.brand-name { font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.brand-name small { font-size: 9px; letter-spacing: .12em; vertical-align: super; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.site-nav a:not(.nav-cta)::after {
  content: ""; display: block; height: 1px; margin-top: 4px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 17px; border: 1px solid var(--orange); border-radius: 2px; }
.nav-cta:hover { background: var(--orange); color: #181817; }
.menu-toggle { display: none; }

.hero {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: 7vw; min-height: 810px; padding: 150px 6vw 90px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,.035), transparent 28%),
    radial-gradient(circle at 78% 22%, rgba(105,88,72,.34), transparent 34%),
    var(--forest);
  color: var(--white);
}
.hero-grid {
  position: absolute; z-index: -1; inset: 0;
  background-image:
    linear-gradient(rgba(141,158,168,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141,158,168,.075) 1px, transparent 1px),
    linear-gradient(rgba(141,158,168,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141,158,168,.03) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px, 18px 18px, 18px 18px;
  mask-image: linear-gradient(to right, black, transparent 82%);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 620px; height: 620px;
  border: 1px solid rgba(174,185,188,.19); border-radius: 50%; right: -260px; top: -210px;
  box-shadow: 0 0 0 95px rgba(174,185,188,.028), 0 0 0 190px rgba(174,185,188,.014);
}
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { display: block; width: 28px; height: 3px; background: var(--orange); }
.hero h1, .intro h2, .approach h2, .about h2, .contact h2 {
  margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.055em; line-height: .97;
}
.hero h1 { max-width: 760px; font-size: clamp(58px, 6.5vw, 108px); }
.hero h1 em { color: #bec7ca; font-style: normal; }
.hero-lede { max-width: 620px; margin: 34px 0 0; color: rgba(255,255,255,.75); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 21px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.button-primary { background: var(--orange); color: #111920; border-radius: 2px; }
.button-primary:hover { background: #ff9142; transform: translateY(-2px); }
.text-link { font-size: 14px; text-underline-offset: 5px; }
.text-link span { margin-left: 4px; }

.hero-system {
  position: relative; min-height: 520px; border: 1px solid rgba(160,183,198,.45); border-radius: 2px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.065), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 7px),
    rgba(11,18,24,.68);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.025), 0 34px 70px rgba(0,0,0,.24);
}
.hero-system::before, .hero-system::after {
  content: "+"; position: absolute; z-index: 5; color: rgba(182,194,198,.7); font: 500 16px/1 monospace;
}
.hero-system::before { left: 10px; top: 52px; }
.hero-system::after { right: 10px; bottom: 9px; }
.system-head { display: flex; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.system-core {
  position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-content: center;
  width: 190px; height: 190px; padding: 20px; border-radius: 50%;
  background:
    linear-gradient(120deg, rgba(255,255,255,.55), transparent 35%, rgba(0,0,0,.13) 75%),
    repeating-linear-gradient(0deg, #c7d0d5 0, #c7d0d5 1px, #aeb9c0 2px, #cbd3d8 4px);
  color: #111920; text-align: center; transform: translate(-50%,-47%);
  border: 5px solid #24343f; box-shadow: 0 26px 70px rgba(0,0,0,.38), inset 0 0 0 1px rgba(255,255,255,.7);
}
.core-kicker { margin-bottom: 7px; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.system-core strong { font-family: var(--display); font-size: 20px; line-height: 1.25; }
.system-orbit::before, .system-orbit::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 69%; height: 69%;
  border: 1px dashed rgba(255,255,255,.22); border-radius: 50%; transform: translate(-50%,-45%);
}
.system-orbit::after { width: 43%; height: 43%; }
.orbit-card {
  position: absolute; z-index: 3; display: flex; flex-direction: column; width: 118px; min-height: 86px;
  padding: 14px; border: 1px solid rgba(134,172,198,.5); border-radius: 1px;
  background: linear-gradient(145deg, #333330, #222220); text-decoration: none; transition: transform .2s ease, border-color .2s ease;
}
.orbit-card::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--orange); }
.orbit-card:hover { transform: translateY(-4px); border-color: #c6cfd2; }
.orbit-card b { font-family: var(--display); font-size: 21px; color: #c1cacc; }
.orbit-card span { margin-top: 7px; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.3; text-transform: uppercase; letter-spacing: .05em; }
.orbit-1 { left: 7%; top: 18%; }.orbit-2 { right: 6%; top: 18%; }.orbit-3 { left: 7%; bottom: 7%; }.orbit-4 { right: 6%; bottom: 7%; }
.hero-index { position: absolute; bottom: 28px; right: 4vw; color: rgba(255,255,255,.32); font-size: 11px; letter-spacing: .16em; }

.section-pad { padding: 120px 6vw; }
.intro {
  position: relative; display: grid; grid-template-columns: .45fr 1.55fr; gap: 5vw; border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(61,83,96,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,83,96,.045) 1px, transparent 1px),
    #eef1f3;
  background-size: 24px 24px;
}
.intro::after { content: "+"; position: absolute; right: 3vw; bottom: 2vw; color: var(--blue); font: 20px/1 monospace; }
.section-label { font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.intro h2, .approach h2, .contact h2 { font-size: clamp(46px, 5.5vw, 84px); }
.intro-copy { display: grid; grid-template-columns: 1fr .75fr; gap: 7vw; align-items: end; }
.intro-copy p, .approach-heading > p { margin: 0; font-size: 18px; line-height: 1.65; color: rgba(20,35,33,.7); }

.companies { border-bottom: 1px solid var(--line); }
.company {
  display: grid; grid-template-columns: 60px 1fr .75fr; gap: 4vw; min-height: 540px;
  position: relative; padding: 88px 6vw; border-bottom: 1px solid rgba(17,25,32,.3); overflow: hidden;
}
.company::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--blue); }
.company::after { content: "WORTHY GROUP // OPERATING COMPANY"; position: absolute; right: 2vw; top: 18px; font: 600 9px/1 var(--display); letter-spacing: .14em; color: rgba(17,25,32,.35); }
.company:last-child { border-bottom: 0; }
.company-number { padding-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.company-code { margin: 0 0 20px; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.company h3 { margin: 0; font-family: var(--display); font-size: clamp(44px, 5.2vw, 78px); line-height: .98; letter-spacing: -.055em; }
.company-tagline { margin: 24px 0 0; font-family: var(--display); font-size: 18px; font-weight: 700; }
.company-description { max-width: 680px; margin: 24px 0 30px; color: rgba(20,35,33,.72); font-size: 16px; line-height: 1.7; }
.company-link { display: inline-flex; gap: 9px; align-items: center; font-weight: 700; text-underline-offset: 6px; }
.company-aside { position: relative; align-self: stretch; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 9px; padding: 6px 0 180px; }
.service-pill { padding: 9px 13px; border: 1px solid currentColor; border-radius: 1px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.19); }
.company-symbol { position: absolute; right: 0; bottom: 0; width: min(260px, 80%); color: var(--ink); opacity: .8; }
.company-symbol svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.company-wwjr { background: #ebeae7; }
.company-tfr { background: #e0dfdb; }
.company-ond { background: #d6d4cf; }
.company-hder { background: #cbc8c1; }
.company-tfr::before, .company-hder::before { background: #66635d; }
.company-ond::before { background: var(--orange); }

.approach {
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(17,25,32,.035) 50%, transparent 50.1%),
    var(--white);
}
.approach-heading { display: grid; grid-template-columns: 1.25fr .55fr; align-items: end; gap: 7vw; margin: 42px 0 90px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border: 6px solid #353431; background: #353431; gap: 1px; box-shadow: 0 22px 55px rgba(18,18,17,.12); }
.principle { min-height: 260px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { position: relative; background: #eef1f3; border: 0; }
.principle::after { content: ""; position: absolute; left: 28px; right: 28px; top: 64px; height: 4px; background: linear-gradient(90deg, var(--orange) 0 28px, #aab5bc 28px 100%); }
.principle span { font-size: 11px; font-weight: 800; color: rgba(20,35,33,.46); }
.principle h3 { margin: 65px 0 12px; font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.principle p { margin: 0; color: rgba(20,35,33,.65); font-size: 14px; line-height: 1.6; }

.about {
  display: grid; grid-template-columns: 1fr 1.05fr; color: var(--white);
  background:
    linear-gradient(rgba(162,176,184,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162,176,184,.05) 1px, transparent 1px),
    #181817;
  background-size: 34px 34px;
}
.about-panel { padding: 110px 7vw 120px 6vw; border-right: 1px solid rgba(255,255,255,.15); }
.eyebrow.light { color: rgba(255,255,255,.65); }
.about h2 { font-size: clamp(58px, 6vw, 94px); color: #c0c9cc; }
.about-lede { max-width: 560px; margin: 32px 0 0; font-family: var(--display); font-size: 20px; line-height: 1.55; }
.about-copy { padding: 120px 7vw; }
.about-copy > p { margin: 0 0 26px; color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.75; }
.about-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 55px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.2); }
.about-meta div { display: flex; flex-direction: column; gap: 7px; }
.about-meta span { color: rgba(255,255,255,.48); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.about-meta strong { font-size: 14px; }

.contact {
  display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 8vw; color: white;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    var(--blue);
  background-size: 30px 30px;
  box-shadow: inset 0 7px 0 var(--orange);
}
.contact .section-label { margin: 0 0 34px; }
.contact-details p { margin: 0 0 15px; color: rgba(255,255,255,.65); font-size: 13px; }
.contact-details > a { display: inline-block; font-family: var(--display); font-size: clamp(21px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.035em; text-underline-offset: 7px; }
.contact-details address { margin-top: 48px; font-style: normal; font-size: 14px; line-height: 1.6; }

footer { display: grid; grid-template-columns: .6fr 1.3fr .4fr; align-items: center; gap: 40px; padding: 36px 4vw; background: var(--ink); color: rgba(255,255,255,.68); }
.brand-footer { color: var(--white); }
footer p { margin: 0; font-size: 10px; line-height: 1.6; letter-spacing: .02em; }
footer p:last-child { text-align: right; }

.reveal { opacity: 1; transform: none; }
.reveal.reveal-pending { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-system { min-height: 500px; }
  .intro { grid-template-columns: 1fr; }
  .intro-copy { grid-template-columns: 1fr; }
  .company { grid-template-columns: 45px 1.25fr .65fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-panel { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .contact { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p:last-child { text-align: left; }
}

@media (max-width: 700px) {
  .site-header { height: 72px; padding: 0 20px; }
  .menu-toggle { display: grid; place-content: center; gap: 6px; width: 42px; height: 42px; border: 0; background: transparent; color: white; }
  .menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 1px; background: currentColor; }
  .site-nav {
    position: fixed; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding: 14px 20px 25px; background: var(--forest); border-top: 1px solid rgba(255,255,255,.12);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 2px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: auto; padding: 125px 20px 75px; gap: 62px; }
  .hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-system { min-height: 470px; }
  .system-core { width: 150px; height: 150px; }
  .system-core strong { font-size: 17px; }
  .orbit-card { width: 100px; padding: 11px; }
  .orbit-1, .orbit-3 { left: 4%; }.orbit-2, .orbit-4 { right: 4%; }
  .section-pad { padding: 82px 20px; }
  .intro-copy { gap: 34px; }
  .company { grid-template-columns: 1fr; min-height: 0; gap: 12px; padding: 70px 20px; }
  .company-number { margin-bottom: 30px; }
  .company h3 { font-size: clamp(42px, 13vw, 62px); }
  .company-aside { min-height: 240px; padding-bottom: 135px; margin-top: 28px; }
  .company-symbol { width: 180px; }
  .approach-heading { grid-template-columns: 1fr; margin: 34px 0 60px; }
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: 220px; }
  .principle h3 { margin-top: 48px; }
  .about-panel, .about-copy { padding: 80px 20px; }
  .about-meta { grid-template-columns: 1fr; }
  .contact-details > a { font-size: 20px; overflow-wrap: anywhere; }
  footer { padding: 34px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal, .reveal.reveal-pending { opacity: 1; transform: none; }
}

.contact-details .contact-phone { margin-top: 20px; font-size: 18px; }
.contact-phone a { color: white; text-underline-offset: 4px; }
