:root {
  --paper: #f5f4ef;
  --white: #ffffff;
  --ink: #17211d;
  --green: #12382e;
  --green-deep: #0c2d25;
  --red: #c8272d;
  --red-dark: #a91e24;
  --tan: #ded1b9;
  --tan-pale: #ebe2d1;
  --gold: #e6a015;
  --line: rgba(18, 56, 46, 0.4);
  --display: "DIN Condensed", "Avenir Next Condensed", Impact, Haettenschweiler,
    "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(4.5rem, 8vw, 8rem);
  --focus: 3px solid #f1b631;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--green-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--page-gutter) 1.35rem;
  background: rgba(245, 244, 239, 0.96);
}

.wordmark,
.footer-wordmark {
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.8vw, 2.45rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 3.6vw, 3.4rem);
}

.site-nav a,
.site-footer nav a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a::after,
.site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-footer nav a:hover::after,
.site-footer nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.65rem;
  border: 1px solid var(--green);
  color: var(--green);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0.28rem 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.chalk-line {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 3px;
  background: var(--red);
  box-shadow: 0 1px 0 rgba(137, 20, 24, 0.35), 0 -1px 0 rgba(255, 255, 255, 0.45);
}

.chalk-line::before,
.chalk-line::after {
  position: absolute;
  top: -0.8rem;
  width: 3px;
  height: 1.7rem;
  background: var(--red);
  content: "";
}

.chalk-line::before {
  left: 2rem;
  transform: rotate(2deg);
}

.chalk-line::after {
  right: 2rem;
  transform: rotate(-2deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(23rem, 0.78fr) minmax(34rem, 1.22fr);
  gap: clamp(2rem, 4vw, 4rem);
  min-height: clamp(44rem, calc(100vh - 12rem), 52rem);
  padding: clamp(1.5rem, 2.5vw, 2.5rem) var(--page-gutter);
}

.hero-copy {
  align-self: center;
  max-width: 35rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.legacy-mark strong {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.026em;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  margin-bottom: 1.7rem;
  color: var(--green);
  font-size: clamp(3.5rem, 5vw, 6rem);
}

.hero-intro {
  max-width: 29rem;
  margin-bottom: 1.7rem;
  font-size: clamp(1.13rem, 1.5vw, 1.45rem);
  line-height: 1.5;
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  flex-direction: column;
  max-width: 23rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  padding: 0.86rem 1.2rem;
  border: 2px solid var(--green);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.button-primary:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.button-outline {
  color: var(--green);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  background: var(--green);
}

.icon,
.detail-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.review-line,
.legacy-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.96rem;
}

.review-line {
  width: fit-content;
  margin-bottom: 1rem;
  text-decoration: none;
}

.review-line:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.stars {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.legacy-line {
  margin-bottom: 0;
}

.hero-media,
.story-media,
.visit-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.hero-media img,
.story-media img,
.visit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  object-position: 54% center;
}

.section {
  padding: var(--section-space) var(--page-gutter);
}

.materials-section {
  padding-top: clamp(2.75rem, 4vw, 4rem);
}

.section-heading {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading h2,
.service-intro h2,
.story-copy h2,
.visit-heading h2 {
  margin-bottom: 0;
  color: var(--green);
  font-size: clamp(2.8rem, 5.3vw, 5.8rem);
}

.section-heading p {
  max-width: 35rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 1.1rem;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.material-item {
  min-width: 0;
  background: var(--green);
}

.material-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.material-item:nth-child(2) img {
  object-position: 52% center;
}

.material-item:hover img {
  transform: scale(1.025);
}

.material-item h3 {
  min-height: 6.5rem;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1rem;
  color: var(--white);
  font-size: clamp(1.1rem, 1.65vw, 1.55rem);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
}

.services-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(30rem, 1.3fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}

.service-intro h2 {
  margin-bottom: 1.45rem;
}

.service-intro p {
  max-width: 29rem;
  margin-bottom: 0;
  font-size: 1.12rem;
}

.service-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  min-height: 5.5rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 800;
}

.service-list li:first-child {
  border-top: 1px solid var(--line);
}

.service-icon,
.delivery-icon {
  width: 2.35rem;
  height: 2.35rem;
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(27rem, 0.9fr) minmax(35rem, 1.1fr);
  background: var(--white);
}

.story-copy {
  position: relative;
  z-index: 2;
  padding: var(--section-space) var(--page-gutter);
  overflow: hidden;
}

.story-copy::after {
  display: none;
  content: "";
}

.story-copy h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(3rem, 4.1vw, 4.25rem);
}

.story-copy > p {
  max-width: 34rem;
  margin-bottom: 2.2rem;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.legacy-mark {
  position: relative;
  min-height: 7rem;
  margin: 0 0 1.2rem;
  padding-top: 1rem;
  border-top: 3px solid var(--red);
}

.legacy-mark > span {
  position: absolute;
  right: 1rem;
  bottom: -0.4rem;
  color: var(--tan);
  font-family: var(--display);
  font-size: clamp(6rem, 10vw, 10rem);
  line-height: 0.75;
}

.legacy-mark strong {
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid currentColor;
  color: var(--red);
  font-weight: 850;
  text-decoration: none;
}

.text-link .icon {
  transition: transform 160ms ease;
}

.text-link:hover .icon {
  transform: translateX(0.3rem);
}

.story-media {
  min-height: 43rem;
}

.story-media img {
  object-position: center;
}

.gallery-section {
  padding: clamp(3.4rem, 6vw, 6rem) var(--page-gutter) var(--section-space);
}

.gallery-heading {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.gallery-heading h2 {
  flex: 0 0 auto;
  margin-bottom: 0;
  color: var(--green);
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.gallery-heading span {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-grid figure {
  min-width: 0;
  margin: 0;
}

.gallery-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-button img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  transition: filter 180ms ease, transform 350ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.gallery-button:hover img,
.gallery-button:focus-visible img {
  filter: contrast(1.04);
  transform: scale(1.025);
}

.gallery-grid figcaption {
  padding: 0.75rem 0.25rem 0;
  color: var(--green);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.visit-section {
  background: var(--white);
}

.visit-heading {
  padding: clamp(2.5rem, 3.5vw, 3.5rem) var(--page-gutter);
  background: var(--green-deep);
}

.visit-heading h2 {
  max-width: none;
  color: var(--paper);
  font-size: clamp(3.3rem, 5vw, 5.25rem);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(29rem, 0.82fr) minmax(38rem, 1.18fr);
}

.visit-details {
  padding: clamp(3rem, 5vw, 5rem) var(--page-gutter);
}

.visit-details dl {
  margin: 0 0 2.2rem;
}

.visit-details dl > div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.visit-details dl > div:first-child {
  border-top: 1px solid var(--line);
}

.visit-details dt {
  display: flex;
  align-items: start;
  gap: 0.8rem;
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 850;
}

.detail-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.visit-details dd {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.visit-details dd a {
  text-underline-offset: 0.2em;
}

.hours-list {
  display: grid;
  gap: 0.35rem;
}

.hours-list span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
}

.hours-list b {
  font-weight: 600;
}

.visit-actions {
  margin-bottom: 0;
}

.visit-media {
  min-height: 30rem;
}

.visit-media img {
  object-position: center;
}

.delivery-strip {
  display: grid;
  grid-template-columns: minmax(26rem, 0.8fr) minmax(34rem, 1.2fr);
  height: 14rem;
  background: var(--tan-pale);
}

.delivery-strip p {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin: 0;
  padding: 2.2rem var(--page-gutter);
  color: var(--green);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.35;
}

.delivery-icon {
  width: 3.4rem;
  height: 3.4rem;
  flex: 0 0 auto;
  stroke: var(--green);
}

.delivery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3.25rem var(--page-gutter);
  border-top: 3px solid var(--red);
  color: var(--paper);
  background: var(--green-deep);
}

.footer-wordmark {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--paper);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
}

.site-footer p {
  margin-bottom: 0.7rem;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.7);
}

.gallery-dialog {
  width: min(92vw, 76rem);
  max-width: none;
  padding: 0;
  border: 0;
  color: var(--paper);
  background: var(--green-deep);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
}

.gallery-dialog::backdrop {
  background: rgba(7, 21, 17, 0.86);
}

.gallery-dialog figure {
  margin: 0;
}

.gallery-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #071611;
}

.gallery-dialog figcaption {
  min-height: 4rem;
  display: grid;
  place-items: center;
  padding: 0.8rem 4.5rem;
  font-weight: 800;
}

.dialog-close,
.dialog-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: rgba(12, 45, 37, 0.9);
  cursor: pointer;
}

.dialog-close {
  top: 0.8rem;
  right: 0.8rem;
  width: 2.8rem;
  height: 2.8rem;
  font-size: 2rem;
  line-height: 1;
}

.dialog-nav {
  top: 50%;
  width: 3.2rem;
  height: 3.2rem;
  transform: translateY(-50%);
}

.dialog-nav svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.dialog-prev {
  left: 0.8rem;
}

.dialog-next {
  right: 0.8rem;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(21rem, 0.85fr) minmax(27rem, 1.15fr);
  }

  h1 {
    font-size: clamp(3.4rem, 5.2vw, 5.1rem);
  }

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

  .services-section,
  .story-section,
  .visit-grid,
  .delivery-strip {
    grid-template-columns: 1fr;
  }

  .service-intro p {
    max-width: 40rem;
  }

  .story-media,
  .visit-media {
    min-height: min(62vw, 42rem);
  }

  .visit-media {
    order: -1;
  }

  .delivery-strip img {
    max-height: 25rem;
  }

  .delivery-strip {
    height: auto;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .site-header {
    position: sticky;
    top: 0;
    min-height: 5.4rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .wordmark {
    max-width: 16rem;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0 var(--page-gutter);
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--red);
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3.2rem;
  }

  .hero-copy {
    max-width: 40rem;
  }

  .hero-media {
    min-height: min(74vw, 36rem);
  }

  .hero-media img {
    object-position: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.5rem;
  }

  .site-footer {
    display: grid;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .wordmark {
    max-width: 13rem;
    font-size: 1.35rem;
  }

  .hero {
    gap: 2.2rem;
    padding-top: 2.8rem;
  }

  h1 {
    font-size: clamp(2.85rem, 12vw, 3.35rem);
  }

  .hero-actions,
  .visit-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .review-line {
    align-items: flex-start;
  }

  .stars {
    font-size: 1.05rem;
  }

  .material-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .material-item img {
    aspect-ratio: 1.3 / 1;
  }

  .material-item h3 {
    min-height: 5.4rem;
  }

  .services-section {
    gap: 2.5rem;
  }

  .service-list li {
    grid-template-columns: 4rem 1fr;
  }

  .story-copy::after {
    display: none;
  }

  .legacy-mark > span {
    opacity: 0.75;
  }

  .story-media,
  .visit-media {
    min-height: 70vw;
  }

  .visit-details dl > div {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hours-list span {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .delivery-strip {
    min-height: auto;
  }

  .delivery-strip p {
    align-items: flex-start;
  }

  .delivery-icon {
    width: 2.8rem;
    height: 2.8rem;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .dialog-nav {
    top: auto;
    bottom: 0.45rem;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
