:root {
  --ink: #151311;
  --paper: #fbf7ef;
  --porcelain: #fffdf8;
  --charcoal: #26211d;
  --brick: #8f3324;
  --moss: #4d5c42;
  --brass: #b6843c;
  --blue: #4d6674;
  --line: rgba(21, 19, 17, 0.18);
  --shadow: 0 24px 70px rgba(20, 16, 12, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  image-orientation: from-image;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--porcelain);
  background: linear-gradient(rgba(15, 13, 11, 0.72), rgba(15, 13, 11, 0.1));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 45px;
  object-fit: contain;
  filter: invert(1);
}

.brand span,
.site-footer span {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a,
.text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid currentColor;
  padding: 0 18px;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.header-action {
  color: var(--porcelain);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--porcelain);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-framing-wall.jpg");
  background-size: cover;
  background-position: center 46%;
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.84), rgba(12, 10, 8, 0.46) 43%, rgba(12, 10, 8, 0.18)),
    linear-gradient(0deg, rgba(12, 10, 8, 0.76), rgba(12, 10, 8, 0.02) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  padding: 134px clamp(22px, 6vw, 78px) clamp(48px, 8vw, 92px);
}

.hero-mark {
  width: clamp(64px, 10vw, 104px);
  height: auto;
  margin-bottom: 22px;
  filter: invert(1);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.96;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.7rem, 13vw, 10.8rem);
}

h2 {
  font-size: clamp(2.55rem, 6vw, 5rem);
}

h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 28px;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.primary {
  border-color: var(--brick);
  background: var(--brick);
  color: var(--porcelain);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.12);
  color: var(--porcelain);
}

.button.secondary.dark {
  background: transparent;
  color: var(--ink);
}

.quick-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--porcelain);
}

.quick-notes div {
  min-height: 140px;
  padding: clamp(22px, 3vw, 38px);
  border-right: 1px solid var(--line);
}

.quick-notes div:last-child {
  border-right: 0;
}

.quick-notes span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-notes strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.05;
}

.section-band,
.services,
.gallery-band,
.photo-section,
.visit {
  padding: clamp(64px, 9vw, 122px) clamp(22px, 6vw, 78px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 8vw, 104px);
  align-items: end;
}

.intro-grid p,
.gallery-copy p,
.process-row p,
.services p,
.hours-panel p {
  color: rgba(21, 19, 17, 0.74);
}

.services {
  background: var(--charcoal);
  color: var(--porcelain);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: clamp(34px, 5vw, 64px);
}

.services .section-kicker {
  color: #dbb66e;
}

.services h2 {
  color: var(--porcelain);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 253, 248, 0.24);
  box-shadow: var(--shadow);
}

.service-grid article {
  min-height: 310px;
  padding: clamp(28px, 4vw, 48px);
  background: #312923;
}

.service-number {
  display: block;
  margin-bottom: 54px;
  color: #dbb66e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.5rem;
}

.services p {
  color: rgba(255, 253, 248, 0.72);
}

.gallery-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
  background: #e8ece5;
}

.gallery-copy {
  max-width: 650px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brick);
  font-weight: 800;
}

.gallery-image {
  margin: 0;
}

.gallery-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.gallery-image figcaption {
  margin-top: 12px;
  color: rgba(21, 19, 17, 0.66);
  font-size: 0.86rem;
}

.photo-section {
  background: var(--paper);
}

.photo-section .section-heading {
  width: min(880px, 100%);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.photo-grid figure {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.photo-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease;
}

.photo-grid figure:hover img {
  transform: scale(1.035);
}

.photo-grid figcaption {
  position: absolute;
  inset: auto 12px 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  background: rgba(21, 19, 17, 0.74);
  color: var(--porcelain);
  font-size: 0.78rem;
  font-weight: 700;
}

.photo-large {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-large img {
  aspect-ratio: 1 / 1;
}

.process {
  background: var(--porcelain);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 52px);
}

.process-row div {
  border-top: 3px solid var(--brass);
  padding-top: 22px;
}

.visit {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: stretch;
  background: var(--ink);
  color: var(--porcelain);
}

.visit-info address {
  margin: 0 0 14px;
  font-style: normal;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.email-line {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 800;
}

.social-line {
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 800;
}

.email-line a,
.social-line a,
.site-footer p a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hours-panel {
  align-self: center;
  border: 1px solid rgba(255, 253, 248, 0.22);
  padding: clamp(26px, 4vw, 44px);
  background: rgba(255, 253, 248, 0.06);
}

.hours-panel h3 {
  margin-bottom: 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
}

.hours-panel dl {
  margin: 0 0 24px;
}

.hours-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
}

.hours-panel dt {
  font-weight: 800;
}

.hours-panel dd {
  margin: 0;
  text-align: right;
}

.hours-panel p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.72);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(22px, 6vw, 78px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.site-footer img {
  width: 32px;
  height: 40px;
  object-fit: contain;
}

.site-footer p {
  max-width: 650px;
  margin: 0;
  color: rgba(21, 19, 17, 0.64);
  font-size: 0.82rem;
  text-align: right;
}

.footer-separator {
  margin: 0 8px;
  color: rgba(21, 19, 17, 0.36);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .quick-notes,
  .intro-grid,
  .service-grid,
  .gallery-band,
  .photo-grid,
  .process-row,
  .visit {
    grid-template-columns: 1fr;
  }

  .photo-large {
    grid-column: auto;
    grid-row: auto;
  }

  .quick-notes div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-notes div:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 10, 8, 0.88), rgba(12, 10, 8, 0.42)),
      linear-gradient(0deg, rgba(12, 10, 8, 0.84), rgba(12, 10, 8, 0.06) 50%);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    gap: 8px;
    font-size: 1.08rem;
  }

  .brand img {
    width: 30px;
    height: 38px;
  }

  .header-action {
    min-height: 40px;
    padding-inline: 14px;
  }

  h1 {
    font-size: clamp(4.1rem, 19vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .hero-content {
    padding-inline: 18px;
  }

  .button {
    width: 100%;
  }

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

  .service-number {
    margin-bottom: 28px;
  }

  .photo-grid figure {
    min-height: 220px;
  }

  .hours-panel div {
    display: block;
  }

  .hours-panel dd {
    margin-top: 4px;
    text-align: left;
  }

  .site-footer {
    display: block;
  }

  .site-footer p {
    margin-top: 16px;
    text-align: left;
  }
}
