@font-face { font-family: Lazydog; src: local('Lazydog'); font-display: swap; }
@font-face { font-family: Knewave; src: url('knewave.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Schoolbell; src: url('schoolbell.ttf') format('truetype'); font-display: swap; }

:root {
  color-scheme: dark;
  --green: #2f625c;
  --yellow: #fef2a5;
  --cream: #fff8cb;
  --ink: #214843;
  --line: #fef2a557;
  --display: Lazydog, Knewave, Arial, sans-serif;
  background: var(--green);
  color: var(--cream);
  font: 100%/1.6 Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, p, figure { margin: 0; }
h1, h2 { color: var(--yellow); }
h1 { font: 400 clamp(3.2rem, 8.2vw, 8rem)/1.04 var(--display); text-transform: uppercase; letter-spacing: .015em; }
.period { color: var(--cream); }
.wrap { width: min(100% - 5rem, 78rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; padding: .75rem; background: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.hand { font: 400 clamp(1.45rem, 2.7vw, 2.2rem)/1.2 Schoolbell, cursive; }
.display-heading { font: 400 clamp(2rem, 4.5vw, 4rem)/1.1 var(--display); text-transform: uppercase; }
.eyebrow { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow { color: var(--yellow); margin-bottom: 1.25rem; }
.eyebrow span { margin-inline: .3em; }

.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header { min-height: 6rem; border-bottom: 1px solid var(--line); }
.site-footer { min-height: 6.5rem; border-top: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; color: var(--yellow); text-decoration: none; white-space: nowrap; font: 400 1.25rem/1 Schoolbell, cursive; }
.logo, .frog-art, .mushroom-art, .gallery-moth { display: block; background: currentColor; mask: var(--art) center / contain no-repeat; }
.logo { --art: url('/Brand/SKINS_LOGO.svg.svg'); width: 3.65rem; aspect-ratio: 1; flex: none; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.75rem); }
nav a, .header-social { text-decoration: none; font-size: .925rem; font-weight: bold; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
nav a[aria-current], .header-social { color: var(--yellow); }
.header-social-label { position: relative; display: inline-block; white-space: nowrap; }
.header-social-label span { margin-left: .25rem; }
.header-social:hover .header-social-label::after { content: ''; position: absolute; inset: auto 0 .1em; border-bottom: 1px solid currentColor; }

.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(2rem, 5.8vw, 6rem); padding-block: clamp(3rem, 7vw, 6.75rem); }
.hero-note { margin-top: 1.5rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .82rem 1.25rem; min-height: 3rem; border: 1px solid var(--yellow); background: var(--yellow); color: var(--ink); border-radius: .3rem; font-size: .925rem; font-weight: bold; text-decoration: none; text-align: center; }
.button:hover { background: var(--cream); }
.button:focus-visible { outline-color: var(--yellow); }
.button.outline { background: transparent; color: var(--yellow); }
.button.outline:hover { background: var(--yellow); color: var(--ink); }
.text-link { font-size: .925rem; font-weight: bold; }
.text-link:hover { color: var(--yellow); }

.frog-card { padding: .7rem; background-color: var(--yellow); background-image: radial-gradient(#2f625c24 .6px, transparent .8px); background-size: 5px 5px; color: var(--ink); border-radius: .65rem; box-shadow: .5rem .5rem 0 var(--ink); transform: rotate(-2deg); }
.card-inner { position: relative; display: grid; place-items: center; border: 1px solid currentColor; border-radius: .35rem; aspect-ratio: 1.14; }
.frog-art { --art: url('/Brand/Frog.svg'); width: 84%; height: 68%; transform: rotate(7deg); }
.mushroom-art { --art: url('/Brand/Mushhroom.svg'); position: absolute; width: 20%; aspect-ratio: 1; bottom: 2%; right: 6%; transform: rotate(11deg); }
.spark { position: absolute; font-size: clamp(1.5rem, 3.6vw, 3.5rem); line-height: 1; }
.spark-top { top: 9%; left: 12%; }
.spark-side { right: 12%; top: 11%; }
.spark-bottom { bottom: 10%; left: 21%; font-size: clamp(1rem, 2vw, 2rem); }
.contact-strip { background: var(--ink); border-block: 1px solid var(--line); }
.contact-inner { padding-block: 1.75rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.contact-inner p { margin-top: .35rem; }
body:has(.contact-strip) .site-footer { border-top: 0; }

.home-intro, .about-layout, .gallery-layout, .booking-layout { padding-block: clamp(3rem, 7vw, 6.75rem); }
.home-intro { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 29rem); justify-content: center; align-items: center; gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.home-intro p, .about-copy p { margin-top: .85rem; }
.home-intro img, .about-portrait, .studio-map { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: .45rem; }
.about-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.about-layout h1, .gallery-layout h1, .booking-layout h1 { font-size: clamp(3.2rem, 7vw, 7rem); }
.about-copy h2 { margin-top: 1.75rem; }
.about-copy h2 + p { margin-top: .5rem; max-width: 34rem; }
.about-portrait { max-width: 29rem; justify-self: center; }
.studio-section { background: var(--ink); border-top: 1px solid var(--line); }
.studio-layout { display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 24rem); justify-content: space-between; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 6vw, 5rem); }
.studio-art { display: block; width: min(100%, 26rem); height: auto; margin-top: -1.5rem; }
.studio-layout address { font-style: normal; margin-top: 1rem; }
.booking-contact { margin-bottom: 2.25rem; }
.booking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.booking-card { border: 1px solid var(--line); border-radius: .45rem; background: var(--ink); padding: clamp(1.25rem, 3vw, 2.5rem); }
.booking-steps, .piercing-details { display: grid; gap: 1.05rem; padding-left: 1.5rem; margin: 1.5rem 0 0; }
.booking-steps li::marker, .piercing-details li::marker, .booking-price { color: var(--yellow); font-weight: 700; }
.booking-steps h3 { color: var(--yellow); margin: 0 0 .3rem; }
.booking-price { font-size: 1.25rem; margin-top: 1.5rem; }
.booking-terms { margin-top: 1.25rem; }
.gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.gallery-intro { margin-top: 1.5rem; }
.gallery-moth { --art: url('/Brand/Moth.svg'); color: var(--yellow); width: clamp(7rem, 24vw, 20rem); aspect-ratio: 1.42; flex-shrink: 0; margin-inline-end: clamp(0rem, 5vw, 4rem); transform: rotate(-10deg); }
.section-heading { margin-block: 1.75rem .9rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-grid figure { border: 1px solid var(--line); border-radius: .45rem; overflow: hidden; }
.photos img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-wide { grid-column: 1 / -1; }
.photos .photo-wide img { aspect-ratio: 2.35; object-position: center 54%; }
.photos a:focus-visible { display: block; outline-offset: -5px; }

@media (max-width: 800px) {
  .wrap { width: calc(100% - 3rem); }
  .hero, .about-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.5rem, 12vw, 6.5rem); }
  .frog-card { width: min(100% - .75rem, 31rem); justify-self: center; }
  .booking-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 0 .75rem; padding-block: .4rem; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; gap: clamp(.75rem, 4vw, 1.5rem); }
  nav a, .header-social { display: inline-flex; align-items: center; min-height: 2.75rem; }
}

@media (max-width: 580px) {
  .gallery-header { position: relative; }
  .gallery-header .eyebrow { padding-inline-end: 4rem; }
  .gallery-moth { position: absolute; top: 0; right: .3rem; width: 3.5rem; margin: 0; }
  .wrap { width: calc(100% - 2rem); }
  .site-header .logo, .site-footer .logo { width: 2.6rem; }
  .wordmark { font-size: 1.1rem; }
  .site-footer { flex-wrap: wrap; gap: .25rem 1rem; padding-block: .85rem; }
  .home-intro, .studio-layout { grid-template-columns: 1fr; }
  .home-intro img, .studio-map { max-width: 25rem; justify-self: center; }
  .photos .photo-wide img { aspect-ratio: 1.5; }
}
