:root {
  --bg: #f3efe8;
  --bg-deep: #e7ddd1;
  --surface: rgba(255, 252, 247, 0.86);
  --surface-strong: #fffdf9;
  --text: #171311;
  --muted: #685c53;
  --line: rgba(23, 19, 17, 0.1);
  --line-strong: rgba(23, 19, 17, 0.18);
  --accent: #8f755d;
  --accent-strong: #3f3228;
  --shadow: 0 24px 70px rgba(45, 33, 24, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1200px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(199, 178, 156, 0.24), transparent 25%),
    radial-gradient(circle at right 15% top 20%, rgba(95, 79, 67, 0.08), transparent 20%),
    linear-gradient(180deg, #fffcf8 0%, var(--bg) 36%, var(--bg-deep) 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: var(--container);
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(38, 27, 20, 0.05);
}

.page-main,
.site-footer-inner {
  width: var(--container);
  margin: 0 auto;
}

.page-main {
  padding-bottom: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 30%, #f9f6f1, #dbccb9 70%, #a88b72 100%);
  color: var(--accent-strong);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.93rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
}

.button:hover,
.button-link:hover {
  transform: translateY(-1px);
}

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

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.66);
}

.button-link {
  color: var(--accent);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

h3 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
}

p,
li,
span {
  line-height: 1.8;
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 30px;
  align-items: center;
  padding: 58px 0 18px;
}

.hero-copy p,
.page-intro p,
.section-heading p,
.service-copy,
.card-copy,
.trust-card p,
.footer-copy,
.list-card p,
.detail-card p {
  color: var(--muted);
  font-size: 1rem;
}

.hero-subtext {
  margin: 18px 0 0;
  max-width: 50ch;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-media,
.page-media {
  position: relative;
}

.hero-feature,
.hero-secondary,
.service-card,
.trust-card,
.gallery-card,
.preview-card,
.list-card,
.detail-card,
.cta-panel,
.footer-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-feature,
.hero-secondary,
.gallery-card,
.page-media-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-feature,
.page-media-card {
  min-height: 690px;
}

.hero-stack {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 36%;
  display: grid;
  gap: 16px;
}

.hero-secondary {
  min-height: 210px;
}

.hero-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 243, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.hero-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 40px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.service-grid,
.trust-grid,
.preview-grid,
.list-grid,
.detail-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.service-grid,
.trust-grid,
.preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.preview-card,
.list-card,
.detail-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.service-copy {
  margin: 10px 0 0;
}

.service-image,
.gallery-card,
.page-media-card {
  position: relative;
}

.media-surface {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.8), transparent 16%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.04)),
    var(--media-gradient, linear-gradient(135deg, #c8b39c, #8b715e));
}

.hero-feature .media-surface,
.page-media-card .media-surface {
  min-height: 690px;
}

.hero-secondary .media-surface {
  min-height: 210px;
}

.media-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.76);
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tone-sand {
  --media-gradient: linear-gradient(140deg, #eadfd3, #b5967e 58%, #7b6254);
}

.tone-carbon {
  --media-gradient: linear-gradient(145deg, #dad5cf, #8a7a71 52%, #423733);
}

.tone-rose {
  --media-gradient: linear-gradient(145deg, #f4e8e4, #caa9a1 54%, #7f625d);
}

.tone-gold {
  --media-gradient: linear-gradient(145deg, #f4ecdf, #ceb28f 50%, #7e624c);
}

.tone-blush {
  --media-gradient: linear-gradient(145deg, #f7ece7, #d2b4a7 54%, #916f66);
}

.nail-art {
  position: absolute;
  inset: 0;
}

.nail-art ellipse,
.nail-art path,
.nail-art rect {
  opacity: 0.88;
}

.nail-art .nail-base {
  fill: rgba(255, 247, 239, 0.82);
}

.nail-art .nail-detail {
  fill: rgba(255, 255, 255, 0.44);
}

.nail-art .nail-line {
  stroke: rgba(71, 54, 43, 0.24);
  stroke-width: 1.4;
  fill: none;
}

.trust-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.gallery-card {
  min-height: 260px;
}

.gallery-card.tall {
  min-height: 540px;
}

.gallery-overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.8);
}

.gallery-overlay p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section-intro {
  margin: 0 0 24px;
  max-width: 56ch;
  color: var(--muted);
}

.preview-card h3,
.list-card h3,
.detail-card h3 {
  margin-bottom: 8px;
}

.specialty-list,
.footer-links,
.footer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.specialty-list span,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--accent-strong);
  font-size: 0.86rem;
}

.trust-strip {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  color: var(--accent-strong);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.cta-panel {
  display: grid;
  gap: 14px;
  padding: 30px;
  border-radius: var(--radius-xl);
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.inline-link {
  color: var(--accent);
  font-weight: 700;
}

.footer-panel {
  margin: 0 auto 34px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  align-items: start;
}

.footer-title {
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.footer-links,
.footer-services {
  flex-direction: column;
  gap: 8px;
}

.footer-links a,
.footer-services a {
  color: var(--muted);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.page-intro {
  display: grid;
  gap: 16px;
}

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

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

.partners-copy {
  max-width: 60ch;
}

@media (max-width: 980px) {
  .site-header {
    top: 0;
    border-radius: 0 0 28px 28px;
    width: 100%;
    margin-top: 0;
    padding-inline: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 88px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 250, 244, 0.96);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .hero,
  .page-hero,
  .footer-grid,
  .service-grid,
  .trust-grid,
  .preview-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-feature,
  .page-media-card {
    min-height: 420px;
  }

  .hero-feature .media-surface,
  .page-media-card .media-surface {
    min-height: 420px;
  }

  .hero-stack {
    position: static;
    width: 100%;
    margin-top: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid,
  .list-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card.tall {
    min-height: 320px;
  }

  .footer-base {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .brand-copy span {
    display: none;
  }

  .page-main {
    padding-bottom: 54px;
  }

  .hero,
  .page-hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

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

  .hero-actions,
  .specialty-list,
  .footer-links,
  .footer-services {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .cta-panel,
  .footer-panel {
    padding: 22px;
  }
}
