:root {
  --color-primary: #8e6419;
  --color-primary-dark: #6f4a0e;
  --color-secondary: #24312f;
  --color-accent: #b65d6a;
  --color-background: #ffffff;
  --color-band: #f5f7f3;
  --color-warm: #fbf6ee;
  --color-surface: #ffffff;
  --color-text: #26221f;
  --color-muted: #6e625c;
  --color-border: #e7ddd0;
  --shadow-sm: 0 10px 30px rgba(36, 49, 47, 0.08);
  --shadow-md: 0 20px 50px rgba(36, 49, 47, 0.14);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-primary);
}

:focus-visible {
  outline: 3px solid rgba(182, 93, 106, 0.5);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--color-secondary);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(231, 221, 208, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  object-fit: cover;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  line-height: 1.1;
  color: var(--color-primary-dark);
}

.brand small {
  display: block;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-secondary);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--color-warm);
  color: var(--color-primary-dark);
}

.site-nav .nav-cta {
  margin-left: 6px;
  background: var(--color-secondary);
  color: #ffffff;
  padding-inline: 16px;
}

.site-nav .nav-cta:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-secondary);
  margin-block: 5px;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(25, 22, 20, 0.84) 0%, rgba(25, 22, 20, 0.58) 45%, rgba(25, 22, 20, 0.16) 100%),
    linear-gradient(0deg, rgba(25, 22, 20, 0.45), rgba(25, 22, 20, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding-block: 96px;
}

.hero-content > * {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1d083;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  color: var(--color-secondary);
}

h1 {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
}

h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.hero-lede {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 680px;
}

.hero-actions,
.inline-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

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

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

.button-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-secondary);
}

.button-light:hover {
  background: #ffffff;
  color: var(--color-primary-dark);
}

.button-secondary {
  background: var(--color-secondary);
  color: #ffffff;
}

.button-secondary:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
  background: transparent;
}

.button-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.text-link {
  color: var(--color-primary-dark);
  font-weight: 800;
  border-bottom: 2px solid rgba(142, 100, 25, 0.26);
}

.text-link:hover {
  border-color: var(--color-primary);
}

.highlights {
  background: var(--color-secondary);
  color: #ffffff;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.highlight-grid > div {
  min-height: 120px;
  padding: 26px 20px;
  background: var(--color-secondary);
}

.highlight-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.highlight-grid strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
}

.section {
  padding-block: 96px;
}

.about-section,
.faq-section {
  background: var(--color-warm);
}

.service-section {
  background: #ffffff;
}

.why-section {
  background: var(--color-band);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
}

.align-start {
  align-items: start;
}

.section-copy p {
  color: var(--color-muted);
  margin: 22px 0 0;
  max-width: 660px;
}

.brand-panel {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.brand-panel img {
  width: min(220px, 60vw);
  border-radius: var(--radius-sm);
}

.brand-panel figcaption {
  color: var(--color-primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.1;
  text-align: center;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--color-muted);
  max-width: 760px;
}

.section-heading.compact {
  max-width: 760px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.service-card p {
  color: var(--color-muted);
  margin: 12px 0 18px;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--color-secondary);
  font-weight: 700;
  line-height: 1.35;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

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

.reason-grid article {
  padding: 24px;
  border-top: 3px solid var(--color-primary);
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.reason-grid span {
  color: var(--color-accent);
  font-weight: 900;
}

.reason-grid h3 {
  margin-top: 12px;
}

.reason-grid p {
  color: var(--color-muted);
  margin: 12px 0 0;
}

.gallery-preview {
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.55fr) minmax(260px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

.gallery-item,
.gallery-callout {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.gallery-item {
  display: grid;
  grid-template-rows: 1fr auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.gallery-item:not(.wide) img {
  object-fit: contain;
  background: var(--color-warm);
  padding: 18px;
}

.gallery-item figcaption {
  padding: 14px 16px;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.gallery-callout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: var(--color-secondary);
  color: #ffffff;
}

.gallery-callout h2,
.gallery-callout h3 {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
}

.gallery-callout p {
  color: rgba(255, 255, 255, 0.78);
  margin: 14px 0 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--color-secondary);
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--color-muted);
}

.contact-section {
  padding-block: 96px;
  background: var(--color-secondary);
  color: #ffffff;
}

.contact-section h2 {
  color: #ffffff;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
  margin: 18px 0 0;
  max-width: 680px;
}

.contact-section .eyebrow {
  color: #f1d083;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.contact-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  color: #ffffff;
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
}

.contact-card dl div {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-card dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 0;
  color: #ffffff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-links a {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-weight: 800;
}

.social-links a:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.site-footer {
  padding-block: 54px 28px;
  background: #171d1c;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.5fr) minmax(220px, 0.75fr);
  gap: 32px;
}

.footer-brand strong {
  color: #f1d083;
}

.site-footer p {
  margin: 18px 0 0;
  max-width: 420px;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.84);
}

.site-footer a:hover {
  color: #f1d083;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.page-hero {
  padding-block: 118px 74px;
  background: var(--color-secondary);
  color: #ffffff;
}

.page-hero h1,
.page-hero h2 {
  color: #ffffff;
}

.page-hero .eyebrow {
  color: #f1d083;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.gallery-page-hero {
  background:
    linear-gradient(90deg, rgba(36, 49, 47, 0.92), rgba(36, 49, 47, 0.68)),
    url("assets/images/bliss-nails-cover.jpg") center / cover;
}

.simple-page-hero {
  background: var(--color-secondary);
}

.page-hero-inner.narrow {
  max-width: 860px;
}

.gallery-page-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.45fr) minmax(280px, 0.7fr);
}

.gallery-callout.tall {
  min-height: 340px;
}

.contact-strip {
  padding-block: 34px;
  background: var(--color-warm);
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-strip p {
  margin: 0;
  color: var(--color-secondary);
  font-weight: 800;
}

.legal-section {
  background: #ffffff;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin: 34px 0 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin: 0;
  color: var(--color-muted);
}

.legal-copy a {
  color: var(--color-primary-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: 620px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(25, 22, 20, 0.86), rgba(25, 22, 20, 0.42)),
      linear-gradient(0deg, rgba(25, 22, 20, 0.45), rgba(25, 22, 20, 0.18));
  }

  .highlight-grid,
  .service-grid,
  .reason-grid,
  .gallery-grid,
  .gallery-page-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-callout {
    grid-column: 1 / -1;
  }

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

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

  .header-inner {
    min-height: 68px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.74rem;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 580px;
  }

  .hero-media img {
    object-position: 60% center;
  }

  .hero-content {
    padding-block: 72px 62px;
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .inline-actions,
  .contact-actions,
  .contact-strip-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .highlight-grid,
  .service-grid,
  .reason-grid,
  .gallery-grid,
  .gallery-page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 72px;
  }

  .brand-panel,
  .service-card,
  .reason-grid article,
  .gallery-callout,
  .contact-card {
    padding: 22px;
  }

  .gallery-item img {
    min-height: 220px;
  }

  .gallery-item.wide img {
    min-height: 190px;
  }

  .page-hero {
    padding-block: 92px 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
