:root {
  color-scheme: light;
  --paper: #fcf8f0;
  --paper-warm: #f6eee3;
  --ink: #281725;
  --copy: #51414a;
  --wine: #421d35;
  --red: #963f45;
  --bronze: #85532d;
  --line: #d8c6b7;
  --gold-sheet: url("/gold.jpg");
  --display: "League Spartan", "Arial Black", Arial, sans-serif;
  font-family: system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, pre:focus-visible { outline: 2px solid var(--red); outline-offset: .32rem; }
h1, h2, h3, .wordmark { font-family: var(--display); font-weight: 800; }
h1, h2, h3 { line-height: .95; letter-spacing: -.045em; }
h2 { font-size: clamp(2.55rem, 5vw, 4.7rem); }
h3 { font-size: clamp(1.8rem, 3.1vw, 2.65rem); }
.frame { width: min(100% - 7rem, 1320px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 1rem; top: 1rem; transform: translateY(-180%); background: var(--ink); color: white; padding: .6rem 1rem; }
.skip:focus { transform: none; }
.masthead { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 1rem 2rem; position: relative; z-index: 1; }
.wordmark { display: inline-flex; align-items: center; gap: .77rem; text-decoration: none; font-size: 1.75rem; line-height: .9; white-space: nowrap; }
.wordmark small { display: block; margin-top: .28rem; color: var(--bronze); font: 700 .56rem/1 system-ui, sans-serif; letter-spacing: .21em; text-transform: uppercase; }
.mark {
  display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #8a6143;
  font-size: 1.25rem; letter-spacing: -.07em; color: #372217;
  background: linear-gradient(125deg, #fff5d7a6, #e7c69769), var(--gold-sheet) center / cover, #d0ac7a;
  box-shadow: inset 0 1px #fff5d8, inset 0 -1px #67401f6b;
}
.nav { display: flex; flex-wrap: wrap; gap: .65rem clamp(.95rem, 3vw, 2.8rem); }
.nav a { position: relative; text-decoration: none; font-weight: 680; font-size: .88rem; }
.nav a:hover, .nav a[aria-current] { color: var(--red); }
.nav a[aria-current]::after { content: ""; height: 2px; background: var(--red); position: absolute; inset: auto 0 -.4rem; }
.hero-shell {
  --art: url("/orbit.jpg");
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.hero-art {
  position: absolute; z-index: -1; inset: 0 0 0 36%; overflow: clip;
  mask-image: linear-gradient(90deg, transparent, #0007 18%, #000 38%);
}
.hero-art::before {
  position: absolute; content: ""; inset: -6% -2%;
  background: #401e36 var(--art) 67% 44% / cover no-repeat;
  transform: scale(1.04);
  transform-origin: right center;
}
.hero-art::after {
  position: absolute; content: ""; inset: 0;
  background: linear-gradient(180deg, #2b13234a, transparent 45%, #23102132);
}
.hero { min-height: min(650px, 79svh); padding-block: clamp(6rem, 11vw, 11rem) 7rem; display: grid; align-items: center; position: relative; }
.hero-copy { max-width: min(67%, 48rem); }
.eyebrow { color: var(--bronze); font-size: .71rem; line-height: 1.5; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.signal { display: inline-block; vertical-align: 2px; width: .54rem; height: .54rem; margin-right: .7rem; background: #b2474e; box-shadow: 0 0 13px #b2474e6e; }
h1 { font-size: clamp(4.1rem, 10.3vw, 10.3rem); margin: 1.25rem 0 .4rem; }
h1 span { color: var(--red); }
.hero h1 { white-space: nowrap; }
@supports (background-clip: text) {
  .hero h1 {
    background-image: linear-gradient(96deg, #28122382 6%, #5b203864 64%, #55263d70), var(--art);
    background-size: auto, 120% auto;
    background-position: center, 58% 54%;
    background-clip: text;
    color: transparent;
  }
  .hero h1 span { color: transparent; }
}
.hero-description, .software-hero .frame > p:not(.eyebrow) { max-width: 29rem; color: var(--copy); font-size: clamp(1.06rem, 1.65vw, 1.38rem); line-height: 1.53; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.05rem 1.65rem; margin-top: 1.9rem; }
.button, .plain-link { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 750; }
.button {
  justify-content: space-between; min-height: 49px; padding: .78rem 1.1rem; color: #2f1b19; font-size: .87rem;
  border: 1px solid #9a714b;
  background-image: linear-gradient(112deg, #fff4d7a8, #fae2b74a 54%, #eed3aa78), var(--gold-sheet, none);
  background-size: cover, 140% auto; background-position: center, 55% 54%; background-color: #d9b481;
  box-shadow: inset 0 1px #fff1d6, inset 0 -1px #88583b93, 0 3px 7px #50252c19;
  transition: background-position .3s ease, box-shadow .3s ease;
}
.button:hover { background-position: center, 68% 54%; box-shadow: inset 0 1px #fff5dc, inset 0 -1px #88583b93, 0 5px 12px #50252c28; }
.plain-link { font-size: .87rem; color: var(--wine); }
.plain-link:hover { color: var(--red); text-decoration: underline; }
.coordinates { position: absolute; right: 0; bottom: 1.7rem; color: #fff1dd; text-shadow: 0 1px 7px #211020; font: 650 .69rem/1.1 ui-monospace, monospace; letter-spacing: .14em; }
.metal-seam { height: 4px; background: var(--gold-sheet) center 61% / 100% auto, linear-gradient(105deg, #80512f, #f4dcad 48%, #90603b); border: 0; margin: 0; }
.business-section { padding: clamp(3.25rem, 7vw, 6rem) 0; background: var(--paper); }
.section-heading { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.7rem; }
.section-heading span { flex: 1; background: linear-gradient(90deg, #9c6a4b, #e8dace 65%); height: 1px; }
.business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.business { display: flex; flex-direction: column; padding: clamp(1.2rem, 2.8vw, 2.3rem); border: 1px solid var(--line); border-top: 2px solid var(--card-accent); background: #fffdf8; }
.business-0 { --card-accent: #a66b3f; }
.business-1 { --card-accent: #a5484b; }
.business-2 { --card-accent: #713958; }
.business h3, .family h3 { margin-top: .7rem; color: var(--wine); }
.business p:not(.eyebrow), .family > p, .about p:not(.eyebrow), .footer p:not(.eyebrow), .product p:not(.eyebrow) { color: var(--copy); line-height: 1.65; }
.business p:not(.eyebrow) { margin: .8rem 0 1.35rem; }
.business a { margin-top: auto; align-self: start; overflow-wrap: anywhere; }
.family { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 1rem 2rem; border-block: 1px solid var(--line); margin-top: 1.6rem; padding: 1.45rem 0; }
.about-section { background: var(--paper-warm); border-block: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 6rem); }
.about, .footer-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 1.5rem 4rem; }
.about h2, .footer h2 { margin-top: .65rem; }
.about p + p { margin-top: .9rem; }
.footer { padding-block: clamp(2.8rem, 6vw, 4.8rem); background: #301b2e; color: #fff8ef; }
.footer .eyebrow { color: #e4bc94; }
.footer p:not(.eyebrow) { color: #eadbd6; }
.mail { display: inline-block; margin-top: .85rem; color: #f4d8b3; overflow-wrap: anywhere; }
.software-hero { padding-block: clamp(3.5rem, 8vw, 7rem); background: linear-gradient(105deg, var(--paper), #f1ded8); border-block: 1px solid var(--line); }
.software-hero .button { margin-top: 1.5rem; }
.product-list { padding-block: clamp(2.6rem, 7vw, 5rem); display: grid; gap: 1.8rem; }
.product { border: 1px solid var(--line); border-top: 2px solid #a66b3f; background: #fffdf8; padding: clamp(1.15rem, 4.5vw, 3.5rem); }
.product header h2 { margin: .65rem 0 .75rem; color: var(--wine); }
.product header > p:last-child { max-width: 53ch; font-size: 1.1rem; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.2rem; margin-top: 1.5rem; }
.product-grid section { min-width: 0; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.product-grid h3 { font-size: 1.8rem; margin-bottom: .6rem; }
pre { color: #45253c; margin: 0; overflow: auto; background: #f5ede3; padding: .8rem; border: 1px solid var(--line); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-shell { view-timeline-name: --orbit; view-timeline-axis: block; }
    .hero-art::before { animation: orbit-drift linear both; animation-timeline: --orbit; animation-range: exit 0% exit 100%; }
    .hero h1 { animation: type-drift linear both; animation-timeline: --orbit; animation-range: exit 0% exit 100%; }
  }
}
@keyframes orbit-drift { to { transform: translate3d(-2%, 7%, 0) scale(1.13); } }
@keyframes type-drift { to { background-position: center, 64% 65%; } }
@media (max-width: 820px) {
  .frame { width: calc(100% - 3rem); }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family { grid-template-columns: 1fr 1fr; }
  .family > a { grid-column: 2; }
  .hero-description { max-width: 21rem; }
}
@media (max-width: 640px) {
  .frame { width: calc(100% - 2rem); }
  .masthead { flex-direction: column; align-items: flex-start; padding-block: .9rem; }
  .nav { justify-content: space-between; width: 100%; }
  .nav a { font-size: .8rem; }
  .hero { min-height: 525px; align-items: start; padding-block: 3.6rem 13.5rem; }
  .hero-copy { max-width: 100%; }
  .hero-art { inset: auto 0 0; height: 54%; mask-image: linear-gradient(180deg, transparent, #0009 22%, #000 48%); }
  .hero-art::before { background-position: center 59%; }
  h1 { margin-top: .95rem; }
  .hero h1 { font-size: clamp(3.45rem, 13vw, 5.5rem); }
  .business-grid, .family, .about, .footer-inner, .product-grid { grid-template-columns: 1fr; }
  .family > a { grid-column: auto; }
  .section-heading { gap: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

