:root {
  color-scheme: light;
  --paper: #fcf7ef;
  --ink: #261c1a;
  --body: #5e4a42;
  --red: #b42734;
  --yellow: #f9cc60;
  --rule: #e5d7ca;
  --ease: cubic-bezier(.2, .75, .25, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.65 Manrope, Arial, sans-serif; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #588441; outline-offset: 5px; }
.shell { width: min(86rem, calc(100% - 7rem)); margin-inline: auto; }
section[id] { scroll-margin-top: 1.25rem; }

.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem; min-height: 6rem; border-bottom: 1px solid var(--rule); }
.wordmark { display: block; width: clamp(8.25rem, 13vw, 11.25rem); }
.wordmark img { display: block; width: 100%; height: auto; }
.header nav { display: flex; gap: clamp(1rem, 3vw, 3rem); }
.header nav a, .version { font-size: .9rem; font-weight: 800; }
.header nav a:hover { color: var(--red); }
.version { justify-self: end; width: max-content; border-bottom: 1px solid #a7897b; }
.version:hover { color: var(--red); border-color: currentColor; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); gap: clamp(1.5rem, 4.8vw, 5.75rem); align-items: center; padding-block: clamp(1.4rem, 4.4vw, 4.5rem) clamp(3rem, 6.2vw, 6.5rem); }
.hero-copy { animation: rise .75s var(--ease) both; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--red); font-size: .84rem; font-weight: 800; letter-spacing: .04em; }
.eyebrow::before { content: ""; flex: 0 0 1rem; height: 2px; background: currentColor; }
h1, h2, h3 { font-weight: 800; }
h1 { margin-top: 1.35rem; font-size: clamp(2.5rem, 5.6vw, 5.3rem); line-height: .99; letter-spacing: -.08em; }
h1 em { display: block; color: var(--red); font-style: normal; }
.hero-lead { max-width: 27rem; margin-top: 1.6rem; color: var(--body); font-size: clamp(1rem, 1.48vw, 1.22rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.2rem; margin-top: 1.8rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.35rem; padding: .68rem 1.25rem; border-radius: .55rem; background: var(--red); color: white; font-size: .94rem; font-weight: 800; box-shadow: 0 8px 18px #b4273429; transition: background .25s, transform .25s var(--ease); }
.button:hover { background: #96212f; transform: translateY(-3px); }
.subtle-link { border-bottom: 1px solid #bca295; font-size: .92rem; font-weight: 800; }
.subtle-link:hover { color: var(--red); }
.since { display: flex; align-items: center; gap: .45rem; margin-top: clamp(1.5rem, 3.2vw, 2.5rem); color: var(--body); font-size: .86rem; }
.since span { width: .45rem; height: .45rem; border-radius: 50%; background: #588441; }

.hero-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 30rem;
  aspect-ratio: 1.06;
  overflow: hidden;
  border: 1px solid #8e3e3e;
  border-radius: 1.15rem 6.25rem 1.15rem 6.25rem;
  background: radial-gradient(ellipse at 69% 67%, #bc443c74, transparent 56%), linear-gradient(145deg, #51202a, #7a2b35 58%, #50232a);
  box-shadow: 0 30px 50px -34px #7631379e;
}
.art-texture { position: absolute; inset: 0; background: radial-gradient(circle at center, #ffe1b961 1px, transparent 1.35px) center / 17px 17px; opacity: .37; mask-image: radial-gradient(ellipse, transparent 27%, #000 85%); }
.art-disc {
  position: absolute;
  display: grid;
  place-items: center;
  width: 81%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #f4b47b7c;
  background: radial-gradient(circle at 68% 72%, #ab5332, transparent 51%), radial-gradient(circle at 30% 21%, #9b3e46, #521f2b 68%);
  box-shadow: 0 0 0 1.1rem #ffcf8c0c, inset 0 0 4rem #fe918229, 0 1.25rem 2.5rem #34111854;
  transform: translate3d(calc(var(--art-x, 0px) * -.45), calc(var(--art-y, 0px) * -.45), 0);
  transition: transform .5s var(--ease);
}
.art-disc::before { position: absolute; inset: 5.7%; border: 1px solid #ffcc9e45; border-radius: inherit; content: ""; }
.art-disc::after { position: absolute; inset: 10%; border: 1px dashed #ffcc9e38; border-radius: inherit; content: ""; }
.art-emblem { z-index: 1; display: block; width: min(74%, 31rem); height: auto; filter: drop-shadow(0 1.1rem 1.1rem #371719c9); transform: translate3d(var(--art-x, 0px), var(--art-y, 0px), 0); transition: transform .45s var(--ease); animation: rise .95s var(--ease) both; }
.art-pupil { transform: translate(calc(var(--art-x, 0px) * 1.5), calc(var(--art-y, 0px) * 1.5)); transition: transform .35s var(--ease); }

.section { padding-block: clamp(3rem, 5vw, 5.5rem); }
#services { border-top: 1px solid var(--rule); }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 1rem 3rem; margin-bottom: 2rem; }
.section-heading > p { max-width: 25rem; padding-bottom: .2rem; color: var(--body); }
h2 { margin-top: .65rem; font-size: clamp(2.4rem, 4.35vw, 4.6rem); line-height: 1.03; letter-spacing: -.075em; }
.services { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: repeat(2, minmax(10rem, auto)); gap: .9rem; }
.service { display: flex; gap: 1rem; padding: clamp(1.3rem, 2.75vw, 2.7rem); border: 1px solid #e9d8c9; border-radius: 1.15rem; transition: translate .28s var(--ease), box-shadow .28s; }
.service:hover { translate: 0 -4px; box-shadow: 0 17px 33px -29px #4f2926a4; }
.service-feature { position: relative; isolation: isolate; grid-row: 1 / 3; min-height: 23rem; flex-direction: column; align-items: start; justify-content: space-between; overflow: hidden; border-color: #9d2534; background: linear-gradient(143deg, #b12737, #872332); color: #fff5ec; }
.service-feature::after { position: absolute; z-index: -1; width: 72%; right: -10%; top: -24%; aspect-ratio: 420 / 365; content: ""; background: url("/brand/emblem.svg") center / contain no-repeat; opacity: .19; rotate: -12deg; }
.service-support { background: #e6eddd; border-color: #d6e0cd; }
.service-desks { background: #faecc9; border-color: #efdfb5; }
.service h3 { font-size: clamp(1.2rem, 2vw, 1.73rem); line-height: 1.17; letter-spacing: -.04em; }
.service-feature h3 { max-width: 20rem; font-size: clamp(1.55rem, 3vw, 2.6rem); }
.service p { margin-top: .6rem; max-width: 26rem; }
.service-feature p { color: #ffe1db; }
.service-icon { flex: 0 0 auto; position: relative; display: grid; width: 2.9rem; height: 2.9rem; place-items: center; border: 1px solid currentColor; border-radius: .72rem; }
.service-feature .service-icon { color: #ffe1d7; }
.service-support .service-icon { color: #385e40; }
.service-desks .service-icon { color: #775018; }
.service-icon i { display: block; border: 2px solid currentColor; }
.icon-monitor i { width: 1.26rem; height: .92rem; border-radius: .17rem; translate: 0 -.13rem; }
.icon-monitor i::after { position: absolute; bottom: -.34rem; left: .25rem; width: .51rem; height: 2px; background: currentColor; content: ""; }
.icon-chat i { width: 1.2rem; height: .91rem; border-radius: .25rem .25rem .25rem 0; }
.icon-stack { align-content: center; gap: 3px; }
.icon-stack i { width: 1.18rem; height: .42rem; border-radius: .14rem; }

.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 5rem); border-radius: 1.25rem; color: #f9f6e9; background: radial-gradient(ellipse at 93% 90%, #3d6242, transparent 66%), #1d392b; }
.about .eyebrow, .date { color: var(--yellow); }
.about-copy > p:last-child { max-width: 28rem; margin-top: 1rem; color: #e0e8d5; }
.date { text-align: center; }
.date span { display: block; font-size: clamp(5rem, 11vw, 10rem); line-height: .95; font-weight: 800; letter-spacing: -.1em; }
.date p { margin: .7rem 0 0; color: #e0e8d5; font-size: .9rem; }
.cooperation .section-heading { margin-bottom: 0; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding-block: 1.45rem 2rem; border-top: 1px solid var(--rule); }
.footer .wordmark { width: 8.1rem; }
.footer p { color: var(--body); font-size: .9rem; }

[data-reveal].will-reveal { opacity: 0; transform: translateY(20px); }
[data-reveal].did-reveal { animation: rise .72s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 67rem) {
  .shell { width: calc(100% - 4rem); }
  .hero { gap: 1.5rem; }
  h1 { font-size: clamp(2.5rem, 5.5vw, 4.6rem); }
  .hero-art { min-height: 25rem; border-radius: 1rem 4rem 1rem 4rem; }
}
@media (max-width: 48rem) {
  .shell { width: calc(100% - 2rem); }
  .header { grid-template-columns: 1fr auto; min-height: 4.6rem; gap: .6rem; }
  .header .wordmark { width: clamp(7rem, 35vw, 9rem); }
  .header nav { gap: .75rem; }
  .header nav a { font-size: .86rem; }
  .header nav a:last-child, .header .version { display: none; }
  .hero { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2rem; }
  .hero-copy { padding-inline: .15rem; }
  h1 { font-size: clamp(2.5rem, 9.8vw, 4.5rem); margin-top: .85rem; }
  .hero .eyebrow { font-size: .76rem; }
  .hero-lead { margin-top: 1rem; }
  .hero-actions { margin-top: 1.25rem; }
  .button { min-height: 3rem; padding-inline: .95rem; }
  .since { margin-top: 1.15rem; }
  .hero-art { min-height: auto; aspect-ratio: 1.15; border-radius: .9rem 3rem .9rem 3rem; }
  .section-heading, .services, .about { grid-template-columns: 1fr; }
  .services { grid-template-rows: auto; }
  .service-feature { grid-row: auto; min-height: 16rem; }
  .date { text-align: left; border-top: 1px solid #c0ca9870; padding-top: 1.4rem; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 23rem) { h1 { font-size: 2.3rem; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].will-reveal { opacity: 1; transform: none; }
  .art-disc, .art-emblem, .art-pupil { transform: none; }
}
