/* ============================================================
   POLISH — Shared styles (tokens, header, footer, buttons)
   ============================================================ */
:root {
  --bg:        #FAF6F4;
  --bg-2:      #F3ECEA;
  --bg-3:      #E8DDD9;
  --beige:     #CDB7AF;
  --greige:    #948880;
  --line:      #EBE0DC;
  --line-2:    #DACCC6;
  --ink:       #2E2724;
  --ink-2:     #62574F;
  --ink-3:     #948880;
  --gold:      #AD8478;
  --gold-soft: #C7A99F;
  --white:     #FFFFFF;

  --font-jp-serif: "Shippori Mincho B1", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-jp-sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en-serif: "Cormorant Garamond", "Shippori Mincho B1", serif;

  --max:       1240px;
  --gutter:    22px;
  --header-h:  68px;
}
@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 88px; }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-jp-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 76px; /* room for mobile cta bar */
}
@media (min-width: 900px) { body { font-size: 16px; padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap--narrow { max-width: 980px; }
.section { padding: 72px 0; }
.section--lg { padding: 96px 0; }
.section--sand { background: var(--bg-2); }
.section--ink { background: var(--ink); color: #E9E1D2; }
@media (min-width: 900px) {
  .section { padding: 120px 0; }
  .section--lg { padding: 160px 0; }
}

.grid-2 { display: grid; gap: 32px; }
.grid-3 { display: grid; gap: 24px; }
.grid-4 { display: grid; gap: 16px; }
@media (min-width: 720px)  { .grid-2 { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 720px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (min-width: 720px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (min-width: 1200px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.2em;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section--ink .eyebrow { color: var(--gold-soft); }
.section--ink .eyebrow::before { background: var(--gold-soft); }

.h-display {
  font-family: var(--font-jp-serif);
  font-weight: 500;
  font-size: clamp(28px, 5.4vw, 60px);
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--ink);
}
.h-section {
  font-family: var(--font-jp-serif);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  margin: 0;
}
.h-sub {
  font-family: var(--font-jp-serif);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin: 0;
}
.lead {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  margin: 0;
}
@media (min-width: 900px) { .lead { font-size: 15px; } }
.section--ink .lead { color: #BFB4A1; }

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}
@media (min-width: 900px) {
  .section-head { gap: 22px; margin-bottom: 64px; }
}
.section-head.center { text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 28px;
  min-height: 54px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  border-radius: 2px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary { background: var(--ink); color: #F4EEDF; border: 1px solid var(--ink); }
.btn--primary:hover { background: #1C1613; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #F4EEDF; }
.btn--light { background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); }
.btn--light:hover { background: #fff; border-color: var(--ink); }
.btn--gold { background: var(--gold); color: #fff; border: 1px solid var(--gold); }
.btn--gold:hover { background: #946A5C; border-color: #946A5C; }
.btn--line { background: #06C755; color: #fff; border: 1px solid #06C755; }
.btn--line:hover { background: #04A847; border-color: #04A847; }
.section--ink .btn--ghost { color: #F4EEDF; border-color: rgba(244,238,223,.5); }
.section--ink .btn--ghost:hover { background: #F4EEDF; color: var(--ink); }
.btn--block { width: 100%; }

.btn .arrow {
  width: 20px; height: 1px; background: currentColor; position: relative;
  transition: width .25s ease;
}
.btn .arrow::after {
  content: ""; position: absolute; right: -1px; top: -3.5px;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 28px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.14em; color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 50;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 247, 242, 0.96); }
.site-header .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-en-serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.36em;
  color: var(--ink);
  line-height: 1;
  display: inline-block;
  position: relative;
  padding-left: 52px;
}
.logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 23px;
  background: url(images/logo-mark.png) no-repeat left center;
  background-size: contain;
}
.logo small {
  display: block;
  font-family: var(--font-jp-sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--greige);
  margin-top: 6px;
  padding-left: 2px;
}
@media (min-width: 900px) { .logo { font-size: 24px; } .logo small { font-size: 10px; } }

.nav { display: none; align-items: center; gap: 28px; }
.nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink);
  position: relative;
}
.nav a:hover { color: var(--gold); }
.nav-actions { display: none; gap: 10px; align-items: center; }
@media (min-width: 1000px) { .nav, .nav-actions { display: flex; } }

.menu-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--bg);
}
.menu-btn span { position: relative; display: block; width: 18px; height: 8px; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--ink);
}
.menu-btn span::before { top: 0; }
.menu-btn span::after { bottom: 0; }
@media (min-width: 1000px) { .menu-btn { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 70;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.7,0,.3,1), opacity .3s ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  height: var(--header-h); padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
.drawer-close {
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 2px;
  background: var(--bg);
}
.drawer-close::before, .drawer-close::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 18px; height: 1px; background: var(--ink);
}
.drawer-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.drawer-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
.drawer-body { padding: 12px var(--gutter) 32px; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-jp-serif);
  font-size: 18px;
  letter-spacing: 0.14em;
  display: flex; align-items: baseline; justify-content: space-between;
}
.drawer-nav a .en { font-family: var(--font-en-serif); font-style: italic; color: var(--greige); font-size: 12px; }
.drawer-cta { margin-top: 28px; display: grid; gap: 12px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--ink);
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 8px;
  z-index: 60;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-cta a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px;
  font-size: 13px;
  letter-spacing: 0.12em;
  border-radius: 2px;
  font-family: var(--font-jp-sans);
}
.mobile-cta .c-reserve { background: #F4EEDF; color: var(--ink); }
.mobile-cta .c-line    { background: transparent; color: #F4EEDF; border: 1px solid rgba(244,238,223,.4); }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- Footer ---------- */
.site-footer {
  background: #241C1A;
  color: #C8BFB1;
  padding: 80px 0 28px;
}
.site-footer .wrap { display: grid; gap: 56px; }
.footer-top { display: grid; gap: 48px; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.2fr 2fr; gap: 64px; } }
.footer-brand .logo { color: #F4EEDF; font-size: 26px; padding-left: 64px; }
.footer-brand .logo::before { width: 54px; height: 28px; }
.footer-brand .logo small { color: #8F8779; }
.footer-brand p { font-size: 13px; line-height: 2; color: #A39A89; margin: 24px 0 0; max-width: 28em; }
.footer-sns { display: flex; gap: 10px; margin-top: 24px; }
.footer-sns a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #3A322B; border-radius: 50%;
  color: #C8BFB1;
}
.footer-sns a:hover { background: #322A27; color: #fff; border-color: #4D4339; }

.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
@media (min-width: 600px) { .footer-nav { grid-template-columns: repeat(4, 1fr); } }
.footer-nav h4 {
  font-family: var(--font-en-serif);
  font-style: italic; font-weight: 500;
  font-size: 13px; color: #8F8779;
  letter-spacing: 0.2em; margin: 0 0 18px;
}
.footer-nav ul { display: grid; gap: 12px; }
.footer-nav a { font-size: 13px; color: #C8BFB1; letter-spacing: 0.06em; }
.footer-nav a:hover { color: #fff; }
.footer-bot {
  border-top: 1px solid #2D2722;
  padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 11px; color: #6E6557; letter-spacing: 0.08em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; align-items: end; gap: 56px; min-height: calc(100vh - var(--header-h)); }
  .hero { padding-bottom: 64px; }
}
.hero-copy { padding-top: 32px; }
@media (min-width: 900px) { .hero-copy { padding-top: 96px; padding-bottom: 80px; } }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 22px; max-width: 32em; }
.hero-ctas { margin-top: 36px; display: grid; gap: 12px; }
@media (min-width: 540px) { .hero-ctas { grid-template-columns: 1fr 1fr; max-width: 540px; } }
.hero-ctas .span-2 { grid-column: 1 / -1; }
.hero-meta {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 24px 36px;
  font-size: 12px; color: var(--ink-2); letter-spacing: 0.1em;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-meta b { color: var(--gold); font-weight: 600; font-family: var(--font-en-serif); font-style: italic; font-size: 22px; margin-right: 6px; vertical-align: -3px; }
.hero-visual { position: relative; }
.hero-visual .ph-photo { aspect-ratio: 4/5; }
@media (min-width: 900px) {
  .hero-visual { height: 100%; padding-top: 80px; }
  .hero-visual .ph-photo { height: 100%; aspect-ratio: auto; min-height: 560px; }
}
.hero-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(4px);
  padding: 14px 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  display: flex; flex-direction: column; gap: 4px;
}
.hero-tag b { color: var(--ink); font-family: var(--font-jp-serif); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; }

/* ---------- Photo placeholders ---------- */
.ph-photo {
  position: relative;
  background: linear-gradient(135deg, #E8E1D3 0%, #D6CCB9 60%, #C9B69D 100%);
  overflow: hidden;
  border-radius: 2px;
}
.ph-photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 30% 20%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(50% 40% at 75% 80%, rgba(0,0,0,.08), transparent 60%);
}
.ph-photo .ph-label {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--font-en-serif);
  font-style: italic;
  color: rgba(42,37,32,.45);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.ph-photo .ph-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(42,37,32,.18);
}
.ph-photo .ph-icon svg { width: 56px; height: 56px; }
/* When a real <img> is placed inside .ph-photo, it covers the placeholder visuals */
.ph-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}
.ph-photo:has(> img) .ph-icon,
.ph-photo:has(> img) .ph-label,
.ph-photo:has(> img)::before { display: none; }

/* hairline divider */
.hr-fine { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Page hero (recruit) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 24px;
}

/* utilities */
.center { text-align: center; }
.muted { color: var(--ink-3); }
.tiny { font-size: 11px; letter-spacing: 0.16em; color: var(--ink-3); }

/* scroll anchor offset */
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
