/* local-sites kit: one stylesheet, themed by data-theme (palette) and data-type (type pairing) on <html>. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- Type pairings ---------- */
:root, [data-type="heritage"] { --display: "Fraunces", Georgia, serif; --body: "Instrument Sans", system-ui, sans-serif; --display-weight: 600; --display-track: -0.02em; --display-case: none; }
[data-type="workshop"]  { --display: "Archivo", system-ui, sans-serif; --body: "Archivo", system-ui, sans-serif; --display-weight: 800; --display-track: -0.035em; --display-case: none; }
[data-type="modern"]    { --display: "Space Grotesk", system-ui, sans-serif; --body: "IBM Plex Sans", system-ui, sans-serif; --display-weight: 600; --display-track: -0.03em; --display-case: none; }
[data-type="classic"]   { --display: "Playfair Display", Georgia, serif; --body: "Source Sans 3", system-ui, sans-serif; --display-weight: 700; --display-track: -0.01em; --display-case: none; }
[data-type="industrial"]{ --display: "Oswald", Impact, sans-serif; --body: "Work Sans", system-ui, sans-serif; --display-weight: 600; --display-track: 0.005em; --display-case: uppercase; }

/* ---------- Palettes ---------- */
:root, [data-theme="copper"] { --bg: #14110f; --surface: #1d1916; --surface-2: #26201b; --ink: #f4ede4; --muted: #b9ab9b; --line: rgba(244,237,228,.12); --accent: #d9874a; --accent-2: #f0b27a; --on-accent: #1a0f07; --scrim: 20,17,15; color-scheme: dark; }
[data-theme="harbor"] { --bg: #0d1620; --surface: #132130; --surface-2: #1a2c3f; --ink: #eef3f7; --muted: #9fb2c4; --line: rgba(238,243,247,.12); --accent: #ff7a2f; --accent-2: #ffb07c; --on-accent: #1d0b00; --scrim: 13,22,32; color-scheme: dark; }
[data-theme="brass"] { --bg: #101611; --surface: #172019; --surface-2: #1f2b21; --ink: #eef0e6; --muted: #a9b3a2; --line: rgba(238,240,230,.12); --accent: #c9a54a; --accent-2: #e6cc85; --on-accent: #171204; --scrim: 16,22,17; color-scheme: dark; }
[data-theme="signal"] { --bg: #111317; --surface: #191c22; --surface-2: #22262e; --ink: #f1f2f4; --muted: #a6abb5; --line: rgba(241,242,244,.12); --accent: #e5483a; --accent-2: #ff8a7d; --on-accent: #ffffff; --scrim: 17,19,23; color-scheme: dark; }
[data-theme="frost"] { --bg: #f5f3ee; --surface: #ffffff; --surface-2: #ebe7de; --ink: #14202b; --muted: #556270; --line: rgba(20,32,43,.12); --accent: #1f5f99; --accent-2: #2f7cc2; --on-accent: #ffffff; --scrim: 12,20,28; color-scheme: light; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); text-transform: var(--display-case); line-height: 1.02; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 5.4vw, 68px); max-width: 14ch; }
.section-head p { color: var(--muted); max-width: 40ch; margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--accent); color: var(--on-accent); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* ---------- Preview bar ---------- */
.preview-bar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 30px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-align: center; padding: 6px 14px; }
.has-preview .site-header { top: 30px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s ease, backdrop-filter .35s ease, padding .35s ease; padding: 18px 0; }
.site-header.scrolled { background: rgba(var(--scrim), .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); padding: 10px 0; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.scrolled .brand, [data-theme="frost"] .scrolled .brand { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; color: var(--accent-2); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); font-size: 19px; letter-spacing: var(--display-track); }
.brand-name small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .78; margin-top: 3px; }
.header-call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: #fff; border: 1px solid rgba(255,255,255,.35); padding: 10px 16px; border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.header-call:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.scrolled .header-call { color: var(--ink); border-color: var(--line); }
.header-call svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; color: #fff; }
.hero-media { position: absolute; inset: -8% 0 -8% 0; z-index: -3; will-change: transform; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .55) 42%, rgba(var(--scrim), .08) 75%),
  linear-gradient(0deg, rgba(var(--scrim), .92) 0%, rgba(var(--scrim), 0) 45%); }
.hero-front { position: absolute; z-index: -1; right: -4%; bottom: -6%; width: min(52vw, 700px); color: var(--accent); opacity: .5; will-change: transform; pointer-events: none; }
.hero-content { padding: 160px 0 clamp(56px, 9vh, 104px); will-change: transform; }
.hero h1 { font-size: clamp(46px, 8.4vw, 118px); max-width: 12ch; margin: 18px 0 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lede { font-size: clamp(17px, 1.55vw, 21px); max-width: 46ch; color: rgba(255,255,255,.86); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-call { display: inline-flex; align-items: center; gap: 14px; background: var(--accent); color: var(--on-accent); text-decoration: none; padding: 16px 26px 16px 18px; border-radius: 14px; font-weight: 700; font-size: 18px; box-shadow: 0 18px 40px -16px var(--accent); transition: transform .2s ease, box-shadow .2s ease; }
.cta-call:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -18px var(--accent); }
.cta-call .ring { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.14); display: grid; place-items: center; }
.cta-call .ring svg { width: 18px; height: 18px; }
.cta-call span small { display: block; font-size: 12px; font-weight: 600; opacity: .72; letter-spacing: .06em; text-transform: uppercase; }
.cta-dir svg { width: 20px; height: 20px; flex: none; }
.cta-dir { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.4); transition: border-color .2s, color .2s; }
.cta-dir:hover { color: var(--accent-2); border-color: var(--accent-2); }
.hero-proof { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14.5px; color: rgba(255,255,255,.82); }
.hero-proof b { color: #fff; }
.stars { color: #f7c548; letter-spacing: 2px; }
[data-layout="center"] .hero { text-align: center; align-items: center; }
[data-layout="center"] .hero h1, [data-layout="center"] .hero .lede { margin-inline: auto; }
[data-layout="center"] .hero-actions, [data-layout="center"] .hero-proof { justify-content: center; }
[data-layout="center"] .hero-scrim { background: radial-gradient(ellipse at center, rgba(var(--scrim), .55) 0%, rgba(var(--scrim), .8) 70%), linear-gradient(0deg, rgba(var(--scrim), .9), rgba(var(--scrim), 0) 40%); }

.kenburns { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about h2 { font-size: clamp(36px, 5vw, 64px); margin: 14px 0 26px; max-width: 13ch; }
.about-copy p { color: var(--muted); font-size: 18px; max-width: 52ch; }
.about-copy p:first-of-type { color: var(--ink); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; }
.about-figure { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--surface-2); }
.about-figure img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.about-figure figcaption { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(var(--scrim), .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; padding: 16px 18px; border-radius: 14px; font-size: 14px; display: flex; gap: 14px; align-items: center; }
.about-figure figcaption b { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--accent-2); }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts div b { display: block; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(30px, 3.4vw, 42px); line-height: 1; color: var(--ink); }
.facts div span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- Services ---------- */
.services { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.service { background: var(--surface); padding: clamp(28px, 3vw, 40px); position: relative; transition: background .3s; min-height: 220px; display: flex; flex-direction: column; }
.service:hover { background: var(--surface-2); }
.service .num { font-family: var(--display); font-size: 15px; color: var(--accent-2); letter-spacing: .1em; }
.service h3 { font-size: clamp(23px, 2.1vw, 28px); margin: 26px 0 12px; line-height: 1.1; }
.service p { color: var(--muted); margin: 0; font-size: 16px; }
.service::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .5s ease; }
.service:hover::after { width: 100%; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.review.feature { grid-row: span 2; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.review.feature blockquote { font-family: var(--display); font-weight: 400; text-transform: none; letter-spacing: -0.01em; font-size: clamp(22px, 2.3vw, 31px); line-height: 1.35; }
.review blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 72px; line-height: .6; color: var(--accent); margin-bottom: 14px; }
.review figcaption { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); gap: 12px; flex-wrap: wrap; }
.review figcaption b { color: var(--ink); font-weight: 600; }
.reviews-more { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--muted); }
.reviews-more a { color: var(--accent-2); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- Visit (hours + location) ---------- */
.visit { background: var(--surface); }
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.hours { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.hours li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.hours li.today { color: var(--accent-2); font-weight: 600; }
.hours li.today span:last-child { color: var(--accent-2); }
.address-block { margin-top: 30px; font-size: 18px; }
.address-block a { text-decoration: none; border-bottom: 1px solid var(--line); }
.place-card { position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); display: flex; align-items: flex-end; }
.place-card .blueprint { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); opacity: .28; }
.place-pin { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(0,0,0,.12), 0 20px 40px -12px var(--accent); }
.place-pin svg { width: 28px; height: 28px; }
.place-body { position: relative; width: 100%; padding: 28px; background: linear-gradient(0deg, var(--surface-2) 55%, transparent); }
.place-town { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-track); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; margin: 10px 0 8px; }
.place-addr { color: var(--muted); margin-bottom: 20px; }
.place-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.place-actions a { text-decoration: none; font-weight: 600; padding: 12px 18px; border-radius: 12px; font-size: 15px; }
.place-go { background: var(--accent); color: var(--on-accent); }
.place-open { border: 1px solid var(--line); }
.place-open:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ---------- Footer / contact ---------- */
.contact { text-align: center; padding: clamp(90px, 13vw, 170px) 0 60px; position: relative; overflow: hidden; }
.contact h2 { font-size: clamp(40px, 7vw, 96px); max-width: 15ch; margin: 18px auto 34px; }
.contact .big-phone { display: inline-block; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(34px, 6vw, 76px); color: var(--accent-2); text-decoration: none; letter-spacing: var(--display-track); border-bottom: 3px solid var(--accent); line-height: 1.1; }
.footer-meta { margin-top: 90px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); text-align: left; }
.footer-meta a { text-decoration: none; }

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .visit-grid, .reviews-grid { grid-template-columns: 1fr; }
  .review.feature { grid-row: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-figure { aspect-ratio: 4 / 3.4; }
  .place-card { min-height: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .header-call { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name b { font-size: 17px; }
  .hero-content { padding-top: 130px; }
  .hero-scrim { background: linear-gradient(0deg, rgba(var(--scrim), .95) 0%, rgba(var(--scrim), .55) 55%, rgba(var(--scrim), .35) 100%); }
  .hero-front { width: 90vw; right: -30%; opacity: .32; }
  .cta-call { width: 100%; justify-content: center; }
  .facts { grid-template-columns: repeat(2, auto); }
  .service-grid { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; }
  .call-bar { display: flex; position: fixed; z-index: 55; left: 12px; right: 12px; bottom: 12px; gap: 10px; }
  .call-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 16px; }
  .call-bar .c { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); }
  .call-bar .d { flex: 0 0 auto; background: rgba(var(--scrim), .9); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.15); }
  .call-bar svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media, .hero-front, .hero-content, .about-figure img { transform: none !important; }
  .kenburns { animation: none; }
  .cta-call, .service::after { transition: none; }
}
