/* ===== Tokens ===== */
:root {
  --plum: #591e4a;
  --plum-deep: #44143a;
  --plum-soft: #b77a9f;
  --ink: #261020;
  --slate: #182526;
  --taupe: #736665;
  --paper: #f2f2f2;
  --white: #ffffff;
  --line: rgba(38, 16, 32, 0.14);
  --line-light: rgba(242, 242, 242, 0.16);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1180px;
  --pad: clamp(20px, 4.5vw, 44px);
}

/* ===== Base ===== */
html { max-width: 100vw; overflow-x: hidden !important; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
}
::selection { background: var(--plum); color: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 350; line-height: 1.12; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--plum-soft); }

/* ===== Buttons ===== */
.button button, .button a, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--plum);
  color: var(--paper);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.button button:hover, .button a:hover, a.btn:hover {
  background: var(--plum-deep);
}
.button .button-style-2, .btn.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(38, 16, 32, 0.35);
}
.button .button-style-2:hover, .btn.btn-ghost:hover {
  background: var(--white);
  border-color: var(--plum);
  color: var(--plum);
}
.button .btn-light, .btn-light { background: var(--paper); color: var(--ink); }
.button .btn-light:hover, .btn-light:hover { background: var(--white); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

/* ===== Header (desktop) ===== */
.desktop-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  height: 72px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(242, 242, 242, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease-in-out;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark em { font-style: italic; color: var(--plum); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -2px;
  height: 1.5px;
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after, .active-link::after { transform: scaleX(1); }
.nav-links .active-link { color: var(--plum); }
.header-contact-btn {
  background: var(--plum);
  color: var(--paper);
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.25s ease;
}
.header-contact-btn:hover { background: var(--plum-deep); }

/* ===== Mobile header & sidebar ===== */
.mobile-header { display: none; }
.mobile-header i { font-size: 28px; color: var(--ink); padding: 0 16px; cursor: pointer; }
.mobile-header .header-contact-btn { font-size: 0.78rem; padding: 10px 18px; }
.sidebar {
  height: 0px;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  background-color: var(--ink);
  z-index: 40;
  transition: all 0.3s ease;
  margin-top: 72px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sidebar::after {
  content: "";
  height: calc(100vh - 72px);
  width: 100%;
  position: absolute;
  top: 0;
}
.sidebar a {
  padding: 30px 0px 30px 0px;
  font-family: var(--display);
  font-size: 1.35rem;
  color: #f2f2f2;
  border-bottom: 1px solid var(--line-light);
  width: 100%;
  text-decoration: none;
  text-align: center;
  z-index: 50;
  transition: color 0.25s ease;
}
.sidebar a:hover { color: var(--plum-soft); }

/* ===== Floating call ===== */
.call-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--paper);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 10px 28px -10px rgba(89, 30, 74, 0.55);
  z-index: 50;
  transition: transform 0.2s ease, background 0.2s ease;
}
.call-float:hover { transform: translateY(-3px); background: var(--plum-deep); }

/* ===== Reveal ===== */
.animated-element {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animated-visible-element { opacity: 1; transform: none; }
