/* =========================================================
   スカイ工房 — Luxury Hotel / Editorial Craft
   Light, airy, sophisticated with tactile warmth
   ========================================================= */

:root {
  --bg:        #f5f0e6;   /* warm ivory */
  --bg-2:      #ede4d0;   /* deeper cream */
  --bg-3:      #e4d9bf;   /* accent cream */
  --paper:     #faf6ec;   /* highlight paper */
  --ink:       #1f1a12;   /* near-black warm */
  --ink-soft:  #5e5241;   /* muted brown */
  --ink-mute:  #a29682;   /* dim */
  --line:      #d9cdb0;   /* subtle line */
  --line-soft: #e6dcc4;
  --wood:      #8b6332;   /* hinoki deep */
  --wood-2:    #6b4a1f;   /* darkest */
  --gold:      #b08855;   /* warm gold accent */
  --gold-soft: #c9a978;

  --serif:    'Shippori Mincho', 'Yu Mincho', 'YuMincho', serif;
  --serif-en: 'Cormorant Garamond', 'Shippori Mincho', serif;
  --sans:     'Inter', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1280px;
  --pad: clamp(24px, 5vw, 72px);

  --ease:      cubic-bezier(.2, .7, .2, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --reveal-dur: 1100ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain overlay on entire page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139, 99, 50, 0.035), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(139, 99, 50, 0.028), transparent 60%);
  mix-blend-mode: multiply;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative;
}

/* =========================================================
   Preloader
   ========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 800ms var(--ease), visibility 800ms;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.preloader-ogp {
  display: block;
  width: min(56vw, 360px);
  height: auto;
  max-height: 40vh;
  object-fit: contain;
  animation: ogpFadeIn 2.2s var(--ease-out) both;
}
@keyframes ogpFadeIn {
  from { opacity: 0; transform: scale(0.96); filter: blur(6px); }
  to   { opacity: 1; transform: scale(1); filter: blur(0); }
}
.preloader-bar {
  width: 220px;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.preloader-bar-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 40%;
  background: var(--wood);
  background: linear-gradient(90deg, transparent 0%, var(--wood) 50%, transparent 100%);
  animation: loadBar 1.4s ease-in-out infinite;
}
@keyframes loadBar {
  0%   { left: -40%; }
  100% { left: 100%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--reveal-dur) var(--ease-out),
    transform var(--reveal-dur) var(--ease-out);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }

/* =========================================================
   Side rails
   ========================================================= */
.rail {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 56px;
  z-index: 10;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.rail-left  { left: 0;  border-right: 1px solid var(--line-soft); }
.rail-right { right: 0; border-left:  1px solid var(--line-soft); }
.rail-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.rail-right .rail-text {
  writing-mode: vertical-rl;
  transform: none;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.8em;
  text-transform: none;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .rail { display: none; }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 28px 72px;
  background: rgba(31, 26, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(176, 136, 85, 0.18);
  transition: all 500ms var(--ease);
}
.site-header.scrolled {
  padding: 18px 72px;
  background: rgba(31, 26, 18, 0.94);
  border-bottom-color: rgba(176, 136, 85, 0.28);
}
.site-header .brand-name { color: var(--bg); }
.site-header .brand-sub { color: rgba(245, 240, 230, 0.55); }
.site-header .nav a { color: rgba(245, 240, 230, 0.75); }
.site-header .nav a:hover { color: var(--gold); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--wood);
  color: var(--wood);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  transition: all .4s var(--ease);
}
.brand:hover .brand-mark {
  background: var(--wood);
  color: var(--paper);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-size: 16px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--ink-mute);
  margin-top: 4px;
  text-transform: uppercase;
}
.brand-tag {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(245, 240, 230, 0.25);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(245, 240, 230, 0.9);
}
@media (max-width: 900px) {
  .brand-tag { display: none; }
}
.nav {
  display: flex;
  gap: 40px;
}
.nav a {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: 8px;
  position: relative;
  padding: 6px 0;
  transition: color .4s var(--ease);
}
.nav a em {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 15px;
  color: var(--wood);
  font-weight: 400;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--wood);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover { color: var(--wood); }
.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 960px) {
  .site-header, .site-header.scrolled { padding: 18px 24px; }
  .site-header::before { top: 44px; font-size: clamp(72px, 22vw, 140px); }
  .nav { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
  padding: 160px 72px 80px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.placeholder-hero {
  width: 100%;
  height: 115%;
  background:
    radial-gradient(ellipse at 35% 45%, #e4d2a8 0%, #d4bd8a 30%, #b89968 65%, #8b6f3e 100%),
    repeating-linear-gradient(92deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 14px);
  background-blend-mode: overlay;
  position: absolute;
  top: -7.5%; left: 0;
  will-change: transform;
  transition: transform .3s ease-out;
}
.placeholder-hero::before {
  content: "HERO IMAGE";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.5em;
  color: rgba(107, 74, 31, 0.35);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245, 240, 230, 0.70) 0%, rgba(245, 240, 230, 0.70) 40%, rgba(245, 240, 230, 0.86) 100%),
    linear-gradient(90deg, rgba(245, 240, 230, 0.78) 0%, rgba(245, 240, 230, 0.48) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--wood);
  margin: 0 0 24px;
  text-transform: uppercase;
}
.nowrap { white-space: nowrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 18px;
  border: 1px solid var(--wood);
  background: rgba(250, 246, 236, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 32px;
}
.hero-badge-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--wood);
  letter-spacing: 0.04em;
  line-height: 1;
}
.hero-badge-text {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  line-height: 1.5;
  text-transform: uppercase;
}
.hero-badge-text em {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 15px;
  color: var(--wood);
  text-transform: none;
  letter-spacing: 0.15em;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 5vw, 72px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero-line {
  display: block;
  will-change: transform;
}
.hero-line-2 { padding-left: clamp(24px, 5vw, 100px); }
.hero-line-3 { padding-left: clamp(48px, 10vw, 200px); }

/* Entrance + continuous float */
.hero-title .hero-line-1 {
  animation:
    lineEnter 1400ms 200ms var(--ease-out) both,
    float1 9s 1700ms ease-in-out infinite;
}
.hero-title .hero-line-2 {
  animation:
    lineEnter 1400ms 420ms var(--ease-out) both,
    float2 11s 1920ms ease-in-out infinite;
}
.hero-title .hero-line-3 {
  animation:
    lineEnter 1400ms 640ms var(--ease-out) both,
    float3 13s 2140ms ease-in-out infinite;
}
@keyframes lineEnter {
  from { opacity: 0; transform: translate(0, 60px); }
  to   { opacity: 1; transform: translate(0, 0); }
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(14px, -5px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-20px, 6px); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(24px, -8px); }
}

.hero-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 2.2;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 52px;
}
.hero-cta {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-vertical {
  position: absolute;
  bottom: 140px;
  right: 104px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 1em;
  color: var(--wood);
  opacity: 0.6;
}
.hero-vertical span { display: inline; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 104px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--ink-mute);
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, var(--wood), transparent);
  animation: scrollPulse 2.6s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%    { transform: scaleY(0.2); transform-origin: top;    opacity: 0.4; }
  50%   { transform: scaleY(1);   transform-origin: top;    opacity: 1;   }
  50.01%{ transform: scaleY(1);   transform-origin: bottom;               }
  100%  { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.4; }
}

@media (max-width: 960px) {
  .hero { padding: 120px 24px 80px; }
  .hero-vertical, .hero-scroll { right: 24px; }
  .hero-vertical { top: 12vh; }
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  background: var(--ink);
  color: var(--bg);
  padding: 14px 0;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid var(--wood);
  border-bottom: 1px solid var(--wood);
  cursor: grab;
  scrollbar-width: none;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-dragging { cursor: grabbing; user-select: none; }
.marquee-track {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  padding: 0 36px;
  font-family: var(--serif);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.15em;
}
.marquee-track span:nth-child(even) {
  color: var(--wood);
  font-family: var(--serif-en);
  font-style: italic;
}

/* =========================================================
   Buttons & Links
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 22px 42px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all .5s var(--ease);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--wood);
}
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wood);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
  z-index: -1;
}
.btn-ghost:hover::before { transform: translateY(0); }
.btn-ghost:hover { color: var(--paper); }

.btn-solid {
  background: var(--wood);
  color: var(--paper);
}
.btn-solid:hover {
  background: var(--wood-2);
  letter-spacing: 0.35em;
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wood);
  padding-bottom: 4px;
  position: relative;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--wood);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-underline:hover::after {
  transform: scaleX(0);
  transform-origin: left;
}

/* =========================================================
   Sections
   ========================================================= */
.section {
  padding: clamp(120px, 16vw, 220px) 0;
  position: relative;
  overflow: hidden;
}
.section-bgnum {
  position: absolute;
  top: 8%;
  right: -3%;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(180px, 28vw, 440px);
  color: var(--wood);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  font-weight: 400;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}
.section-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 17px;
  color: var(--wood);
}
.section-label {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-mute);
  position: relative;
  padding-left: 44px;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 32px;
  height: 1px;
  background: var(--line);
}
.section-eyebrow {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.25em;
  color: var(--wood);
  margin: -24px 0 20px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.8vw, 48px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0 0 48px;
  color: var(--ink);
  position: relative;
  z-index: 2;
}
.section-title em {
  font-family: var(--serif);
  font-style: normal;
  color: var(--wood);
}

/* =========================================================
   Placeholders (soft paper-like frames)
   ========================================================= */
.placeholder {
  position: relative;
  background:
    linear-gradient(135deg, #e8d6a8 0%, #c9a978 50%, #a07d44 100%);
  overflow: hidden;
  color: rgba(250, 246, 236, 0.7);
  display: grid;
  place-items: center;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(250, 246, 236, 0.25);
  pointer-events: none;
}
.placeholder-tall { aspect-ratio: 3 / 4; width: 100%; }
.placeholder-work { aspect-ratio: 4 / 3; width: 100%; }

/* Hero photo */
.hero-photo {
  position: absolute;
  top: -35%; left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center 100%;
  will-change: transform;
  transition: transform .3s ease-out;
}

/* Work photos */
.work-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: linear-gradient(135deg, #e8d6a8 0%, #c9a978 50%, #a07d44 100%);
  display: block;
  transition: transform 1.2s var(--ease-out);
  will-change: transform;
}
.zoom-frame:hover .work-photo {
  transform: scale(1.04);
}

/* Zoom frame — image hover effect */
.zoom-frame {
  overflow: hidden;
  position: relative;
}
.zoom-frame .placeholder {
  transition: transform 1.2s var(--ease-out);
  will-change: transform;
}
.zoom-frame:hover .placeholder {
  transform: scale(1.06);
}

/* =========================================================
   About
   ========================================================= */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
  position: relative;
  z-index: 2;
}
.about-body p {
  font-size: 18px;
  line-height: 2.2;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 64px 0 0;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.about-stats div { margin: 0; }
.about-stats dt {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.about-stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 500;
  color: var(--wood);
  line-height: 1;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.about-stats dd em {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 0.55em;
  color: var(--ink-soft);
  font-weight: 400;
}

.about-visual { position: relative; }
.about-visual-cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.about-visual-num {
  font-family: var(--serif-en);
  font-style: italic;
  color: var(--wood);
  text-transform: none;
  letter-spacing: 0.15em;
}

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   Works
   ========================================================= */
.works { background: var(--bg-2); }
.works-title { margin-bottom: 32px; }
.works-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 80px;
  line-height: 2;
  position: relative;
  z-index: 2;
}

.works-list {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.work-row {
  display: grid;
  grid-template-columns: 60px 1.1fr 1.6fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 44px 8px;
  border-top: 1px solid var(--line);
  transition: all .6s var(--ease);
  position: relative;
}
.work-row:last-of-type { border-bottom: 1px solid var(--line); }
.work-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(139, 99, 50, 0.06), transparent 80%);
  transition: width .6s var(--ease);
  z-index: -1;
}
.work-row:hover::before { width: 100%; }
.work-row:hover { padding-left: 24px; }

.work-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 30px;
  color: var(--wood);
}
.work-image { width: 100%; }
.work-meta h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.4;
}
.work-meta h3 em {
  font-family: var(--serif-en);
  font-style: italic;
  color: var(--wood);
  font-size: 0.8em;
  font-weight: 400;
  margin-left: 6px;
}
.work-meta p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 18px;
  line-height: 1.8;
}
.work-price {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--wood);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.works-footer {
  margin-top: 72px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.works-footer p {
  font-size: 16px;
  color: var(--ink-mute);
  margin: 0;
}

@media (max-width: 860px) {
  .work-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 16px 20px;
    padding: 36px 8px;
  }
  .work-image { grid-column: 1 / 3; grid-row: 2; }
  .work-meta { grid-column: 2 / 3; grid-row: 1; }
  .work-num { grid-column: 1 / 2; grid-row: 1; align-self: start; }
  .work-row:hover { padding-left: 8px; }
}

/* =========================================================
   Voice
   ========================================================= */
.voice { background: var(--bg); }
.voice-grid {
  display: flex;
  gap: 28px;
  position: relative;
  z-index: 2;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 28px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--wood) transparent;
}
.voice-grid { cursor: grab; }
.voice-grid.is-dragging { cursor: grabbing; user-select: none; }
.voice-grid.is-dragging .voice-card { pointer-events: none; }
.voice-grid::-webkit-scrollbar { height: 6px; }
.voice-grid::-webkit-scrollbar-track { background: var(--line-soft); }
.voice-grid::-webkit-scrollbar-thumb { background: var(--wood); border-radius: 3px; }
.voice-card {
  margin: 0;
  padding: 56px 38px 40px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  position: relative;
  transition: all .6s var(--ease);
  flex: 0 0 clamp(280px, 32%, 400px);
}
.voice-card:hover {
  transform: translateY(-8px);
  border-color: var(--wood);
  box-shadow: 0 30px 60px -30px rgba(107, 74, 31, 0.25);
}
.voice-quote {
  position: absolute;
  top: 16px;
  left: 28px;
  font-family: var(--serif-en);
  font-size: 90px;
  color: var(--wood);
  opacity: 0.2;
  line-height: 1;
}
.voice-card blockquote {
  margin: 0 0 32px;
  font-size: 19px;
  line-height: 2;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
  min-height: 120px;
}
.voice-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.voice-star {
  color: var(--wood);
  font-size: 17px;
  letter-spacing: 0.15em;
}
.voice-name {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
@media (max-width: 960px) {
  .voice-card { flex: 0 0 80%; }
}

/* =========================================================
   Shop
   ========================================================= */
.shop { background: var(--bg-2); }
.shop-lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: -32px 0 60px;
  line-height: 2;
  max-width: 620px;
  position: relative;
  z-index: 2;
}
.shop-list {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.shop-item {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 40px;
  gap: 28px;
  align-items: center;
  padding: 40px 8px;
  border-top: 1px solid var(--line);
  transition: all .6s var(--ease);
  position: relative;
  overflow: hidden;
}
.shop-item:last-child { border-bottom: 1px solid var(--line); }
.shop-item::before {
  content: "";
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(139, 99, 50, 0.08), transparent);
  transition: left .7s var(--ease);
}
.shop-item:hover::before { left: 0; }
.shop-item:hover { padding-left: 32px; }
.shop-item-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 26px;
  color: var(--wood);
}
.shop-item-name {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.shop-item-desc {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.shop-item-arrow {
  font-family: var(--serif-en);
  font-size: 26px;
  color: var(--wood);
  justify-self: end;
  transition: transform .5s var(--ease);
}
.shop-item:hover .shop-item-arrow {
  transform: translateX(10px);
}
@media (max-width: 860px) {
  .shop-item {
    grid-template-columns: 50px 1fr 30px;
  }
  .shop-item-desc { display: none; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--bg); }
.contact-inner { max-width: 820px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form label span {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--serif);
  font-size: 16px;
  padding: 18px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  outline: none;
  transition: border-color .4s var(--ease);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--wood);
}
.contact-form button {
  align-self: flex-start;
  margin-top: 24px;
}
.contact-form button[disabled] {
  opacity: 0.5;
  cursor: wait;
}
.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-status {
  margin: 0;
  min-height: 20px;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
  transition: color .4s var(--ease);
}
.form-status.is-sending { color: var(--ink-soft); }
.form-status.is-success { color: var(--wood); }
.form-status.is-error { color: #a84b2a; }
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--bg-2);
  padding: 120px 0 56px;
  border-top: 1px solid var(--wood);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "SKY KOUBOU";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(120px, 18vw, 260px);
  color: rgba(176, 136, 85, 0.08);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  position: relative;
  z-index: 2;
}
.footer-brand-block { display: flex; flex-direction: column; }
.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--wood);
  color: var(--wood);
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 24px;
}
.footer-name {
  font-size: 24px;
  letter-spacing: 0.18em;
  margin: 0 0 8px;
  color: var(--bg);
}
.footer-tag {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 17px;
  color: var(--gold);
  margin: 0;
}
.footer-meta {
  text-align: right;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.footer-meta p { margin: 0 0 10px; }
.footer-address {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-top: 16px !important;
}
.footer-blog {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-top: 8px !important;
}
.footer-blog a {
  color: var(--wood);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 136, 85, 0.4);
  transition: border-color .3s var(--ease);
}
.footer-blog a:hover { border-bottom-color: var(--wood); }
.footer-copy {
  font-family: var(--serif-en);
  letter-spacing: 0.18em;
  margin-top: 12px !important;
}
.contact-address {
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-top: 8px;
  margin-bottom: 32px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-meta { text-align: left; }
}
