:root {
  color-scheme: light;
  --navy: #101927;
  --panel: #151f2e;
  --orange: #ff8a48;
  --paper: #f7f5ef;
  --muted: #afbac8;
  --line: #314155;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #d45408; outline-offset: 5px; }
.wrap { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .65rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead, .hero, .contact, footer { color: #f8fafc; }
.masthead { border-bottom: 1px solid #263447; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; }
nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.25rem); }
nav a, .back { text-decoration: none; font-size: .9rem; font-weight: 600; }
nav a:hover, .back:hover, .text-link:hover { color: var(--orange); }
.nav-contact { color: var(--orange); }
.nav-contact:hover { text-decoration: underline; }

.hero {
  background:
    linear-gradient(95deg, #101927 4%, #101927f5 34%, #1019279e 100%),
    url("data-center.jpg") center 48% / cover no-repeat,
    var(--navy);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(3.75rem, 7vw, 7.25rem); }
.eyebrow, .index, .art-header, .hero-art figcaption { font: 600 .72rem/1.4 var(--mono); letter-spacing: .11em; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.15rem; }
.eyebrow span, .art-header i { width: .52rem; height: .52rem; border-radius: 50%; background: var(--orange); flex: none; }
h1, h2 { letter-spacing: -.044em; line-height: 1.05; }
h1 { font-size: clamp(2.65rem, 4.4vw, 4.45rem); font-weight: 750; }
h1 em { color: var(--orange); font-style: normal; }
.intro { max-width: 33rem; margin-top: 1.4rem; font-size: clamp(1rem, 1.55vw, 1.2rem); line-height: 1.65; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.35rem; margin-top: 1.8rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .85rem; min-height: 3.2rem; padding: .75rem 1.15rem; border-radius: .4rem; background: var(--orange); color: #201409; font-weight: 750; font-size: .95rem; text-decoration: none; }
.button:hover { background: #ffad7c; }
.text-link { font-size: .94rem; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.hero-art { border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; background: #141f2e; box-shadow: 0 1.4rem 4rem #080d164d; }
.hero-art img { width: 100%; }
.art-header, .hero-art figcaption { min-height: 2.9rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .85rem; color: var(--muted); font-size: .66rem; }
.art-header { border-bottom: 1px solid var(--line); }
.art-header span:first-child { display: flex; align-items: center; gap: .5rem; }
.art-header i { width: .39rem; height: .39rem; }
.hero-art figcaption { border-top: 1px solid var(--line); }

.services { background: var(--paper); padding-block: clamp(3.75rem, 7vw, 6rem); }
.section-heading, .about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem 4rem; align-items: end; }
h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.section-heading > p, .about-copy { color: #475264; line-height: 1.65; font-size: 1.08rem; max-width: 35rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 2.2rem; }
.service-grid article { padding: 1.35rem; border: 1px solid #dedbd2; border-radius: .6rem; background: #fffcf6; }
.index { color: #954007; margin-bottom: 1.6rem; }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.032em; }
.service-grid article > p:last-child { color: #475264; line-height: 1.6; margin-top: .65rem; }
.about { background: #ece9e0; border-top: 1px solid #dedbd2; padding-block: clamp(3.75rem, 7vw, 6rem); }
.about-inner {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  grid-template-areas: "heading portrait" "bio portrait";
  align-items: start;
}
.about-heading { grid-area: heading; align-self: end; }
.about-copy { grid-area: bio; }
.about-portrait {
  grid-area: portrait;
  align-self: center;
  justify-self: center;
  width: min(100%, 21rem);
}
.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 8%;
  border-radius: .85rem;
}
.about-copy p + p { margin-top: 1rem; }
.credential {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1rem;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid #d5cfc3;
}
.credential img { width: 6.75rem; border-radius: .2rem; }
.credential figcaption { display: grid; gap: .25rem; color: var(--navy); line-height: 1.35; }
.credential figcaption span { font: 600 .66rem/1.4 var(--mono); letter-spacing: .08em; color: #6b4c36; }
.credential figcaption strong { font-size: .95rem; }
.period { color: #b34d0a; }

.contact { background: var(--panel); padding-block: clamp(3.75rem, 7vw, 6rem); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.contact-inner p:last-child { color: var(--muted); margin-top: 1rem; line-height: 1.65; }
footer { border-top: 1px solid #263447; }
footer small { color: var(--muted); }

@media (max-width: 64rem) {
  .wrap { width: calc(100% - 3.5rem); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 52rem) {
  .hero-inner, .section-heading, .about-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-areas: "heading" "portrait" "bio"; }
  .about-portrait { justify-self: start; }
  .hero-art { width: min(100%, 31rem); }
  .hero-copy { max-width: 36rem; }
  .hero {
    background:
      linear-gradient(180deg, #101927f5 0%, #101927c9 52%, #101927e8 100%),
      url("data-center.jpg") center / cover no-repeat,
      var(--navy);
  }
}
@media (max-width: 37rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .header-inner, .footer-inner { min-height: 4.2rem; }
  .header-inner .brand img { width: 4.25rem; }
  nav a, .back { font-size: .82rem; }
  .contact-inner { display: grid; justify-items: start; }
  .footer-inner { flex-wrap: wrap; padding-block: .8rem; }
  .service-grid { grid-template-columns: 1fr; }
  .index { margin-bottom: .8rem; }
}

@media (max-width: 23rem) {
  .art-header, .hero-art figcaption { font-size: .57rem; letter-spacing: .06em; padding-inline: .55rem; }
  nav { gap: .7rem; }
}
