/* Alltime Hair Studio — responsive, accessible, performance-focused styles */
:root {
  --color-bg: #f6f3ee;
  --color-surface: #ffffff;
  --color-text: #24211f;
  --color-muted: #665f59;
  --color-dark: #171513;
  --color-dark-soft: #27231f;
  --color-accent: #b88955;
  --color-accent-light: #ead7be;
  --color-border: rgba(36, 33, 31, 0.14);
  --shadow-sm: 0 8px 24px rgba(24, 20, 17, 0.08);
  --shadow-lg: 0 24px 64px rgba(24, 20, 17, 0.2);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1160px;
  --header-height: 72px;
  --body-size: clamp(1.0625rem, 1.01rem + 0.18vw, 1.125rem);
  --section-space: clamp(4.5rem, 8vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--color-accent);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #f0b56f;
  outline-offset: 3px;
}

::selection {
  background: var(--color-accent-light);
  color: var(--color-dark);
}

h1,
h2,
h3,
p,
ul,
dl,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

p {
  margin-bottom: 1.2rem;
}

small {
  font-size: 0.875rem;
}

address {
  font-style: normal;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  translate: 0 -160%;
  border-radius: 8px;
  background: #fff;
  color: #111;
  padding: 10px 16px;
  font-weight: 700;
  transition: translate 0.2s ease;
}

.skip-link:focus {
  translate: 0 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  min-height: var(--header-height);
  max-height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header,
.site-header:has(.nav-links.is-open) {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(23, 21, 19, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-nav {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.brand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: 120px;
  max-width: 120px;
  transform: translate(-50%, -50%);
  text-decoration: none;
}

.brand img {
  width: 100%;
  max-width: none;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, max-content)) 148px repeat(2, minmax(96px, max-content));
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  min-width: 0;
}

.nav-links li:nth-child(3) {
  grid-column: 4;
}

.nav-links li:nth-child(4) {
  grid-column: 5;
}

.nav-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 15px;
  font-size: 0.9375rem;
  font-weight: 650;
  justify-content: center;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  min-height: max(760px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-color: #26211d;
  background-image:
    linear-gradient(180deg, rgba(11, 10, 9, 0.44) 0%, rgba(11, 10, 9, 0.58) 45%, rgba(11, 10, 9, 0.93) 100%),
    url("../images/banner/1.jpg");
  background-position: center;
  background-size: cover;
}

@supports (background-image: image-set(url("../images/banner/1.webp") type("image/webp"))) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(11, 10, 9, 0.44) 0%, rgba(11, 10, 9, 0.58) 45%, rgba(11, 10, 9, 0.93) 100%),
      image-set(url("../images/banner/1.webp") type("image/webp"), url("../images/banner/1.jpg") type("image/jpeg"));
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: clamp(3.25rem, 7vw, 6rem);
}

.hero-copy {
  max-width: 850px;
  color: #fff;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c99f;
}

#hero-title {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: clamp(0.4rem, 0.75vw, 0.7rem);
  margin-bottom: 1.15rem;
  font-size: clamp(3rem, 5.6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  white-space: nowrap;
  text-wrap: nowrap;
}

.hero-title-main {
  flex: 0 0 auto;
}

.hero-title-sub {
  flex: 0 0 auto;
  font-size: clamp(0.72rem, 0.85vw, 0.98rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.025em;
  opacity: 0.82;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 1.2vw + 0.8rem, 1.38rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 1em;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button-primary {
  background: #fff;
  color: var(--color-dark);
}

.button-primary:hover {
  background: var(--color-accent-light);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.button-dark {
  background: var(--color-dark);
  color: #fff;
}

.button-dark:hover {
  background: #3a332d;
}

.button-line {
  border-color: #087a3f;
  background: #087a3f;
  color: #fff;
}

.button-line:hover {
  border-color: #056532;
  background: #056532;
}

.line-text-link {
  color: #087a3f;
  font-weight: 700;
  text-decoration-color: rgba(8, 122, 63, 0.34);
}

.info-card .line-text-link {
  color: #b9f1cd;
  text-decoration-color: rgba(185, 241, 205, 0.45);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(20, 18, 16, 0.54);
  color: #fff;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.info-card h2 {
  margin-bottom: 0.85rem;
  color: #f0c99f;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-card p,
.info-card address {
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1em;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.info-card p:last-child,
.info-card address:last-child {
  margin-bottom: 0;
}

.info-card a {
  text-decoration-color: rgba(255, 255, 255, 0.32);
}

.info-note {
  color: rgba(255, 255, 255, 0.64) !important;
  font-size: 0.9rem !important;
}

.hours-list {
  margin: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
}

.hours-list dt {
  font-weight: 650;
}

.hours-list dd {
  margin: 0;
  white-space: nowrap;
}

.section {
  position: relative;
  padding-block: var(--section-space);
  scroll-margin-top: var(--header-height);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
}

.section-heading-light {
  color: #fff;
}

.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.section-about {
  background: var(--color-bg);
}

.about-title {
  max-width: 18em;
  font-size: clamp(2.15rem, 3.5vw, 3.25rem);
  line-height: 1.32;
}

.about-title span {
  display: block;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(440px, 1.05fr);
  align-items: start;
  gap: clamp(2.75rem, 5.5vw, 5rem);
}

.about-copy {
  max-width: 38em;
}

.about-copy p {
  margin-bottom: 1.65rem;
  color: #504943;
  line-height: 1.9;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.studio-photo {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: #ddd4ca;
}

.studio-photo-featured {
  grid-column: 1 / -1;
}

.studio-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.studio-photo-featured img {
  aspect-ratio: 16 / 9;
}

.studio-photo:hover img {
  transform: scale(1.025);
}

.section-gallery {
  isolation: isolate;
  overflow: hidden;
  background-color: #1b1815;
  background-image:
    linear-gradient(rgba(20, 18, 16, 0.88), rgba(20, 18, 16, 0.9)),
    url("../images/store/2.jpg");
  background-position: center;
  background-size: cover;
}

@supports (background-image: image-set(url("../images/store/2.webp") type("image/webp"))) {
  .section-gallery {
    background-image:
      linear-gradient(rgba(20, 18, 16, 0.88), rgba(20, 18, 16, 0.9)),
      image-set(url("../images/store/2.webp") type("image/webp"), url("../images/store/2.jpg") type("image/jpeg"));
  }
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #322b25;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-decoration: none;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.work-card span {
  position: absolute;
  z-index: 1;
  inset: auto 18px 16px;
  font-size: 1.05rem;
  font-weight: 750;
}

.work-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) brightness(1.04);
}

.section-services {
  background: #fff;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(460px, 1.3fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.services-heading {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  margin-bottom: 0;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.service-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  border-bottom: 1px solid var(--color-border);
  padding: 15px 4px;
}

.service-name {
  min-width: 0;
  font-weight: 650;
}

.service-name small {
  display: inline-block;
  margin-left: 0.45rem;
  color: var(--color-muted);
  font-weight: 500;
}

.service-price {
  color: #744b28;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.section-contact {
  background-color: #eee8df;
  background-image:
    linear-gradient(rgba(246, 243, 238, 0.94), rgba(246, 243, 238, 0.94)),
    url("../images/store/8.jpg");
  background-position: center;
  background-size: cover;
}

@supports (background-image: image-set(url("../images/store/8.webp") type("image/webp"))) {
  .section-contact {
    background-image:
      linear-gradient(rgba(246, 243, 238, 0.94), rgba(246, 243, 238, 0.94)),
      image-set(url("../images/store/8.webp") type("image/webp"), url("../images/store/8.jpg") type("image/jpeg"));
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1.22fr);
  gap: 24px;
}

.contact-card,
.map-wrap {
  overflow: hidden;
  border: 1px solid rgba(36, 33, 31, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lg);
}

.contact-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-card address {
  margin-bottom: 2rem;
}

.contact-card address p {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 0.9rem;
  color: var(--color-muted);
}

.contact-card address strong {
  color: var(--color-text);
}

.contact-card address a {
  overflow-wrap: anywhere;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.line-connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: 18px;
  margin-top: 1.6rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.6rem;
}

.line-connect-copy strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.line-connect-copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.line-qr-link {
  display: block;
  overflow: hidden;
  width: 132px;
  border: 1px solid rgba(36, 33, 31, 0.12);
  border-radius: 12px;
  background: #fff;
  padding: 5px;
  box-shadow: var(--shadow-sm);
}

.line-qr-link img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.map-wrap {
  position: relative;
  min-height: 430px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.map-wrap.is-locked iframe {
  pointer-events: none;
}

.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  border: 0;
  background: rgba(22, 19, 17, 0.56);
  color: #fff;
  font-weight: 750;
  transition: background-color 0.2s ease;
}

.map-overlay:hover {
  background: rgba(22, 19, 17, 0.46);
}

.map-wrap:not(.is-locked) .map-overlay {
  display: none;
}

.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.footer-meta {
  min-width: 0;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9375rem;
}

.footer-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 0.9375rem;
}

.site-credit {
  margin-top: 5px !important;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.75rem !important;
  line-height: 1.65;
}

.site-credit a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: inherit;
  font-size: inherit;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: underline;
}

.footer-top-link {
  flex: 0 0 auto;
}

.back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: 24px;
  z-index: 900;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  translate: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(23, 21, 19, 0.9);
  color: #fff;
  font-size: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, translate 0.2s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.back-to-top.is-visible {
  translate: 0 0;
  opacity: 1;
  pointer-events: auto;
}

.mobile-actions {
  display: none;
}

.lightbox {
  width: min(94vw, 1100px);
  max-width: none;
  max-height: 92vh;
  margin: auto;
  overflow: visible;
  border: 0;
  border-radius: var(--radius-md);
  background: #111;
  color: #fff;
  padding: 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.lightbox p {
  margin: 0;
  padding: 12px 18px 16px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -12px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 2rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .brand {
    width: 104px;
    max-width: 104px;
  }

  .nav-toggle {
    position: relative;
    z-index: 3;
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(23, 21, 19, 0.97);
    padding: 0 20px;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease, visibility 0.3s;
  }

  .nav-links li,
  .nav-links li:nth-child(3),
  .nav-links li:nth-child(4) {
    grid-column: 1;
  }

  .nav-links.is-open {
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    padding-block: 14px 22px;
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    min-height: 52px;
    border-radius: 10px;
    padding-inline: 16px;
    font-size: 1rem;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-card:last-child {
    grid-column: 1 / -1;
  }

  .about-layout,
  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-heading {
    position: static;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .map-wrap,
  .map-wrap iframe {
    min-height: 390px;
  }
}

@media (max-width: 640px) {
  :root {
    --body-size: 1.0625rem;
    --section-space: 4.25rem;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .about-title {
    font-size: clamp(1.52rem, 6.55vw, 1.9rem);
    line-height: 1.45;
    letter-spacing: -0.035em;
  }

  .about-copy p {
    margin-bottom: 1.45rem;
    line-height: 1.85;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    background-position: 58% center;
  }

  .hero-inner {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 7.5rem;
  }

  #hero-title {
    gap: 0.38rem;
    font-size: clamp(2.2rem, 10.5vw, 2.85rem);
    letter-spacing: -0.052em;
  }

  .hero-title-sub {
    font-size: clamp(0.62rem, 2.75vw, 0.76rem);
    letter-spacing: 0.015em;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2.5rem;
  }

  .button {
    padding-inline: 16px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card:last-child {
    grid-column: auto;
  }

  .info-card {
    padding: 1.2rem;
  }

  .hours-list div {
    gap: 12px;
  }

  .studio-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .studio-photo-featured {
    grid-column: 1 / -1;
  }

  .work-grid {
    gap: 10px;
  }

  .work-card {
    border-radius: 14px;
  }

  .work-card span {
    inset: auto 12px 10px;
    font-size: 0.94rem;
  }

  .service-list li {
    gap: 12px;
    min-height: 64px;
    padding-block: 14px;
  }

  .service-name small {
    display: block;
    margin: 2px 0 0;
  }

  .service-price {
    font-size: 0.98rem;
  }

  .contact-card address p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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

  .line-connect {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.35rem;
    padding-top: 1.35rem;
  }

  .line-qr-link {
    display: none;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 340px;
  }

  .footer-inner {
    min-height: 132px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-bottom: 88px;
    text-align: center;
  }

  .footer-meta {
    width: 100%;
  }

  .site-credit {
    margin-top: 4px !important;
  }

  .back-to-top {
    right: 14px;
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .mobile-actions {
    position: fixed;
    inset: auto 0 0;
    z-index: 950;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(23, 21, 19, 0.94);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .mobile-actions a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
  }

  .mobile-actions a:first-child {
    background: #fff;
    color: var(--color-dark);
  }

  .mobile-actions .mobile-line-action {
    border-color: rgba(255, 255, 255, 0.18);
    background: #087a3f;
    color: #fff;
  }

  .lightbox {
    width: calc(100vw - 24px);
  }

  .lightbox-close {
    top: -14px;
    right: -4px;
  }
}

@media (max-width: 380px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .service-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-price {
    justify-self: start;
  }
}

@media (hover: none) {
  .studio-photo:hover img,
  .work-card:hover img,
  .button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .mobile-actions,
  .back-to-top,
  .map-overlay,
  .lightbox {
    display: none !important;
  }

  .hero {
    min-height: auto;
    background: #fff;
    color: #000;
  }

  .hero-copy,
  .info-card,
  .hero .eyebrow {
    color: #000;
  }

  .section {
    padding-block: 2rem;
  }
}

/* Bilingual navigation and English-language refinements */
.language-switch {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 4;
  display: inline-flex;
  min-width: 50px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.language-switch:hover,
.language-switch:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
}

.lang-en .nav-links a {
  letter-spacing: 0.025em;
}

.lang-en .about-title {
  max-width: 22em;
  letter-spacing: -0.035em;
}

.lang-en .about-copy {
  max-width: 42em;
}

.lang-en .about-copy p {
  line-height: 1.82;
}

.lang-en .service-name {
  letter-spacing: -0.01em;
}

@media (max-width: 980px) {
  .language-switch {
    right: auto;
    left: 0;
    min-width: 48px;
    min-height: 38px;
    padding-inline: 11px;
  }
}

@media (max-width: 640px) {
  .lang-en .about-title {
    max-width: 100%;
    font-size: clamp(1.55rem, 6.3vw, 1.9rem);
    line-height: 1.32;
    letter-spacing: -0.04em;
  }

  .lang-en .about-title span + span {
    margin-top: 0.28em;
  }

  .lang-en .hero-lead {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .lang-en .service-name small {
    font-size: 0.82rem;
  }
}
