:root {
  --ink: #17120f;
  --coffee: #3b2b23;
  --mahogany: #6f3327;
  --copper: #b8693f;
  --champagne: #d9bf8f;
  --porcelain: #f8f3eb;
  --paper: #fffaf3;
  --mist: #e8dfd2;
  --shadow: 0 24px 80px rgba(23, 18, 15, 0.18);
  --radius: 6px;
  color-scheme: light;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--champagne);
  outline-offset: 3px;
}

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

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

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(248, 243, 235, 0.9);
  border-bottom: 1px solid rgba(59, 43, 35, 0.12);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.top-ribbon {
  align-items: center;
  background: rgba(255, 250, 243, 0.84);
  color: rgba(23, 18, 15, 0.68);
  display: flex;
  font-size: 15px;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 clamp(20px, 5vw, 70px);
}

.top-ribbon a {
  text-decoration: none;
}

.main-nav-row {
  align-items: center;
  display: grid;
  gap: clamp(20px, 4vw, 64px);
  grid-template-columns: auto 1fr auto;
  min-height: 88px;
  padding: 0 clamp(20px, 5vw, 70px);
  position: relative;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  justify-self: start;
  position: relative;
  text-decoration: none;
  width: clamp(66px, 6vw, 86px);
  z-index: 2;
}

.brand-logo {
  display: block;
  height: auto;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: clamp(10px, 2vw, 22px);
  justify-content: flex-end;
}

.nav-links a,
.mobile-booking,
.button {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a,
.mobile-booking {
  border-radius: 4px;
  color: var(--ink);
  padding: 10px 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(217, 191, 143, 0.22);
  color: var(--ink);
}

.mobile-booking,
.nav-links a[data-booking] {
  background: var(--ink);
  color: var(--paper);
}

.mobile-booking {
  display: none;
  justify-self: end;
}

.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.ghost {
  border: 1px solid rgba(248, 243, 235, 0.46);
  color: var(--paper);
}

.button.ghost.light {
  border-color: rgba(248, 243, 235, 0.46);
  color: var(--paper);
}

.button:hover,
.nav-links a:hover,
.mobile-booking:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: 90vh;
  overflow: hidden;
  position: relative;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(23, 18, 15, 0.86), rgba(23, 18, 15, 0.42)),
    url("/assets/tyra-cover.png") center / cover;
  color: var(--paper);
  min-height: 54vh;
  padding: clamp(172px, 22vh, 230px) clamp(22px, 6vw, 82px) clamp(64px, 9vw, 110px);
}

.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 9vw, 116px);
  font-weight: 500;
  line-height: 0.9;
  margin: 18px 0 22px;
}

.page-hero p {
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.2;
  margin: 0;
  max-width: 760px;
}

.nav-links a[aria-current="page"] {
  background: rgba(217, 191, 143, 0.28);
}

.page-panel {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 22px;
  padding: clamp(42px, 6vw, 72px) clamp(22px, 6vw, 82px);
}

.page-panel p {
  color: rgba(23, 18, 15, 0.72);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  max-width: 860px;
}

.contact-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.contact-card {
  background: rgba(248, 243, 235, 0.78);
  border: 1px solid rgba(59, 43, 35, 0.12);
  display: grid;
  gap: 14px;
  padding: 22px;
}

.contact-card strong {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 500;
}

.page-panel .button.ghost.light {
  border-color: rgba(23, 18, 15, 0.22);
  color: var(--ink);
}

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

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(23, 18, 15, 0.88) 0%, rgba(23, 18, 15, 0.68) 33%, rgba(23, 18, 15, 0.1) 74%),
    linear-gradient(0deg, rgba(23, 18, 15, 0.76) 0%, rgba(23, 18, 15, 0.02) 48%);
}

.hero-content {
  color: var(--paper);
  max-width: 760px;
  padding: clamp(162px, 21vh, 220px) clamp(22px, 6vw, 82px) 96px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(68px, 11vw, 148px);
  font-style: italic;
  line-height: 0.78;
  margin: 18px 0 26px;
  max-width: 7ch;
}

.hero-copy {
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.18;
  margin: 0;
  max-width: 680px;
}

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

.hero-card {
  background: rgba(248, 243, 235, 0.9);
  border: 1px solid rgba(217, 191, 143, 0.8);
  bottom: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  max-width: min(350px, calc(100% - 40px));
  padding: 18px;
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  z-index: 2;
}

.hero-card span,
.hero-card small {
  color: rgba(23, 18, 15, 0.68);
}

.hero-card strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}

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

.script-line {
  color: var(--mahogany);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  margin: 0;
}

.about-section {
  background:
    linear-gradient(90deg, rgba(248, 243, 235, 0.96), rgba(255, 250, 243, 0.9)),
    url("/assets/tyra-cover.png") center / cover;
  color: var(--ink);
  display: grid;
  gap: clamp(34px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.78fr);
  overflow: hidden;
}

.about-copy {
  align-self: center;
  display: grid;
  gap: 20px;
}

.about-copy h2 {
  color: var(--ink);
}

.about-copy p {
  color: rgba(23, 18, 15, 0.72);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 790px;
}

.about-image {
  align-self: center;
  border: 1px solid rgba(59, 43, 35, 0.12);
  margin: 0;
  overflow: hidden;
}

.about-image img {
  aspect-ratio: 1.05;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  width: 100%;
}

.section-kicker {
  color: var(--copper);
  margin-bottom: 18px;
  text-align: center;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.45fr);
  margin-bottom: 34px;
}

.section-heading.compact {
  align-items: start;
  grid-template-columns: minmax(0, 640px) minmax(220px, 380px);
}

h2 {
  font-size: clamp(36px, 6vw, 78px);
  line-height: 0.95;
  margin: 0;
}

.section-heading p,
.looks-layout p,
.process-grid p,
.visit-panel p {
  color: rgba(23, 18, 15, 0.72);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.services-section {
  background: var(--porcelain);
  color: var(--ink);
}

.services-section .section-heading p,
.process-grid p,
.post-card p {
  color: rgba(23, 18, 15, 0.72);
}

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

.service-card {
  background: var(--paper);
  border: 1px solid rgba(59, 43, 35, 0.12);
  color: var(--ink);
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 360px;
  overflow: hidden;
  padding: 0;
}

.service-card-visual {
  aspect-ratio: 1.1;
  background-image:
    linear-gradient(0deg, rgba(23, 18, 15, 0.06), rgba(23, 18, 15, 0.06)),
    var(--service-image);
  background-position: var(--service-position);
  background-size: 260%;
}

.service-card-content {
  background: var(--paper);
  display: grid;
  gap: 14px;
  padding: 22px;
}

.service-card h3,
.hours-card h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
}

.service-card p {
  color: rgba(23, 18, 15, 0.68);
  line-height: 1.55;
  margin: 0;
}

.service-card strong {
  align-self: end;
  color: var(--mahogany);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-section,
.journal-section {
  background: linear-gradient(180deg, var(--porcelain), #efe4d6);
  color: var(--ink);
}

.looks-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.looks-layout > div:first-child {
  align-self: center;
  display: grid;
  gap: 24px;
}

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

.look-tile {
  aspect-ratio: 0.82;
  background-image: var(--tile-image);
  background-position: var(--tile-position);
  background-size: 340%;
  border: 2px solid rgba(184, 105, 63, 0.28);
  overflow: hidden;
  position: relative;
}

.look-tile::after {
  background: linear-gradient(0deg, rgba(23, 18, 15, 0.78), rgba(23, 18, 15, 0.02) 55%);
  content: "";
  inset: 0;
  position: absolute;
}

.look-tile span {
  bottom: 14px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
  left: 14px;
  letter-spacing: 0.08em;
  position: absolute;
  right: 14px;
  text-transform: uppercase;
  z-index: 1;
}

.process-section {
  background: var(--paper);
  color: var(--ink);
}

.process-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(180px, 0.55fr));
}

.process-grid h2 {
  max-width: 680px;
}

.process-grid article {
  border-left: 1px solid rgba(111, 51, 39, 0.22);
  padding-left: 20px;
}

.process-grid span {
  color: var(--mahogany);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

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

.post-card {
  background: #fdf8f0;
  border: 1px solid rgba(59, 43, 35, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 16px;
  min-height: 280px;
  padding: 22px;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
  box-shadow: 0 20px 40px rgba(23, 18, 15, 0.1);
  transform: translateY(-3px);
}

.post-card time,
.post-card span {
  color: var(--mahogany);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-card h3 {
  font-family: Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
}

.post-card .read-more {
  align-self: end;
  color: var(--coffee);
}

.visit-section {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 70px);
}

.visit-panel {
  background:
    linear-gradient(90deg, rgba(23, 18, 15, 0.64), rgba(23, 18, 15, 0.92)),
    url("/assets/tyra-cover.png") center / cover;
  border: 1px solid rgba(217, 191, 143, 0.32);
  border-radius: var(--radius);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  min-height: 500px;
  padding: clamp(28px, 5vw, 64px);
}

.visit-panel p {
  max-width: 640px;
}

.visit-panel h2 {
  margin: 18px 0 20px;
  max-width: 820px;
}

.hours-card {
  align-self: end;
  background: rgba(248, 243, 235, 0.92);
  color: var(--ink);
  padding: 22px;
}

.hours-card dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.hours-card div {
  display: grid;
  gap: 14px;
  grid-template-columns: 54px 1fr;
}

.hours-card dt {
  color: var(--mahogany);
  font-weight: 800;
}

.hours-card dd {
  margin: 0;
}

.floating-actions {
  align-items: flex-end;
  bottom: 26px;
  display: grid;
  gap: 10px;
  position: fixed;
  right: 20px;
  z-index: 12;
}

.float-pill,
.float-top {
  align-items: center;
  background: var(--paper);
  border: 1px solid rgba(59, 43, 35, 0.12);
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  justify-content: center;
  min-height: 38px;
  min-width: 104px;
  padding: 0 14px;
  text-decoration: none;
}

.float-top {
  background: var(--ink);
  border: 0;
  color: var(--paper);
  font-size: 24px;
  justify-self: end;
  min-height: 52px;
  min-width: 52px;
}

.post-modal[hidden] {
  display: none;
}

.post-modal {
  inset: 0;
  position: fixed;
  z-index: 30;
}

.modal-backdrop {
  background: rgba(23, 18, 15, 0.62);
  inset: 0;
  position: absolute;
}

.modal-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  max-height: calc(100vh - 40px);
  max-width: 760px;
  overflow: auto;
  padding: clamp(26px, 4vw, 48px);
  position: absolute;
  right: 20px;
  top: 20px;
  width: calc(100% - 40px);
}

.modal-close {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  cursor: pointer;
  font-weight: 800;
  min-height: 40px;
  padding: 0 14px;
  position: absolute;
  right: 18px;
  top: 18px;
}

.modal-card h2 {
  margin: 22px 80px 12px 0;
}

.modal-meta {
  color: var(--mahogany);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-body {
  color: rgba(23, 18, 15, 0.75);
  font-size: 18px;
  line-height: 1.7;
  margin-top: 26px;
}

.site-footer {
  align-items: center;
  background: var(--porcelain);
  border-top: 1px solid rgba(59, 43, 35, 0.12);
  color: var(--ink);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 70px);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(23, 18, 15, 0.64);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .top-ribbon {
    padding: 0 22px;
  }

  .main-nav-row {
    padding: 0 28px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 980px) {
  .main-nav-row {
    grid-template-columns: auto 1fr;
    min-height: 82px;
    padding: 10px 18px;
  }

  .nav-links {
    display: none;
  }

  .brand-mark {
    width: 76px;
  }

  .mobile-booking {
    display: inline-flex;
  }

  .about-section,
  .section-heading,
  .looks-layout,
  .process-grid,
  .visit-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: sticky;
  }

  .top-ribbon {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    min-height: 58px;
    padding: 8px 16px;
  }

  .top-ribbon span,
  .top-ribbon a {
    font-size: 13px;
  }

  .brand-mark {
    width: 56px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(23, 18, 15, 0.9), rgba(23, 18, 15, 0.52)),
      linear-gradient(0deg, rgba(23, 18, 15, 0.8), rgba(23, 18, 15, 0.08));
  }

  .hero-content {
    padding: 82px 20px 126px;
  }

  .page-hero {
    padding: 88px 20px 72px;
  }

  .hero h1 {
    font-size: clamp(66px, 23vw, 108px);
  }

  .hero-card {
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 14px;
  }

  .hero-card strong {
    font-size: 19px;
  }

  .about-image img {
    aspect-ratio: 1.12;
  }

  .service-grid,
  .look-tiles,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .look-tile {
    aspect-ratio: 1.12;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .floating-actions {
    bottom: 14px;
    right: 12px;
  }

  .float-pill {
    font-size: 13px;
    min-width: 92px;
  }

  .modal-card {
    inset: auto 10px 10px 10px;
    max-height: calc(100vh - 20px);
    width: auto;
  }

  .modal-card h2 {
    margin-right: 0;
    padding-top: 38px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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