/* Francis Nails — minimal Japanese calm
   Off-white · ink · one soft red dot · Shippori Mincho / Zen Kaku Gothic New */
:root {
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --ink: #1d1d1b;
  --ink-2: #4a4945;
  --muted: #8a877f;
  --line: #dcd8ce;
  --dot: #d9534f;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
  --col: 640px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font-family: var(--sans); font-size: 16.5px; line-height: 2; letter-spacing: 0.02em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.prose a, p a { color: var(--ink); border-bottom: 1px solid var(--ink); }
.col { width: min(var(--col), 100% - 48px); margin: 0 auto; }
.wide { width: min(980px, 100% - 48px); margin: 0 auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.45; margin: 0 0 18px; letter-spacing: 0.04em; }
h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.35; }
h2 { font-size: clamp(25px, 3.4vw, 32px); }
h3 { font-size: 20px; }
.cap { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; display: block; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 240, 0.94); backdrop-filter: blur(8px); transition: box-shadow 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
header.site.scrolled { border-color: var(--line); }
header.site .wrap { width: min(1100px, 100% - 48px); margin: 0 auto; display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { font-family: var(--serif); font-size: 21px; color: var(--ink); letter-spacing: 0.12em; display: flex; align-items: center; gap: 12px; }
.logo::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
nav.main { display: flex; gap: 30px; margin-left: auto; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; }
nav.main a { color: var(--muted); padding: 6px 0; position: relative; transition: color 0.3s; }
nav.main a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); transform: translateX(-50%) scale(0); transition: transform 0.3s; }
nav.main a:hover, nav.main a.active { color: var(--ink); }
nav.main a.active::after, nav.main a:hover::after { transform: translateX(-50%) scale(1); }
.status-pill { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-2); border: 1px solid var(--line); padding: 5px 13px; border-radius: 999px; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.status-pill.open::before { background: #6b8f71; }
.status-pill.closed::before { background: #b9b5ab; }
.call-btn { font-size: 13px; letter-spacing: 0.14em; border: 1px solid var(--ink); color: var(--ink); padding: 9px 18px; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.call-btn:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); width: 44px; height: 40px; font-size: 18px; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; font-size: 13.5px; letter-spacing: 0.2em; text-transform: uppercase; padding: 15px 30px; border: 1px solid var(--ink); transition: background 0.35s, color 0.35s; }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: transparent; color: var(--ink); }
.btn.ghost { color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }

/* Hero */
.hero { padding: 120px 0 110px; text-align: center; position: relative; }
.hero .sun { width: 74px; height: 74px; border-radius: 50%; background: var(--dot); margin: 0 auto 48px; animation: rise 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .lead { font-size: 17px; max-width: 520px; margin: 0 auto; }
.hero h1, .hero .lead, .hero .cap, .hero .cta-row { animation: fade 1.4s ease both; }
.hero .cap { animation-delay: 0.2s; } .hero h1 { animation-delay: 0.35s; } .hero .lead { animation-delay: 0.55s; } .hero .cta-row { animation-delay: 0.75s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.hero.small { padding: 100px 0 70px; }
.vert { position: absolute; right: max(24px, calc(50% - 540px)); top: 110px; writing-mode: vertical-rl; font-family: var(--serif); font-size: 13px; letter-spacing: 0.5em; color: var(--muted); }

.hero-photo { width: min(980px, 100% - 48px); margin: 0 auto; }
.hero-photo img { width: 100%; aspect-ratio: 21/9; object-fit: cover; filter: saturate(0.85); }
.hero-photo figcaption, .note { font-size: 12px; color: var(--muted); margin-top: 10px; letter-spacing: 0.06em; }

/* Rhythm */
.sec { padding: 110px 0; }
.sec.tint { background: var(--paper-2); }
.rule { width: 1px; height: 70px; background: var(--line); margin: 0 auto; }
.center { text-align: center; }
.prose p { margin: 0 0 26px; }
.prose p:last-child { margin-bottom: 0; }

/* Stats */
.stats { padding: 70px 0; }
.stats .wrap { width: min(var(--col), 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stats .wrap > div { padding: 0 10px; border-left: 1px solid var(--line); }
.stats .wrap > div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: 38px; color: var(--ink); line-height: 1.2; }
.stats span { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }

/* Service list */
.list { border-top: 1px solid var(--line); }
.list .card { display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.list .card .no { font-family: var(--serif); color: var(--muted); font-size: 14px; padding-top: 4px; }
.list .card h3 { margin: 0 0 6px; }
.list .card p { margin: 0; grid-column: 2; }
.list .card:hover h3 { color: var(--dot); }
.list .card h3 { transition: color 0.4s; }
.more { display: inline-block; margin-top: 40px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

/* Quotes */
.quote { margin: 0 0 70px; text-align: center; }
.quote:last-child { margin-bottom: 0; }
.quote p { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 25px); color: var(--ink); line-height: 1.8; margin: 0 0 16px; }
.quote cite { font-style: normal; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.quote::before { content: ""; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin: 0 auto 26px; }

/* Values / why */
.pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 54px 48px; }
.pairs h3 { font-size: 19px; }
.pairs p { margin: 0; }
.pairs .card { border-top: 1px solid var(--ink); padding-top: 22px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 36px 24px 0; font-family: var(--serif); font-size: 18px; color: var(--ink); position: relative; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 1px; background: var(--ink); box-shadow: none; transition: transform 0.4s; }
.faq summary::before { content: ""; position: absolute; right: 12px; top: calc(50% - 6px); width: 1px; height: 13px; background: var(--ink); transition: transform 0.4s, opacity 0.4s; }
.faq details[open] summary::before { transform: rotate(90deg); opacity: 0; }
.faq details p { margin: 0 0 26px; }

/* Signs + steps */
.signs { list-style: none; margin: 0; padding: 0; }
.signs li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); position: relative; }
.signs li::before { content: ""; position: absolute; left: 4px; top: 31px; width: 8px; height: 1px; background: var(--ink); }
.steps { counter-reset: s; }
.steps > div { display: grid; grid-template-columns: 70px 1fr; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps > div::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1.3; }
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ph { margin: 0; overflow: hidden; }
.ph img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(0.85); transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1.2s; }
.ph:hover img { transform: scale(1.03); filter: saturate(1); }
.ph:nth-child(even) { margin-top: 40px; }
.ph:nth-child(odd) { margin-bottom: 40px; }

/* Contact */
.panel { padding: 34px 0; border-bottom: 1px solid var(--line); }
.panel:first-child { border-top: 1px solid var(--line); }
.panel .big { font-family: var(--serif); font-size: 28px; color: var(--ink); display: inline-block; }
.panel p { margin: 8px 0 0; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15.5px; }
.hours-row b { font-weight: 500; color: var(--ink); }
.hours-row.off span { color: var(--muted); }
.map-embed { width: 100%; height: 380px; border: 0; filter: grayscale(1) contrast(0.95); }

/* CTA */
.cta-band { padding: 130px 24px; text-align: center; }
.cta-band::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--dot); margin: 0 auto 40px; }
.cta-band p { max-width: 460px; margin: 0 auto; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 70px 0 0; font-size: 14.5px; }
footer.site .cols { width: min(980px, 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 50px; }
footer.site h4 { font-size: 15px; letter-spacing: 0.2em; }
footer.site p { margin: 0; }
footer.site a { display: block; }
footer.site a:hover { color: var(--ink); }
.footnote { width: min(980px, 100% - 48px); margin: 0 auto; border-top: 1px solid var(--line); padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; letter-spacing: 0.06em; color: var(--muted); }
.footnote a.credit { display: inline; color: var(--ink); }

/* Reveal + callbar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 1px; background: var(--line); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.callbar a { flex: 1; text-align: center; font-size: 14px; letter-spacing: 0.14em; padding: 18px 10px; }
.callbar .cb-call { background: var(--ink); color: var(--paper); }
.callbar .cb-dir { background: var(--paper); color: var(--ink); }

@media (max-width: 900px) {
  header.site .wrap { flex-wrap: wrap; padding: 10px 0; row-gap: 6px; }
  .status-pill.in-header { order: 5; width: 100%; justify-content: center; border: 0; padding: 2px 0; }
  .vert { display: none; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .call-btn { display: none; }
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; gap: 0; padding: 10px 24px 20px; border-bottom: 1px solid var(--line); }
  nav.main.open { display: flex; }
  nav.main a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  nav.main a::after { display: none; }
  .hero { padding: 80px 0 70px; }
  .hero .sun { width: 56px; height: 56px; margin-bottom: 36px; }
  .hero-photo img { aspect-ratio: 4/3; }
  .sec { padding: 80px 0; }
  .stats .wrap { grid-template-columns: 1fr; gap: 26px; }
  .stats .wrap > div { border-left: 0; }
  .pairs { grid-template-columns: 1fr; gap: 40px; }
  .gallery { gap: 12px; }
  .ph:nth-child(even) { margin-top: 24px; }
  .ph:nth-child(odd) { margin-bottom: 24px; }
  .list .card { grid-template-columns: 40px 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .footnote { flex-direction: column; }
  .callbar { display: flex; }
  body.has-callbar { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
