@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --ink: #181a19;
  --body: #51544e;
  --line: #d5d4c9;
  --yellow: #ffdc38;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Instrument Sans", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.6vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
address { font-style: normal; }
section[id] { scroll-margin-top: 1.5rem; }
::selection { color: var(--ink); background: var(--yellow); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: .75rem;
  left: .75rem;
  background: var(--yellow);
  padding: .75rem 1rem;
}

.shell { width: min(100% - 2 * var(--gutter), 84rem); margin-inline: auto; }
.header-inner { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; flex: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 3.9rem;
  height: 2.6rem;
  padding-bottom: .13rem;
  padding-right: .22rem;
  clip-path: polygon(0 0, 100% 0, 87% 100%, 0 100%);
  font: 700 2.13rem/.9 var(--display);
  letter-spacing: -.04em;
  background: var(--yellow);
  color: var(--ink);
}

.brand-caption { font-size: .69rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .092em; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.nav-link { padding-block: .6rem; font-size: .94rem; font-weight: 600; }
.nav-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  min-height: 3.35rem;
  padding: .8rem 1.15rem;
  font-size: .95rem;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease;
}

.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #383a36; }
.button-dark:focus-visible { outline-color: var(--ink); }
.button-yellow { background: var(--yellow); color: var(--ink); }
.button-yellow:hover { background: #ffe879; }
.button-yellow:focus-visible { outline-color: var(--yellow); }
.header-contact { min-height: 2.75rem; font-size: .88rem; }
.arrow { display: inline-block; font-family: Arial, sans-serif; font-size: 1.15em; line-height: 1; transition: transform .2s ease; }
:is(.button, .text-link):hover .arrow { transform: translate(.14em, -.14em); }

.hero {
  min-height: clamp(36rem, 73svh, 49rem);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  background: #282722;
  color: var(--paper);
}

.hero-media, .hero-media::after, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -1; }
.hero-media img { object-fit: cover; object-position: center 60%; }
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgb(19 20 18 / .66) 0%, rgb(19 20 18 / .44) 34%, rgb(19 20 18 / .28) 48%, transparent 76%);
}

.hero-inner { padding-block: 4.75rem 5.5rem; }
.hero-copy { width: fit-content; }
.eyebrow { display: flex; align-items: center; gap: .62rem; font-size: .73rem; font-weight: 700; line-height: 1.3; letter-spacing: .145em; text-transform: uppercase; }
.marker { width: .85rem; height: .38rem; flex: none; background: currentColor; transform: skewX(-22deg); }
.hero .marker, .company .marker { color: var(--yellow); }
.hero h1 { margin-top: .75rem; font-size: clamp(5rem, 9vw, 9.7rem); line-height: .85; letter-spacing: -.027em; }
.hero h1 span { color: var(--yellow); }
.hero-description { max-width: 25rem; margin-top: 1.85rem; color: #f0eee5; font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.55; }
.place-name { white-space: nowrap; }
.hero .button { margin-top: 1.75rem; }
.hero-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: .42rem .72rem;
  background: #1c1c18;
  color: #f4f1e8;
  font-size: .68rem;
}

.facts { background: #eae8df; border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; min-height: 6rem; }
.facts-grid > div { display: grid; align-content: center; gap: .32rem; padding: 1.1rem 1.4rem; }
.facts-grid > div:first-child { padding-left: 0; }
.facts-grid > div + div { border-left: 1px solid var(--line); }
.facts dt { color: var(--body); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.facts dd { font-size: clamp(.93rem, 1.5vw, 1.21rem); font-weight: 700; }

.services { padding-block: clamp(4.25rem, 8vw, 8rem); }
.section-heading { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4.5vw, 3.7rem); }
.section-heading > p { max-width: 26rem; justify-self: end; padding-bottom: .38rem; }
.section-heading > p, .service-copy > p { color: var(--body); font-size: 1.04rem; line-height: 1.6; }
h2 { font-size: clamp(3.28rem, 6.3vw, 6.7rem); line-height: .93; letter-spacing: -.025em; }
.section-heading h2, .company h2, .contact h2 { margin-top: .8rem; }
.section-heading .marker { background: #9a7100; }

.services-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(1.5rem, 4.1vw, 4rem); }
.service:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3rem); }
.service-photo { position: relative; overflow: hidden; background: #cbc7bc; }
.service-photo img { aspect-ratio: 1.64; object-fit: cover; }
.service-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: .37rem .55rem;
  color: #f4f1e8;
  background: #1c1c18;
  font-size: .65rem;
}

.service-copy { padding-block: 1.15rem .25rem; }
.service-copy h3 { font-size: clamp(2rem, 3.6vw, 3.55rem); line-height: 1; letter-spacing: -.018em; }
.service-copy > p { margin-top: .7rem; max-width: 29rem; }
.service-items {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.1rem;
  list-style: none;
  padding: .95rem 0 0;
  margin: 1.12rem 0 0;
  border-top: 1px solid var(--line);
  color: #3e413b;
  font-size: .82rem;
  font-weight: 600;
}

.service-items li { display: flex; align-items: center; gap: .45rem; }
.service-items li::before { content: ""; width: .4rem; height: 1px; background: #93731c; }

.company {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(4rem, 7.4vw, 7.5rem);
}

.company-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.company-heading > p:last-child { max-width: 29rem; margin-top: 1.5rem; color: #d0d0c6; font-size: 1.04rem; line-height: 1.65; }
.company-address { padding: 1.5rem 0 1.5rem clamp(1.4rem, 4vw, 3.5rem); border-left: 1px solid #64655d; }
.company-address .eyebrow { color: var(--yellow); }
.company-address address { margin-top: .85rem; font-size: clamp(1.24rem, 2.3vw, 2.1rem); font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  margin-top: .7rem;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .3em;
}

.contact { isolation: isolate; position: relative; overflow: hidden; padding-block: clamp(3.7rem, 7vw, 7.5rem); background: var(--yellow); }
.contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4rem;
  top: -3rem;
  bottom: -3rem;
  width: clamp(5rem, 24vw, 22rem);
  transform: skewX(-24deg);
  background: repeating-linear-gradient(90deg, transparent 0 21px, rgb(24 26 25 / .12) 21px 22px);
}

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 3rem; }
.contact-action { max-width: 22rem; padding-bottom: .2rem; }
.contact-action p { margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.55; }
.contact-button { min-width: 13rem; font-size: 1.08rem; }

.site-footer { background: #20211e; color: var(--paper); padding-block: 1.75rem; }
.footer-main { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.legal { width: min(100%, 39rem); text-align: right; color: #d5d5ca; font-size: .84rem; line-height: 1.55; }
.legal summary { cursor: pointer; padding-block: .65rem; font-weight: 600; color: var(--paper); }
.legal p + p { margin-top: .5rem; }

@media (max-width: 950px) {
  .hero h1 { font-size: clamp(5.1rem, 11.2vw, 7.6rem); }
  .hero-media img { object-position: 60% 57%; }
  .hero-media::after { background: linear-gradient(90deg, rgb(18 19 17 / .86), rgb(18 19 17 / .61) 42%, transparent 89%); }
}

@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; min-height: 4.25rem; gap: 0 1rem; }
  .brand-mark { width: 3.45rem; height: 2.35rem; font-size: 1.95rem; }
  .site-nav { flex-basis: 100%; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; padding-block: .4rem .9rem; }
  [data-menu="enabled"] .menu-toggle {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: .55rem;
    padding: .35rem .55rem;
    border: 1px solid #d0cec3;
    background: transparent;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
  }
  [data-menu="enabled"] .site-nav:not([data-open="true"]) { display: none; }
  .site-nav[data-open="true"] { border-top: 1px solid var(--line); margin-top: .1rem; }
  .menu-icon { width: .82rem; height: .42rem; border-block: 1px solid currentColor; }
  [aria-expanded="true"] .menu-icon { height: 0; border-bottom: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 1.05rem; }
  .section-heading > p { justify-self: start; padding-bottom: 0; }
  .services-grid { gap: 2.2rem; }
  .service:nth-child(2) { margin-top: 0; }
  .company-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .desktop-break { display: none; }
}

@media (max-width: 640px) {
  .hero { min-height: clamp(34rem, 76svh, 42rem); align-items: end; }
  .hero-inner { padding-block: 8rem 3.3rem; }
  .hero-media img { object-position: 64% 47%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, rgb(19 20 18 / .99), rgb(19 20 18 / .78) 35%, rgb(19 20 18 / .16) 78%),
      linear-gradient(90deg, rgb(19 20 18 / .55), transparent 87%);
  }
  .hero h1 { font-size: clamp(4.25rem, 16vw, 6.2rem); }
  .hero-description { margin-top: 1.18rem; max-width: 20rem; }
  .hero .button { margin-top: 1.3rem; }
  .facts-grid { grid-template-columns: 1.25fr .84fr 1fr; min-height: 0; }
  .facts-grid > div { padding: .85rem .55rem; align-content: start; }
  .facts-grid > div:last-child { padding-right: 0; }
  .facts dt { font-size: .57rem; line-height: 1.25; letter-spacing: .065em; }
  .facts dd { font-size: .83rem; line-height: 1.2; }
  .services-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .company-address { padding-block: .55rem .2rem; }
  .contact::after { right: -3.5rem; }
  .footer-main { flex-direction: column; gap: .8rem; }
  .legal { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .arrow { transition: none; }
}
