/* =========================================
   woodbyroby — Stylesheet
   Aesthetic: Warm Wood Minimalism
   ========================================= */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/dm-sans.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-roman.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic.woff2') format('woff2');
}

:root {
  --cream:    #f2eadc;
  --parchment:#eae0d0;
  --linen:    #d9c8af;
  --walnut:   #6b3e26;
  --walnut-dark: #4a2912;
  --walnut-mid:  #8b5e3c;
  --maple:    #e8c99a;
  --cherry:   #a0522d;
  --oak:      #c8a97a;
  --charcoal: #2a1f14;
  --text:     #3a2a1a;
  --text-muted: #6d604f;
  --gold:     #c4964a;
  --radius:   6px;
  --nav-h:    72px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}

em { font-style: italic; color: var(--walnut); }

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  background: transparent;
  transition: background 0.4s var(--transition), box-shadow 0.4s;
}

#navbar.scrolled {
  background: rgba(243, 230, 211, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--linen);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--walnut-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

#navbar:not(.scrolled) .nav-logo { color: var(--cream); }
#navbar.scrolled .nav-logo { color: var(--walnut-dark); }

.logo-mark {
  color: var(--gold);
  font-size: 0.85rem;
  animation: spin-slow 20s linear infinite;
  display: inline-block;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

.nav-links {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  margin-left: auto;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a87c38;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

#navbar:not(.scrolled) .nav-link { color: var(--cream); }
#navbar.scrolled .nav-link { color: var(--walnut-dark); }
#navbar .nav-link:hover,
#navbar .nav-link.active { color: var(--gold); }

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--walnut-dark);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

#navbar:not(.scrolled) .hamburger span { background: var(--cream); }
#navbar.scrolled .hamburger span { background: var(--walnut-dark); }

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1280px) {
  #navbar {
    top: 14px;
    left: clamp(1rem, 3vw, 2.5rem);
    right: clamp(1rem, 3vw, 2.5rem);
    height: 60px;
    padding: 0 clamp(1rem, 2vw, 1.5rem);
    border: 1px solid rgba(245,237,224,0.2);
    border-radius: 18px;
    background: rgba(42,31,20,0.62);
    backdrop-filter: blur(16px) saturate(120%);
    box-shadow: 0 12px 32px rgba(24,16,10,0.18);
  }
  #navbar.scrolled {
    background: rgba(234,220,199,0.93);
    border-color: rgba(74,41,18,0.14);
    box-shadow: 0 10px 30px rgba(74,41,18,0.14);
  }
  .nav-links { gap: 0.35rem; }
  .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    transition: color 0.25s, background 0.25s, transform 0.25s;
  }
  .nav-link::after { display: none; }
  #navbar:not(.scrolled) .nav-link:hover,
  #navbar:not(.scrolled) .nav-link.active {
    color: var(--cream);
    background: rgba(255,255,255,0.12);
  }
  #navbar.scrolled .nav-link:hover,
  #navbar.scrolled .nav-link.active {
    color: var(--walnut-dark);
    background: rgba(107,62,38,0.1);
  }
  .nav-link:hover { transform: translateY(-1px); }
}

.section {
  /* FIX: le sezioni normali non devono comportarsi come slide fullscreen.
     Prima: padding enorme + min-height: 100vh + centratura verticale.
     Effetto: il sito sembrava zoomato anche al 100%.
  */
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 5vw, 4rem);
}

.section-fullscreen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--walnut-dark);
  margin-bottom: 1.5rem;
}

.section-sub {
  max-width: 50ch;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-sub { margin: 0 auto 3rem; }

@media (min-width: 1280px) {
  .gallery,
  .process,
  .engraving,
  .pricing,
  .maintenance,
  .contact {
    min-height: auto;
  }
}

@media (max-height: 800px) and (min-width: 1280px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header .section-sub {
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
  }

  .hero-sub {
    margin-bottom: 1.75rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(42,31,20,0.94) 0%, rgba(42,31,20,0.72) 42%, rgba(42,31,20,0.2) 75%, rgba(42,31,20,0.42) 100%),
    linear-gradient(0deg, rgba(42,31,20,0.6), transparent 45%);
}
.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: right center;
}

.wood-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(196, 150, 74, 0.15);
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  animation: pulse-ring 4s ease-in-out infinite;
}

.r1 { width: 480px; height: 480px; margin: -240px; animation-delay: 0s; }
.r2 { width: 340px; height: 340px; margin: -170px; animation-delay: 0.8s; border-color: rgba(196,150,74,0.25); }
.r3 { width: 200px; height: 200px; margin: -100px; animation-delay: 1.6s; border-color: rgba(196,150,74,0.4); background: radial-gradient(circle, rgba(139,94,60,0.3), transparent 70%); }

@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.6; transform: translateY(-50%) scale(1.03); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-top: var(--nav-h);
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-title em { color: var(--maple); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(245, 237, 224, 0.7);
  margin-bottom: 2.5rem;
  max-width: 38ch;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.3s, transform 0.3s var(--transition), box-shadow 0.3s;
}

.btn-primary:hover {
  background: var(--maple);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,150,74,0.35);
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245,237,224,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(196,150,74,0.7), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.about-img-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 3/4;
  max-width: 420px;
  isolation: isolate;
}
.about-img-frame::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  background: var(--linen);
  border-radius: 4px;
}
.about-img-placeholder {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 4px;
  overflow: hidden;
  background: var(--parchment);
  border: 1px solid rgba(107,62,38,0.12);
}
.about-img-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.about-body { margin-bottom: 2.5rem; }
.about-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--linen);
  padding-top: 2rem;
}
.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--walnut);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.gallery {
  background: var(--parchment);
  min-height: auto;
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}
.gallery-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--linen);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--walnut-dark);
  border-color: var(--walnut-dark);
  color: var(--cream);
}
.gallery-grid {
  columns: 3;
  column-gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5rem;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--linen);
  transition: opacity 0.4s, transform 0.3s var(--transition);
}
.gallery-item.hidden {
  display: none;
}
.gallery-img {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.img-placeholder {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: filter 0.35s var(--transition);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 20, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity 0.4s;
  color: var(--cream);
  text-align: center;
  padding: 1rem;
}
.gallery-overlay span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
}
.gallery-overlay small {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maple);
}
.gallery-img:hover .img-placeholder { filter: brightness(0.78); }
.gallery-img:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
  padding: 1rem 1.25rem;
}
.gallery-caption strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--walnut-dark);
  font-weight: 600;
}
.gallery-caption em {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
}

.process {
  background: var(--cream);
  min-height: auto;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.process-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--linen);
}
.process-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: filter 0.35s var(--transition);
}
.process-photo:hover img { filter: brightness(0.86); }
.process-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.75rem;
  background: rgba(42,31,20,0.78);
  color: var(--cream);
  border-radius: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.engraving {
  background: var(--parchment);
  min-height: auto;
}
.engraving-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}
.engraving-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(107,62,38,0.2);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(74,41,18,0.08);
}
.engraving-card.recommended {
  border-color: rgba(126,142,88,0.55);
  box-shadow: 0 18px 42px rgba(79,96,45,0.14);
}
.engraving-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(210px, 22vw, 285px);
  padding: clamp(0.8rem, 1.6vw, 1.15rem);
  margin: 0;
  overflow: hidden;
  background: #fffdf8;
  border-bottom: 1px solid var(--linen);
}
.engraving-media img {
  width: auto;
  max-width: calc(100% - 1rem);
  height: auto;
  max-height: calc(100% - 1rem);
  box-sizing: border-box;
  display: block;
  object-fit: contain;
  background: #fffdf8;
  border: 1px solid rgba(76,48,29,0.28);
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(62,39,24,0.12);
}
.engraving-status {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.42rem 0.72rem;
  color: #fff;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 5px 16px rgba(42,31,20,0.18);
}
.engraving-status.bad { background: #8d493e; }
.engraving-status.caution { background: #a26d2f; }
.engraving-status.good { background: #647447; }
.engraving-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem 1.5rem 1.6rem;
}
.engraving-card-body h3 {
  margin-bottom: 0.65rem;
  color: var(--walnut-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  line-height: 1.1;
}
.engraving-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.engraving-tips {
  width: 100%;
  max-width: 1080px;
  margin: 1.5rem auto 0;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--walnut-dark);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(42,31,20,0.15);
}
.engraving-tips h3 {
  margin-bottom: 1.2rem;
  color: var(--maple);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
}
.engraving-tips ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: engraving-tip;
}
.engraving-tips li {
  position: relative;
  padding-left: 2.2rem;
  color: rgba(245,237,224,0.82);
  font-size: 0.88rem;
  line-height: 1.55;
  counter-increment: engraving-tip;
}
.engraving-tips li::before {
  content: counter(engraving-tip);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  color: var(--walnut-dark);
  background: var(--maple);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
}
.engraving-note {
  padding-top: 1rem;
  border-top: 1px solid rgba(245,237,224,0.14);
  color: rgba(245,237,224,0.62);
  font-size: 0.82rem;
}

.engraving-showcase { width: 100%; max-width: 1200px; margin: 2rem auto 0; padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.engraving-showcase-heading { max-width: 720px; margin: 0 auto 2rem; text-align: center; }
.engraving-showcase-heading .section-label { margin-bottom: 0.65rem; }
.engraving-showcase-heading h3 {
  margin-bottom: 0.8rem; color: var(--walnut); font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; line-height: 1.08;
}
.engraving-showcase-heading h3 em { color: var(--warm-brown); }
.engraving-showcase-heading p:last-child { color: var(--text-muted); line-height: 1.7; }
.engraving-placeholder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.engraving-placeholder {
  overflow: hidden; background: var(--cream); border: 1px solid rgba(76,48,29,0.16);
  border-radius: 18px; box-shadow: 0 16px 36px rgba(62,39,24,0.08);
}
.engraving-placeholder-media {
  display: flex; aspect-ratio: 4 / 3; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.75rem; color: var(--warm-brown);
  background: linear-gradient(135deg, rgba(255,255,255,0.42), transparent),
    repeating-linear-gradient(45deg, rgba(125,82,48,0.055) 0 10px, transparent 10px 20px);
  border-bottom: 1px dashed rgba(76,48,29,0.25); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.engraving-placeholder-icon {
  display: grid; width: 64px; height: 64px; place-items: center; color: var(--cream);
  background: var(--walnut); border-radius: 50%; font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem; font-weight: 600;
}
.engraving-placeholder-copy { padding: 1.35rem 1.4rem 1.5rem; }
.engraving-placeholder-copy h3 {
  margin-bottom: 0.45rem; color: var(--walnut); font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 600;
}
.engraving-placeholder-copy p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

.pricing {
  background: var(--walnut-dark);
  min-height: auto;
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}
.pricing .section-label { color: var(--maple); }
.pricing .section-title { color: var(--cream); }
.pricing .section-sub { color: rgba(245,237,224,0.6); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto 2.5rem;
}
.pricing-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(245,237,224,0.1);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.3s var(--transition), border-color 0.3s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196,150,74,0.4);
}
.pricing-card.featured {
  background: rgba(196,150,74,0.12);
  border-color: rgba(196,150,74,0.4);
  transform: translateY(-8px);
}
.pricing-popular {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 0 0 4px 4px;
}
.pricing-wood-badge { font-size: 2rem; margin-bottom: 1rem; }
.pricing-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.pricing-desc {
  font-size: 0.88rem;
  color: rgba(245,237,224,0.55);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.pricing-dimensions {
  min-height: 1.4em;
  margin-bottom: 1rem;
  color: rgba(245,237,224,0.85);
  font-size: 0.78rem;
  line-height: 1.4;
}
.pricing-range {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.price-from {
  font-size: 0.8rem;
  color: rgba(245,237,224,0.5);
  letter-spacing: 0.05em;
}
.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.price-on-request {
  font-size: clamp(1.6rem, 2.7vw, 2.15rem);
}
.pricing-note {
  text-align: center;
  color: rgba(245,237,224,0.45);
  font-size: 0.88rem;
  font-style: italic;
  max-width: 50ch;
  margin: 0 auto;
}

.maintenance {
  background: var(--cream);
  min-height: auto;
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}
.maintenance-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.maint-step {
  background: var(--parchment);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--transition);
}
.maint-step:hover { transform: translateY(-4px); }
.maint-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--walnut), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition);
}
.maint-step:hover::before { transform: scaleX(1); }
.maint-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--linen);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}
.maint-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.maint-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--walnut-dark);
  margin-bottom: 0.75rem;
}
.maint-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.maint-bar {
  height: 3px;
  background: var(--linen);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.maint-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--walnut), var(--gold));
  border-radius: 100px;
  transition: width 1.2s var(--transition);
}
.maint-step.visible .maint-bar span { width: var(--w); }
.maint-step small {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.maint-tip {
  max-width: 800px;
  margin: 0 auto;
  background: var(--walnut-dark);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.tip-icon {
  color: var(--gold);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.maint-tip p {
  color: rgba(245,237,224,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}
.maint-tip strong { color: var(--gold); }

.contact {
  background: var(--parchment);
  min-height: auto;
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  text-align: center;
}
.contact-inner { max-width: 1180px; margin: 0 auto; }
.contact-sub {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.5rem;
  align-items: start;
  text-align: left;
}
.contact-form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--cream);
  border: 1px solid var(--linen);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(74,41,18,0.09);
}
.contact-form-heading { margin-bottom: 1.8rem; }
.contact-form-heading h3 {
  margin-bottom: 0.45rem;
  color: var(--walnut-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.1;
}
.contact-form-heading p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group[hidden],
.engraving-upload-note[hidden] { display: none; }
.form-group label {
  color: var(--walnut-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.9rem;
  color: var(--text);
  background: #fffdf8;
  border: 1px solid rgba(107,62,38,0.2);
  border-radius: 7px;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-group textarea {
  min-height: 110px;
  resize: vertical;
}
.order-fields { display: contents; }
.order-fields[hidden] { display: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196,150,74,0.16);
  outline: none;
}
.form-help {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.wood-price-note,
.engraving-upload-note {
  padding: 0.75rem 0.9rem;
  color: #684a2a;
  background: rgba(196,150,74,0.13);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 0.8rem;
  line-height: 1.55;
}
.contact-submit {
  grid-column: 1 / -1;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  color: #fff;
  background: var(--walnut-dark);
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.contact-submit:hover {
  background: var(--walnut);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(82,43,27,0.24);
}
.contact-submit:focus-visible {
  outline: 3px solid rgba(196,150,74,0.5);
  outline-offset: 3px;
}
.contact-privacy {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.73rem;
  line-height: 1.5;
  text-align: center;
}
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-methods .contact-submit { width: 100%; margin-top: 0.15rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--cream);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--linen);
  transition: all 0.3s var(--transition);
  text-align: left;
}
.contact-item:hover {
  background: var(--walnut-dark);
  border-color: var(--walnut-dark);
  color: var(--cream);
  transform: translateX(6px);
}
.contact-icon {
  font-size: 1.4rem;
  color: var(--walnut);
  flex-shrink: 0;
  transition: color 0.3s;
  width: 32px;
  text-align: center;
}
.contact-item > div { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-item strong {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}
.contact-item span:last-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text);
  transition: color 0.3s;
}

.footer {
  background: var(--charcoal);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,237,224,0.4);
  margin-bottom: 1.5rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(245,237,224,0.25);
}
.nav-right {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}
.lang-switcher { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 72px;
  background: transparent;
  border: 1px solid rgba(168, 124, 56, 0.5);
  border-radius: 100px;
  padding: 0.3rem 0.75rem 0.3rem 0.5rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #a87c38;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
#navbar.scrolled .lang-current {
  border-color: rgba(107,62,38,0.3);
}
#navbar:not(.scrolled) .lang-current {
  border-color: rgba(245,237,224,0.3);
  color: var(--cream);
}
.lang-current:hover {
  background: rgba(196, 150, 74, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.lang-flag { font-size: 1rem; line-height: 1; }
.lang-code { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; min-width: 20px; text-align: center; }
.lang-arrow {
  width: 8px;
  height: 5px;
  stroke: currentColor;
  transition: transform 0.25s var(--transition);
  flex-shrink: 0;
}
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--cream);
  border: 1px solid var(--linen);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(42,31,20,0.15), 0 2px 8px rgba(42,31,20,0.08);
  overflow: hidden;
  min-width: 140px;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s var(--transition), transform 0.2s var(--transition);
  transform-origin: top right;
  z-index: 300;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  text-align: left;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid transparent;
}
.lang-option:not(:last-child) { border-bottom-color: var(--linen); }
.lang-option:hover { background: var(--parchment); color: var(--walnut-dark); }
.lang-option.active {
  color: var(--walnut-dark);
  font-weight: 500;
  background: var(--linen);
}
.lang-option span:first-child { font-size: 1.1rem; }
body.lang-switching [data-i18n] { opacity: 0; transition: opacity 0.15s; }
body [data-i18n] { transition: opacity 0.15s; }

@media (max-width: 1279px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-frame { max-width: 340px; margin: 0 auto; }
  .about-img-frame::after { inset: 12px -12px -12px 12px; }
  .gallery-grid { columns: 2; }
  .engraving-grid { grid-template-columns: 1fr; max-width: 620px; }
  .engraving-card.recommended { transform: none; }
  .engraving-tips ul { grid-template-columns: 1fr; }
  .engraving-tips { max-width: 620px; }
  .engraving-placeholder-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-card.featured { transform: none; }
  .maintenance-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) and (max-width: 1250px) {
  .nav-logo span:last-child { display: none; }
  .nav-link {
    padding-inline: 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }
}
@media (min-width: 1280px) and (max-width: 1366px) {
  .hero-image {
    object-fit: cover;
    object-position: 58% center;
    transform: scale(1.01);
  }
}
@media (max-width: 1279px) {
  #navbar { justify-content: space-between; }
  #navbar.menu-open {
    height: 100dvh;
    min-height: 100vh;
    align-items: flex-start;
    padding-top: calc((var(--nav-h) - 32px) / 2);
    background: rgba(42, 31, 20, 0.99);
    backdrop-filter: none;
    box-shadow: none;
  }
  #navbar.menu-open .nav-logo { color: var(--cream); }
  #navbar.menu-open .hamburger span { background: var(--cream); }
  .nav-left { gap: 0.6rem; }
  .nav-logo { font-size: 1rem; }
  .nav-left,
  .nav-right {
    position: relative;
    z-index: 200;
  }
  .nav-right { margin-left: auto; }
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    inset: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--transition);
    z-index: 150;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: min(78vw, 300px); }
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1.2rem;
    color: var(--cream);
    padding: 0.8rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  }
  .nav-link::after { display: none; }
  #navbar.menu-open .nav-link:hover,
  #navbar.menu-open .nav-link:focus-visible,
  #navbar.menu-open .nav-link.active {
    color: var(--cream);
    background: rgba(196,150,74,0.18);
    border-color: rgba(232,201,154,0.38);
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    transform: translateX(5px);
    outline: none;
  }
  #navbar.menu-open .nav-link:active {
    transform: translateX(5px) scale(0.98);
  }
  .hero-badge { display: none; }
  .wood-ring { display: none; }
  .hero {
    min-height: 100svh;
  }
  .hero-image {
    object-fit: cover;
    object-position: 58% center;
    transform: scale(1.01);
  }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(42,31,20,0.91) 0%, rgba(42,31,20,0.62) 62%, rgba(42,31,20,0.34) 100%),
      linear-gradient(0deg, rgba(42,31,20,0.68) 0%, transparent 48%, rgba(42,31,20,0.2) 100%);
  }
  .gallery-grid { columns: 1; }
  .process-grid { grid-template-columns: 1fr; }
  .maintenance-steps { grid-template-columns: 1fr; }
  .maint-tip { flex-direction: column; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .contact-item { padding: 1.25rem 1.5rem; }
  .lang-code { display: none; }
  .lang-current { width: 42px; padding: 0.3rem 0.5rem; gap: 0.2rem; }
  .lang-dropdown { right: 0; }
}
@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
  }
  .hero-image {
    object-fit: cover;
    object-position: 58% center;
    transform: scale(1.015);
  }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(42,31,20,0.9) 0%, rgba(42,31,20,0.58) 72%, rgba(42,31,20,0.42) 100%),
      linear-gradient(0deg, rgba(42,31,20,0.72) 0%, transparent 48%, rgba(42,31,20,0.24) 100%);
  }
  .hero-title { font-size: 3rem; }
  .engraving-media { height: clamp(190px, 68vw, 250px); }
  .engraving-media img {
    max-width: calc(100% - 0.5rem);
    max-height: calc(100% - 0.5rem);
  }
  .contact-form { grid-template-columns: 1fr; }
  .form-group.full,
  .contact-submit,
  .contact-privacy { grid-column: 1; }
  .about-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-grid { max-width: 100%; }
}


/* =========================================================
   MATHEMATICAL VIEWPORT FIT FIX
   Goal: avoid the 100% zoom feeling in Edge and on low-height screens.
   Formula used on desktop:
   usable vertical space = 100dvh - navbar - browser/edge safety margin
   ========================================================= */

:root {
  --edge-safe-y: clamp(18px, 3dvh, 34px);
  --desktop-nav-visible-h: 88px; /* 60px navbar + 14px top offset + 14px safety */
  --usable-view-h: calc(100dvh - var(--desktop-nav-visible-h) - var(--edge-safe-y));
  --section-pad-y: clamp(2rem, 5dvh, 4.25rem);
  --section-pad-x: clamp(1.25rem, 4vw, 3.5rem);
  --tight-gap: clamp(1rem, 2.2dvh, 1.75rem);
  --title-fit: clamp(2.15rem, 4.2vw, 3.45rem);
  --copy-fit: clamp(0.88rem, 1.35vw, 0.98rem);
}

html { scroll-padding-top: 0; }

/*
  ANCHOR LANDING FIX
  Mathematical rule:
  sectionTopAfterScroll = sectionTop - scrollY
  To prevent the previous section from appearing above the floating navbar,
  force sectionTopAfterScroll <= 0 by scrolling to sectionTop + anchorOverlap.
  The extra top padding keeps the section heading below the fixed navbar.
*/
:root {
  --anchor-overlap: 2px;
  --section-anchor-pad-top: max(var(--section-pad-y), calc(var(--desktop-nav-visible-h) + 0.75rem));
}

section[id] {
  scroll-margin-top: 0;
}

.section:not(.hero) {
  padding-top: var(--section-anchor-pad-top);
}

.section {
  padding: var(--section-pad-y) var(--section-pad-x);
  min-height: auto;
}

.section-title {
  font-size: var(--title-fit);
  margin-bottom: clamp(0.85rem, 1.8dvh, 1.35rem);
}

.section-sub {
  font-size: var(--copy-fit);
  line-height: 1.58;
  margin-bottom: var(--tight-gap);
}

.section-header {
  margin-bottom: var(--tight-gap);
}

.section-header .section-sub {
  margin-bottom: var(--tight-gap);
}

.hero {
  min-height: 100dvh;
  padding-top: calc(var(--desktop-nav-visible-h) + var(--edge-safe-y));
  padding-bottom: var(--edge-safe-y);
}

.hero-content {
  padding-top: 0;
}

.hero-title {
  font-size: clamp(3rem, 6.8vw, 6.25rem);
  margin-bottom: clamp(0.9rem, 2dvh, 1.35rem);
}

.hero-eyebrow {
  margin-bottom: clamp(0.75rem, 2dvh, 1.25rem);
}

.hero-sub {
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.55;
  margin-bottom: clamp(1.3rem, 3dvh, 2rem);
}

.scroll-cue {
  bottom: max(1rem, var(--edge-safe-y));
}

.gallery,
.pricing,
.maintenance,
.contact {
  padding-bottom: var(--section-pad-y);
}

.about-grid,
.engraving-grid,
.pricing-grid,
.maintenance-steps,
.contact-layout {
  gap: var(--tight-gap);
}

.about-grid {
  max-height: none;
}

.about-img-frame {
  width: min(360px, 28vw, calc((var(--usable-view-h) - 2rem) * 0.75));
  max-width: none;
  max-height: none;
}

.about-body {
  margin-bottom: var(--tight-gap);
}

.about-body p {
  font-size: var(--copy-fit);
  line-height: 1.58;
  margin-bottom: 0.75rem;
}

.about-stats {
  padding-top: clamp(1rem, 2dvh, 1.5rem);
  gap: clamp(0.75rem, 1.8dvh, 1.25rem);
}

.stat-num {
  font-size: clamp(2rem, 4vw, 2.55rem);
}

.gallery-filters {
  margin-bottom: var(--tight-gap);
  gap: 0.55rem;
}

.filter-btn {
  padding: 0.42rem 1.05rem;
  font-size: 0.74rem;
}

.gallery-grid {
  column-gap: 1rem;
}

.gallery-item {
  margin-bottom: 1rem;
}

@media (min-width: 1280px) {
  .gallery-img {
    max-height: min(360px, 46dvh);
  }

  .gallery-img .img-placeholder {
    width: 100%;
    height: 100%;
    max-height: min(360px, 46dvh);
    object-fit: cover;
  }
}

.engraving-grid,
.engraving-placeholder-grid,
.pricing-grid,
.maintenance-steps {
  align-items: stretch;
}

.engraving-media {
  aspect-ratio: 16 / 10;
  padding: clamp(0.55rem, 1.5dvh, 0.9rem);
}

.engraving-card-body,
.engraving-placeholder-copy {
  padding: clamp(1rem, 2.2dvh, 1.25rem);
}

.engraving-card-body h3,
.engraving-placeholder-copy h3 {
  font-size: clamp(1.2rem, 2.3vw, 1.38rem);
  margin-bottom: 0.45rem;
}

.engraving-card-body p,
.engraving-placeholder-copy p {
  font-size: clamp(0.82rem, 1.15vw, 0.9rem);
  line-height: 1.5;
}

.engraving-tips {
  padding: clamp(1rem, 2.5dvh, 1.6rem);
}

.engraving-tips h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 2.6vw, 1.45rem);
}

.engraving-tips ul {
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.engraving-tips li {
  font-size: clamp(0.78rem, 1.1vw, 0.84rem);
  line-height: 1.45;
}

.engraving-showcase {
  margin-top: var(--tight-gap);
  padding-top: clamp(1.5rem, 3dvh, 2.5rem);
}

.engraving-showcase-heading {
  margin-bottom: var(--tight-gap);
}

.engraving-placeholder-media {
  aspect-ratio: 16 / 10;
}

.pricing-grid {
  margin-bottom: var(--tight-gap);
}

.pricing-card {
  padding: clamp(1.35rem, 3dvh, 2rem) clamp(1.15rem, 2.5vw, 1.6rem);
}

.pricing-wood-badge {
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
}

.pricing-card h3 {
  font-size: clamp(1.45rem, 2.8vw, 1.7rem);
  margin-bottom: 0.45rem;
}

.pricing-desc,
.pricing-range {
  margin-bottom: 0.9rem;
}

.price-amount {
  font-size: clamp(2rem, 4vw, 2.35rem);
}

.pricing-note {
  font-size: clamp(0.78rem, 1.1vw, 0.84rem);
  line-height: 1.45;
}

.maintenance-steps {
  margin-bottom: var(--tight-gap);
}

.maint-step {
  padding: clamp(1.2rem, 2.6dvh, 1.65rem) clamp(1rem, 2vw, 1.35rem);
}

.maint-num {
  font-size: clamp(2.7rem, 5vw, 3.45rem);
  top: 0.75rem;
  right: 1rem;
}

.maint-icon {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.maint-step h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.3rem);
  margin-bottom: 0.45rem;
}

.maint-step p {
  font-size: clamp(0.78rem, 1.1vw, 0.84rem);
  line-height: 1.48;
  margin-bottom: 0.75rem;
}

.maint-tip {
  padding: clamp(1.1rem, 2.5dvh, 1.6rem) clamp(1.25rem, 3vw, 2rem);
  gap: 1rem;
}

.maint-tip p {
  font-size: clamp(0.82rem, 1.15vw, 0.9rem);
  line-height: 1.55;
}

.contact-sub {
  margin-bottom: var(--tight-gap);
  font-size: var(--copy-fit);
}

.contact-form-card {
  padding: clamp(1.2rem, 3dvh, 2rem);
}

.contact-form-heading {
  margin-bottom: var(--tight-gap);
}

.contact-form {
  gap: clamp(0.75rem, 1.7dvh, 1rem);
}

.form-group input,
.form-group select,
.form-group textarea {
  min-height: 42px;
  padding: 0.62rem 0.8rem;
}

.form-group textarea {
  min-height: 86px;
}

.contact-submit {
  min-height: 46px;
  padding: 0.72rem 1.2rem;
}

.contact-methods {
  gap: 0.75rem;
}

.contact-item {
  padding: clamp(1rem, 2.3dvh, 1.25rem) clamp(1.15rem, 2.5vw, 1.5rem);
  gap: 1rem;
}

.footer {
  padding-top: clamp(1.8rem, 4dvh, 2.5rem);
  padding-bottom: clamp(1.8rem, 4dvh, 2.5rem);
}

@media (min-width: 1280px) and (max-height: 850px) {
  :root {
    --edge-safe-y: clamp(22px, 4dvh, 42px);
    --section-pad-y: clamp(1.45rem, 3.6dvh, 2.7rem);
    --tight-gap: clamp(0.75rem, 1.8dvh, 1.2rem);
    --title-fit: clamp(1.95rem, 3.6vw, 2.9rem);
    --copy-fit: 0.86rem;
  }

  body { line-height: 1.55; }

  .hero-title {
    font-size: clamp(2.65rem, 5.7vw, 4.9rem);
  }

  .btn-primary {
    padding: 0.72rem 1.75rem;
  }

  .scroll-line {
    height: 32px;
  }

  .about-grid {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .about-img-frame {
    max-width: min(300px, 24vw);
  }

  .engraving-grid,
  .pricing-grid,
  .maintenance-steps {
    gap: 0.9rem;
  }

  .engraving-media,
  .engraving-placeholder-media {
    aspect-ratio: 16 / 9;
  }

  .pricing-card.featured,
  .engraving-card.recommended {
    transform: none;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  }
}

@media (min-width: 1280px) and (max-height: 720px) {
  :root {
    --edge-safe-y: 44px;
    --section-pad-y: 1.25rem;
    --tight-gap: 0.75rem;
    --title-fit: clamp(1.75rem, 3.2vw, 2.45rem);
    --copy-fit: 0.82rem;
  }

  .hero-title {
    font-size: clamp(2.35rem, 5vw, 4.2rem);
  }

  .hero-sub {
    margin-bottom: 1rem;
  }

  .section-label {
    margin-bottom: 0.45rem;
  }

  .about-img-frame {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1.4fr 0.8fr;
    max-width: 980px;
  }

  .engraving-tips ul {
    grid-template-columns: 1fr;
  }

  .maintenance-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .maint-bar,
  .maint-step small {
    display: block;
  }

  .contact-methods {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1279px) {
  :root {
    --section-pad-y: clamp(2.5rem, 7svh, 4.5rem);
    --section-pad-x: clamp(1.1rem, 5vw, 2rem);
    --tight-gap: clamp(1rem, 3svh, 1.75rem);
  }

  :root {
    --section-anchor-pad-top: max(var(--section-pad-y), calc(var(--nav-h) + 0.75rem));
  }

  html { scroll-padding-top: 0; }

  .section {
    padding: var(--section-pad-y) var(--section-pad-x);
  }

  .hero {
    min-height: 100svh;
    padding-top: var(--nav-h);
  }

  .gallery-img .img-placeholder {
    object-fit: contain;
  }
}



/* =========================================================
   ENGRAVING + GIFT IDEAS FIT
   Two independent snap stops. Content is scaled smaller while
   preserving original aspect ratios and grid geometry.
   ========================================================= */

@media (min-width: 1280px) {
  #engraving,
  #gift-ideas {
    padding-top: calc(var(--desktop-nav-visible-h) + clamp(0.75rem, 1.8dvh, 1.35rem));
    padding-bottom: clamp(1.35rem, 2.8dvh, 2.4rem);
  }

  #engraving .section-header,
  #gift-ideas .section-header {
    max-width: 820px;
    margin: 0 auto clamp(1rem, 2.2dvh, 1.6rem);
  }

  #engraving .section-label,
  #gift-ideas .section-label {
    margin-bottom: 0.45rem;
    font-size: clamp(0.62rem, 0.82vw, 0.72rem);
  }

  #engraving .section-title,
  #gift-ideas .section-title {
    margin-bottom: 0.65rem;
    font-size: clamp(2rem, 3.45vw, 2.85rem);
    line-height: 1.04;
  }

  #engraving .section-sub,
  #gift-ideas .section-sub,
  #gift-ideas .engraving-showcase-heading p:last-child {
    max-width: 76ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    font-size: clamp(0.82rem, 0.98vw, 0.92rem);
    line-height: 1.5;
  }

  #engraving .engraving-grid,
  #gift-ideas .engraving-placeholder-grid {
    max-width: min(980px, 78vw);
    gap: clamp(0.8rem, 1.5dvh, 1.15rem);
  }

  #engraving .engraving-grid {
    margin-bottom: clamp(0.95rem, 2dvh, 1.35rem);
  }

  #engraving .engraving-card.recommended {
    transform: translateY(-0.25rem);
  }

  #engraving .engraving-card,
  #gift-ideas .engraving-placeholder {
    border-radius: 10px;
  }

  #engraving .engraving-media,
  #gift-ideas .engraving-placeholder-media {
    aspect-ratio: 4 / 3;
    height: auto;
    padding: clamp(0.55rem, 1.1dvh, 0.85rem);
  }

  #engraving .engraving-media img {
    width: auto;
    max-width: calc(100% - 1rem);
    height: auto;
    max-height: calc(100% - 1rem);
    box-sizing: border-box;
    object-fit: contain;
  }

  #engraving .engraving-card-body,
  #gift-ideas .engraving-placeholder-copy {
    padding: clamp(0.8rem, 1.55dvh, 1.1rem) clamp(0.9rem, 1.4vw, 1.15rem);
  }

  #engraving .engraving-card-body h3,
  #gift-ideas .engraving-placeholder-copy h3 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.12rem, 1.6vw, 1.35rem);
    line-height: 1.08;
  }

  #engraving .engraving-card-body p,
  #gift-ideas .engraving-placeholder-copy p {
    font-size: clamp(0.76rem, 0.9vw, 0.86rem);
    line-height: 1.42;
  }

  #engraving .engraving-status {
    top: 0.55rem;
    left: 0.55rem;
    padding: 0.35rem 0.58rem;
    font-size: 0.6rem;
  }

  #engraving .engraving-tips {
    max-width: min(980px, 78vw);
    padding: clamp(0.9rem, 1.8dvh, 1.25rem) clamp(1rem, 1.7vw, 1.35rem);
  }

  #engraving .engraving-tips h3 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    line-height: 1.08;
  }

  #engraving .engraving-tips ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.35dvh, 0.95rem);
    margin-bottom: 0.75rem;
  }

  #engraving .engraving-tips li {
    padding-left: 1.8rem;
    font-size: clamp(0.74rem, 0.86vw, 0.82rem);
    line-height: 1.38;
  }

  #engraving .engraving-tips li::before {
    width: 1.28rem;
    height: 1.28rem;
    font-size: 0.6rem;
  }

  #engraving .engraving-note {
    padding-top: 0.65rem;
    font-size: clamp(0.72rem, 0.85vw, 0.8rem);
    line-height: 1.42;
  }

  #gift-ideas .engraving-showcase {
    max-width: none;
    margin: 0 auto;
    padding-top: 0;
  }

  #gift-ideas .engraving-showcase-heading {
    margin-bottom: clamp(1rem, 2.2dvh, 1.5rem);
  }

  #gift-ideas .engraving-placeholder-icon {
    width: clamp(44px, 5.2dvh, 58px);
    height: clamp(44px, 5.2dvh, 58px);
    font-size: clamp(1.15rem, 2.1dvh, 1.45rem);
  }
}

@media (min-width: 1280px) and (max-height: 760px) {
  #engraving,
  #gift-ideas {
    padding-top: calc(var(--desktop-nav-visible-h) + 0.55rem);
    padding-bottom: 1rem;
  }

  #engraving .section-header,
  #gift-ideas .section-header {
    margin-bottom: 0.8rem;
  }

  #engraving .section-title,
  #gift-ideas .section-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    margin-bottom: 0.45rem;
  }

  #engraving .section-sub,
  #gift-ideas .section-sub,
  #gift-ideas .engraving-showcase-heading p:last-child {
    font-size: clamp(0.76rem, 0.9vw, 0.84rem);
    line-height: 1.38;
  }

  #engraving .engraving-grid,
  #gift-ideas .engraving-placeholder-grid,
  #engraving .engraving-tips {
    max-width: min(900px, 76vw);
  }

  #engraving .engraving-card-body,
  #gift-ideas .engraving-placeholder-copy {
    padding: 0.7rem 0.82rem;
  }

  #engraving .engraving-card-body h3,
  #gift-ideas .engraving-placeholder-copy h3 {
    font-size: clamp(1rem, 1.35vw, 1.16rem);
  }

  #engraving .engraving-card-body p,
  #gift-ideas .engraving-placeholder-copy p {
    font-size: clamp(0.68rem, 0.78vw, 0.76rem);
    line-height: 1.32;
  }

  #engraving .engraving-tips {
    padding: 0.75rem 0.9rem;
  }

  #engraving .engraving-tips h3 {
    margin-bottom: 0.45rem;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
  }

  #engraving .engraving-tips ul {
    gap: 0.55rem;
    margin-bottom: 0.55rem;
  }

  #engraving .engraving-tips li {
    font-size: clamp(0.66rem, 0.76vw, 0.74rem);
    line-height: 1.26;
  }

  #engraving .engraving-note {
    font-size: clamp(0.66rem, 0.74vw, 0.74rem);
    line-height: 1.3;
  }
}

/* =========================================================
   STRUCTURED MANUAL SCROLL
   Native page scroll stays available inside #gallery.
   Every other section behaves like a controlled stop.
   ========================================================= */

html.structured-scroll-enabled,
html.structured-scroll-enabled body {
  overscroll-behavior-y: contain;
}

section,
.footer {
  scroll-snap-stop: always;
}

#gallery {
  scroll-snap-stop: normal;
}


/* =========================================================
   FINAL LAYOUT PATCH
   - Navbar labels must never wrap on desktop.
   - Engraving and Gift Ideas are full snap stops.
   - Gift Ideas content is centered and isolated from Pricing.
   - Image/card proportions are kept; only scale is reduced.
   ========================================================= */

@media (min-width: 1280px) {
  #navbar {
    column-gap: clamp(0.35rem, 0.8vw, 0.9rem);
  }

  .nav-left {
    min-width: 0;
  }

  .nav-logo {
    white-space: nowrap;
  }

  .nav-links {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: clamp(0.12rem, 0.35vw, 0.32rem);
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-link {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    min-height: 34px;
    padding: 0.45rem clamp(0.42rem, 0.58vw, 0.68rem);
    font-size: clamp(0.62rem, 0.68vw, 0.76rem);
    letter-spacing: clamp(0.035em, 0.055vw, 0.075em);
    line-height: 1;
  }

  .nav-right {
    display: none;
  }
}

@media (min-width: 1280px) and (max-width: 1520px) {
  .nav-logo span:last-child {
    display: none;
  }
}

@media (min-width: 1280px) and (max-width: 1180px) {
  .lang-current {
    width: 46px;
    padding-inline: 0.45rem;
  }

  .lang-code {
    display: none;
  }

  .nav-link {
    padding-inline: 0.34rem;
    font-size: 0.6rem;
    letter-spacing: 0.03em;
  }
}

@media (min-width: 1280px) {
  section:not(#gallery) {
    /*
      The controller lands 2px inside the section:
      visible background = section height - anchor overlap.
      100dvh + 2px therefore leaves exactly one full viewport.
    */
    min-height: calc(100dvh + var(--anchor-overlap));
    background-clip: padding-box;
  }

  #engraving {
    padding-top: calc(var(--desktop-nav-visible-h) + clamp(1.25rem, 3dvh, 2.35rem));
    padding-bottom: clamp(2rem, 4dvh, 3.25rem);
  }

  #engraving .engraving-grid,
  #engraving .engraving-tips {
    max-width: min(1040px, 82vw);
  }

  #engraving .engraving-media {
    aspect-ratio: 4 / 3;
    max-height: min(26dvh, 245px);
  }

  #engraving .engraving-media img {
    object-fit: contain;
  }

  #gift-ideas {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--desktop-nav-visible-h) + clamp(1rem, 2.2dvh, 1.7rem));
    padding-bottom: clamp(2.25rem, 5dvh, 4rem);
    overflow: hidden;
  }

  #gift-ideas .engraving-showcase {
    width: 100%;
    max-width: min(1040px, 82vw);
    margin-inline: auto;
  }

  #gift-ideas .engraving-showcase-heading {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
  }

  #gift-ideas .engraving-placeholder-grid {
    width: 100%;
    max-width: min(980px, 78vw);
    margin-inline: auto;
    justify-content: center;
    justify-items: center;
    align-items: start;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #gift-ideas .engraving-placeholder {
    width: 100%;
    max-width: 300px;
  }

  #gift-ideas .engraving-placeholder-media {
    aspect-ratio: 4 / 3;
    max-height: min(24dvh, 220px);
  }

  #gift-ideas + #pricing {
    margin-top: 0;
  }
}

@media (min-width: 1280px) and (max-height: 760px) {
  #engraving {
    padding-top: calc(var(--desktop-nav-visible-h) + 0.9rem);
    padding-bottom: 1.35rem;
  }

  #engraving .engraving-media {
    max-height: min(23dvh, 185px);
  }

  #gift-ideas {
    padding-top: calc(var(--desktop-nav-visible-h) + 0.75rem);
    padding-bottom: 1.5rem;
  }

  #gift-ideas .engraving-placeholder {
    max-width: 270px;
  }

  #gift-ideas .engraving-placeholder-media {
    max-height: min(22dvh, 170px);
  }
}

/* Bilder vollständig anzeigen, Beschriftungen außerhalb der Bildfläche halten. */
#engraving .engraving-media {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: visible;
  background: #fffdf8;
}

#engraving .engraving-status {
  position: static;
  align-self: flex-start;
  order: -1;
  max-width: 100%;
  line-height: 1.4;
}

.nav-logo { text-decoration: none; }
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--cream);
  color: var(--walnut-dark);
  border-radius: var(--radius);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.lang-dropdown { visibility: hidden; left: 0; right: auto; transform-origin: top left; }
.lang-switcher.open .lang-dropdown { visibility: visible; }
.footer-copy, .footer-tagline { color: rgba(245,237,224,0.78); }
.contact-item { overflow-wrap: anywhere; min-width: 0; }
.form-group { min-width: 0; }

@media (max-width: 1279px) {
  .nav-links {
    visibility: hidden;
    overflow-y: auto;
    padding: calc(var(--nav-h) + 1rem) 1rem max(1rem, env(safe-area-inset-bottom));
    justify-content: flex-start;
    gap: clamp(0.25rem, 1.5svh, 1rem);
  }
  .nav-links.open { visibility: visible; }
  .nav-link { min-height: 44px; font-size: 1rem; padding: 0.7rem 1rem; }
  .lang-current { min-height: 44px; }
  .hamburger { min-width: 44px; min-height: 44px; justify-content: center; }
  .hero-title { font-size: clamp(2.5rem, 9vw, 4rem); overflow-wrap: anywhere; }
  .form-group input, .form-group select, .form-group textarea { font-size: 1rem; }
  .gallery-grid { columns: 2; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .gallery-grid { columns: 1; }
  .process-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 1280px) {
  .nav-logo span:last-child { display: inline; }
  .nav-link { font-size: 0.72rem; letter-spacing: 0.03em; padding-inline: 0.45rem; }
  #engraving .engraving-card-body p,
  #gift-ideas .engraving-placeholder-copy p { font-size: 0.9rem; line-height: 1.55; }
  .hero-title { overflow-wrap: anywhere; }
}

#engraving .engraving-media img {
  width: auto;
  max-width: min(100%, 310px);
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 480px) {
  #engraving .engraving-media {
    height: auto;
    max-height: none;
    padding: 0.75rem;
  }

  #engraving .engraving-media img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 230px;
  }
}

/* Einheitliche Bildflächen und ruhige Oberflächen für die Produktpräsentation. */
.section:not(.hero) { border-top: 1px solid rgba(74, 41, 18, 0.08); }
.section-label { font-weight: 500; color: var(--walnut); }
.section-header { max-width: 780px; margin-inline: auto; }
.section-sub { max-width: 64ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.hero-actions .btn-primary { min-height: 48px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  color: var(--cream);
  border: 1px solid rgba(242, 234, 220, 0.45);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(242,234,220,0.1); border-color: var(--maple); }
.hero-sub { color: rgba(242,234,220,0.9); }
.hero-eyebrow { color: var(--maple); letter-spacing: 0.17em; }

.gallery-grid {
  display: grid;
  columns: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.gallery { min-height: calc(100svh + var(--anchor-overlap)); }
.gallery-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  background: #f8f3eb;
  border: 1px solid rgba(74,41,18,0.13);
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(74,41,18,0.035);
}
.gallery-item:hover { border-color: rgba(139,94,60,0.4); transform: translateY(-3px); }
.gallery-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(220px, 23vw, 290px);
  max-height: none;
  padding: 1rem;
  background: #f5efe5;
  cursor: default;
}
.gallery-img .img-placeholder {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 3px;
}
.gallery-img:hover .img-placeholder { filter: none; }
.gallery-overlay { display: none; }
.gallery-caption { flex: 1; min-height: 90px; padding: 1rem 1.2rem; border-top: 1px solid rgba(74,41,18,0.08); }
.gallery-caption strong { font-size: 1.3rem; line-height: 1.2; margin-bottom: 0.35rem; }
.gallery-caption em { font-size: 0.86rem; line-height: 1.5; }
.gallery-filters { gap: 0.65rem; margin-bottom: 1rem; }
.filter-btn { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 44px; padding: 0.55rem 1rem; font-size: 0.72rem; }
.filter-count { display: grid; place-items: center; min-width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(107,62,38,0.09); font-size: 0.7rem; }
.filter-btn.active .filter-count, .filter-btn:hover .filter-count { background: rgba(242,234,220,0.16); }
.gallery-results { max-width: 1200px; margin: 0 auto 1rem; color: var(--text-muted); font-size: 0.8rem; }

.process-photo { display: flex; flex-direction: column; border: 1px solid rgba(74,41,18,0.12); background: #f8f3eb; border-radius: 12px; }
.process-photo img { height: clamp(240px, 28vw, 340px); padding: 1rem; object-fit: contain; }
.process-photo figcaption { position: static; margin: 0; padding: 1rem 1.2rem; background: transparent; color: var(--walnut-dark); font-weight: 500; border-top: 1px solid rgba(74,41,18,0.08); }
.process-photo:hover img { filter: none; }
.about-img-frame::after { background: var(--linen); border-radius: 10px; }
.about-img-placeholder { border-radius: 10px; }

#gift-ideas .engraving-placeholder-grid { max-width: none; gap: 1.5rem; align-items: stretch; justify-items: stretch; }
#gift-ideas .engraving-placeholder { max-width: none; display: flex; flex-direction: column; background: #f8f3eb; border: 1px solid rgba(74,41,18,0.13); box-shadow: 0 3px 14px rgba(74,41,18,0.035); border-radius: 12px; }
#gift-ideas .gift-photo {
  height: clamp(200px, 21vw, 260px);
  max-height: none;
  aspect-ratio: auto;
  padding: 1rem;
  background: #f5efe5;
  border-bottom: 1px solid rgba(74,41,18,0.08);
}
.gift-photo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
#gift-ideas .engraving-placeholder-copy { flex: 1; padding: 1.25rem; }
#gift-ideas .engraving-placeholder-copy h3 { font-size: 1.4rem; line-height: 1.15; }
#gift-ideas .engraving-placeholder-copy p { font-size: 0.92rem; line-height: 1.65; }
#gift-ideas .engraving-showcase { max-width: 1180px; }
#engraving .engraving-card { border-radius: 12px; box-shadow: 0 3px 14px rgba(74,41,18,0.04); }
#engraving .engraving-card.recommended { transform: none; }

.pricing { background: #38291c; }
.pricing-card { background: rgba(242,234,220,0.045); border-color: rgba(242,234,220,0.2); border-radius: 12px; }
.pricing-card.featured { transform: none; background: rgba(196,150,74,0.09); border-color: rgba(232,201,154,0.5); }
.pricing-wood-badge { color: var(--maple); line-height: 1; }
.pricing-popular { top: 1rem; right: 1rem; left: auto; transform: none; border-radius: 4px; letter-spacing: 0.04em; }
.pricing .section-sub, .pricing-desc, .pricing-note { color: rgba(242,234,220,0.85); }
.about-body p, .maint-step p, .pricing-desc, .contact-form-heading p { font-size: 0.95rem; line-height: 1.65; }
.maint-icon { display: none; }
.maint-step { border-radius: 12px; }
.contact-form-card { border-radius: 12px; box-shadow: 0 3px 18px rgba(74,41,18,0.05); }
.contact-item { border-radius: 10px; border-color: rgba(74,41,18,0.14); background: rgba(248,243,235,0.65); }
.contact-icon { color: var(--walnut); }
.form-group input, .form-group select, .form-group textarea { border-radius: 6px; background: #faf6ef; }
.contact-submit { border-radius: 8px; font-weight: 500; }

@media (min-width: 1280px) {
  .nav-link { font-size: 0.74rem; }
  #navbar.scrolled { background: rgba(242,234,220,0.97); }
}
@media (max-width: 1279px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #navbar.menu-open { background: #30251b; }
  .process-photo img { height: 280px; }
  #gift-ideas .gift-photo { height: 240px; }
  .hero-actions { max-width: 100%; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-img { height: 280px; }
  .gallery-filters { justify-content: flex-start; }
  .filter-btn { letter-spacing: 0.025em; padding-inline: 0.8rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a { width: 100%; text-align: center; justify-content: center; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 3.75rem); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item:hover { transform: none; }
}

@media (min-width: 900px) {
  #about .about-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: start;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: 1100px;
  }

  #about .about-img-col {
    justify-self: center;
    margin-top: 2.25rem;
  }

  #about .about-img-frame {
    width: 220px;
    max-width: 100%;
    margin: 0;
  }
}

@media (min-width: 900px) and (max-width: 1279px) {
  #about { min-height: 100svh; }
}
