/* Medical Spaa — site styles. All type is roman; italic is never used. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea,
label, li, ul, ol, span, small, strong, b, em, i, cite, dfn, var, address,
blockquote, q, figure, figcaption, legend, th, td, caption {
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

:root {
  --cream: #f3eee6;
  --paper: #fbf7f1;
  --ink: #2a251f;
  --muted: #5f584f;
  --line: rgba(42, 37, 31, 0.12);
  --line-strong: rgba(42, 37, 31, 0.22);
  --sage: #667766;
  --sage-deep: #4d5b4c;
  --blush: #e8d6cb;
  --blush-deep: #d9c2b4;
  --gold: #8a6c44;
  --gold-soft: #c4a574;
  --header: 4.5rem;
  --max: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--sage-deep);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: color-mix(in srgb, var(--cream) 88%, white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark-text {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.nav a:not(.btn) {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:not(.btn):hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Hero */
.hero {
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
  padding: clamp(2rem, 6vh, 5rem) 0 clamp(3rem, 8vh, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 7.2vw, 6.15rem);
  max-width: 11ch;
}

.lead {
  margin: 1.6rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: min(38rem, 72vh);
  width: 100%;
  justify-self: end;
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 9vh, 7rem) 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

h2 {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
}

.section-intro {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
  justify-self: end;
}

.treatments {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  min-height: 16.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--sage-deep);
}

.card h3 {
  font-size: 2rem;
  line-height: 1.05;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 36rem;
}

/* Skincare */
.skincare-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.panel {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2rem, 4vw, 3rem);
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.panel h3 {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  max-width: 12ch;
}

.panel p {
  margin: 0;
  font-weight: 300;
  color: color-mix(in srgb, var(--paper) 78%, var(--blush));
  max-width: 28rem;
}

.panel a {
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 500;
}

.panel a:hover {
  color: var(--paper);
}

/* Inquire */
.inquire {
  border-top: 1px solid var(--line);
}

.inquire-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.inquire .lead,
.inquire p {
  color: var(--muted);
  font-weight: 300;
}

.mail-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 0.15rem;
}

.mail-link:hover {
  color: var(--sage-deep);
  border-color: var(--sage-deep);
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

input, select, textarea, button {
  font-family: var(--sans);
  font-style: normal;
  font-size: 1rem;
}

input, select, textarea {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0.85rem 0.9rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232a251f' stroke-width='1.4'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--ink);
}

.form-note {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
}

.notice {
  grid-column: 1 / -1;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--blush) 45%, var(--paper));
  font-size: 0.95rem;
}

.notice.error {
  background: #f3e4de;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.8rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .hero-grid,
  .section-header,
  .skincare-grid,
  .inquire-grid {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .hero-art {
    justify-self: stretch;
  }

  .hero {
    min-height: unset;
    padding-top: 2.4rem;
  }

  .hero-art {
    aspect-ratio: 5 / 4;
    max-height: 26rem;
    order: -1;
  }

  h1 {
    max-width: none;
  }

  .panel {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .grid-4,
  form {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .card {
    min-height: 0;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 3.4rem);
  }
}
