/* ============================================================
   Base — reset, typography, links, buttons, forms, a11y
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { color: var(--text-soft); }
p + p { margin-top: 1rem; }

a { color: var(--rose-deep); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--ink); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 0.9rem;
}
.eyebrow--gold { color: var(--thread); }
.eyebrow--light { color: var(--lavender); }

/* ---- Buttons ---- */
.btn {
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn__icon { display: inline-flex; }
.btn--sm { padding: 0.7rem 1.2rem; font-size: 0.9rem; }
.btn--block { width: 100%; justify-content: center; }

.btn--rose { background: var(--rose); color: #fff; box-shadow: var(--shadow-rose); }
.btn--rose:hover { background: var(--rose-deep); color: #fff; box-shadow: 0 22px 46px -18px var(--rose-glow); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--rose); }
.btn--outline:hover { background: var(--rose); color: #fff; }
.btn--light { color: var(--moon); border-color: var(--lavender); }
.btn--light:hover { background: var(--lavender); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn-row--center { justify-content: center; }

/* ---- Link underline (rose hover) ---- */
.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--ink);
  background-image: linear-gradient(var(--rose), var(--rose));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease), color 0.25s var(--ease);
}
.link-underline:hover { background-size: 100% 2px; color: var(--rose-deep); }
.link-underline svg { transition: transform 0.3s var(--ease); }
.link-underline:hover svg { transform: translateX(4px); }

/* ---- Forms ---- */
input, textarea, select, button { font: inherit; color: inherit; }
.field {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-glow); }
textarea.field { min-height: 150px; resize: vertical; }
label { font-weight: 500; font-size: 0.95rem; color: var(--ink); display: block; margin-bottom: 0.4rem; }

/* ---- A11y ---- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 0.8rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--rose); color: #fff; }
