/** Shopify CDN: Minification failed

Line 141:0 Unexpected "}"
Line 152:0 Unexpected "}"
Line 154:2 Unexpected "0%"
Line 155:2 Unexpected "2%"
Line 157:2 Unexpected "58%"
Line 159:2 Unexpected "85%"
Line 161:2 Unexpected "92%"
Line 163:2 Unexpected "93%"
Line 164:2 Unexpected "100%"

**/
/* ============================================================
   Maddie & Ko — engraving.css
   Styles for the laser engraving page only.
   Inherits color variables from theme.css.
   ============================================================ */

:root { --burn: #5c3a26; }

/* ===== Hero ===== */
.engraving-hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: var(--saddle-deep);
  color: var(--cream);
  z-index: 2;
}
.engraving-hero-grain {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,138,138,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(245,239,228,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(138,147,122,0.10) 0%, transparent 60%);
}
.engraving-hero-wood {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(94deg, transparent 0px, transparent 14px, rgba(245,239,228,0.06) 14px, rgba(245,239,228,0.06) 15px),
    repeating-linear-gradient(91deg, transparent 0px, transparent 38px, rgba(245,239,228,0.04) 38px, rgba(245,239,228,0.04) 41px);
}
.engraving-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.engraving-hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.engraving-hero-eyebrow::before,
.engraving-hero-eyebrow::after {
  content: '';
  height: 1px;
  flex: 0 1 40px;
  background: var(--rose);
  opacity: 0.5;
}
.engraving-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.engraving-hero h1 em {
  font-family: 'Allura', cursive;
  font-style: normal;
  color: #f0d4d4;
  font-size: 1.2em;
  font-weight: 400;
}
.engraving-hero-sub {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 480px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.engraving-hero-visual {
  position: relative;
  aspect-ratio: 1;
  background: transparent;
  border: 1px solid rgba(245,239,228,0.1);
  overflow: hidden;
}
.engraving-hero-visual .hero-img { width: 100%; height: 100%; object-fit: cover; }
.wood-grain {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(89deg,
      transparent 0px, transparent 18px,
      rgba(46,27,16,0.4) 18px, rgba(46,27,16,0.4) 19px),
    repeating-linear-gradient(91deg,
      transparent 0px, transparent 48px,
      rgba(46,27,16,0.25) 48px, rgba(46,27,16,0.25) 50px);
  opacity: 0.7;
}
/* ===== Engraving animation ===== */
.engrave-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: visible;
  -webkit-clip-path: inset(0 100% 0 0);
          clip-path: inset(0 100% 0 0);
  animation: reveal-text 14s ease-in-out infinite;
}

@keyframes reveal-text {
  0%    { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); opacity: 0; }
  2%    { opacity: 1; }
  3%    { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); opacity: 1; }
  58%   { -webkit-clip-path: inset(0 0% 0 0);   clip-path: inset(0 0% 0 0);   opacity: 1; }
  85%   { -webkit-clip-path: inset(0 0% 0 0);   clip-path: inset(0 0% 0 0);   opacity: 1; }
  95%   { -webkit-clip-path: inset(0 0% 0 0);   clip-path: inset(0 0% 0 0);   opacity: 0; }
  100%  { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); opacity: 0; }
}
}

.engrave-text {
  position: relative;
  text-align: center;
  color: rgba(20, 8, 4, 0.85);
  text-shadow: 0 0 1px rgba(255, 120, 40, 0.5);
  opacity: 0;
  animation: text-fade 14s ease-in-out infinite;
  z-index: 2;
}
}
@keyframes mask-slide {
  0%        { transform: translateX(0%);    opacity: 1; }
  2%        { transform: translateX(0%);    opacity: 1; }
  /* laser sweeps — mask slides right */
  58%       { transform: translateX(100%);  opacity: 1; }
  /* hold revealed */
  85%       { transform: translateX(100%);  opacity: 1; }
  /* fade out everything */
  92%       { transform: translateX(100%);  opacity: 0; }
  /* reset instantly while invisible */
  93%       { transform: translateX(0%);    opacity: 0; }
  100%      { transform: translateX(0%);    opacity: 0; }
}

@keyframes text-fade {
  0%        { opacity: 0; }
  2%        { opacity: 1; }
  85%       { opacity: 1; }
  92%       { opacity: 0; }
  100%      { opacity: 0; }
}

.engrave-script {
  font-family: 'Allura', cursive;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.engrave-small {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-top: 1rem;
  opacity: 0.7;
}

/* The glowing tip that rides along the leading edge of the reveal */
.laser-tip {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 240, 180, 1);
  filter:
    drop-shadow(0 0 6px rgba(255, 200, 80, 1))
    drop-shadow(0 0 14px rgba(255, 120, 40, 0.9))
    drop-shadow(0 0 28px rgba(255, 60, 20, 0.7));
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: tip-trace 14s ease-in-out infinite;
  z-index: 5;
}

@keyframes tip-trace {
  0%, 2%    { opacity: 0; left: 0%; }
  3%        { opacity: 1; left: 0%; }
  58%       { opacity: 1; left: 100%; }
  62%       { opacity: 0; left: 100%; }
  100%      { opacity: 0; left: 0%; }
}

/* Vertical laser beam from above, fades on/off with the tip */
.laser-beam-anim {
  position: absolute;
  top: 0;
  left: 0%;
  width: 2px;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(255, 80, 80, 0) 0%,
    rgba(255, 120, 80, 0.5) 30%,
    rgba(255, 200, 80, 0.95) 70%,
    rgba(255, 255, 200, 1) 100%);
  filter: drop-shadow(0 0 6px rgba(255, 150, 60, 0.8));
  transform-origin: top center;
  opacity: 0;
  animation: beam-on 14s ease-in-out infinite;
  z-index: 5;
}

@keyframes beam-on {
  0%, 2%    { opacity: 0; left: 0%; }
  3%        { opacity: 0.9; left: 0%; }
  58%       { opacity: 0.9; left: 100%; }
  62%, 100% { opacity: 0; left: 100%; }
}

/* Smoke puff drifting up from the laser tip */
.smoke-anim {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 239, 228, 0.5) 0%, transparent 70%);
  filter: blur(10px);
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: smoke-puff 14s ease-in-out infinite;
  z-index: 4;
}

@keyframes smoke-puff {
  0%, 2%    { opacity: 0; left: 0%; transform: translate(-50%, -50%); }
  6%        { opacity: 0.5; }
  20%       { left: 25%; transform: translate(-50%, -120%); opacity: 0.3; }
  40%       { left: 50%; transform: translate(-50%, -50%); opacity: 0.5; }
  60%       { left: 100%; opacity: 0.4; transform: translate(-50%, -120%); }
  70%, 100% { opacity: 0; }
}
/* ===== How it works ===== */
.how {
  background: var(--bone);
  padding: 6rem 2rem;
  position: relative;
  z-index: 2;
}
.how-inner { max-width: 1400px; margin: 0 auto; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--saddle-deep);
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-weight: 400;
}
.step h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--saddle-deep);
  margin-bottom: 0.75rem;
}
.step p {
  color: var(--saddle);
  font-size: 0.95rem;
  max-width: 300px;
  margin: 0 auto;
}

/* ===== Gallery ===== */
.gallery-section {
  background: var(--saddle-deep);
  color: var(--cream);
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.gallery-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,138,138,0.18) 0%, transparent 60%);
  border-radius: 50%;
}
.gallery-section .section-title { color: var(--cream); }
.gallery-section .section-title em { color: #f0d4d4; }
.gallery-section .section-eyebrow { color: var(--rose); }
.gallery-section .section-sub { color: rgba(245,239,228,0.75); }
.gallery-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #5c3a26, #3a2415);
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.5s;
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery-item.large { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
.gallery-item .gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.gallery-item .wood-tex {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(89deg, transparent 0, transparent 16px, rgba(46,27,16,0.4) 16px, rgba(46,27,16,0.4) 17px),
    repeating-linear-gradient(91deg, transparent 0, transparent 38px, rgba(46,27,16,0.25) 38px, rgba(46,27,16,0.25) 40px);
  opacity: 0.7;
}
.gallery-item .label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(20, 10, 5, 0.65);
  text-align: center;
  padding: 1.5rem;
  z-index: 2;
}
.gallery-item .label .title {
  font-family: 'Allura', cursive;
  font-size: 2rem;
  line-height: 0.9;
  white-space: pre-line;
}
.gallery-item .label .small {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: pre-line;
}
.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(46,27,16,0.85));
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transform: translateY(100%);
  transition: transform 0.4s;
  z-index: 3;
}
.gallery-item:hover .caption { transform: translateY(0); }
.gallery-item .caption strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0;
  margin-bottom: 0.2rem;
}

/* ===== Quote section ===== */
.quote-section {
  background: var(--cream);
  padding: 7rem 2rem;
  position: relative;
  z-index: 2;
}
.quote-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.quote-left .section-title { text-align: left; }
.quote-left .section-eyebrow { text-align: left; }
.quote-left p {
  color: var(--saddle);
  margin: 1.5rem 0;
  line-height: 1.8;
  max-width: 440px;
}
.quote-features {
  list-style: none;
  margin-top: 2rem;
}
.quote-features li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--saddle);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.quote-features li:last-child { border-bottom: 1px solid var(--line); }
.quote-features li::before {
  content: '✦';
  color: var(--rose-deep);
  font-size: 0.8rem;
}
.quote-form {
  background: var(--bone);
  padding: 2.5rem;
  border: 1px solid var(--line);
}
.quote-form h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--saddle-deep);
  margin-bottom: 0.5rem;
}
.quote-form > p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}
.quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.quote-form label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--saddle-deep);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 300;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none;
  border-color: var(--saddle);
}
.quote-form textarea { resize: vertical; min-height: 90px; }
.quote-form .field { margin-bottom: 0.9rem; }
.submit-btn {
  width: 100%;
  padding: 1.05rem;
  background: var(--saddle-deep);
  color: var(--cream);
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 1rem;
}
.submit-btn:hover { background: var(--rose-deep); }

/* ===== Materials ===== */
.materials {
  background: var(--bone);
  padding: 6rem 2rem;
  position: relative;
  z-index: 2;
}
.materials-inner { max-width: 1400px; margin: 0 auto; }
.materials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.material {
  aspect-ratio: 1;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: transform 0.3s, border-color 0.3s;
}
.material:hover {
  transform: translateY(-3px);
  border-color: var(--rose);
}
.material-icon {
  width: 36px;
  height: 36px;
  background: var(--saddle-deep);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.material-name {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  color: var(--saddle-deep);
}
.material-eg {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .engraving-hero-inner { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .materials-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-inner { grid-template-columns: 1fr; gap: 3rem; }
  .how-steps { grid-template-columns: 1fr; gap: 3rem; }
  .how-steps::before { display: none; }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide, .gallery-item.large { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
  .quote-form .form-row { grid-template-columns: 1fr; }
}