/* Ocean Park Lock & Key: "the corner kiosk window"
   LIGHT-DOMINANT: shell paper, sand wash, sea-night punctuation, pier-red accent. */

@font-face {
  font-family: "Notable";
  src: url("fonts/notable-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --shell: #f7f1e2;
  --sand: #ecdfc2;
  --ink: #2b2417;
  --muted: #77694f;
  --hairline: #dccfae;
  --night: #123239;
  --night-deep: #0d252b;
  --bone: #f2ecdc;
  --accent: #c2452b;
  --accent-deep: #a23621;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.44rem);
  --step-2: clamp(1.44rem, 1.25rem + 0.95vw, 1.92rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.75vw, 2.5rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 4.2rem);
  --step-5: clamp(3rem, 1.7rem + 6.5vw, 5.6rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--shell);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bone);
  padding: 0.75rem 1.25rem; z-index: 200; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 400; }

h1, h2 {
  font-family: "Notable", Georgia, serif;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 { font-size: var(--step-4); margin-bottom: 1rem; }
h2 em, h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  letter-spacing: 0;
  color: var(--accent);
}
h2.light em { color: var(--accent); }
h3 { font-size: var(--step-1); line-height: 1.25; margin-bottom: 0.5rem; font-weight: 700; }

.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow-light { color: var(--accent); }
.eyebrow-ink { color: var(--ink); }

.lede { max-width: 62ch; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.lede.light { color: #b9c9c4; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 241, 226, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-key {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--accent); color: var(--bone); flex: none;
  transition: transform 0.2s var(--ease);
}
.brand:hover .brand-key { transform: rotate(-18deg); }
.brand-text { font-family: "Notable", Georgia, serif; font-size: 1.02rem; line-height: 1.1; }
.brand-text em { font-family: Georgia, serif; font-style: italic; color: var(--accent); }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 600;
  position: relative; padding: 0.25rem 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }
.header-call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink); color: var(--bone); text-decoration: none; font-weight: 700;
  font-variant-numeric: tabular-nums; font-size: 0.95rem;
  padding: 0.65rem 1.1rem; border-radius: 6px;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
  white-space: nowrap;
}
.header-call:hover { background: var(--accent); transform: translateY(-2px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 0.95rem 1.7rem; border-radius: 6px; border: 2px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--bone); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(194, 69, 43, 0.35); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); transform: translateY(-3px); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: var(--night-deep); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }

/* ---------- hero ---------- */
.hero { padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42rem 30rem at 12% 8%, rgba(194, 69, 43, 0.10), transparent 60%),
    radial-gradient(36rem 28rem at 88% 90%, rgba(18, 50, 57, 0.08), transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; position: relative;
}
.hero-title { font-size: var(--step-5); margin-bottom: 1.4rem; }
.hero-title .mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .mask > span { display: inline-block; }
.hero-sub { max-width: 46ch; font-size: var(--step-1); color: var(--muted); margin-bottom: 2rem; line-height: 1.5; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; font-size: 0.95rem; color: var(--muted); }
.trust-row strong { color: var(--ink); }
.trust-row li { display: flex; align-items: center; gap: 0.4rem; }
.trust-row li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* kiosk window frame: the unforgettable element */
.window-frame {
  border: 12px solid var(--ink);
  outline: 2px solid var(--hairline);
  outline-offset: 5px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(43, 36, 23, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.window-frame:hover { transform: translateY(-5px) rotate(0.4deg); box-shadow: 0 32px 70px rgba(43, 36, 23, 0.3); }
.window-frame img { width: 100%; transition: transform 0.6s var(--ease); }
.window-frame:hover img { transform: scale(1.03); }
.window-tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  background: var(--accent); color: var(--bone);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border-radius: 4px;
}
.hero-photo figcaption { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); font-style: italic; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--sand); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 2.2rem 0; }
.strip-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.strip-list li { display: flex; align-items: baseline; gap: 0.9rem; }
.strip-num { font-family: "Notable", Georgia, serif; font-size: var(--step-2); color: var(--accent); white-space: nowrap; }
.strip-label { font-size: 0.95rem; color: var(--muted); line-height: 1.45; }

/* ---------- sliding-window track dividers ---------- */
.track-divider { padding: 0; }
.track-divider svg { display: block; width: 100%; height: 40px; }
.track-divider .track { stroke: var(--hairline); stroke-width: 3; }
.track-divider .key-pull { fill: var(--accent); stroke: var(--ink); stroke-width: 2; transition: transform 1.4s var(--ease); }
.track-divider.in-view .key-pull { transform: translateX(min(88vw, 1040px)); }

/* ---------- services ---------- */
.service-rows { list-style: none; counter-reset: svc; }
.service-row {
  display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: start;
  padding: 1.9rem 0; border-bottom: 1px solid var(--hairline);
  transition: background 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.service-row:first-child { border-top: 1px solid var(--hairline); }
.service-row:hover { background: rgba(236, 223, 194, 0.45); padding-left: 1rem; }
.row-num {
  font-family: "Notable", Georgia, serif; font-size: var(--step-2); color: transparent;
  -webkit-text-stroke: 1.5px var(--accent); line-height: 1.1; padding-top: 0.2rem;
}
.service-row p { color: var(--muted); max-width: 68ch; }

/* ---------- at the window ---------- */
.window-band { background: var(--shell); }
.window-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.window-photos figcaption { margin-top: 0.9rem; font-size: 0.92rem; color: var(--muted); font-style: italic; }
.cash-note {
  margin-top: 2.5rem; padding: 1.2rem 1.6rem; border-left: 4px solid var(--accent);
  background: var(--sand); max-width: 60ch; font-size: 1.02rem;
}
.cash-note strong { color: var(--accent-deep); }

/* ---------- reviews (sea-night band) ---------- */
.reviews { background: var(--night); color: var(--bone); }
.reviews .section-head h2 { color: var(--bone); }
.stars { display: flex; gap: 0.3rem; margin-bottom: 1.2rem; }
.stars svg { width: 1.3rem; height: 1.3rem; fill: var(--accent); }
.featured-quote { max-width: 60rem; margin: 0 0 3.5rem; }
.featured-quote p {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2rem); line-height: 1.45; color: var(--bone);
  text-wrap: pretty; margin-bottom: 1rem;
}
.featured-quote cite, .review-row cite {
  font-style: normal; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
}
.review-rows { display: grid; gap: 2.2rem; max-width: 60rem; }
.review-row { border-left: 3px solid var(--accent); padding-left: 1.6rem; }
.review-row p { font-size: 1.02rem; line-height: 1.65; color: #d9ded2; margin-bottom: 0.7rem; text-wrap: pretty; }

/* ---------- process ---------- */
.process-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-steps li { border-top: 3px solid var(--accent); padding-top: 1.2rem; transition: transform 0.2s var(--ease); }
.process-steps li:hover { transform: translateY(-5px); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--ink); color: var(--bone); font-weight: 700; margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.process-steps p { color: var(--muted); font-size: 0.96rem; }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.visit-card {
  font-style: normal; background: var(--sand); border: 1px solid var(--hairline);
  border-radius: 10px; padding: 2.2rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.visit-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(43, 36, 23, 0.16); }
.visit-line { margin-bottom: 1.4rem; font-size: 1.05rem; line-height: 1.7; }
.visit-line:last-child { margin-bottom: 0; }
.visit-line strong { font-size: 1.15rem; }
.visit-line a { color: var(--accent-deep); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.visit-line a:hover { color: var(--accent); }
.visit-hours { color: var(--muted); font-size: 0.95rem; }

/* ---------- faq ---------- */
.faq-narrow { max-width: 820px; }
.faq-list details {
  border-bottom: 1px solid var(--hairline); padding: 1.3rem 0;
}
.faq-list details:first-child { border-top: 1px solid var(--hairline); }
.faq-list summary {
  cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--accent); flex: none;
  transition: transform 0.2s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); margin-top: 0.8rem; max-width: 62ch; }

/* ---------- final CTA ---------- */
.final-cta { background: var(--accent); color: var(--bone); text-align: center; }
.final-cta h2 { color: var(--bone); font-size: var(--step-5); margin-bottom: 1.6rem; }
.final-cta h2 em { color: var(--ink); }
.final-phone {
  display: inline-block; font-family: "Notable", Georgia, serif;
  font-size: clamp(2.2rem, 1.4rem + 5vw, 4.4rem); color: var(--bone); text-decoration: none;
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em; margin-bottom: 2rem;
  transition: transform 0.2s var(--ease);
}
.final-phone:hover { transform: scale(1.03); }
.final-cta .btn-ink { margin-bottom: 1.6rem; }
.final-note { color: rgba(242, 236, 220, 0.85); font-size: 0.95rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--night-deep); color: #b9c9c4; padding: 2.8rem 0; font-size: 0.95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer a { color: var(--bone); }
.site-footer strong { color: var(--bone); }
.footer-small { font-size: 0.85rem; color: #8fa09b; }

/* ---------- mobile call bar ---------- */
.mobile-call-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--accent); color: var(--bone); text-decoration: none; font-weight: 700;
  font-size: 1.05rem; padding: 1rem; align-items: center; justify-content: center; gap: 0.6rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- motion ---------- */
/* Hidden states are JS-gated: content is fully visible with JS disabled. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.in-view { opacity: 1; transform: none; }

.js .reveal-hero { opacity: 0; transform: translateY(14px); animation: heroIn 0.7s var(--ease) forwards; animation-delay: var(--rd, 0ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.js .hero-title .mask > span { transform: translateY(110%); animation: rise 0.7s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .reveal-hero { opacity: 1; transform: none; }
  .js .hero-title .mask > span { transform: none; }
  .track-divider .key-pull { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; }
  .visit-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 600px) {
  .strip-list { grid-template-columns: 1fr; gap: 1.2rem; }
  .window-photos { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .header-call span { display: none; }
  .header-call { padding: 0.65rem 0.85rem; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 3.6rem; }
  .site-footer { padding-bottom: 5.5rem; }
}
