/* The shape changes direction while the label stays still. */
.button {
  --button-curve: clamp(30px, 2.8vw, 56px);
  border-radius: 4px var(--button-curve) 4px 4px;
  box-shadow: 0 5px 15px rgb(15 44 31 / 19%), 0 2px 4px rgb(15 44 31 / 7%);
  transition: border-radius 420ms cubic-bezier(.22,.7,.25,1),
    background-color 220ms ease, border-color 220ms ease,
    color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.button:focus-visible {
  border-radius: var(--button-curve) 4px 4px 4px;
  background: #1c1c1e;
  border-color: #1c1c1e;
  color: var(--cream);
}
.button:active { transform: translateY(1px); }
.service-card, .gallery-item, .contact form {
  box-shadow: 0 9px 26px rgb(20 58 39 / 14%), 0 3px 7px rgb(20 58 39 / 5%);
}
.gallery-item {
  transition: box-shadow 240ms ease, transform 240ms ease;
}
.service-choices span {
  box-shadow: 0 3px 9px rgb(20 58 39 / 11%);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.icon { display: block; width: 24px; height: 24px; flex: none; pointer-events: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close, .lightbox-prev, .lightbox-next { box-shadow: 0 3px 10px rgb(15 44 31 / 12%); transition: background-color 200ms ease; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background-color: #1c1c1e; }
#lightbox button {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0;
}
#lightbox button .icon { width: 22px; height: 22px; margin: 0; flex-shrink: 0; }
#lightbox figure, #lightbox-image {
  border-radius: 0;
  clip-path: none;
  mask: none;
  -webkit-mask: none;
}
#lightbox-image { object-fit: contain; height: auto; }
.menu-toggle .icon { width: 26px; height: 26px; color: var(--green); }
.gallery-item::after { content: none; }
.gallery-zoom {
  position: absolute; bottom: 1vw; right: 1vw;
  display: grid; place-items: center;
  width: clamp(32px, 2.6vw, 50px); height: clamp(32px, 2.6vw, 50px);
  border-radius: 50%; background: var(--cream); color: var(--green);
  box-shadow: 0 2px 8px rgb(20 58 39 / 12%);
  opacity: 0; transition: opacity 200ms ease;
}
.gallery-zoom .icon { width: 65%; height: 65%; }
.gallery-item:focus-visible .gallery-zoom { opacity: 1; }
footer .brand img { filter: none; }
footer nav { flex-wrap: wrap; }
footer nav a { overflow-wrap: anywhere; }

/* Mint and pink fields stay visible and move continuously. */
.hero {
  --hero-green: #1e4635;
  --hero-pink: #feb7ff;
  --hero-mint: #c0edce;
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(115deg, var(--hero-mint) 0%, var(--hero-mint) 48%, var(--hero-pink) 100%);
}
.hero h1, .hero .eyebrow { color: var(--hero-green); }
.hero::before, .hero::after { content: none; }
.hero > :not(.hero-colors) { position: relative; z-index: 1; }
.hero-colors { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-field {
  position: absolute; display: block; width: 88%; height: 145%;
  left: var(--field-x); top: var(--field-y);
  background: radial-gradient(ellipse at center, var(--field-color) 0%, var(--field-color) 8%, transparent 66%);
  transform: translate(-50%, -50%);
  will-change: transform;
}
.hero-field-mint {
  --field-color: var(--hero-mint); --field-x: 28%; --field-y: 27%;
  --orbit-radius: clamp(28px, 8vw, 160px); --orbit-start: -30deg; --orbit-duration: 18s;
  width: 96%; height: 155%; opacity: .95;
}
.hero-field-pink {
  --field-color: var(--hero-pink); --field-x: 73%; --field-y: 53%;
  --orbit-radius: clamp(32px, 10vw, 200px); --orbit-start: 40deg; --orbit-duration: 20s;
  width: 84%; height: 140%; opacity: .82;
}
/* Reveal once as each part enters the viewport; no-JS content stays visible. */
.process-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1250ms ease, transform 1250ms cubic-bezier(.22,.7,.25,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.process-reveal.is-visible { opacity: 1; transform: translateY(0); }
.process > h2.process-reveal { --reveal-delay: 160ms; }
.process-grid > :nth-child(2) { --reveal-delay: 320ms; }
.process-grid > :nth-child(3) { --reveal-delay: 640ms; }
.process-grid > :nth-child(4) { --reveal-delay: 960ms; }
@media (max-width: 760px) {
  .process-grid > .process-reveal { --reveal-delay: 0ms; }
  .process-grid > .process-reveal:nth-child(even) { --reveal-delay: 320ms; }
}
@media (max-width: 380px) {
  .process-grid > .process-reveal:nth-child(even) { --reveal-delay: 0ms; }
}
@media (hover: hover) and (pointer: fine) {
  .button:hover, .button.outline:hover {
    background: #1c1c1e; border-color: #1c1c1e; color: var(--cream);
    border-radius: var(--button-curve) 4px 4px 4px;
    box-shadow: 0 9px 23px rgb(15 44 31 / 25%);
  }
  .gallery-item:hover { transform: translateY(-2px); box-shadow: 0 13px 32px rgb(20 58 39 / 21%); }
  .gallery-item:hover .gallery-zoom { opacity: 1; }
  .service-choices label:hover span { background: #1c1c1e; border-color: #1c1c1e; color: var(--cream); }
}
@media (max-width: 760px) {
  .gallery-zoom { bottom: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .process-reveal { opacity: 1; transform: none; transition: none; }
  .button, .gallery-item, .service-choices span, .gallery-zoom { transition: none; }
}
