@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ivory: #f4efe5;
  --paper: #fcfaf5;
  --ink: #211b16;
  --muted: #6b5f54;
  --ember: #b44a24;
  --clay: #8c5a3c;
  --moss: #59604b;
  --line: rgba(33, 27, 22, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.45;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
summary,
.statement,
.hero__title,
.hero-card strong,
.brand-strip span,
.product-card__footer strong,
.cart-summary strong {
  font-family: var(--font-heading);
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: #17120e;
  color: var(--ivory);
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
}

.loader__gif {
  display: block;
  width: min(220px, 54vw);
  max-height: 180px;
  object-fit: contain;
}

.loader__logo {
  display: block;
  width: min(180px, 44vw);
  height: auto;
  border-radius: 18px;
}

.loader__line {
  width: min(360px, 70vw);
  height: 1px;
  overflow: hidden;
  background: rgba(244, 239, 229, 0.18);
}

.loader__line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ivory);
  animation: loadLine 1.4s var(--ease) forwards;
}

body.loaded .loader {
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px clamp(18px, 4vw, 64px);
  color: var(--ivory);
  transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease;
  border-bottom: 1px solid rgba(244, 239, 229, 0.15);
}

.site-header.is-scrolled {
  background: rgba(45, 54, 61, 0.94);
  color: var(--ivory);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.site-header--solid {
  color: var(--ivory);
  background: transparent;
  border-color: rgba(244, 239, 229, 0.15);
}

.nav {
  display: flex;
  gap: clamp(16px, 2.2vw, 34px);
  align-items: center;
  font-family: var(--font-body);
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
}

.nav--right {
  justify-content: flex-end;
}

.cart-link span {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  place-items: center;
  margin-left: 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
}

.brand {
  display: grid;
  justify-items: center;
  line-height: 1;
  text-transform: uppercase;
}
.brand {
    display: flex;
    align-items: center;
}

.brand img {
  display: block;
  height: clamp(72px, 8vw, 150px);
  width: auto;
  max-width: min(260px, 36vw);
  border-radius: 28px;
  overflow: hidden;

}

.brand span {
  font-size: clamp(28px, 3.4vw, 46px);
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.26em;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ivory);
}

.hero__media,
.project__image,
.about__images div,
.page-hero__media,
.product-card__image,
.case-card__image {
  background-size: cover;
  background-position: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(20, 13, 9, 0.15), rgba(20, 13, 9, 0.74)), url("images/Cornyard2.webp");
  background-position: center;
  transform: scale(1.04);
  animation: heroSettle 2.2s var(--ease) forwards;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 18vh clamp(22px, 6vw, 90px) 33vh;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

.hero .eyebrow {
  color: var(--ivory);
}

.hero__title {
  margin: 0;
  max-width: 960px;
  font-size: clamp(50px, 8vw, 150px);
  line-height: 0.82;
  font-weight: 400;
  letter-spacing: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s ease;
  transform-origin: left;
}

.text-link:hover::after {
  transform: scaleX(1.3);
}

.hero__cards {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 64px);
  bottom: 28px;
  left: clamp(18px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(244, 239, 229, 0.42);
}

.hero-card {
  min-height: 120px;
  padding: 24px 26px;
  border-right: 1px solid rgba(244, 239, 229, 0.28);
  background: rgba(20, 13, 9, 0.24);
  backdrop-filter: blur(10px);
}

.hero-card:last-child {
  border-right: 0;
}

.hero-card span,
.project p {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.76;
}

.hero-card strong {
  display: block;
  max-width: 240px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  font-weight: 400;
}

.section-pad {
  padding: clamp(78px, 10vw, 140px) clamp(22px, 6vw, 90px);
}

.page-hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ivory);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(20, 13, 9, 0.2), rgba(20, 13, 9, 0.76)), url("https://images.unsplash.com/photo-1600566753151-384129cf4e3e?auto=format&fit=crop&w=2200&q=82");
  transform: scale(1.035);
  animation: heroSettle 2.2s var(--ease) forwards;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  padding: 18vh clamp(22px, 6vw, 90px) 15vh;
}

.page-hero .eyebrow {
  color: var(--ivory);
}

.lead {
  max-width: 660px;
  margin: 28px 0 0;
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(244, 239, 229, 0.82);
}

.page-hero--shop .page-hero__media {
  background-image: linear-gradient(180deg, rgba(20, 13, 9, 0.16), rgba(20, 13, 9, 0.76)), url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=82");
}

.page-hero--cases .page-hero__media {
  background-image: linear-gradient(180deg, rgba(20, 13, 9, 0.16), rgba(20, 13, 9, 0.78)), url("images/Casestudy1.webp");
}

.page-hero--about .page-hero__media {
  background-image: linear-gradient(180deg, rgba(20, 13, 9, 0.14), rgba(20, 13, 9, 0.78)), url("https://images.unsplash.com/photo-1616046229478-9901c5536a45?auto=format&fit=crop&w=2200&q=82");
}

.page-hero--contact .page-hero__media {
  background-image: linear-gradient(180deg, rgba(20, 13, 9, 0.14), rgba(20, 13, 9, 0.8)), url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=2200&q=82");
}

.page-hero--locations .page-hero__media {
  background-image: linear-gradient(180deg, rgba(20, 13, 9, 0.16), rgba(20, 13, 9, 0.78)), url("images/onfire_cornyard1.webp");
}

.page-hero--location .page-hero__media {
  background-image: linear-gradient(180deg, rgba(20, 13, 9, 0.16), rgba(20, 13, 9, 0.8)), url("https://images.unsplash.com/photo-1600210492493-0946911123ea?auto=format&fit=crop&w=2200&q=82");
}

.intro {
  border-bottom: 1px solid var(--line);
}

.statement {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(38px, 6.5vw, 86px);
  line-height: 1.02;
  font-weight: 400;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: clamp(54px, 8vw, 100px);
  background: var(--line);
  border: 1px solid var(--line);
}

.brand-strip span {
  display: grid;
  min-height: 110px;
  place-items: center;
  background: var(--paper);
  color: var(--muted);
  font-size: clamp(18px, 2vw, 28px);
}

.services,
.about,
.faq,
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
}

.service-media {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  background: #211b16;
  cursor: pointer;
}

.service-media:focus {
  outline: 2px solid var(--ember);
  outline-offset: 6px;
}

.service-media__still,
.service-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-media__still {
  background-image: url("images/onfire_cornyard2.optimized.webp");
  background-size: cover;
  background-position: center;
}

.service-media__video {
  object-fit: cover;
  opacity: 0;
  transition:
  opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
  transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.service-media:hover .service-media__video,
.service-media:focus .service-media__video,
.service-media:focus-within .service-media__video,
.service-media.is-playing .service-media__video {
  opacity: 1;
}

.service-copy h2,
.section-head h2,
.about h2,
.faq h2,
.footer h2 {
  margin: 0;
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 1.02;
  font-weight: 400;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 42px 0 28px;
}

.tab {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tab.is-active {
  background: var(--ink);
  color: var(--ivory);
}

.tab-panel {
  display: none;
  max-width: 560px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 17px;
}

.tab-panel.is-active {
  display: block;
  animation: panelIn 0.55s var(--ease);
}

.tab-panel h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
}

.project-band {
  background: #211b16;
  color: var(--ivory);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 58px;
}

.section-head h2 {
  max-width: 760px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project__image {
  aspect-ratio: 0.78;
  margin-bottom: 22px;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}

.project:hover .project__image {
  transform: translateY(-8px);
  filter: brightness(1.08);
}

.project__image--one {
  background-image: url("images/Project1.webp");
}

.project__image--two {
  background-image: url("images/Project2.optimized.webp");
}

.project__image--three {
  background-image: url("images/Project3webp.webp");
}

.project h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1;
  font-weight: 400;
}

.project span {
  color: rgba(244, 239, 229, 0.72);
  font-family: var(--font-body);
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
  margin-bottom: 52px;
}

.shopify-shop {
  padding-top: 0;
}

.shop-toolbar h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.02;
  font-weight: 400;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter,
.text-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter.is-active,
.text-button--dark {
  background: var(--ink);
  color: var(--ivory);
}

.product-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card,
.case-card {
  border: 1px solid var(--line);
  background: var(--paper);
}

.product-card__image,
.case-card__image {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  background: rgba(33, 27, 22, 0.08);
}

.product-card__image img,
.case-card__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__image span {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  background: rgba(252, 250, 245, 0.92);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card__body,
.case-card {
  padding: 24px;
}

.product-card__body p,
.case-card p,
.cart-item p {
  margin: 0 0 12px;
  color: var(--clay);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-card h3,
.case-card h3,
.cart-item h3 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.04;
  font-weight: 400;
}

.product-card span,
.case-card span,
.cart-item span,
.cart-summary span,
.empty-state,
.form-status {
  color: var(--muted);
  font-family: var(--font-body);
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.product-card__footer strong,
.cart-summary strong {
  font-size: 30px;
  font-weight: 400;
}

.cart-panel {
  background: var(--ivory);
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.cart-items {
  border-top: 1px solid var(--line);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.cart-summary {
  position: sticky;
  top: 120px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.cart-summary p {
  margin: 0 0 8px;
  font-family: var(--font-body);
  color: var(--muted);
}

.cart-summary strong,
.cart-summary span {
  display: block;
}

.cart-checkout {
  width: 100%;
  justify-content: center;
  margin: 22px 0 18px;
}

.cart-checkout:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.case-grid {
  grid-template-columns: repeat(4, 1fr);
}

.case-card {
  display: block;
  background: transparent;
  border-color: rgba(244, 239, 229, 0.18);
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}

.case-card:hover,
.case-card:focus-visible {
  border-color: rgba(244, 239, 229, 0.46);
  transform: translateY(-6px);
}

.case-card:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 6px;
}

.project-band .case-card p,
.project-band .case-card span {
  color: rgba(244, 239, 229, 0.72);
}

.project-band .case-card h3 {
  color: var(--ivory);
}

.case-card strong {
  display: inline-flex;
  margin-top: 24px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.case-card__image {
  margin: -24px -24px 24px;
  min-height: 360px;
}

.case-card__image--placeholder {
  display: grid;
  place-items: center;
  border-bottom: 1px dashed rgba(244, 239, 229, 0.34);
  background:
    linear-gradient(135deg, rgba(244, 239, 229, 0.08), rgba(244, 239, 229, 0.02)),
    rgba(244, 239, 229, 0.06);
}

.case-card__image--placeholder span {
  padding: 12px 16px;
  border: 1px solid rgba(244, 239, 229, 0.34);
  color: rgba(244, 239, 229, 0.74);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.case-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}

.case-detail__copy h2 {
  margin: 0 0 26px;
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 1.02;
  font-weight: 400;
}

.case-detail__copy p,
.case-detail__facts li {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 17px;
}

.case-detail__media {
  min-height: 620px;
  background-size: cover;
  background-position: center;
}

.case-detail__media--placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  background:
    linear-gradient(135deg, rgba(33, 27, 22, 0.06), rgba(33, 27, 22, 0.02)),
    var(--ivory);
}

.case-detail__media--placeholder span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.case-detail__facts {
  display: grid;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--ivory);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 14px 16px;
  font: 17px var(--font-body);
  letter-spacing: 0;
}

.contact-form textarea {
  resize: vertical;
}

.about__copy p:not(.eyebrow),
.footer p,
.footer address,
.footer a {
  max-width: 620px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 17px;
  font-style: normal;
}

.about__images {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 18px;
  align-items: end;
}

.about__images div:first-child {
  min-height: 520px;
  background-image: url("https://images.unsplash.com/photo-1616046229478-9901c5536a45?auto=format&fit=crop&w=900&q=82");
}

.about__images div:last-child {
  min-height: 390px;
  background-image: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=900&q=82");
}

.geo {
  background: var(--ivory);
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 58px;
  background: var(--line);
  border: 1px solid var(--line);
}

.geo-grid article {
  min-height: 280px;
  padding: 28px;
  background: var(--ivory);
}

.geo-grid h3 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.04;
  font-weight: 400;
}

.geo-grid p,
.accordion p {
  color: var(--muted);
  font-family: var(--font-body);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card,
.nearby-card {
  display: block;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}

.location-card:hover,
.location-card:focus-visible,
.nearby-card:hover,
.nearby-card:focus-visible {
  border-color: rgba(33, 27, 22, 0.34);
  transform: translateY(-6px);
}

.location-card:focus-visible,
.nearby-card:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 6px;
}

.location-card p,
.nearby-card p,
.location-copy p,
.area-list li,
.service-list li,
.local-trust p,
.cta-band p {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 17px;
}

.location-card h3,
.nearby-card h3,
.local-trust h3,
.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.04;
  font-weight: 400;
}

.location-card strong,
.nearby-card strong {
  display: inline-flex;
  margin-top: 22px;
  color: var(--clay);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.location-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}

.location-copy h2,
.local-trust h2 {
  margin: 0 0 26px;
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 1.02;
  font-weight: 400;
}

.area-list,
.service-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.area-list li,
.service-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.area-list strong,
.service-list strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--ivory);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.faq {
  align-items: start;
}

.accordion {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  min-height: 82px;
  padding: 27px 54px 27px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 24px;
  font-family: var(--font-body);
  font-size: 30px;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -10px 0 28px;
  max-width: 700px;
}

.footer {
  background: #17120e;
  color: var(--ivory);
  align-items: start;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.brand--footer {
  display: inline-grid;
  justify-items: start;
}

.footer h2 {
  margin-bottom: 22px;
  font-size: 34px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(244, 239, 229, 0.76);
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes loadLine {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes heroSettle {
  to {
    transform: scale(1);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
    grid-template-columns: auto 1fr;
    gap: 18px;
  }

  .nav--left {
    display: none;
  }

  .nav--right {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: inherit;
  }

  .nav--right a {
    white-space: nowrap;
  }

  .cart-link span {
    min-width: 18px;
    min-height: 18px;
    margin-left: 3px;
    font-size: 10px;
  }

  .brand img {
    height: 74px;
    max-width: 170px;
    border-radius: 20px;
  }

  .hero {
    min-height: auto;
    display: block;
  }

  .hero__content {
    padding: 20vh clamp(22px, 6vw, 56px) 13vh;
  }

  .hero__title {
    font-size: clamp(56px, 16vw, 118px);
    line-height: 0.88;
    max-width: 760px;
  }

  .hero__cards {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    margin: 0 clamp(22px, 6vw, 56px) 28px;
    border: 1px solid rgba(244, 239, 229, 0.28);
    border-bottom: 0;
  }

  .services,
  .about,
  .faq,
  .footer,
  .project-grid,
  .geo-grid,
  .location-grid,
  .location-copy,
  .nearby-grid,
  .cta-band,
  .product-grid,
  .case-grid,
  .shop-toolbar,
  .cart-layout,
  .contact-grid,
  .case-detail {
    grid-template-columns: 1fr;
  }

  .filters {
    justify-content: flex-start;
  }

  .hero-card {
    min-height: auto;
    padding: 18px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 239, 229, 0.28);
  }

  .hero-card strong {
    max-width: none;
    font-size: 26px;
  }

  .brand-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-media {
    min-height: 420px;
  }

  .section-head {
    display: grid;
    align-items: start;
    gap: 20px;
  }

  .cart-summary {
    position: static;
  }

  .product-card__image,
  .case-card__image {
    min-height: 380px;
  }

  .geo-grid article {
    min-height: auto;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 10px 14px;
  }

  .nav--right {
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .nav--right a:not(.nav-phone) {
    display: inline;
  }

  .brand img {
    height: 54px;
    max-width: 118px;
    border-radius: 14px;
  }

  .cart-link span {
    min-width: 16px;
    min-height: 16px;
    font-size: 9px;
  }

  .hero__content {
    padding: 18vh 20px 9vh;
  }

  .hero__media {
    background-position: 54% center;
  }

  .hero__cards {
    margin: 0 14px 20px;
  }

  .hero-card {
    padding: 14px 16px;
  }

  .hero-card strong {
    font-size: 21px;
  }

  .hero-card span,
  .project p {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .statement {
    font-size: 34px;
    line-height: 1.06;
  }

  .page-hero {
    min-height: 68svh;
  }

  .page-hero__content {
    padding: 17vh 20px 10vh;
  }

  .lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .section-pad {
    padding: 56px 20px;
  }

  .service-copy h2,
  .section-head h2,
  .about h2,
  .faq h2,
  .footer h2,
  .shop-toolbar h2,
  .contact-card h2 {
    font-size: 34px;
    line-height: 1.06;
  }

  .brand-strip span {
    min-height: 78px;
    padding: 12px;
    text-align: center;
    font-size: 20px;
  }

  .service-media {
    min-height: 300px;
  }

  .tabs,
  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab,
  .filter,
  .text-button {
    width: 100%;
    padding: 0 12px;
    text-align: center;
  }

  .tab-panel {
    font-size: 16px;
  }

  .tab-panel h3 {
    font-size: 28px;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .project-grid,
  .product-grid,
  .case-grid,
  .geo-grid {
    gap: 16px;
  }

  .product-card__image,
  .case-card__image {
    min-height: 280px;
  }

  .case-detail__media {
    min-height: 420px;
  }

  .case-card__image {
    margin: -20px -20px 20px;
  }

  .product-card__body,
  .case-card {
    padding: 20px;
  }

  .product-card h3,
  .case-card h3,
  .cart-item h3 {
    font-size: 28px;
  }

  .product-card__footer strong,
  .cart-summary strong {
    font-size: 26px;
  }

  .product-card__footer,
  .cart-item {
    display: grid;
    gap: 16px;
    align-items: start;
  }

  .cart-summary {
    padding: 22px;
  }

  .contact-form {
    padding: 20px;
  }

  .about__images {
    grid-template-columns: 1fr;
  }

  .about__images div:first-child,
  .about__images div:last-child {
    min-height: 280px;
  }

  .geo-grid article {
    padding: 22px;
  }

  .geo-grid h3 {
    font-size: 26px;
  }

  summary {
    min-height: 68px;
    padding: 22px 38px 22px 0;
    font-size: 25px;
  }

  summary::after {
    top: 18px;
  }

  .footer {
    gap: 30px;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  .nav--right {
    width: 100%;
    justify-content: center;
  }

  .hero__content {
    padding-top: 21vh;
  }

  .hero__title {
    font-size: clamp(48px, 18vw, 76px);
  }

  .page-hero .hero__title {
    font-size: clamp(44px, 16vw, 66px);
  }

  .page-hero__content {
    padding-top: 20vh;
  }

  .section-pad {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 390px) {
  .nav--right {
    gap: 8px;
    font-size: 10px;
  }

  .brand img {
    height: 48px;
  }

  .hero__cards {
    margin-right: 10px;
    margin-left: 10px;
  }

  .tabs,
  .filters {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .service-media:hover .service-media__video,
  .service-media:focus .service-media__video,
  .service-media:focus-within .service-media__video,
  .service-media.is-playing .service-media__video {
    opacity: 0;
  }
}

/* Updated primary navigation */
.site-header {
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 46px);
}

.site-header .brand {
  justify-self: start;
}

.nav--primary {
  gap: clamp(12px, 1.4vw, 24px);
  justify-content: flex-end;
  justify-self: end;
  font-size: clamp(13px, 1.08vw, 17px);
}

.nav a,
.nav button,
.mobile-menu-toggle,
.mobile-nav a {
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav button:hover,
.mobile-menu-toggle:hover,
.mobile-nav a:hover,
.nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  opacity: 0.72;
}

.nav-more {
  position: relative;
}

.nav-more__button,
.mobile-menu-toggle {
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.nav-more__button {
  padding: 0;
}

.nav-more__button::after,
.mobile-menu-toggle::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 0.52em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.16em) rotate(45deg);
}

.nav-more__menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  z-index: 12;
  display: grid;
  min-width: 220px;
  padding: 12px;
  border: 1px solid rgba(244, 239, 229, 0.18);
  background: rgba(33, 27, 22, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.nav-more.is-open .nav-more__menu,
.nav-more:focus-within .nav-more__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-more__menu a {
  padding: 12px 14px;
  white-space: nowrap;
}

.nav-more__menu a + a {
  border-top: 1px solid rgba(244, 239, 229, 0.12);
}

.mobile-menu-toggle,
.mobile-nav {
  display: none;
}

.mobile-nav {
  grid-column: 1 / -1;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(244, 239, 229, 0.16);
  background: rgba(33, 27, 22, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.mobile-nav a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav a + a {
  border-top: 1px solid rgba(244, 239, 229, 0.12);
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
  }

  .nav--primary {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-self: end;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-nav.is-open {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 10px 14px;
  }

  .mobile-menu-toggle {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .mobile-nav a {
    min-height: 44px;
    font-size: 12px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-items: stretch;
  }

  .site-header .brand {
    justify-self: start;
  }

  .mobile-menu-toggle {
    justify-self: end;
  }
}
