/* ==========================================================================
   Sunshines — Thai Traditional Massage, Okubo
   ========================================================================== */

:root {
  --sun: #ff5a1f;
  --sun-deep: #e2410b;
  --gold: #ffc93c;
  --cocoa: #2b130c;
  --cocoa-2: #3d1d13;
  --ink: #2a211d;
  --muted: #6f625b;
  --cream: #fff9f1;
  --sand: #fbefe1;
  --line: #eedfcd;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(76, 32, 12, .25);
  --max: 1120px;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sun-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.4; margin: 0 0 .6em; color: var(--cocoa); }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--cocoa); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  line-height: 1.2; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: linear-gradient(135deg, #ff7a2f, var(--sun-deep)); color: #fff; box-shadow: 0 8px 20px -8px rgba(226, 65, 11, .7); }
.btn-ghost { background: rgba(255,255,255,.85); color: var(--cocoa); border-color: var(--cocoa); }
.btn-outline { background: transparent; color: var(--sun-deep); border-color: var(--sun-deep); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 249, 241, .94);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cocoa); }
.brand img { height: 46px; width: auto; }
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text small { font-size: .7rem; color: var(--muted); letter-spacing: .05em; }
.brand-text strong { font-family: var(--serif); font-size: 1.05rem; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--cocoa); font-weight: 500; font-size: .95rem; padding: .5em .8em; border-radius: 8px;
}
.nav a:hover { background: var(--sand); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--sun-deep); font-weight: 700; }
.nav .btn { margin-left: 8px; padding: .65em 1.2em; font-size: .95rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 24px; height: 2px; background: var(--cocoa); content: ""; transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .9em .4em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; border-radius: 999px; }
  .brand-text small { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--cocoa);
  background: url("../img/hero.jpg") center / cover no-repeat, #ffc58a;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,249,241,0) 55%, var(--cream) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 56px 20px 72px; }
.hero-logo { width: min(440px, 82vw); margin: 0 auto 8px; filter: drop-shadow(0 6px 18px rgba(120, 40, 0, .25)); }
.hero-lead { font-family: var(--serif); font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-weight: 700; margin: 0 0 6px; }
.hero-sub { margin: 0 0 26px; font-size: .98rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Info strip ---------- */
.info-strip {
  position: relative; z-index: 2; margin-top: -32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.info-item { padding: 20px 22px; display: flex; gap: 14px; align-items: center; }
.info-item + .info-item { border-left: 1px solid var(--line); }
.info-icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--sun-deep);
}
.info-icon svg { width: 22px; height: 22px; }
.info-item dt { font-size: .78rem; color: var(--muted); letter-spacing: .08em; }
.info-item dd { margin: 0; font-weight: 700; color: var(--cocoa); line-height: 1.5; }
.info-item dd a { color: inherit; }
@media (max-width: 760px) {
  .info-strip { grid-template-columns: 1fr; }
  .info-item + .info-item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--cocoa); color: #f6e9dc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; margin-bottom: 40px; }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: .78rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--sun-deep); font-weight: 700; margin-bottom: 6px;
}
.section-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: .3em; }
.section-head p { color: var(--muted); margin: 0 auto; max-width: 640px; }
.section-dark .section-head p { color: #d9c6b6; }
.section-cta { text-align: center; margin-top: 36px; }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.intro-text h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.intro-points { display: grid; gap: 14px; }
.intro-points li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  display: flex; gap: 14px; align-items: flex-start;
}
.intro-points b { display: block; color: var(--cocoa); }
.intro-points span { color: var(--muted); font-size: .92rem; }
.num {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: #fff; font-weight: 700; font-family: var(--serif);
}
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Banner links ---------- */
.banner-grid { display: grid; gap: 18px; max-width: 820px; margin: 0 auto; }
.banner-link { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.banner-link:hover { transform: translateY(-3px); }
.banner-link img { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }

/* ---------- Staff cards ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .staff-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.staff-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s;
}
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.staff-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.avatar {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 220, 120, .95) 0 18%, transparent 19%),
    repeating-conic-gradient(from 0deg at 50% 38%, rgba(255,255,255,.18) 0 6deg, transparent 6deg 18deg),
    linear-gradient(160deg, #ffb35c 0%, #ff6a2b 55%, #c9370b 100%);
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.4rem);
  text-shadow: 0 3px 12px rgba(100, 30, 0, .35);
}
.avatar span { margin-top: 30%; }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--cocoa); color: var(--gold);
  font-size: .75rem; font-weight: 700; padding: .25em .8em; border-radius: 999px; letter-spacing: .05em;
}
.badge-new { background: #fff; color: var(--sun-deep); }
.staff-body { padding: 14px 16px 18px; }
.staff-body h3 { font-size: 1.15rem; margin: 0; }
.staff-body p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Page header (subpages) ---------- */
.page-hero {
  position: relative; padding: 56px 0 48px; text-align: center;
  background: linear-gradient(180deg, rgba(43,19,12,.55), rgba(43,19,12,.7)), url("../img/hero.jpg") center / cover no-repeat;
  color: #fff;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 4.4vw, 2.5rem); margin: 0; }
.breadcrumb { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .82rem; color: #f2dccb; }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: .7; }

/* ---------- Cards / content blocks ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card + .card { margin-top: 20px; }
.card h2 { font-size: 1.35rem; padding-bottom: .5em; border-bottom: 2px solid var(--sand); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } .card { padding: 22px 18px; } }

.dl { display: grid; grid-template-columns: 7.5em 1fr; gap: 0; margin: 0; }
.dl dt, .dl dd { padding: 12px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.dl dt { font-weight: 700; color: var(--cocoa); }
.dl dd a { font-weight: 700; }
@media (max-width: 480px) { .dl { grid-template-columns: 1fr; } .dl dt { border-bottom: 0; padding-bottom: 0; } }

.check-list li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--sand); }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0 40%, rgba(255,90,31,.2) 41%);
}
.ng-list li::before { background: none; content: "×"; color: #d02c1a; font-weight: 700; top: 8px; left: 6px; width: auto; height: auto; }
.note { background: #fff4e6; border-left: 4px solid var(--sun); border-radius: 8px; padding: 14px 18px; color: var(--cocoa); }
.highlight { color: var(--sun-deep); font-weight: 700; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; background: var(--sand); }
.map-embed iframe { width: 100%; height: 420px; border: 0; }
@media (max-width: 600px) { .map-embed iframe { height: 320px; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--cocoa) 0%, var(--cocoa-2) 60%, #6a2410 100%);
  color: #fff; border-radius: 20px; padding: 40px 32px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -110px; top: -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 60, .45), transparent 65%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 3vw, 1.8rem); position: relative; }
.cta-band p { color: #f0dccb; position: relative; }
.cta-tel { font-family: var(--serif); font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 700; color: var(--gold); letter-spacing: .04em; position: relative; display: inline-block; margin: 4px 0 18px; }
.cta-tel:hover { color: #fff; text-decoration: none; }
.cta-band .hero-actions { position: relative; }

/* ---------- Staff profile ---------- */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.profile-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; aspect-ratio: 3 / 4; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile-name { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: .2em; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag { background: var(--sand); color: var(--cocoa); border-radius: 999px; padding: .25em .9em; font-size: .85rem; font-weight: 700; }
.tag-sun { background: var(--sun); color: #fff; }
.comment { font-size: 1.02rem; }
.comment p:last-child { margin-bottom: 0; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; gap: 24px; }
  .profile-photo { max-width: 260px; width: 100%; margin: 0 auto; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--cocoa); color: #e9d6c6; padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.footer-logo { width: 190px; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .2em; margin-bottom: 14px; }
.site-footer a { color: #fff; }
.footer-nav li { padding: 4px 0; }
.footer-tel { font-family: var(--serif); font-size: 1.5rem; color: var(--gold) !important; font-weight: 700; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; text-align: center; font-size: .8rem; color: #b79e8b; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 66px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--cocoa); border-top: 2px solid var(--sun); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; color: var(--gold); font-size: .72rem; font-weight: 700; }
  .mobile-bar a:hover { text-decoration: none; }
  .mobile-bar a.is-primary { background: var(--sun); color: #fff; }
  .mobile-bar svg { width: 22px; height: 22px; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 16px; bottom: 20px; z-index: 80; width: 46px; height: 46px; border-radius: 50%;
  background: var(--sun); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 760px) { .to-top { bottom: 82px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
