/* ========== Design Tokens ========== */
:root {
  /* Colors - Natural warm palette */
  --bg: #F7F2EA;        /* warm off-white */
  --bg-alt: #EFE7D7;    /* slightly deeper beige */
  --bg-card: #FBF8F2;
  --ink: #2E2A25;       /* warm near-black */
  --ink-soft: #5A524A;
  --ink-mute: #8A7F72;
  --line: #E3D9C6;
  --accent: #C67B5C;    /* dusty terracotta */
  --accent-soft: #E9C9B5;
  --sage: #8FA87E;      /* sage */
  --sage-soft: #D4DFC8;
  --butter: #E8C979;    /* warm butter */
  --sky: #A8BFC9;

  /* Typography */
  --font-jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-display: "Zen Maru Gothic", serif;
  --font-num: "Fraunces", "Zen Maru Gothic", serif;

  /* Spacing */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadows - soft and warm */
  --shadow-sm: 0 2px 10px -4px rgba(92, 68, 46, 0.10);
  --shadow: 0 10px 30px -12px rgba(92, 68, 46, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(92, 68, 46, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

/* Subtle paper texture via gradient noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(198,123,92,0.04), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(143,168,126,0.04), transparent 45%);
  z-index: 0;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ========== Shared ========== */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.section-title .num {
  font-family: var(--font-num);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  margin-right: 14px;
  font-size: 0.7em;
}

.section-lead {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.9;
  max-width: 640px;
  margin-bottom: 64px;
}

/* Underline hand-drawn */
.brush {
  position: relative;
  display: inline-block;
}
.brush::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -6px;
  height: 10px;
  background: var(--butter);
  opacity: 0.55;
  border-radius: 50%;
  filter: blur(0.3px);
  z-index: -1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(.2,.7,.3,1);
  position: relative;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

/* Arrow */
.arrow {
  display: inline-block;
  width: 16px;
  height: 10px;
  position: relative;
}
.arrow::before, .arrow::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.arrow::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.arrow::after { top: 50%; right: 0; width: 7px; height: 1px; transform-origin: right center; transform: translateY(-50%) rotate(35deg); box-shadow: 0 -5px 0 currentColor; }

/* ========== Nav ========== */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: rgba(251, 248, 242, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  font-weight: 500;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-logo-mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  position: relative;
}
.nav-logo-mark::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--butter);
  top: 3px; left: 3px;
}
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.nav-links a { transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent); }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ========== Hero ========== */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.hero-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: 17px;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 48px;
}

.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 72px;
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta-item .num {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 400;
  color: var(--accent);
  font-style: italic;
  line-height: 1;
}
.hero-meta-item .label {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 8px;
  letter-spacing: 0.1em;
}

/* Hero visual - variant A: floating cards */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  min-height: 400px;
}

/* Blob backgrounds */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 0;
}
.blob-1 { width: 320px; height: 320px; background: var(--accent-soft); top: 10%; left: 10%; }
.blob-2 { width: 280px; height: 280px; background: var(--sage-soft); bottom: 10%; right: 5%; animation: float 8s ease-in-out infinite; }
.blob-3 { width: 200px; height: 200px; background: var(--butter); top: 50%; right: 30%; opacity: 0.35; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-24px) rotate(8deg); }
}

.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  z-index: 2;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card-1 { top: 8%; left: 0; width: 240px; animation-delay: 0s; }
.float-card-2 { top: 38%; right: 0; width: 220px; animation-delay: 1.5s; }
.float-card-3 { bottom: 5%; left: 18%; width: 260px; animation-delay: 3s; }

.fc-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-num);
  margin-bottom: 10px;
  font-size: 14px;
}
.fc-icon.sage { background: var(--sage-soft); color: var(--sage); }
.fc-icon.butter { background: #F5E4B8; color: #A8833A; }

.fc-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.fc-sub { font-size: 12px; color: var(--ink-mute); line-height: 1.6; }

/* Hero central illustration */
.hero-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--butter));
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px -20px rgba(198,123,92,0.4);
}
.hero-orb-inner {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px dashed var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  flex-direction: column;
}
.hero-orb-inner .small {
  font-family: var(--font-jp);
  font-style: normal;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
  margin-top: 4px;
}

/* Hero variant B: single big headline */
.hero-big {
  text-align: center;
  padding: 180px 0 100px;
}
.hero-big .hero-title {
  font-size: clamp(44px, 8vw, 108px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hero-big .hero-sub {
  margin: 40px auto 48px;
  text-align: center;
}
.hero-big .hero-ctas { justify-content: center; }
.hero-big .hero-meta { justify-content: center; }

/* Hero variant C: split with stamp */
.hero-stamp .hero-visual { display: none; }
.hero-stamp .hero-grid { grid-template-columns: 1fr; }

/* ========== About ========== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

.portrait {
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait-placeholder {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(198,123,92,0.08) 10px 11px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--ink-mute);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.portrait-placeholder .big {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  font-style: normal;
}

.about-quote {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.about-quote .hl { background: linear-gradient(to top, var(--butter) 40%, transparent 40%); padding: 0 4px; }
.about-body p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.about-meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-meta-cell {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-meta-cell .k { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.1em; margin-bottom: 8px; }
.about-meta-cell .v { font-size: 15px; font-weight: 500; line-height: 1.5; }
@media (max-width: 600px) { .about-meta { grid-template-columns: 1fr 1fr; } }

/* ========== Services ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all .4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent-soft);
}
.service-card-num {
  font-family: var(--font-num);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 32px;
}
.service-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
}
.service-icon.sage { background: var(--sage-soft); }
.service-icon.butter { background: #F5E4B8; }

.service-icon svg { width: 36px; height: 36px; }

.service-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.service-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
}

/* ========== Flow (journey map) ========== */
.flow-wrap { position: relative; }

.flow-line {
  position: absolute;
  top: 90px;
  left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--accent) 0 6px, transparent 6px 12px);
  z-index: 0;
}

.flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1000px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-line { display: none; }
}
@media (max-width: 600px) { .flow { grid-template-columns: 1fr; } }

.flow-step { text-align: center; position: relative; }
.flow-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--line);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all .4s;
}
.flow-step:hover .flow-circle {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.flow-circle.c1 { background: var(--accent-soft); border-color: transparent; }
.flow-circle.c2 { background: var(--sage-soft); border-color: transparent; }
.flow-circle.c3 { background: #F5E4B8; border-color: transparent; }
.flow-circle.c4 { background: #DDE6E9; border-color: transparent; }
.flow-circle.c5 { background: var(--accent-soft); border-color: transparent; }
.flow-circle.c6 { background: var(--sage-soft); border-color: transparent; }
.flow-circle.c7 { background: #F5E4B8; border-color: transparent; }

.flow-step-num {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num);
  font-style: italic;
  font-size: 14px;
  z-index: 2;
}

.flow-illust { width: 90px; height: 90px; }

.flow-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.flow-desc {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.7;
  padding: 0 8px;
}

/* ========== Pricing ========== */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.4;
  filter: blur(30px);
}
.pricing-eyebrow {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}
.pricing-amount {
  font-family: var(--font-num);
  font-style: italic;
  font-size: 88px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.pricing-amount .unit { font-size: 28px; font-family: var(--font-jp); font-style: normal; color: var(--ink); margin-left: 4px; }
.pricing-amount .tilde { font-size: 48px; color: var(--ink-soft); }
.pricing-scope {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.pricing-notes {
  text-align: left;
  max-width: 480px;
  margin: 0 auto 32px;
  display: grid;
  gap: 12px;
}
.pricing-notes li {
  list-style: none;
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 28px;
  position: relative;
}
.pricing-notes li::before {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 12px; height: 12px;
  border: 2px solid var(--sage);
  border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}

/* ========== Works ========== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .works-grid { grid-template-columns: 1fr; } }

.work-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all .3s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.work-thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.work-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent 0 16px, rgba(0,0,0,0.04) 16px 17px);
}
.work-thumb-content {
  position: absolute;
  inset: 20px;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-thumb-bar { height: 6px; background: var(--ink); border-radius: 2px; width: 40%; }
.work-thumb-block {
  flex: 1;
  background: linear-gradient(135deg, var(--accent-soft), var(--butter));
  border-radius: 6px;
  position: relative;
}
.work-thumb-lines { display: flex; flex-direction: column; gap: 4px; }
.work-thumb-lines span { height: 4px; background: var(--line); border-radius: 2px; }
.work-thumb-lines span:nth-child(1) { width: 80%; }
.work-thumb-lines span:nth-child(2) { width: 60%; }

.work-body { padding: 20px 22px 24px; }
.work-cat {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 10px;
}
.work-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.5;
}
.work-meta {
  font-size: 12px;
  color: var(--ink-mute);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.work-thumb.t1 { background: var(--accent-soft); }
.work-thumb.t2 { background: var(--sage-soft); }
.work-thumb.t3 { background: #DDE6E9; }
.work-thumb.t4 { background: #F5E4B8; }
.work-thumb.t5 { background: var(--accent-soft); }
.work-thumb.t6 { background: var(--sage-soft); }

.work-thumb.t2 .work-thumb-block { background: linear-gradient(135deg, var(--sage), var(--sage-soft)); }
.work-thumb.t3 .work-thumb-block { background: linear-gradient(135deg, var(--sky), #DDE6E9); }
.work-thumb.t4 .work-thumb-block { background: linear-gradient(135deg, var(--butter), #F5E4B8); }
.work-thumb.t5 .work-thumb-block { background: linear-gradient(135deg, var(--accent), var(--accent-soft)); }
.work-thumb.t6 .work-thumb-block { background: linear-gradient(135deg, var(--sage), #D4DFC8); }

/* ========== FAQ ========== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  padding-right: 40px;
  position: relative;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q-num {
  font-family: var(--font-num);
  font-style: italic;
  color: var(--accent);
  font-size: 15px;
  flex-shrink: 0;
  padding-top: 2px;
}
.faq-toggle {
  position: absolute;
  right: 0; top: 12px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.faq-toggle::before { width: 10px; height: 1.5px; }
.faq-toggle::after { width: 1.5px; height: 10px; transition: transform .3s; }
.faq-item.open .faq-toggle { background: var(--accent); }
.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after { background: var(--bg); }
.faq-item.open .faq-toggle::after { transform: rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2;
  padding-left: 36px;
}
.faq-item.open .faq-a { max-height: 500px; padding-top: 16px; }

/* ========== Contact ========== */
.contact {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  filter: blur(60px);
}
.contact::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.25;
  filter: blur(50px);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }

.contact-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.45;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.contact-title .accent { color: var(--butter); }
.contact-sub {
  font-size: 14px;
  line-height: 2;
  opacity: 0.7;
  margin-bottom: 32px;
}
.contact-meta { display: grid; gap: 14px; font-size: 13px; opacity: 0.7; }
.contact-meta-row { display: flex; gap: 16px; }
.contact-meta-row .k { width: 80px; opacity: 0.6; }

/* Form */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 8px; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row.two { grid-template-columns: 1fr; } }

.form-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-label .req { color: var(--butter); font-size: 10px; }

.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--bg);
  font-family: inherit;
  font-size: 14px;
  transition: all .2s;
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--butter);
  background: rgba(255,255,255,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(247,242,234,0.4); }
.form-textarea { resize: vertical; min-height: 120px; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23F7F2EA' fill='none' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-select option { background: var(--ink); color: var(--bg); }

.form-submit {
  background: var(--butter);
  color: var(--ink);
  padding: 18px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .3s;
  margin-top: 8px;
}
.form-submit:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
}

.form-note {
  font-size: 12px;
  opacity: 0.5;
  text-align: center;
  line-height: 1.8;
}

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
}
.form-success-icon::before {
  content: "";
  width: 24px; height: 14px;
  border: 3px solid var(--bg);
  border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(3px, -3px);
}
.form-success h3 { font-size: 20px; margin-bottom: 12px; }
.form-success p { font-size: 14px; opacity: 0.7; line-height: 1.8; }

/* ========== Footer ========== */
.footer {
  padding: 48px 0 32px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.footer-mark {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px; font-family: var(--font-display); font-size: 18px; color: var(--ink);
  letter-spacing: 0.1em;
}

/* ========== Tweaks Panel ========== */
.tweaks-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: none;
  font-size: 13px;
}
.tweaks-panel.show { display: block; }
.tweaks-title {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.tweak-group { margin-bottom: 16px; }
.tweak-group-label {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.tweak-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.tweak-swatch {
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; border: 2px solid transparent;
  transition: all .2s;
}
.tweak-swatch.active { border-color: var(--ink); transform: scale(1.1); }

.tweak-options { display: grid; gap: 6px; }
.tweak-option {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: all .2s;
}
.tweak-option.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tweak-option:hover:not(.active) { border-color: var(--accent); }

/* Font variants */
body.font-mincho { --font-jp: "Noto Serif JP", "Yu Mincho", serif; --font-display: "Noto Serif JP", serif; }
body.font-sans { --font-jp: "Noto Sans JP", system-ui, sans-serif; --font-display: "Noto Sans JP", sans-serif; }

/* Color variants */
body.color-sage { --accent: #7A9666; --accent-soft: #C8D6B9; }
body.color-sky { --accent: #6B8A9B; --accent-soft: #BCD0D9; }
body.color-rose { --accent: #C67B8A; --accent-soft: #E9C5CD; }
