:root {
  --ink: #171411;
  --ink-soft: #5f5850;
  --paper: #f8f5ef;
  --paper-warm: #efe9df;
  --line: rgba(23, 20, 17, 0.13);
  --gold: #b78a3a;
  --gold-dark: #856426;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 26px 70px rgba(23, 20, 17, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 26px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(19, 16, 13, 0.88);
  border-bottom: 1px solid rgba(214, 182, 106, 0.18);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 150px;
  height: auto;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.main-nav a,
.header-cta,
.footer-links button {
  text-decoration: none;
  color: var(--paper);
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(248, 245, 239, 0.36);
  border-radius: var(--radius);
  font-weight: 650;
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(248, 245, 239, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--paper);
}

.cookie-floating,
.scroll-top-floating {
  position: fixed;
  bottom: 18px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(183, 138, 58, 0.48);
  border-radius: 999px;
  background: rgba(23, 20, 17, 0.82);
  box-shadow: 0 12px 32px rgba(23, 20, 17, 0.18);
  cursor: pointer;
  color: var(--gold);
  backdrop-filter: blur(12px);
}

.cookie-floating {
  left: 18px;
}

.scroll-top-floating {
  right: 18px;
  text-decoration: none;
}

.cookie-floating:hover,
.cookie-floating:focus-visible,
.scroll-top-floating:hover,
.scroll-top-floating:focus-visible {
  background: rgba(23, 20, 17, 0.94);
  color: #d8ad58;
}

.cookie-floating svg,
.scroll-top-floating svg {
  display: block;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 140px clamp(20px, 5vw, 72px) 74px;
  color: var(--ink);
  background: #ede8df;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.94), rgba(248, 245, 239, 0.72) 34%, rgba(248, 245, 239, 0.26) 62%, rgba(248, 245, 239, 0.04)),
    linear-gradient(0deg, rgba(248, 245, 239, 0.52), rgba(248, 245, 239, 0.04) 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 10vw, 9.6rem);
}

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

h3 {
  font-size: 1.55rem;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.36rem);
  color: rgba(23, 20, 17, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #15120f;
  background: var(--gold);
  border-color: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #c99e4d;
}

.button-secondary {
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.36);
}

.hero .button-secondary {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(23, 20, 17, 0.26);
}

.hero-card {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 74px;
  z-index: 2;
  width: min(320px, calc(100% - 40px));
  padding: 18px;
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(248, 245, 239, 0.72);
  backdrop-filter: blur(12px);
}

.hero-card span,
.hero-card strong {
  display: block;
}

.hero-card span {
  color: rgba(23, 20, 17, 0.62);
}

.hero-card strong {
  margin-top: 4px;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 24s linear infinite;
}

.ticker span {
  display: block;
  padding: 16px 30px;
  white-space: nowrap;
  font-weight: 750;
}

.ticker span:nth-child(even) {
  color: #dcb96b;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(76px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(790px, 100%);
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p:last-child {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--ink-soft);
}

.price-cards {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr) minmax(220px, 0.55fr);
  align-items: start;
  gap: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.price-card-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.price-card-large .price-card-head {
  grid-template-columns: minmax(180px, 1fr) repeat(3, 70px);
  align-items: end;
}

.price-card h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 850;
  line-height: 1.05;
}

.length-labels {
  display: contents;
}

.length-labels span {
  color: var(--ink-soft);
  font-weight: 800;
  text-align: right;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(23, 20, 17, 0.08);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row span {
  color: var(--ink);
  font-size: 1.02rem;
}

.service-row strong {
  min-height: 1px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
}

.service-row-length {
  grid-template-columns: minmax(180px, 1fr) repeat(3, 70px);
}

.service-row-length strong {
  text-align: right;
}

.price-note {
  width: min(var(--max), 100%);
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.about {
  background: var(--paper-warm);
}

.about-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: stretch;
}

.about-copy {
  grid-column: 1;
  grid-row: 1;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
}

.about-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
}

.about-facts {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-media {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  margin: 0;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 46%;
  border-radius: var(--radius);
}

.about-facts div {
  padding: 24px;
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
}

.about-facts strong,
.about-facts span {
  display: block;
}

.about-facts span {
  margin-top: 5px;
  color: var(--ink-soft);
}

.stylist {
  background:
    linear-gradient(90deg, rgba(23, 20, 17, 0.9), rgba(23, 20, 17, 0.72)),
    url("assets/stylist-salon-bg.png") center / cover;
  color: var(--white);
}

.stylist-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 7vw, 86px);
  align-items: center;
}

.stylist-panel {
  width: min(720px, 100%);
}

.stylist-panel p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.stylist-image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.stylist-image img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.products {
  background: var(--paper-warm);
}

.product-gallery {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-item {
  position: relative;
  display: grid;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-item img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  padding: 18px;
  object-fit: contain;
  transition: transform 360ms ease, filter 360ms ease;
  will-change: transform;
}

.product-item:hover img,
.product-item:focus-within img {
  transform: scale(1.13);
  filter: drop-shadow(0 18px 24px rgba(23, 20, 17, 0.16));
}

.contact {
  background: var(--paper);
}

.contact-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
}

.contact-form,
.contact-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 13px 14px;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(183, 138, 58, 0.32);
  border-color: var(--gold);
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.consent {
  grid-template-columns: 22px 1fr;
  align-items: start;
  font-size: 0.94rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.contact-details {
  padding: clamp(24px, 4vw, 38px);
}

.contact-details h3 {
  margin-bottom: 18px;
}

.contact-details address {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-style: normal;
}

.contact-details a {
  display: block;
  margin: 10px 0;
  color: var(--ink);
  font-weight: 750;
  text-decoration-color: rgba(183, 138, 58, 0.45);
  text-underline-offset: 4px;
}

.contact-details dl {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-details dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.contact-details dt {
  color: var(--ink-soft);
}

.contact-details dd {
  margin: 0;
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin: 5px 0 0;
  color: rgba(248, 245, 239, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links button {
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 13, 10, 0.66);
}

.modal[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, 90vh);
  overflow: auto;
  padding: clamp(26px, 5vw, 46px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
}

.modal-dialog p {
  color: var(--ink-soft);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.legal-note {
  padding: 14px;
  border-left: 2px solid var(--gold);
  background: rgba(183, 138, 58, 0.1);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  width: clamp(300px, 25vw, 360px);
  max-width: calc(100% - 36px);
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(23, 20, 17, 0.94);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: rgba(248, 245, 239, 0.72);
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    right: 12px;
    left: auto;
    display: none;
    flex-direction: column;
    gap: 0;
    width: min(180px, calc(100% - 24px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(19, 16, 13, 0.98);
    box-shadow: var(--shadow);
    text-align: right;
  }

  .main-nav a {
    padding: 14px;
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .header-cta {
    justify-self: end;
  }

  .hero {
    min-height: 820px;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(248, 245, 239, 0.94), rgba(248, 245, 239, 0.8) 46%, rgba(23, 20, 17, 0.22) 100%),
      linear-gradient(0deg, rgba(23, 20, 17, 0.22), rgba(248, 245, 239, 0.08) 54%);
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 38px;
  }

  .hero {
    display: block;
  }

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

  .about-layout,
  .price-cards,
  .stylist-layout {
    grid-template-columns: 1fr;
  }

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

  .about-copy,
  .about-media,
  .about-facts {
    grid-column: auto;
    grid-row: auto;
  }

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

  .price-card-large .price-card-head,
  .service-row-length {
    grid-template-columns: minmax(180px, 1fr) repeat(3, 82px);
  }

  .contact-form {
    order: -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 14px;
    gap: 10px;
  }

  .brand img {
    width: 118px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 760px;
    padding: 118px 20px 44px;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(248, 245, 239, 0.94), rgba(248, 245, 239, 0.84) 57%, rgba(23, 20, 17, 0.2) 100%),
      linear-gradient(0deg, rgba(23, 20, 17, 0.24), rgba(248, 245, 239, 0.1) 54%);
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .cookie-actions .button {
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .cookie-floating {
    left: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }

  .scroll-top-floating {
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }

  .section-heading {
    text-align: left;
  }

  .price-card {
    padding: 22px;
  }

  .price-card-large {
    overflow-x: auto;
  }

  .price-card-large .price-card-head,
  .service-row-length {
    grid-template-columns: minmax(185px, 1fr) repeat(3, 66px);
    min-width: 440px;
    gap: 10px;
  }

  .length-labels span,
  .service-row span,
  .service-row strong {
    font-size: 1rem;
  }

  .price-card h3 {
    font-size: 1.75rem;
  }

  .about-media img {
    position: static;
    height: 340px;
    max-height: none;
    min-height: 340px;
    object-position: center 42%;
  }

  .about-media {
    min-height: 0;
    background: transparent;
    box-shadow: none;
  }

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

  .product-item {
    min-height: 260px;
  }

  .product-item img {
    min-height: 190px;
    padding: 16px;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .stylist-image img {
    min-height: 260px;
  }

  .contact-details dl div {
    display: grid;
    gap: 2px;
  }

  .site-footer,
  .cookie-banner {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
  }

  .cookie-banner {
    right: 12px;
    bottom: 64px;
    width: calc(100% - 24px);
    max-width: 360px;
  }

  .footer-links {
    justify-items: start;
  }
}

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