:root {
  color-scheme: light;
  --paper: #f7f3eb;
  --sand: #eee5d7;
  --ink: #241c17;
  --muted: #62564c;
  --dark: #211915;
  --red: #b92e1b;
  --red-hover: #982311;
  --cream: #fff8ee;
  --line: #d4c7b7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  --header: 72px;
  --ease: cubic-bezier(.22,.72,.25,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
figure, h1, h2, h3, p, ul, ol { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(100% - 64px, 1220px); margin-inline: auto; }
section[id] { scroll-margin-top: var(--header); }
.skip { position: fixed; top: 10px; left: 10px; z-index: 5; padding: 12px; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand { justify-self: start; }
.brand img { width: 50px; height: 54px; object-fit: contain; }
nav { display: flex; gap: clamp(15px, 4vw, 48px); }
nav a, .header-action { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-weight: 650; }
nav a:hover, .header-action:hover { color: var(--red); }
.header-action { justify-self: end; gap: 8px; border: 1px solid var(--line); padding: 0 15px; border-radius: 4px; }
.header-action svg { width: 20px; height: 20px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--cream); }
.hero-image { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 81%; height: 100%; object-fit: cover; object-position: 57% 60%; opacity: 0; transition: opacity .9s var(--ease); }
.hero-image.is-active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #211915 3%, rgba(33,25,21,.97) 24%, rgba(33,25,21,.83) 40%, rgba(33,25,21,.24) 65%, transparent 83%),
              linear-gradient(0deg, rgba(26,17,12,.62), transparent 34%);
}
.hero-inner { position: relative; display: grid; align-items: center; min-height: clamp(520px, calc(87svh - var(--header)), 760px); padding-block: 66px 94px; }
.hero-copy { max-width: 655px; animation: enter .75s var(--ease) both; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--red); font-size: .74rem; font-weight: 750; letter-spacing: .17em; }
.eyebrow > span { width: 26px; height: 1px; background: currentColor; }
.hero .eyebrow, .contact .eyebrow { color: #f6b59c; }
h1, h2 { font: 400 clamp(2.9rem, 5.75vw, 5.8rem)/1.01 var(--serif); letter-spacing: -.045em; }
h1 { margin: 23px 0; }
h2 { font-size: clamp(2.55rem, 4.65vw, 4.8rem); }
h1 em, h2 em { font-weight: inherit; }
h1 em, .contact h2 em { color: #f4c3a3; }
.hero-copy > p:not(.eyebrow) { max-width: 430px; color: #f1e4d7; font-size: 1.06rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 25px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 11px 16px; border-radius: 4px;
  background: var(--red); color: white; text-decoration: none; font-size: .93rem; font-weight: 700;
  transition: background .2s, transform .2s var(--ease);
}
.button:hover { background: var(--red-hover); transform: translateY(-2px); }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; text-underline-offset: 5px; font-weight: 600; font-size: .91rem; }
.hero-note { position: absolute; bottom: 25px; right: 0; display: flex; align-items: center; gap: 10px; font-size: .77rem; font-weight: 650; text-shadow: 0 1px 4px #211915; }
.hero-note span { width: 15px; height: 1px; background: currentColor; }
.hero-note b { font-weight: inherit; }
.hero-controls { position: absolute; inset: auto auto 12px -8px; display: flex; align-items: center; }
.hero-controls[hidden] { display: none; }
.hero-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.hero-controls button:hover { background: #fff2; }
.hero-controls [data-slide]::before { content: ""; width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 10px; transition: width .2s var(--ease), background .2s; }
.hero-controls [aria-current="true"]::before { width: 20px; background: currentColor; }
.hero-playback .play-icon, .hero-playback.is-paused .pause-icon { display: none; }
.hero-playback.is-paused .play-icon { display: block; }

.section { padding-block: clamp(58px, 8vw, 106px); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 17px 46px; align-items: end; margin-bottom: clamp(28px, 5vw, 55px); }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading > p:last-child { max-width: 42ch; color: var(--muted); padding-bottom: 4px; }
.services { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(28px, 6vw, 84px); align-items: center; }
.workshop img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 5px; }
.workshop figcaption { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; margin-top: 10px; font-size: .79rem; font-weight: 700; }
.workshop figcaption span { color: var(--muted); font-weight: 500; }
.service-list, .gallery-grid { padding: 0; list-style: none; }
.service-list li { display: grid; grid-template-columns: 42px 1fr; padding-block: 19px; border-top: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 1px solid var(--line); }
.service-list li > span { padding-top: 4px; color: var(--red); font-size: .76rem; font-weight: 750; }
.service-list h3, .work h3, .contact h3 { font: 400 clamp(1.24rem, 2vw, 1.75rem)/1.2 var(--serif); }
.service-list p { margin-top: 6px; color: var(--muted); }

.gallery { background: var(--sand); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
.work { display: block; text-decoration: none; }
.work-photo { overflow: hidden; border-radius: 5px; background: var(--dark); }
.work-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease); }
.work:hover img { transform: scale(1.045); }
.work-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 11px 14px; border-bottom: 1px solid var(--line); }
.work-label p { color: var(--muted); font-size: .78rem; margin-bottom: 3px; }
.work-label > span { color: var(--red); flex: none; transition: transform .2s var(--ease); }
.work:hover .work-label > span { transform: translate(2px,-2px); }

.contact { background: var(--dark); color: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(30px, 8vw, 115px); }
.contact h2 { margin: 17px 0; }
.contact-inner > div:first-child > p:not(.eyebrow) { color: #e4d4c4; max-width: 40ch; }
.contact .button { margin-top: 24px; }
.contact-details { display: grid; grid-template-columns: .78fr 1fr; gap: 19px; align-items: center; padding-block: 18px; border-block: 1px solid #625044; }
.contact-details img { width: 100%; height: auto; border-radius: 4px; }
.contact-details address { margin-block: 8px; color: #e4d4c4; font-style: normal; }
.contact-details a { display: block; width: fit-content; min-height: 44px; padding-block: 9px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-details .directions { display: inline-flex; align-items: center; gap: 8px; margin-block: 4px; padding-inline: 12px; border: 1px solid #a9917e; border-radius: 4px; text-decoration: none; font-size: .93rem; font-weight: 650; }
.directions:hover { background: var(--cream); color: var(--dark); }
.directions svg { flex: none; width: 18px; height: 18px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 0 20px; justify-content: space-between; align-items: center; padding-block: 12px; font-size: .83rem; }
.footer-inner p span { color: var(--muted); margin-left: 7px; }
.footer-inner a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; text-underline-offset: 3px; }

.viewer { width: min(90vw, 830px); max-height: 90vh; max-height: 90dvh; padding: 0; border: 0; border-radius: 6px; color: var(--cream); background: var(--dark); }
.viewer::backdrop { background: rgba(20,14,10,.85); }
.viewer figure { position: relative; }
.viewer img { width: 100%; height: min(65vh, 600px); object-fit: contain; }
.viewer figcaption { padding: 15px 20px; }
.viewer-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); cursor: pointer; font-size: 1.5rem; }
body:has(.viewer[open]) { overflow: hidden; }
@keyframes enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
.reveal.in-view { animation: enter .55s var(--ease) both; }

@media (max-width: 900px) {
  .contact-details { grid-template-columns: 1fr; }
  .contact-details img { aspect-ratio: 2 / 1; object-fit: cover; object-position: center 24%; }
}
@media (max-width: 680px) {
  :root { --header: 64px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { gap: 10px; }
  .brand img { width: 43px; height: 48px; }
  nav { gap: 12px; font-size: .82rem; }
  .header-action { justify-content: center; min-width: 44px; padding: 0 10px; }
  .header-action span { display: none; }
  .hero-image { width: 100%; object-position: 58% 36%; }
  .hero::after { background: linear-gradient(0deg, #211915 5%, rgba(33,25,21,.94) 34%, rgba(33,25,21,.69) 61%, rgba(33,25,21,.12) 100%); }
  .hero-inner { min-height: min(665px, calc(100svh - var(--header))); align-items: end; padding-block: clamp(98px, 24vw, 155px) 64px; }
  h1 { font-size: clamp(2.6rem, 9.6vw, 4.3rem); margin-block: 14px; }
  .hero-copy > p:not(.eyebrow) { font-size: .97rem; }
  .actions { margin-top: 19px; gap: 7px 17px; }
  .hero-note { display: none; }
  .section-heading, .services, .contact-inner { grid-template-columns: 1fr; }
  .section-heading { gap: 13px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 13px; }
  .work-label { gap: 5px; }
  .work-label p { font-size: .72rem; }
  .work-label h3 { font-size: 1.16rem; overflow-wrap: anywhere; }
  .contact-details img { max-height: 190px; }
  .footer-inner p span { display: block; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-controls .hero-playback { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover, .work:hover img, .work:hover .work-label > span { transform: none; }
}
