@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #171817;
  --muted: #555650;
  --accent: #f2905c;
  --deep-accent: #8b4326;
  --line: #dedbd3;
  font: 400 1rem/1.55 Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #b75c33; outline-offset: 5px; }
.hero :focus-visible { outline-color: #ffc5a4; }

.shell { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.section-space { padding-block: clamp(4.1rem, 8.4vw, 7.5rem); }
.skip-link { position: fixed; z-index: 10; top: .75rem; left: 1rem; transform: translateY(-200%); padding: .6rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid #e6e2db;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.65rem; }
.brand { display: inline-flex; gap: .71rem; flex: none; align-items: center; text-decoration: none; }
.brand-mark { display: flex; align-items: flex-end; gap: .21rem; height: 1.9rem; width: 1.95rem; transform: skew(-15deg); }
.brand-mark i { display: block; width: .43rem; background: #b55029; border-radius: 1px; }
.brand-mark i:nth-child(1) { height: 47%; }
.brand-mark i:nth-child(2) { height: 72%; }
.brand-mark i:nth-child(3) { height: 100%; }
.brand-type { display: grid; gap: .18rem; line-height: 1; }
.brand-type strong { font-size: 1.56rem; letter-spacing: -.085em; font-weight: 800; }
.brand-type span { font-size: .61rem; font-weight: 800; letter-spacing: .14em; }
.site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3.75vw, 3.35rem); font-size: .9rem; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--deep-accent); }
.nav-contact { border: 1px solid #9f968e; padding: .51rem 1.17rem; border-radius: 999px; }
.nav-contact:hover { border-color: var(--deep-accent); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 47vw, 43rem);
  isolation: isolate;
  background: #111211;
  color: #fffdf8;
}
.hero-picture, .hero-picture img, .hero::after { position: absolute; inset: 0; height: 100%; width: 100%; }
.hero-picture { z-index: -2; overflow: hidden; }
.hero-picture img { object-fit: cover; object-position: center 54%; }
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #111211 0%, #111211f2 14%, #111211b9 33%, #11121119 63%, transparent 100%),
              linear-gradient(0deg, #11121175, transparent 34%);
}
.hero-inner { padding-block: 5rem; }
.eyebrow { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.hero-eyebrow { display: flex; align-items: center; gap: .7rem; color: #ffc299; }
.hero-eyebrow span { width: 1.35rem; height: 1px; background: var(--accent); flex: none; }
.hero h1 { margin: 1.5rem 0 1.45rem; font-size: clamp(3.9rem, 7.25vw, 7.2rem); line-height: .97; font-weight: 800; letter-spacing: -.085em; }
.hero h1 span { color: var(--accent); }
.hero-description { max-width: 30rem; font-size: clamp(1.05rem, 1.7vw, 1.24rem); color: #ded9d3; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.65rem; margin-top: 1.85rem; }
.button { display: inline-flex; min-height: 3rem; padding: .67rem 1.27rem; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; text-align: center; font-size: .91rem; font-weight: 800; }
.button-orange { background: var(--accent); color: #22160f; }
.button-orange:hover { background: #ffad80; }
.button-dark { background: var(--ink); color: #fffdf8; }
.button-dark:hover { background: #3a322c; }
.secondary-link, .text-link { font-size: .91rem; font-weight: 800; text-underline-offset: .27em; text-decoration-thickness: 1px; }
.secondary-link { text-decoration-color: #a49b92; }
.secondary-link:hover { color: #ffc299; }
.text-link:hover { color: var(--deep-accent); }

.section-heading { display: grid; grid-template-columns: 1fr minmax(13rem, 22rem); gap: 1.6rem; align-items: end; margin-bottom: 2.15rem; }
.section-heading > p { color: var(--muted); max-width: 34ch; padding-bottom: .26rem; }
.section-label { color: var(--deep-accent); margin-bottom: .64rem; }
h2 { font-size: clamp(2.35rem, 4.95vw, 4.55rem); line-height: 1.04; font-weight: 800; letter-spacing: -.075em; text-wrap: balance; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.capability { display: flex; flex-direction: column; background: #fffdfa; border: 1px solid var(--line); border-radius: .7rem; overflow: hidden; }
.capability > img { width: 100%; height: auto; aspect-ratio: 1.375; object-fit: cover; background: #271e18; }
.capability-body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.05rem, 2.15vw, 1.65rem); }
.capability h3 { font-size: clamp(1.18rem, 2vw, 1.57rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.16; }
.capability-body > p { color: var(--muted); margin: .65rem 0 1.1rem; }
.capability details { margin-top: auto; border-top: 1px solid var(--line); }
.capability summary { padding: .77rem 0 .1rem; display: flex; justify-content: space-between; gap: .5rem; align-items: center; cursor: pointer; list-style: none; font-size: .9rem; font-weight: 800; }
.capability summary::-webkit-details-marker { display: none; }
.capability summary::after { content: ""; width: 1.3rem; height: 1.3rem; border: 1px solid #dbc7bc; border-radius: 100%; background: linear-gradient(var(--deep-accent), var(--deep-accent)) center / .54rem 1px no-repeat, linear-gradient(var(--deep-accent), var(--deep-accent)) center / 1px .54rem no-repeat; flex: none; }
.capability details[open] summary::after { background-size: .54rem 1px, 0 0; }
.capability summary:hover, .capability details a:hover { color: var(--deep-accent); }
.capability details p { margin-top: .6rem; color: var(--muted); }
.capability details a { display: inline-block; margin-top: .4rem; color: var(--ink); font-weight: 700; text-underline-offset: .2em; }

.about { background: #211d19; color: #fffdf8; }
.about-inner { display: grid; grid-template-columns: minmax(14rem, .8fr) 1.2fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; padding-block: clamp(4rem, 8vw, 7rem); }
.about-date { border-left: 1px solid #8a654f; padding: .6rem 0 .6rem clamp(1rem, 4vw, 2.75rem); }
.about-date span { display: block; font-size: 1rem; font-weight: 700; color: #f2ba97; }
.about-date strong { display: block; font-size: clamp(4rem, 10vw, 8.8rem); line-height: 1.05; letter-spacing: -.1em; font-weight: 800; color: #f5a67a; }
.about .section-label { color: #f2ba97; }
.about h2 { font-size: clamp(2.2rem, 4.3vw, 3.6rem); }
.about-copy > p:not(.eyebrow) { max-width: 43ch; margin-block: 1.1rem 1.45rem; color: #e0d6cc; }
.about .text-link:hover { color: #ffc299; }
.about :focus-visible { outline-color: #ffc299; }

.contact-card { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; padding: clamp(1.6rem, 5.5vw, 4.75rem); border-radius: .8rem; background: #f4c9ad; }
.contact-card h2 { max-width: 16ch; font-size: clamp(2.1rem, 4.65vw, 4.05rem); text-wrap: wrap; }
.contact-card .button { flex: none; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 6.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.65rem; }
.footer-inner p { font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) {
  .shell { width: calc(100% - 3.5rem); }
  .section-heading { grid-template-columns: 1fr minmax(12.5rem, .65fr); }
  .capability-grid { gap: .75rem; }
}

@media (max-width: 660px) {
  :root { scroll-padding-top: 4.5rem; }
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 3.85rem; flex-wrap: wrap; }
  .brand-mark { height: 1.65rem; }
  .brand-type strong { font-size: 1.35rem; }
  .brand-type span { font-size: .56rem; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .52rem; min-height: 2.75rem; padding: .5rem 0 .5rem .55rem; border: 0; background: transparent; color: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; }
  .menu-icon, .menu-icon::after { display: block; width: .9rem; height: 1px; background: currentColor; }
  .menu-icon { position: relative; transform: translateY(-3px); }
  .menu-icon::after { position: absolute; content: ""; top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(90deg); top: 0; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: .35rem 1.3rem; padding-block: .45rem .9rem; }
  .site-nav a { display: flex; align-items: center; min-height: 2.5rem; }
  .nav-contact { padding-block: 0; }
  .hero { align-items: end; min-height: auto; }
  .hero-picture { height: 23rem; }
  .hero-picture img { object-position: center 43%; }
  .hero::after { background: linear-gradient(to bottom, transparent 5%, #11121132 24%, #111211 58%); }
  .hero-inner { padding-block: 15rem 3.55rem; }
  .hero h1 { font-size: clamp(2.95rem, 11.4vw, 4.3rem); margin-block: 1.1rem 1rem; }
  .hero-description { max-width: 33ch; }
  .hero-actions { margin-top: 1.35rem; }
  .section-heading { grid-template-columns: 1fr; gap: .8rem; margin-bottom: 1.4rem; }
  h2 { text-wrap: wrap; }
  .capability-grid { grid-template-columns: 1fr; gap: 1rem; }
  .capability > img { aspect-ratio: 1.58; }
  .capability-body { padding: 1.25rem; }
  .capability h3 { font-size: 1.38rem; }
  .about-inner { grid-template-columns: 1fr; gap: 1.65rem; }
  .about-copy { grid-row: 1; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .footer-inner p { flex-basis: 100%; order: 1; }
}

@media (max-width: 340px) {
  .shell { width: calc(100% - 2rem); }
  .hero-eyebrow { font-size: .76rem; letter-spacing: .12em; }
}

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