/* ============================================================
   H&M by Marissa — luxe pink & ivory palette, editorial layout
   ============================================================ */

:root {
  /* Palette — pulled from her logo */
  --blush: #f5d9d6;          /* logo background */
  --blush-soft: #faeae8;     /* lighter wash */
  --blush-deep: #e8b8b2;     /* hover/accent */
  --rose: #c08a85;           /* darker rose for text accents */
  --ivory: #fdf9f6;          /* warm off-white */
  --cream: #f7efe8;
  --ink: #2a1f1d;            /* near-black, warm */
  --ink-soft: #5a4a47;
  --line: rgba(42, 31, 29, 0.12);

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.5rem, 2.5vw, 2rem);
  --text-2xl: clamp(2rem, 4vw, 3rem);
  --text-hero: clamp(2.75rem, 7vw, 5.5rem);

  /* Spacing */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius: 4px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
h2 { font-size: var(--text-2xl); line-height: 1.1; }
h3 { font-size: var(--text-xl); line-height: 1.2; font-family: 'Work Sans', sans-serif; font-weight: 500; letter-spacing: 0; }
p  { margin: 0 0 1em; color: var(--ink-soft); }
em { font-style: italic; color: var(--rose); font-family: 'Instrument Serif', serif; }
a  { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 var(--space-4);
}
.eyebrow--light { color: rgba(253, 249, 246, 0.75); }

/* ---------------- NAV ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background: rgba(253, 249, 246, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; flex-direction: column; line-height: 1; }
.nav__monogram {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.nav__brand-sub {
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
.nav__links { display: flex; gap: var(--space-8); }
.nav__links a {
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--rose); }
.nav__cta { display: none; }
@media (min-width: 720px) {
  .nav__cta { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav__links { display: none; }
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: none;
}
.btn--primary { background: var(--ink); color: var(--ivory); }
.btn--primary:hover { background: var(--rose); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--small { padding: 0.55rem 1.1rem; font-size: var(--text-xs); }
.btn--full { width: 100%; padding: 1rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-sm); font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: gap 0.25s ease, color 0.25s ease;
}
.link-arrow:hover { gap: 0.85rem; color: var(--rose); border-color: var(--rose); }

/* ---------------- HERO ---------------- */
.hero {
  background: linear-gradient(180deg, var(--blush-soft) 0%, var(--blush) 100%);
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; padding-top: var(--space-24); }
}
.hero__title {
  font-size: var(--text-hero);
  margin-bottom: var(--space-6);
  max-width: 12ch;
}
.hero__sub {
  font-size: var(--text-lg);
  max-width: 42ch;
  margin-bottom: var(--space-8);
  color: var(--ink-soft);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__logo {
  color: var(--ivory);
  background: var(--rose);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-12));
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 24px 60px -20px rgba(192, 138, 133, 0.45);
}
.hero__logo-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.hero__logo-art {
  width: 100%;
  max-width: 320px;
  height: auto;
}
.hero__logo-name {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0;
  font-weight: 400;
}
.hero__logo-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 70%;
  max-width: 240px;
}
.hero__logo-divider span {
  flex: 1;
  height: 1px;
  background: rgba(253, 249, 246, 0.5);
}
.hero__logo-divider i {
  width: 4px; height: 4px;
  background: var(--ivory);
  border-radius: 50%;
}
.hero__logo-tag {
  font-family: 'Work Sans', sans-serif;
  font-size: var(--text-xs);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(253, 249, 246, 0.85);
  margin: 0;
}

/* ---------------- ABOUT ---------------- */
.about {
  padding: var(--space-24) var(--space-6);
  max-width: 1180px;
  margin: 0 auto;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}
@media (min-width: 880px) {
  .about__grid { grid-template-columns: 1.4fr 1fr; gap: var(--space-16); }
}
.about__copy h2 { margin-bottom: var(--space-6); max-width: 18ch; }
.about__copy p { font-size: var(--text-lg); margin-bottom: var(--space-4); max-width: 56ch; }
.about__copy .link-arrow { margin-top: var(--space-4); }

.about__card {
  background: var(--blush-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: sticky;
  top: 100px;
}
.about__card hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--space-6) 0;
}
.about__stat { display: flex; flex-direction: column; gap: var(--space-2); }
.about__stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--rose);
}
.about__stat-num.small {
  font-size: var(--text-lg);
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.about__stat-label {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------------- SERVICES ---------------- */
.services {
  padding: var(--space-24) var(--space-6);
  background: var(--cream);
}
.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-16);
  text-align: center;
}
.section-head h2 { margin-bottom: var(--space-4); }
.section-head__sub { font-size: var(--text-lg); color: var(--ink-soft); margin: 0; }

.services__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}
.service {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all 0.3s ease;
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--blush-deep);
  box-shadow: 0 20px 40px -24px rgba(192, 138, 133, 0.35);
}
.service__icon {
  width: 48px;
  height: 48px;
  color: var(--rose);
  margin-bottom: var(--space-6);
}
.service h3 { margin-bottom: var(--space-3); font-size: var(--text-lg); }
.service p  { margin: 0; font-size: var(--text-base); }
.service--wide { grid-column: 1 / -1; }
@media (min-width: 880px) {
  .service--wide { grid-column: auto; }
}

.services__note {
  max-width: 640px;
  margin: var(--space-16) auto 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------------- BOOK ---------------- */
.book {
  background: var(--ink);
  color: var(--ivory);
  padding: var(--space-24) var(--space-6);
}
.book h2 { color: var(--ivory); margin-bottom: var(--space-4); }
.book__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.book__sub {
  font-size: var(--text-lg);
  color: rgba(253, 249, 246, 0.75);
  max-width: 48ch;
  margin: 0 auto var(--space-12);
}
.book__form { text-align: left; }
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.field > span {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 249, 246, 0.7);
}
.field > span small {
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--text-xs);
  color: rgba(253, 249, 246, 0.5);
  margin-left: 0.5rem;
}
.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(253, 249, 246, 0.25);
  color: var(--ivory);
  font: inherit;
  padding: 0.65rem 0;
  transition: border-color 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(253, 249, 246, 0.35);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blush);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
.book .btn--primary {
  background: var(--blush);
  color: var(--ink);
  margin-top: var(--space-4);
}
.book .btn--primary:hover { background: var(--ivory); color: var(--ink); }

.book__alt {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: rgba(253, 249, 246, 0.65);
}
.book__alt a {
  color: var(--blush);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------------- FOOTER ---------------- */
.footer {
  background: var(--ivory);
  padding: var(--space-12) var(--space-6) var(--space-8);
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer__inner {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.footer__brand {
  font-family: 'Instrument Serif', serif;
  font-size: var(--text-xl);
}
.footer__tag {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer a {
  font-size: var(--text-sm);
  color: var(--rose);
  border-bottom: 1px solid var(--rose);
  padding-bottom: 2px;
}
.footer__fineprint {
  font-size: var(--text-xs);
  color: var(--ink-soft);
  margin: 0;
  opacity: 0.6;
}
