:root {
  color-scheme: dark;
  --ink: #f7f4ed;
  --muted: #aeb5bf;
  --line: rgba(255,255,255,.13);
  --panel: rgba(255,255,255,.055);
  --accent: #d8b96e;
  --bg: #080b10;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -5%, rgba(94,118,139,.28), transparent 38rem),
    linear-gradient(180deg, #11161d 0%, #080b10 54%, #05070a 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

a { color: inherit; }
.page-shell { position: relative; width: min(100%, 720px); margin: 0 auto; min-height: 100vh; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 34px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.wordmark { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.wordmark > span:last-child { display: grid; gap: 2px; }
.wordmark strong { font-size: .72rem; letter-spacing: .13em; }
.wordmark small { color: var(--muted); font-size: .56rem; letter-spacing: .17em; }
.monogram {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216,185,110,.65);
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: .76rem;
  letter-spacing: .06em;
}
.site-link { color: #cfd4dc; font-size: .75rem; text-decoration: none; letter-spacing: .03em; }

.contact-hero { padding: 42px clamp(20px, 6vw, 44px) 38px; text-align: center; }
.portrait-wrap { position: relative; width: 168px; margin: 0 auto 24px; }
.portrait-ring {
  position: relative;
  width: 168px;
  height: 168px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f0d58a, #725e31 45%, #e6cb83);
  box-shadow: 0 22px 60px rgba(0,0,0,.42), 0 0 0 8px rgba(216,185,110,.06);
}
.portrait-ring img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #10151b; }
.available-dot { position: absolute; right: 10px; bottom: 12px; width: 22px; height: 22px; border-radius: 50%; background: #4ccb78; border: 4px solid #0c1015; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .67rem; font-weight: 700; letter-spacing: .2em; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 12vw, 4.4rem); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.role { margin: 14px 0 4px; font-size: 1rem; font-weight: 650; }
.dealership { margin: 0; color: var(--muted); font-size: .92rem; }

.save-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 70px;
  margin: 30px 0 18px;
  padding: 14px 20px;
  color: #14110a;
  text-decoration: none;
  background: linear-gradient(135deg, #f2daa0 0%, #d3ad55 55%, #f0d18a 100%);
  box-shadow: 0 16px 40px rgba(204,163,70,.2);
  transition: transform .18s ease, filter .18s ease;
}
.save-button:active { transform: scale(.985); filter: brightness(.95); }
.save-button svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.save-button span { display: grid; gap: 2px; text-align: left; }
.save-button strong { font-size: 1rem; letter-spacing: .01em; }
.save-button small { font-size: .72rem; opacity: .72; }

.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-actions a {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 15px 8px 13px;
  border: 1px solid var(--line);
  color: #e9ebee;
  text-decoration: none;
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.quick-actions strong { font-size: .76rem; font-weight: 650; }
.action-icon { display: grid; place-items: center; width: 28px; height: 28px; color: var(--accent); }
.action-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }

.details { margin-top: 25px; border-top: 1px solid var(--line); text-align: left; }
.details a {
  display: grid;
  grid-template-columns: 86px 1fr 14px;
  align-items: center;
  gap: 12px;
  min-height: 65px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.details span { color: var(--muted); font-size: .76rem; }
.details strong { overflow-wrap: anywhere; font-size: .82rem; font-weight: 590; }
.details i { color: var(--accent); font-family: Georgia, serif; font-size: 1.5rem; font-style: normal; }
.promise { margin: 25px auto 0; max-width: 34rem; color: #b7bdc5; font-family: Georgia, serif; font-size: .95rem; line-height: 1.55; }
footer { padding: 24px 20px calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.07); color: #707882; text-align: center; font-size: .66rem; line-height: 1.5; }
footer p { margin: 2px 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 5;
  padding: 12px 17px;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  background: rgba(18,22,28,.94);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  font-size: .78rem;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: .2s ease;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 680px) {
  .page-shell { margin-top: 24px; margin-bottom: 24px; min-height: calc(100vh - 48px); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
  .contact-hero { padding-top: 54px; }
}
@media (max-width: 370px) {
  .site-link { display: none; }
  .portrait-wrap, .portrait-ring { width: 148px; height: 148px; }
  .portrait-wrap { margin-bottom: 20px; }
  .details a { grid-template-columns: 70px 1fr 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
