/* Full-screen opening: navigation sits over the photograph. */
.header {
  position: absolute;
  inset: 0 5% auto;
  margin: 0;
  height: clamp(70px, 12svh, 106px);
  color: #f8f5ed;
  border-color: #f8f5ed40;
  max-width: none;
}
.header .text-link { border-color: #f8f5ed90; }
.header a:hover, .header button:hover { color: #dfcdb5; }
.menu-toggle span { background: #f8f5ed; }
.mobile-nav:not([hidden]) { top: clamp(70px, 12svh, 106px); }
.hero {
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  margin: 0;
  padding: calc(clamp(70px, 12svh, 106px) + 12px) 5% 0;
  overflow: hidden;
  color: #f8f5ed;
  background: #474336;
}
.hero-background { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-background img {
  width: 100%; height: 100%; object-fit: cover; object-position: 65% 48%;
  animation: hero-background-in 2.4s cubic-bezier(.2,.65,.25,1) both;
}
.hero-background::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #1c211bd1 0%, #1c211b92 39%, #1c211b12 78%),
    linear-gradient(0deg, #1c211b90, transparent 32%, transparent 76%, #1c211b55);
}
.hero-copy { align-self: center; width: min(720px, 68%); padding: 0 0 16px; }
.hero-copy .eyebrow { color: #e1d7c7; font-size: 10px; letter-spacing: 2px; }
.hero h1 {
  font-size: clamp(48px, min(8.5vw, 13svh), 132px);
  line-height: .91; letter-spacing: -.035em;
  margin: clamp(13px, 3svh, 30px) 0 clamp(16px, 3svh, 28px);
}
.hero h1 .title-line { display: block; margin-right: 0; }
.hero h1 em { color: #dbcab2; }
.hero-description { color: #f5f0e5d9; font-size: 12px; line-height: 1.9; }
.hero-actions { gap: 29px; margin-top: clamp(17px, 3svh, 30px); }
.hero-actions .button-dark { color: #33362f; background: #f5f2eb; }
.hero-actions .button-dark:hover { background: #e5d6c1; }
.hero-actions .text-link { color: #f8f5ed; border-color: #f8f5ed90; }
.hero-bottom {
  grid-column: 1; position: relative; z-index: 2;
  margin-top: 0; min-height: clamp(45px, 9svh, 80px);
  gap: 20px; border-color: #f8f5ed40;
  font-size: 10px; letter-spacing: .25px;
}
.hero-bottom-center { color: #e3dbcd; }
.hero-address { display: flex; align-items: center; gap: 10px; }
.hero-address .location-dot { border-color: #dbcab2; flex-shrink: 0; }
.hero-thread {
  position: absolute; right: 3%; bottom: 6%; height: 77%; width: 43%;
  z-index: -1; pointer-events: none; opacity: .6;
}
.hero-thread path {
  stroke: #e8ded0; stroke-width: 1; stroke-dasharray: 1600;
  stroke-dashoffset: 1600; animation: stitch 4s .8s ease-in-out forwards;
}
.about-images { position: relative; padding-bottom: 42px; }
.about-images .about-image { width: 88%; padding-right: 0; }
.about-images .about-image figcaption { max-width: 52%; }
.workshop-photo {
  position: absolute; right: 0; bottom: 0;
  width: 47%; max-width: 215px; padding: 7px;
  background: var(--paper); border: 1px solid var(--line);
}
.workshop-photo .gallery-open { aspect-ratio: 1; }
.workshop-photo .gallery-open img {
  width: 100%; height: 100%; aspect-ratio: 1;
  object-fit: cover; object-position: 50% 0;
  transform: scale(1.28); transform-origin: 50% 55%; filter: none;
}
.workshop-photo .gallery-open:hover img { transform: scale(1.33); }
.workshop-photo figcaption { font-size: 8px; color: var(--muted); margin: 7px 3px 1px; line-height: 1.6; }
.gallery-item .gallery-open img { object-position: 50% 0; }
@keyframes hero-background-in { from { transform: scale(1.08); opacity: .3; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 1050px) {
  .hero-copy { width: 76%; }
  .hero h1 { font-size: clamp(47px, min(10vw, 12.5svh), 100px); }
  .hero-bottom-center { display: none; }
}
@media (max-width: 760px) {
  .header { inset: 0 6% auto; height: clamp(70px, 11svh, 87px); margin: 0; }
  .mobile-nav:not([hidden]) { top: clamp(70px, 11svh, 87px); }
  .hero { padding: calc(clamp(70px, 11svh, 87px) + 12px) 6% 0; }
  .hero-copy { width: 100%; padding-bottom: 22px; }
  .hero-copy .eyebrow { font-size: 8px; letter-spacing: 1.6px; }
  .hero-background img { object-position: 63% center; }
  .hero-background::after {
    background: linear-gradient(90deg, #1c211bbf, #1c211b55),
      linear-gradient(0deg, #1c211b99, #1c211b22 65%, #1c211b66);
  }
  .hero h1 { font-size: clamp(42px, min(18vw, 12.5svh), 95px); margin: 24px 0; }
  .hero-description { font-size: 12px; }
  .hero-actions { gap: 25px; margin-top: 27px; flex-wrap: wrap; }
  .hero-actions .button { min-height: 50px; padding: 14px 22px; font-size: 11px; }
  .hero-actions .text-link { font-size: 11px; }
  .hero-bottom { min-height: 66px; margin-top: 0; font-size: 8px; letter-spacing: 0; gap: 12px; }
  .hero-bottom a { font-size: 8px; }
  .hero-address { gap: 7px; }
  .hero-thread { width: 70%; height: 65%; right: -15%; bottom: 11%; opacity: .35; }
  .about-images { padding-bottom: 45px; }
  .about-images .about-image { width: 87%; }
  .workshop-photo { width: 47%; max-width: 190px; }

}
/* Compact layouts use two title lines, keeping every control in view. */
@media (max-height: 580px) and (min-width: 600px) {
  .header { height: 60px; }
  .header .brand { font-size: 28px; }
  .header .brand span { font-size: 6px; margin-top: 7px; }
  .hero { padding-top: 72px; }
  .mobile-nav:not([hidden]) { top: 60px; }
  .hero-copy { width: 90%; padding-bottom: 8px; }
  .hero h1 { font-size: clamp(35px, min(7vw, 13svh), 67px); margin: 13px 0 15px; }
  .hero h1 .title-line:first-child, .hero h1 .title-line:nth-child(2) { display: inline-block; margin-right: .15em; }
  .hero-description { font-size: 11px; line-height: 1.65; }
  .hero-actions { margin-top: 15px; }
  .hero-actions .button { min-height: 42px; padding: 10px 23px; }
  .hero-bottom { min-height: 39px; }
  .hero-copy .eyebrow { font-size: 8px; }
}
@media (max-height: 650px) and (max-width: 599px) {
  .header { height: 65px; }
  .mobile-nav:not([hidden]) { top: 65px; }
  .hero { padding-top: 78px; }
  .hero-copy { padding-bottom: 12px; }
  .hero h1 { font-size: clamp(36px, min(17vw, 11.5svh), 65px); margin: 17px 0; }
  .hero-description { font-size: 11px; line-height: 1.7; }
  .hero-actions { margin-top: 19px; gap: 20px; }
  .hero-actions .button { min-height: 44px; padding: 11px 17px; }
  .hero-bottom { min-height: 49px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-background img { transform: none; opacity: 1; }
  .hero-thread path { stroke-dashoffset: 0; }
}
