:root {
  color-scheme: light;
  --ink: #101725;
  --night: #151e2d;
  --paper: #faf8f2;
  --gold: #fbc349;
  --muted: #4f5865;
  --line: #dcd9d0;
  --measure: 73rem;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #1e78c4; outline-offset: 5px; }
section { scroll-margin-top: 1.5rem; }
.wrap { width: min(var(--measure), calc(100% - 5rem)); margin-inline: auto; }

.skip {
  position: absolute;
  inset: .75rem auto auto 1rem;
  z-index: 2;
  padding: .7rem 1rem;
  background: #fff;
  color: var(--ink);
  translate: 0 -200%;
}
.skip:focus { translate: 0; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 5.25rem;
  gap: 1.5rem;
}
.brand { display: flex; gap: .75rem; align-items: center; text-decoration: none; }
.brand img { width: 3.25rem; height: 2.55rem; border-radius: .22rem; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.45rem; line-height: 1; letter-spacing: -.06em; font-weight: 800; }
.brand small { margin-top: .24rem; font-size: .73rem; color: var(--muted); font-weight: 650; }
nav { display: flex; align-items: center; gap: clamp(.9rem, 2.15vw, 2.1rem); }
nav a { font-size: .9rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
nav a:hover, .hero-link:hover, .text-link:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: .26em; }
.nav-contact { border: 1px solid #a7a9a8; padding: .65rem 1rem; border-radius: .2rem; }

.hero { background: var(--ink); color: var(--paper); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.7rem, 6vw, 6rem);
}
.hero-copy { min-width: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  font-size: clamp(3.15rem, 5.65vw, 6.1rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .97;
}
h1 em { color: var(--gold); font-style: normal; display: inline-block; margin-top: .11em; }
.hero-copy > p {
  font-size: clamp(1.04rem, 1.35vw, 1.24rem);
  color: #d5dae2;
  line-height: 1.55;
  max-width: 32ch;
  margin-top: 1.55rem;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 1.5rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .95rem;
  min-height: 3rem;
  padding: .72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .22rem;
  text-decoration: none;
  font-size: .93rem;
  line-height: 1.3;
  font-weight: 780;
}
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: #ffd773; }
.hero-link { text-decoration: none; color: #eef0f4; font-weight: 650; font-size: .9rem; }
.hero-link span { padding-left: .4em; color: var(--gold); }
.hero-media { position: relative; isolation: isolate; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -.55rem -.55rem .55rem .55rem;
  border: 1px solid #b48a3a;
  border-radius: .3rem;
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.13;
  object-fit: cover;
  object-position: 55% center;
  border-radius: .3rem;
  background: #303e3d;
}
.hero-media figcaption {
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  padding: .3rem .55rem;
  border-radius: .15rem;
  background: #101725e8;
  color: #f7f4ec;
  font-size: .68rem;
}

.section { padding-block: clamp(3rem, 7vw, 6.25rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.1rem 2rem; }
h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); letter-spacing: -.065em; font-weight: 800; line-height: 1.02; }
.section-heading > p, .team-intro p, .contact p, .training p {
  max-width: 39ch;
  line-height: 1.58;
  font-size: 1.05rem;
}
.section-heading > p, .team-intro p { color: var(--muted); }
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  margin-top: 2.15rem;
}
.service {
  padding: 1.75rem clamp(1.2rem, 2.8vw, 2.65rem) 1.85rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; }
.service + .service { border-left: 1px solid var(--line); }
.service h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -.045em; }
.service p { margin-top: .65rem; color: var(--muted); line-height: 1.62; }
.text-link { display: inline-block; margin-top: 1.4rem; font-weight: 750; font-size: .89rem; text-decoration: none; }
.text-link span { padding-left: .25rem; }

.training { background: #eae7dc; }
.training-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.8rem, 6vw, 5rem);
}
.training p { margin-top: .9rem; color: #424955; }
.button-outline { color: var(--ink); border-color: #78808c; margin-top: 1.4rem; }
.button-outline:hover { background: var(--paper); border-color: var(--ink); }
.topics { list-style: none; padding: 0; margin: 0; border-top: 1px solid #b9b6ad; }
.topics li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem 0;
  border-bottom: 1px solid #b9b6ad;
  font-weight: 680;
  line-height: 1.4;
}
.topics li::before { content: ""; flex: none; width: .46rem; height: .46rem; background: #9d5a01; rotate: 45deg; }

.team-intro { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.team-intro p { margin-top: .9rem; }
.team-intro > img {
  flex: none;
  width: clamp(6.5rem, 16vw, 10rem);
  height: auto;
  border-radius: .25rem;
}
.team-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  padding: 0;
  margin: 1.9rem 0 0;
}
.team-list li { background: #fffdfa; padding: 1.2rem 1.1rem; border: 1px solid var(--line); border-top: 3px solid #d79520; }
.team-list strong, .team-list span { display: block; }
.team-list strong { font-size: 1.06rem; line-height: 1.3; }
.team-list span { margin-top: .27rem; color: var(--muted); font-size: .86rem; line-height: 1.45; }

.gallery { background: #efede4; }
.gallery .section-heading a { font-weight: 700; text-underline-offset: .2em; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
  margin-top: 1.65rem;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d3cfc4;
  border-radius: .25rem;
  background: #fffdfa;
  text-decoration: none;
}
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
  object-position: center top;
  background: #dedbd1;
}
.gallery-item.workwear img { object-fit: contain; object-position: center; }
.gallery-item > span {
  display: grid;
  align-content: start;
  flex: 1;
  position: relative;
  gap: .24rem;
  min-height: 3.35rem;
  padding: .8rem 2.25rem .8rem .9rem;
  font-weight: 730;
  line-height: 1.35;
}
.gallery-item > span::after { content: "↗"; position: absolute; top: .8rem; right: .9rem; }
.gallery-item:hover > span { background: #f8ead0; }
.gallery-item small { color: var(--muted); font-size: .77rem; font-weight: 600; }
.gallery-shared { margin-top: clamp(2.2rem, 4vw, 3.5rem); }
.gallery-shared h3 { font-size: clamp(1.4rem, 2.5vw, 2.1rem); letter-spacing: -.04em; }
.gallery-shared .gallery-grid { margin-top: 1rem; }

.contact { background: var(--gold); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.65rem clamp(2rem, 6vw, 5.5rem);
  padding-block: clamp(2.4rem, 5.5vw, 4.5rem);
}
.contact p { margin-top: .65rem; }
.contact-copy .button { margin-top: 1.3rem; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #303b4e; }
.contact a:focus-visible { outline-color: var(--ink); }
.contact-details { margin: 0; border-top: 1px solid #926a28; }
.contact-details > div {
  display: grid;
  grid-template-columns: minmax(5.5rem, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: .75rem;
  padding-block: .68rem;
  border-bottom: 1px solid #926a28;
  line-height: 1.4;
}
.contact-details dt { font-size: .83rem; font-weight: 800; }
.contact-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.contact-details a { text-underline-offset: .2em; }
.contact-details address { font-style: normal; }
.site-footer { background: var(--ink); color: #e5e8ee; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; font-size: .82rem; }
.footer-inner a { text-decoration: none; white-space: nowrap; }

@media (max-width: 840px) {
  .wrap { width: min(var(--measure), calc(100% - 3rem)); }
  .hero-inner { gap: 2rem; }
  h1 { font-size: clamp(2.9rem, 7.3vw, 4.1rem); }
  .hero-media img { aspect-ratio: .88; }
  .section-heading { align-items: start; flex-direction: column; }
  .team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .7rem; padding-block: .75rem; }
  nav { width: 100%; justify-content: space-between; gap: .55rem; }
  nav a { font-size: .82rem; }
  .nav-contact { padding: .45rem .6rem; }
  .hero-inner, .training-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 1.8rem; }
  h1 { font-size: clamp(2.9rem, 10.2vw, 4.15rem); }
  .hero-media { margin-right: .52rem; }
  .hero-media img { aspect-ratio: 1.37; }
  .service-list { grid-template-columns: 1fr; }
  .service, .service:first-child, .service:last-child { padding-inline: 0; }
  .service + .service { border-left: 0; border-top: 1px solid var(--line); }
  .team-intro > img { width: clamp(4rem, 20vw, 7.5rem); }
  .team-list { gap: .62rem; }
  .team-list li { padding: .85rem .8rem; }
  .contact-inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 430px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
