/* ==========================================================================
   Justin Eterovich Photography
   Design tokens and styles, ported from the Claude Design prototype.
   ========================================================================== */

* { box-sizing: border-box; }

:root {
  --bg:#f6f3ee; --surface:#fffdfa; --ink:#24211d; --muted:#5f584e; --faint:#8b8377;
  --line:#e5ddd0; --line-strong:#d6cec1; --field:#f9f6f1; --field-line:#ded5c7; --chip:#ece5da;
  --accent:#b8552c; --accent-hover:#9c4522; --accent-bright:#e8916a; --accent-deep:#8a6a4f;
  --band:#24211d; --band-ink:#f6f3ee; --band-muted:#cdc6bb; --band-line:#3b3731;
  --btn-bg:#24211d; --btn-fg:#f6f3ee; --btn-bg-hover:#3a352e;
  /* Focused fields go pure white in light mode; dark mode overrides this so
     light --ink text is not painted onto a white field. */
  --field-focus-bg:#ffffff;
  color-scheme: light;

  --container: 1280px;
  --pad-x: clamp(20px, 5vw, 64px);
  --sans: 'Source Sans 3', Helvetica, Arial, sans-serif;
  --display: Archivo, Helvetica, sans-serif;
  --mono: ui-monospace, Menlo, monospace;
}

[data-theme="dark"] {
  --bg:#171511; --surface:#201d18; --ink:#f2eee6; --muted:#b3aa9c; --faint:#8a8276;
  --line:#302c25; --line-strong:#3c372e; --field:#1b1914; --field-line:#3a352c; --chip:#211e19;
  --accent:#d97744; --accent-hover:#e88d5c; --accent-bright:#e8916a; --accent-deep:#c9a37e;
  --band:#221f1a; --band-ink:#f2eee6; --band-muted:#b3aa9c; --band-line:#3a352c;
  --btn-bg:#f2eee6; --btn-fg:#171511; --btn-bg-hover:#ffffff;
  --field-focus-bg: var(--surface);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#171511; --surface:#201d18; --ink:#f2eee6; --muted:#b3aa9c; --faint:#8a8276;
    --line:#302c25; --line-strong:#3c372e; --field:#1b1914; --field-line:#3a352c; --chip:#211e19;
    --accent:#d97744; --accent-hover:#e88d5c; --accent-bright:#e8916a; --accent-deep:#c9a37e;
    --band:#221f1a; --band-ink:#f2eee6; --band-muted:#b3aa9c; --band-line:#3a352c;
    --btn-bg:#f2eee6; --btn-fg:#171511; --btn-bg-hover:#ffffff;
    --field-focus-bg: var(--surface);
    color-scheme: dark;
  }
}

body { margin: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
input, textarea, button { font-family: inherit; }

@keyframes jepFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.page { font-family: var(--sans); color: var(--ink); background: var(--bg); min-height: 100vh; overflow-x: hidden; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10; padding: 12px 18px; background: var(--accent); color: #fff; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; text-decoration: none; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding: 22px var(--pad-x); max-width: var(--container); margin: 0 auto;
}
.brand { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); font-weight: 600; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.2vw, 26px); }

.theme-toggle {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px;
  border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent;
  color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--accent); }

/* Nav links keep their muted colour on hover and pick up only an underline,
   matching the prototype (its inline colour outranked the global a:hover). */
.nav-link { font-size: 15px; color: var(--muted); font-weight: 500; }
.nav-link:hover { color: var(--muted); text-decoration: underline; }

.btn-book {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 15px;
}
.btn-book:hover { background: var(--btn-bg-hover); color: var(--btn-fg); text-decoration: none; }

/* ---------- Hero ---------- */

.hero { max-width: var(--container); margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--pad-x) 72px; }
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 520px; min-width: 0; }

.chip {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; height: 30px;
  padding: 0 13px; border-radius: 999px; background: var(--chip); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--accent-deep);
}
.hero-title {
  font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.2vw, 68px);
  line-height: 0.98; letter-spacing: -0.035em; margin: 0; text-wrap: balance;
}
.hero-title .accent { color: var(--accent); }
.hero-lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); margin: 0; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.hero-note { font-size: 14px; color: var(--faint); margin: 2px 0 0; }

.btn-primary {
  display: inline-flex; align-items: center; height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 17px;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }

.btn-outline {
  display: inline-flex; align-items: center; height: 54px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); color: var(--ink); font-weight: 600; font-size: 17px;
}
.btn-outline:hover { background: var(--chip); color: var(--ink); text-decoration: none; }

/* ---------- Before / after phone mockups ---------- */

.mockups { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(20px, 3vw, 44px); }
.mockup { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: jepFade 0.6s ease both; }
.mockup--after { animation-delay: 0.12s; }

.mockup-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--faint); }
.mockup--after .mockup-label { color: var(--accent); }

.mockup-caption { max-width: 260px; text-align: center; font-size: 14px; color: var(--faint); line-height: 1.45; }
.mockup--after .mockup-caption { color: var(--muted); }

.phone { width: 274px; border-radius: 42px; background: #1b1c1e; padding: 9px; box-shadow: 0 26px 50px -20px rgba(36,33,29,0.45); }
.phone--after { box-shadow: 0 34px 60px -18px rgba(184,85,44,0.4), 0 0 0 3px rgba(184,85,44,0.35); }

.phone-screen { border-radius: 34px; background: #0e0f11; overflow: hidden; height: 512px; display: flex; flex-direction: column; }

.phone-map { height: 66px; background: #2a2c2f; position: relative; flex: none; }
.phone-map-grid { position: absolute; inset: 0; background: repeating-linear-gradient(58deg, #34363a 0 9px, #2a2c2f 9px 20px); }
.phone-map-handle { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); width: 46px; height: 5px; border-radius: 3px; background: #5a5d62; }

.phone-body { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 12px; }

.place { display: flex; flex-direction: column; gap: 2px; }
.place-name { font-family: var(--display); font-weight: 700; font-size: 21px; color: #fff; letter-spacing: -0.02em; }
.place-sub { font-size: 12px; color: #8e939b; }

.phone-actions { display: flex; gap: 7px; }
.phone-action {
  flex: 1; height: 34px; border-radius: 10px; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  background: #16283f; color: #4d94f8;
}
.phone-action--go { background: #2f7cf6; color: #fff; }

.phone-facts { display: flex; gap: 18px; padding: 2px 0 0; }
.phone-fact { display: flex; flex-direction: column; gap: 2px; }
.phone-fact-key { font-size: 10px; color: #8e939b; font-weight: 600; }
.phone-fact-val { font-size: 13px; color: #d8dbe0; font-weight: 700; }
.phone-fact-val--open { color: #3fbf62; }

.phone-empty {
  border: 1.5px dashed #35383d; border-radius: 14px; height: 118px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.phone-empty-code { font-family: var(--mono); font-size: 11px; color: #6a6f77; }
.phone-empty-note { font-size: 11px; color: #4e535a; }

.phone-ratings { display: flex; flex-direction: column; gap: 9px; padding-top: 2px; }
.phone-ratings-title { font-size: 13px; color: #d8dbe0; font-weight: 700; }
.phone-rating { display: flex; flex-direction: column; gap: 1px; }
.phone-rating-key { font-size: 12px; color: #b9bdc4; font-weight: 600; }
.phone-rating-val { font-size: 12px; color: #6a6f77; }

.phone-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 84px 62px; gap: 6px; }
.phone-photo { border-radius: 12px; display: flex; align-items: flex-end; padding: 8px; }
.phone-photo--hero { grid-row: span 2; }
.phone-photo-label { font-family: var(--mono); font-size: 10px; line-height: 1.3; }

.swatch-food { background: repeating-linear-gradient(35deg, #2b241f 0 8px, #221c18 8px 16px); }
.swatch-food .phone-photo-label, .swatch-food .phone-thumb-label { color: #b39177; }
.swatch-room { background: repeating-linear-gradient(35deg, #24282b 0 8px, #1c2023 8px 16px); }
.swatch-room .phone-photo-label, .swatch-room .phone-thumb-label { color: #8b959c; }
.swatch-bar { background: repeating-linear-gradient(35deg, #2a2724 0 8px, #221f1c 8px 16px); }
.swatch-bar .phone-photo-label, .swatch-bar .phone-thumb-label { color: #a3968a; }

.phone-tabs { display: flex; gap: 14px; border-bottom: 1px solid #24272b; padding-bottom: 8px; }
.phone-tab { font-size: 12px; color: #8e939b; }
.phone-tab--on { color: #4d94f8; font-weight: 700; }

.phone-highlights { display: flex; flex-direction: column; gap: 7px; }
.phone-highlights-title { font-size: 13px; color: #d8dbe0; font-weight: 700; }
.phone-thumbs { display: flex; gap: 6px; }
.phone-thumb { flex: 1; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.phone-thumb-label { font-family: var(--mono); font-size: 9px; }

/* ---------- Stats band ---------- */

.stats { background: var(--band); color: var(--band-ink); padding: clamp(56px, 7vw, 88px) var(--pad-x); }
.stats-inner {
  max-width: var(--container); margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.stats-title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 28px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: -0.04em; color: var(--accent-bright); line-height: 1; }
.stat-label { font-size: 15px; line-height: 1.45; color: var(--band-muted); }
.stats-note { grid-column: 1 / -1; font-size: 13px; color: var(--faint); margin: 4px 0 0; line-height: 1.5; }

/* ---------- How it works ---------- */

.how { max-width: var(--container); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--pad-x); }
.eyebrow { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--faint); }
.how-title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.03; letter-spacing: -0.03em; margin: 14px 0 44px; max-width: 620px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--accent); }
.step-title { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 0; }
.step-body { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Pricing ---------- */

.pricing { padding: 0 var(--pad-x) clamp(56px, 7vw, 96px); }
.pricing-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: stretch; }

.plan { background: var(--band); color: var(--band-ink); border-radius: 24px; padding: clamp(30px, 3vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.plan-name { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; margin: 0; }
.plan-price { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.04em; color: var(--accent-bright); }
.plan-rule { height: 1px; background: var(--band-line); }
.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; font-size: 16px; line-height: 1.5; color: var(--band-muted); }
.plan-list li { display: flex; gap: 11px; }
.plan-bullet { color: var(--accent-bright); font-weight: 700; }
.plan-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; height: 54px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 17px; }
.plan-cta:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }

.custom { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(30px, 3vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.custom-title { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; margin: 0; }
.custom-body { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.custom-contacts { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 8px; }
.custom-contact { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -0.02em; }
.custom-contact--email { word-break: break-word; }

/* ---------- Contact ---------- */

.contact { background: var(--chip); padding: clamp(56px, 7vw, 96px) var(--pad-x); }
.contact-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 16px; }
.contact-title { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; }
.contact-body { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 420px; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; font-size: 16px; color: var(--muted); }

.contact-card { background: var(--surface); border: 1px solid var(--field-line); border-radius: 24px; padding: clamp(24px, 2.6vw, 36px); }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--faint); }
.input, .textarea {
  border-radius: 12px; border: 1.5px solid var(--field-line); background: var(--field);
  font-size: 16px; color: var(--ink); width: 100%; min-width: 0;
}
.input { height: 48px; padding: 0 14px; }
.textarea { padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus { border-color: var(--accent); outline: none; background: var(--field-focus-bg); }

.form-submit { grid-column: 1 / -1; height: 54px; border: none; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: 17px; cursor: pointer; }
.form-submit:hover { background: var(--btn-bg-hover); }

.sent { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; }
.sent-title { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.sent-body { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */

.site-footer {
  max-width: var(--container); margin: 0 auto; padding: 34px var(--pad-x) 46px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--faint);
}
.footer-name { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 15px; }
