/* ============================================================
   アイ.コーディネイト — Design System
   Inspired by shiwakamotsu.co.jp
   Film-photography aesthetic, cinematic, minimal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;600&family=Noto+Sans+JP:wght@300;400;500;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --bg:         #f4f1ec;
  --dark:       #1c1c1a;
  --mid:        #5a5852;
  --accent:     #8b7355;
  --line:       rgba(28,28,26,.12);
  --line-light: rgba(244,241,236,.18);

  --font-serif: 'Noto Serif JP', 'YuMincho', 'Yu Mincho', serif;
  --font-sans:  'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --font-en:    'DM Sans', sans-serif;

  --nav-h: 72px;
  --wrap:  min(1120px, calc(100% - 48px));
  --gap:   clamp(48px, 8vw, 96px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ══════════════════════════════════════════════════════════
   INTRO OVERLAY
   ══════════════════════════════════════════════════════════ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s var(--ease-in-out), visibility .7s;
}
.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.is-loading { overflow: hidden; }

.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.intro__logo {
  width: clamp(140px, 30vw, 260px);
  object-fit: contain;
  opacity: 0;
  transform: translateY(12px);
  animation: intro-logo-in .8s .2s var(--ease-out) forwards;
}
.intro__line {
  width: 0;
  height: 1px;
  background: rgba(244,241,236,.35);
  animation: intro-line-in .9s .6s var(--ease-out) forwards;
}
@keyframes intro-logo-in {
  to { opacity: 1; transform: none; }
}
@keyframes intro-line-in {
  to { width: clamp(80px, 20vw, 160px); }
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.8;
  color: var(--dark);
  background: var(--bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Film grain overlay (global) ───────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: .6;
}

/* ── Layout helpers ─────────────────────────────────────────── */
.wrap { width: var(--wrap); margin-inline: auto; }

/* ── Scroll animation states ────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-animate="fade-in"] { transform: none; }
[data-animate="slide-left"] { transform: translateX(-36px); }
[data-animate="slide-right"] { transform: translateX(36px); }
[data-animate="scale-up"] { transform: scale(.96); }

[data-animate].is-visible {
  opacity: 1;
  transform: none !important;
}


/* stagger delays */
[data-delay="100"] { transition-delay: .1s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="300"] { transition-delay: .3s; }
[data-delay="400"] { transition-delay: .4s; }
[data-delay="450"] { transition-delay: .45s; }
[data-delay="500"] { transition-delay: .5s; }


/* ══════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background .4s, box-shadow .4s, border-color .4s;
}
.nav.is-scrolled {
  background: rgba(244,241,236,.9);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: var(--wrap);
  margin-inline: auto;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bg);
  transition: color .4s;
}
.nav.is-scrolled .nav__logo { color: var(--dark); }

.nav__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.nav.is-ready .nav__logo-img {
  opacity: 1;
  transform: none;
}
.nav__logo-text {
  font-family: var(--font-serif);
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
}
.nav__logo-text small {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .12em;
  opacity: .65;
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  list-style: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}
.nav__menu a {
  position: relative;
  color: var(--bg);
  padding-bottom: 2px;
  transition: color .4s;
}
.nav.is-scrolled .nav__menu a { color: var(--dark); }
.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: currentColor;
  transition: right .3s var(--ease-out);
}
.nav__menu a:hover::after { right: 0; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bg);
  border: 1px solid transparent;
  padding: 9px 18px;
  border-radius: 2px;
  transition: background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.nav.is-scrolled .nav__cta {
  color: var(--dark);
  border-color: var(--line);
}
.nav__cta:hover {
  background: var(--bg);
  color: var(--dark);
  border-color: var(--bg);
}
.nav.is-scrolled .nav__cta:hover {
  background: var(--dark);
  color: var(--bg);
  border-color: var(--dark);
}

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: #fff;
  transition: transform .3s, opacity .3s, background .4s;
}
.nav.is-scrolled .nav__hamburger span { background: var(--dark); }

/* Mobile nav drawer */
.nav__drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 5vw, 32px);
  z-index: 99;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.nav__drawer.is-open {
  opacity: 1;
  transform: none;
  pointer-events: all;
}
.nav__drawer a { color: var(--dark); }

/* Lang switcher */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  margin-left: 4px;
}
.nav__lang a {
  color: rgba(244,241,236,.5);
  transition: color .25s;
  padding: 2px 0;
}
.nav__lang a:hover,
.nav__lang a.is-active { color: var(--bg); }
.nav__lang-sep { color: rgba(244,241,236,.2); }
.nav.is-scrolled .nav__lang a { color: var(--mid); }
.nav.is-scrolled .nav__lang a:hover,
.nav.is-scrolled .nav__lang a.is-active { color: var(--dark); }
.nav.is-scrolled .nav__lang-sep { color: var(--line); }

@media (max-width: 800px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__drawer { display: flex; }
}


/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--dark) center/cover no-repeat;
  /* background-image は HTML の inline style で指定（パス解決の確実性のため） */
  filter: contrast(1.04) brightness(.88) saturate(.85);
  will-change: transform;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,28,26,.72) 0%,
    rgba(28,28,26,.2)  50%,
    rgba(28,28,26,.05) 100%
  );
}
/* vignette */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(28,28,26,.45);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin-inline: auto;
  padding-bottom: clamp(56px, 9vw, 96px);
  color: #f4f1ec;
}
.hero__kicker {
  font-family: var(--font-en);
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: .01em;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.hero__title em {
  font-style: normal;
  font-weight: 600;
}
.hero__lead {
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 300;
  line-height: 2;
  max-width: 480px;
  opacity: .82;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: clamp(24px, 4vw, 40px);
  right: clamp(24px, 4vw, 40px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244,241,236,.55);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(244,241,236,.3);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: rgba(244,241,236,.7);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { top: -100%; }
  100% { top: 100%; }
}


/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 14px 28px;
  border: 1px solid currentColor;
  border-radius: 2px;
  transition: background .25s, color .25s, border-color .25s, gap .25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn::after {
  content: '→';
  font-size: 14px;
  transition: transform .25s var(--ease-out);
}
.btn:hover::after { transform: translateX(4px); }

.btn--light {
  color: var(--bg);
  border-color: rgba(244,241,236,.45);
}
.btn--light:hover {
  background: rgba(244,241,236,.12);
  border-color: rgba(244,241,236,.7);
}
.btn--primary {
  background: var(--bg);
  color: var(--dark);
  border-color: var(--bg);
}
.btn--primary:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn--dark {
  color: var(--dark);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: var(--dark);
  color: var(--bg);
}
.btn--accent {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--dark);
  border-color: var(--dark);
}


/* ══════════════════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════════════════ */
.trust {
  background: var(--dark);
  padding: clamp(36px, 5vw, 56px) 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
}
.trust__item {
  background: var(--dark);
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust__icon {
  font-family: 'Material Symbols Outlined';
  font-size: 28px;
  font-weight: 200;
  font-style: normal;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: 1;
}
.trust__en {
  font-family: var(--font-en);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--bg);
  line-height: 1;
}
.trust__label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(244,241,236,.5);
  letter-spacing: .06em;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}


/* ══════════════════════════════════════════════════════════
   SECTION COMMONS
   ══════════════════════════════════════════════════════════ */
.section {
  padding: var(--gap) 0;
}
.section--dark {
  background: var(--dark);
  color: var(--bg);
}
.section--off {
  background: #ece9e4;
  position: relative;
  overflow: hidden;
}

/* ── Products wave lines ────────────────────────────────── */
.products-waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.products-wave {
  position: absolute;
  left: 0;
  top: var(--y, 50%);
  width: 200%;          /* 2倍幅でシームレスループ */
  height: 80px;
  opacity: var(--op, .06);
  animation: wave-flow var(--dur, 20s) linear infinite;
  will-change: transform;
}
@keyframes wave-flow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* 子要素を波の上に */
#products .wrap { position: relative; z-index: 1; }

.section__head {
  margin-bottom: clamp(36px, 6vw, 64px);
}
.section__eyebrow {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section--dark .section__eyebrow { color: rgba(244,241,236,.5); }
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: .01em;
}
.section__lead {
  margin-top: 18px;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 300;
  color: var(--mid);
  line-height: 2;
  text-wrap: pretty;
}
.section--dark .section__lead { color: rgba(244,241,236,.55); }


/* ══════════════════════════════════════════════════════════
   PHILOSOPHY / CAPABILITIES
   ══════════════════════════════════════════════════════════ */
.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px) clamp(40px, 7vw, 96px);
  align-items: start;
}
.capabilities__intro {
  grid-column: 1 / -1;
}
.capability {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
}
.capability__num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .14em;
  color: var(--accent);
}
.capability__title {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.4;
}
.capability__body {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.9;
}

@media (max-width: 680px) {
  .capabilities { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════
   PRODUCTS GRID
   ══════════════════════════════════════════════════════════ */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}
.product-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: #ccc;
  border-radius: 2px;
  cursor: pointer;
}
.product-card__img {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  filter: contrast(1.04) brightness(.95) saturate(.85);
  transition: transform .8s var(--ease-in-out), filter .8s;
  will-change: transform;
}
.product-card:hover .product-card__img {
  transform: scale(1.05);
  filter: contrast(1.04) brightness(.92) saturate(.8);
}
.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,26,.75) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 32px);
  color: var(--bg);
}
.product-card__cat {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 6px;
}
.product-card__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 10px;
}
.product-card__desc {
  font-size: 12px;
  font-weight: 300;
  opacity: .7;
  line-height: 1.8;
  max-width: 320px;
}
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s, transform .35s;
  margin-top: 14px;
}
.product-card__link::after { content: '→'; }
.product-card:hover .product-card__link {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  .products { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════════════════ */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.process-img {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.process-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: contrast(1.05) brightness(.9) saturate(.8);
}
.process-img::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(28,28,26,.5);
}

.flow {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 36px);
  margin-top: 32px;
}
.flow__item {
  display: flex;
  gap: 20px;
}
.flow__num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .14em;
  color: rgba(244,241,236,.4);
  padding-top: 4px;
  flex-shrink: 0;
  width: 28px;
}
.flow__body {}
.flow__title {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  margin-bottom: 6px;
}
.flow__desc {
  font-size: 13px;
  font-weight: 300;
  opacity: .6;
  line-height: 1.9;
}

@media (max-width: 720px) {
  .process-layout { grid-template-columns: 1fr; }
  .process-img { order: -1; }
  .process-img img { aspect-ratio: 16/9; }
}


/* ══════════════════════════════════════════════════════════
   APPLICATIONS
   ══════════════════════════════════════════════════════════ */
.applications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.app-card {
  position: relative;
  overflow: hidden;
}
.app-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: contrast(1.04) brightness(.85) saturate(.8);
  transition: transform .9s var(--ease-in-out);
}
.app-card:hover .app-card__img { transform: scale(1.03); }
.app-card__body {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,26,.8) 0%, rgba(28,28,26,.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 48px);
  color: var(--bg);
}
.app-card__num {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 12px;
}
.app-card__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 12px;
}
.app-card__desc {
  font-size: 13px;
  font-weight: 300;
  opacity: .7;
  line-height: 1.9;
  max-width: 300px;
}

@media (max-width: 640px) {
  .applications { grid-template-columns: 1fr; }
  .app-card__img { aspect-ratio: 16/10; }
}


/* ══════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════ */
.cta {
  text-align: center;
  padding: var(--gap) 0;
}
.cta__eyebrow {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 16px;
}
.cta__lead {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--mid);
  font-weight: 300;
  line-height: 2;
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 36px;
}
.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ══════════════════════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════════════════════ */
.contact-form {
  max-width: 640px;
  margin-inline: auto;
  margin-top: 40px;
  text-align: left;
}
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-form__field--full {
  grid-column: 1 / -1;
}
.contact-form__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--dark);
}
.contact-form__label span {
  font-size: 10px;
  font-weight: 400;
  color: var(--accent);
  margin-left: 6px;
  letter-spacing: .06em;
}
.contact-form__input,
.contact-form__textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--dark);
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--accent);
}
.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.8;
}
.contact-form__submit {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-form__submit .btn {
  flex: 1 1 200px;
  max-width: 280px;
  justify-content: center;
  margin-left: 0 !important;
}
.contact-form__note {
  font-size: 11px;
  color: var(--mid);
  margin-top: 12px;
  text-align: center;
  line-height: 1.8;
}
@media (max-width: 560px) {
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-form__field--full { grid-column: auto; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: rgba(244,241,236,.55);
  padding: clamp(48px, 7vw, 80px) 0 clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--line-light);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px 80px;
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.footer__brand {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 12px;
}
.footer__brand-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(244,241,236,.4);
  margin-bottom: 20px;
}
.footer__address {
  font-size: 12px;
  line-height: 2;
  font-style: normal;
}
.footer__address a { color: inherit; }
.footer__address a:hover { color: var(--bg); }

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  font-size: 12px;
  letter-spacing: .06em;
  text-align: right;
}
.footer__nav a:hover { color: var(--bg); }

.footer__bottom {
  border-top: 1px solid var(--line-light);
  padding-top: clamp(16px, 2.5vw, 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .06em;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { color: rgba(244,241,236,.3); }
.footer__policy a {
  color: rgba(244,241,236,.35);
  transition: color .2s;
}
.footer__policy a:hover { color: rgba(244,241,236,.7); }

@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { text-align: left; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}


/* ══════════════════════════════════════════════════════════
   IMAGE PLACEHOLDERS (before AI images are placed)
   ══════════════════════════════════════════════════════════ */
.img-placeholder {
  background: #d4cfc7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b7355;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  min-height: 200px;
}

/* Hero fallback when image is missing */
.hero__bg:not([style*="url"]) {
  background: linear-gradient(135deg, #2a2520 0%, #1c1c1a 60%, #2d2820 100%);
}
.hero__bg[style*="hero.jpg"] {
  /* image set via CSS — fallback handled by gradient above */
}

/* Product card placeholder state */
.product-card.img-placeholder {
  aspect-ratio: 4/3;
}
.product-card.img-placeholder .product-card__overlay {
  position: relative;
  inset: auto;
  padding: 24px;
  background: none;
}
.product-card.img-placeholder::before {
  content: 'Image coming soon';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .1em;
  color: #8b7355;
  text-transform: uppercase;
  opacity: .6;
}
