/*
  SOKO×NEKO — readable static-site stylesheet
  Design direction: 「灯りの残る倉庫」
  Edit color, spacing, and layout values in the variables below before changing individual rules.
*/

:root {
  --ink: #171311;
  --ink-soft: #231e1a;
  --brown: #302821;
  --paper: #eee7dc;
  --paper-soft: #d1c7b8;
  --muted: #a89b8d;
  --amber: #d88b46;
  --amber-soft: #ebb379;
  --line: rgba(238, 231, 220, 0.18);
  --container: min(1160px, calc(100% - 48px));
  --display: "Zen Kaku Gothic New", sans-serif;
  --serif: "Cormorant Garamond", serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 16px; font-weight: 300; line-height: 1.9; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 8px 12px; background: var(--amber); color: var(--ink); transform: translateY(-160%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

/* Header -------------------------------------------------------- */
.site-header { position: fixed; z-index: 20; top: 0; left: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 22px max(24px, calc((100vw - 1280px) / 2)); background: linear-gradient(to bottom, rgba(18, 15, 13, 0.8), transparent); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.18em; }
.brand img { width: 29px; height: 29px; object-fit: contain; }
.brand__cross, .hero__wordmark span, .site-footer__name span { color: var(--amber); }
.site-navigation { display: flex; gap: clamp(12px, 2vw, 28px); font-family: var(--serif); font-size: 0.78rem; letter-spacing: 0.16em; }
.site-navigation a { color: var(--paper-soft); transition: color 180ms ease; }
.site-navigation a:hover, .site-navigation a:focus-visible { color: var(--amber-soft); }
.menu-button { display: none; border: 0; background: none; color: var(--paper); }

/* Hero ---------------------------------------------------------- */
.hero { position: relative; min-height: 740px; min-height: 100svh; isolation: isolate; overflow: hidden; }
.hero__slides, .hero__shade, .hero__light { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slides { z-index: -3; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: brightness(0.94) saturate(0.95) sepia(0.06); transform: scale(1.04); transition: opacity 1200ms cubic-bezier(0.23, 1, 0.32, 1), transform 6800ms cubic-bezier(0.23, 1, 0.32, 1); }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__light { z-index: -2; object-fit: cover; opacity: 0.22; mix-blend-mode: screen; pointer-events: none; }
.hero__shade { z-index: -1; background: linear-gradient(90deg, rgba(16, 13, 11, 0.79) 0%, rgba(16, 13, 11, 0.5) 44%, rgba(16, 13, 11, 0.06) 90%), linear-gradient(0deg, rgba(16, 13, 11, 0.72) 0%, transparent 42%); }
.hero__content { padding-top: clamp(150px, 25vh, 250px); }
.eyebrow, .section-label { margin: 0 0 18px; color: var(--amber-soft); font-family: var(--serif); font-size: 0.72rem; letter-spacing: 0.21em; }
.hero__wordmark { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.25rem); letter-spacing: 0.22em; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.3rem, 7.2vw, 6.7rem); font-weight: 300; letter-spacing: 0.04em; line-height: 1.2; }
.hero__accent { color: var(--amber-soft); }
.hero__subcopy { margin: 34px 0 28px; color: var(--paper-soft); font-size: 0.95rem; letter-spacing: 0.05em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 10px 24px; border: 1px solid transparent; font-size: 0.86rem; letter-spacing: 0.08em; transition: transform 160ms ease, background 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(0.97); }
.button--primary { background: var(--amber); color: var(--ink); }
.button--primary:hover { background: var(--amber-soft); }
.button--outline { border-color: rgba(238, 231, 220, 0.6); color: var(--paper); }
.button--outline:hover { border-color: var(--amber-soft); color: var(--amber-soft); }
.hero__reel { position: absolute; right: max(24px, calc((100vw - 1280px) / 2)); bottom: 31px; display: grid; justify-items: end; gap: 10px; }
.hero__reel-caption { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--paper-soft); font-family: var(--serif); font-size: 0.65rem; letter-spacing: 0.16em; }
.hero__reel-number { color: var(--amber-soft); font-size: 0.85rem; }
.hero__reel-caption i { display: block; width: 28px; height: 1px; background: var(--amber); }
.hero__reel-caption em { font-style: normal; }
.hero__reel-controls { display: flex; gap: 7px; }
.hero__reel-controls button { width: 28px; padding: 0 0 5px; border: 0; border-bottom: 1px solid rgba(238, 231, 220, 0.35); background: transparent; color: var(--muted); font-family: var(--serif); font-size: 0.65rem; cursor: pointer; }
.hero__reel-controls button:hover, .hero__reel-controls button:focus-visible, .hero__reel-controls button.is-active { border-color: var(--amber); color: var(--amber-soft); }
.hero__scroll { position: absolute; bottom: 31px; left: max(24px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; gap: 12px; color: var(--paper-soft); font-family: var(--serif); font-size: 0.68rem; letter-spacing: 0.18em; }
.hero__scroll span { display: block; width: 48px; height: 1px; background: var(--amber); }

/* Shared section typography ------------------------------------ */
.section { position: relative; padding-block: clamp(96px, 15vw, 190px); }
.section-heading { max-width: 590px; }
.section-number { margin: 0 0 6px; color: var(--amber); font-family: var(--serif); font-size: 0.94rem; letter-spacing: 0.18em; }
.section-heading h2 { margin: 0 0 26px; font-size: clamp(2.1rem, 4.4vw, 4.5rem); font-weight: 300; letter-spacing: 0.02em; line-height: 1.28; }
.section-heading > p:not(.section-number):not(.section-label) { margin: 0 0 14px; color: var(--paper-soft); }
.section-heading--wide { max-width: 760px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms cubic-bezier(0.23, 1, 0.32, 1), transform 650ms cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* About --------------------------------------------------------- */
.about { background: var(--paper); color: var(--ink); overflow: hidden; }
.about .section-label, .about .section-number { color: #a85f2e; }
.about .section-heading > p:not(.section-number):not(.section-label), .about .prose { color: #574c43; }
.split-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(48px, 9vw, 140px); align-items: start; }
.about__story { padding-top: 70px; }
.photo-frame { margin: 0; overflow: hidden; box-shadow: var(--shadow); }
.photo-frame img { width: 100%; aspect-ratio: 1.28; object-fit: cover; filter: brightness(1.08) saturate(0.94); }
.prose { padding: 36px 8% 0; }
.prose p { margin: 0 0 20px; }
.about__paper { position: absolute; right: -6%; bottom: -14%; width: min(470px, 47vw); opacity: 0.68; mix-blend-mode: multiply; pointer-events: none; }

/* Space --------------------------------------------------------- */
.space { background: var(--ink); }
.space-block { margin-top: clamp(80px, 13vw, 170px); }
.space-block__header { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; margin-bottom: 34px; }
.space-block__index { grid-row: span 2; margin: 0; color: var(--amber); font-family: var(--serif); font-size: 1.1rem; }
.space-block__label { margin: 0; color: var(--amber-soft); font-family: var(--serif); font-size: 0.72rem; letter-spacing: 0.19em; }
.space-block__header h3 { grid-column: 2; margin: 2px 0 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4.25rem); font-weight: 400; letter-spacing: 0.06em; line-height: 1; }
.space-block__header em { color: var(--amber-soft); font-style: italic; }
.photo-grid { display: grid; gap: 14px; }
.photo-grid figure, .gallery-layout figure { position: relative; margin: 0; overflow: hidden; background: #282019; }
.photo-grid img, .gallery-layout img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.02) saturate(0.92) sepia(0.06); transition: transform 500ms ease, filter 500ms ease; }
.photo-grid figure:hover img, .gallery-layout figure:hover img { transform: scale(1.035); filter: brightness(1.08) saturate(1); }
.photo-grid figcaption, .gallery-layout figcaption { position: absolute; right: 14px; bottom: 10px; color: var(--paper); font-family: var(--serif); font-size: 0.65rem; letter-spacing: 0.14em; text-shadow: 0 1px 10px #000; }
.photo-grid--cats { grid-template-columns: 1.25fr 0.85fr 0.85fr; grid-template-rows: 230px 230px; }
.photo-grid--cats figure:first-child { grid-row: span 2; }
.photo-grid--cats figure:nth-child(2) { grid-column: 2 / 4; }
.photo-grid--lounge { grid-template-columns: 1fr 1.4fr 1fr; grid-template-rows: 260px 190px; }
.photo-grid--lounge figure:nth-child(1) { grid-row: span 2; }
.photo-grid--lounge figure:nth-child(2) { grid-column: 2; grid-row: span 2; }
.photo-grid--lounge figure:nth-child(4) { grid-column: 3; }
.space-block__copy { max-width: 720px; margin: 34px 0 0 auto; color: var(--paper-soft); }
.space-block__copy p { margin: 0 0 12px; }
.notice { color: var(--muted); font-size: 0.9rem; }
.gallery-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr); gap: 16px; align-items: end; }
.gallery-layout__main { height: 520px; }
.gallery-layout__detail { padding-bottom: 28px; }
.gallery-layout__detail img { width: 100%; aspect-ratio: 1.1; object-fit: cover; filter: brightness(1.06) saturate(0.9); }
.gallery-layout__detail p { margin: 18px 4px 0; color: var(--paper-soft); }

/* Cat ----------------------------------------------------------- */
.cat-section { min-height: 650px; overflow: hidden; background: #241e19; }
.cat-section__photo { position: absolute; inset: 0 45% 0 0; }
.cat-section__photo::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, #241e19 100%), linear-gradient(0deg, rgba(20, 16, 13, 0.35), transparent); content: ""; }
.cat-section__photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.03) saturate(0.9) sepia(0.06); }
.cat-section__content { position: relative; display: grid; grid-template-columns: 1fr 0.75fr; gap: 80px; margin-left: auto; padding-left: 44%; }
.link-stack { align-self: end; padding-bottom: 8px; }
.link-stack p { margin: 20px 0; color: var(--paper-soft); }
.text-link { display: inline-flex; gap: 12px; border-bottom: 1px solid rgba(235, 179, 121, 0.55); color: var(--amber-soft); font-size: 0.92rem; transition: color 180ms ease, border-color 180ms ease; }
.text-link:hover { border-color: var(--paper); color: var(--paper); }

/* Price --------------------------------------------------------- */
.price { background: var(--paper); color: var(--ink); }
.price .section-number, .price .section-label { color: #a85f2e; }
.price .section-heading > p:not(.section-number):not(.section-label), .price__notes { color: #574c43; }
.price__header { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(40px, 8vw, 120px); align-items: end; }
.price__photo { margin: 0; box-shadow: var(--shadow); }
.price__photo img { width: 100%; aspect-ratio: 1.22; object-fit: cover; filter: brightness(1.08) saturate(0.92); }
.table-wrap { margin-top: clamp(50px, 8vw, 100px); overflow-x: auto; border-top: 1px solid rgba(53, 43, 34, 0.28); }
table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 18px 14px; border-bottom: 1px solid rgba(53, 43, 34, 0.18); text-align: left; }
thead th { color: #8b6a50; font-weight: 400; }
tbody th { font-weight: 400; }
.price__notes { margin-top: 28px; font-size: 0.88rem; }
.price__notes p { margin: 8px 0; }
.price__notes strong { margin-left: 8px; color: #9c562d; font-weight: 500; }

/* Access -------------------------------------------------------- */
.access { background: var(--brown); }
.access-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: clamp(40px, 8vw, 120px); margin-top: 60px; }
.access-list { display: grid; gap: 28px; }
.access-list article { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.access-list article > span { color: var(--amber); font-family: var(--serif); font-size: 0.9rem; }
.access-list h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 400; }
.access-list p { margin: 0; color: var(--paper-soft); font-size: 0.92rem; }
.access-list__label { margin-bottom: 4px !important; color: var(--amber-soft) !important; font-family: var(--serif); letter-spacing: 0.12em; }
.map-card { display: flex; min-height: 330px; flex-direction: column; justify-content: flex-end; padding: 34px; background: linear-gradient(145deg, rgba(216, 139, 70, 0.2), rgba(23, 19, 17, 0.25)), url("../media/soco-neco-concrete-paper_cc4ed96c.png") center / cover; box-shadow: var(--shadow); transition: transform 180ms ease; }
.map-card:hover { transform: translateY(-4px); }
.map-card span, .map-card small { color: var(--amber-soft); font-family: var(--serif); font-size: 0.76rem; letter-spacing: 0.18em; }
.map-card strong { margin-top: 10px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; letter-spacing: 0.07em; }
.map-card em { margin-top: 26px; color: var(--paper); font-size: 0.88rem; font-style: normal; }

/* Reserve and footer ------------------------------------------- */
.reserve { position: relative; min-height: 630px; padding-block: 120px; overflow: hidden; isolation: isolate; }
.reserve__photo, .reserve__shade { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.reserve__photo { object-fit: cover; filter: brightness(0.68) saturate(0.75) sepia(0.06); }
.reserve__shade { z-index: -1; background: linear-gradient(90deg, rgba(17, 13, 11, 0.9), rgba(17, 13, 11, 0.54) 55%, rgba(17, 13, 11, 0.76)); }
.reserve__content { max-width: 590px; }
.reserve__content h2 { margin: 0 0 26px; font-size: clamp(2.5rem, 5.5vw, 5.4rem); font-weight: 300; line-height: 1.25; }
.reserve__content > p { color: var(--paper-soft); }
.reserve__mail { display: inline-block; margin: 8px 0 25px; border-bottom: 1px solid var(--amber); color: var(--amber-soft); font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 2rem); letter-spacing: 0.06em; }
.reserve hr { width: 100%; margin: 15px 0 24px; border: 0; border-top: 1px solid var(--line); }
.reserve__caption { color: var(--muted) !important; font-size: 0.82rem; }
.site-footer { padding-block: 54px; background: #11100f; }
.site-footer__inner { display: flex; align-items: end; justify-content: space-between; gap: 34px; color: var(--paper-soft); font-size: 0.84rem; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { border-bottom: 1px solid rgba(235, 179, 121, 0.35); }
.site-footer__name { color: var(--paper); font-family: var(--serif); font-size: 1.85rem; letter-spacing: 0.16em; }

/* Mobile -------------------------------------------------------- */
@media (max-width: 760px) {
  :root { --container: min(100% - 32px, 1160px); }
  .site-header { padding: 18px 16px; background: rgba(18, 15, 13, 0.78); backdrop-filter: blur(12px); }
  .brand { font-size: 1rem; }
  .brand img { width: 26px; height: 26px; }
  .menu-button { display: grid; gap: 4px; padding: 8px; cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; width: 21px; height: 1px; background: currentColor; }
  .site-navigation { position: absolute; top: 100%; right: 16px; display: none; min-width: 190px; padding: 18px; background: #211c18; box-shadow: var(--shadow); }
  .site-navigation.is-open { display: grid; gap: 14px; }
  .hero__content { padding-top: 162px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.4rem); }
  .hero__reel { right: 16px; bottom: 75px; }
  .hero__reel-caption { font-size: 0.54rem; }
  .hero__reel-controls { gap: 4px; }
  .hero__reel-controls button { width: 24px; }
  .hero__scroll { bottom: 26px; left: 16px; font-size: 0.6rem; }
  .split-layout, .price__header, .access-grid { grid-template-columns: 1fr; }
  .about__story { padding-top: 0; }
  .about__paper { display: none; }
  .section-heading h2 { font-size: clamp(2rem, 10vw, 3.3rem); }
  .photo-grid--cats, .photo-grid--lounge { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 170px 170px; }
  .photo-grid--cats figure:first-child, .photo-grid--lounge figure:nth-child(1), .photo-grid--lounge figure:nth-child(2) { grid-row: span 1; }
  .photo-grid--cats figure:first-child { grid-column: span 2; }
  .photo-grid--cats figure:nth-child(2) { grid-column: auto; }
  .photo-grid--lounge figure:nth-child(1), .photo-grid--lounge figure:nth-child(2) { grid-column: span 1; }
  .photo-grid--lounge figure:nth-child(3) { grid-column: span 2; }
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-layout__main { height: 350px; }
  .gallery-layout__detail { display: grid; grid-template-columns: 0.9fr 1fr; gap: 20px; align-items: center; padding: 0; }
  .gallery-layout__detail p { margin: 0; }
  .cat-section { min-height: auto; }
  .cat-section__photo { position: relative; inset: auto; height: 360px; }
  .cat-section__photo::after { background: linear-gradient(0deg, #241e19, transparent 64%); }
  .cat-section__content { display: block; margin-top: -30px; padding-left: 0; }
  .link-stack { margin-top: 38px; }
  .access-grid { gap: 48px; }
  .site-footer__inner { display: grid; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
