/* ====================================================
   株式会社野勢工務店 - リブランディング
   ==================================================== */

:root {
  /* Theme: orange (default — bright & warm) */
  --bg: #FFF8F0;
  --bg-alt: #FCEFDC;
  --paper: #FFFDF8;
  --ink: #3A2418;
  --ink-soft: #6A4634;
  --muted: #9B8174;
  --accent: #ED7B2C;
  --accent-strong: #D45F12;
  --accent-soft: #FFD4A8;
  --line: rgba(58, 36, 24, 0.12);
  --shadow: 0 30px 60px -30px rgba(212, 95, 18, 0.25);

  /* Hero — bright sunset over rooftops */
  --hero-sky-top: #FFE3C2;
  --hero-sky-bottom: #FFB97A;
  --hero-grid: rgba(58, 36, 24, 0.05);
  --hero-buildings: #D45F12;
  --hero-windows: #FFF6E5;
  --hero-ink: #3A2418;

  /* Contact dot bg */
  --contact-dot: rgba(255, 222, 184, 0.6);

  /* Visual photo placeholder */
  --photo-bg: #FFD4A8;
  --photo-mid: #FFEAD2;
  --photo-accent: #ED7B2C;
  --photo-dark: #B85420;
  --photo-line: #FFFDF8;
  --photo-text: #FFFDF8;
  --photo-ground: #6A4634;

  /* Type */
  --font-serif: 'Shippori Mincho B1', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-latin-serif: 'Cormorant Garamond', 'Shippori Mincho B1', serif;
  --font-latin-sans: 'Inter', 'Noto Sans JP', sans-serif;

  --heading-font: var(--font-serif);

  /* Density */
  --section-py: clamp(80px, 11vw, 160px);
  --container-px: clamp(20px, 5vw, 72px);
}

/* Theme: indigo — the original cool palette, kept as an alt option */
body[data-theme="indigo"] {
  --bg: #F5F0E6;
  --bg-alt: #ECE4D3;
  --paper: #FBF7EF;
  --ink: #14213D;
  --ink-soft: #3E4861;
  --muted: #7A766E;
  --accent: #B89968;
  --accent-strong: #9F7E47;
  --accent-soft: #E8DCC4;
  --line: rgba(20, 33, 61, 0.14);
  --hero-sky-top: #1A2C4E;
  --hero-sky-bottom: #2D4271;
  --hero-grid: rgba(255,255,255,0.06);
  --hero-buildings: #0B1530;
  --hero-windows: #E8C77A;
  --hero-ink: #FBF7EF;
  --photo-accent: #14213D;
  --photo-dark: #4A5773;
}

/* Theme: terracotta — deeper warm earth */
body[data-theme="terracotta"] {
  --bg: #FBF1E4;
  --bg-alt: #F4E2C9;
  --paper: #FFFAF1;
  --ink: #4A1F0E;
  --ink-soft: #6E3A20;
  --accent: #C84A1F;
  --accent-strong: #9F320B;
  --accent-soft: #F5C49B;
  --line: rgba(74, 31, 14, 0.14);
  --hero-sky-top: #FFD9B0;
  --hero-sky-bottom: #F69654;
  --hero-buildings: #9F320B;
  --hero-windows: #FFF1DA;
  --hero-ink: #4A1F0E;
  --photo-accent: #C84A1F;
  --photo-dark: #8C3814;
}

/* Theme: peach — softest pastel orange */
body[data-theme="peach"] {
  --bg: #FFF4EC;
  --bg-alt: #FFE6D2;
  --paper: #FFFBF6;
  --ink: #5A3320;
  --ink-soft: #8C5638;
  --accent: #F4A26D;
  --accent-strong: #DC8246;
  --accent-soft: #FFE0C2;
  --line: rgba(90, 51, 32, 0.10);
  --hero-sky-top: #FFEBD6;
  --hero-sky-bottom: #FFD0A0;
  --hero-buildings: #DC8246;
  --hero-windows: #FFFBF0;
  --hero-ink: #5A3320;
  --photo-accent: #F4A26D;
  --photo-dark: #B8693A;
}

/* Heading: sans option */
body[data-heading="sans"] {
  --heading-font: var(--font-sans);
}

/* Density: spacious */
body[data-density="spacious"] {
  --section-py: clamp(120px, 14vw, 220px);
}
body[data-density="compact"] {
  --section-py: clamp(56px, 8vw, 110px);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--container-px);
  position: relative;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 14px 0;
}
.site-header.is-scrolled {
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 8px 0;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  flex: 0 0 38px;
}
.site-header:not(.is-scrolled) .brand-mark,
.site-header:not(.is-scrolled) .brand-text { color: var(--hero-ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand-jp {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.brand-en {
  font-family: var(--font-latin-sans);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  opacity: 0.6;
  font-weight: 500;
}

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  gap: clamp(12px, 2vw, 32px);
}
.primary-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--hero-ink);
  position: relative;
  transition: color .25s ease;
}
.primary-nav a span {
  font-family: var(--font-latin-sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  opacity: 0.55;
  font-weight: 500;
}
.site-header.is-scrolled .primary-nav a { color: var(--ink); }
.primary-nav a:hover { color: var(--accent); }
.site-header.is-scrolled .primary-nav a:hover { color: var(--accent-strong); }

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  color: var(--hero-ink);
  border-left: 1px solid rgba(58, 36, 24, 0.18);
  padding-left: clamp(12px, 2vw, 24px);
}
body[data-theme="indigo"] .header-tel { border-left-color: rgba(255,255,255,0.2); }
.site-header.is-scrolled .header-tel { color: var(--ink); border-left-color: var(--line); }
.tel-label {
  font-family: var(--font-latin-sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  opacity: 0.65;
  margin-bottom: 4px;
}
.tel-number {
  font-family: var(--font-latin-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--hero-ink);
}
.site-header.is-scrolled .menu-toggle { color: var(--ink); }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 99;
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(0.65, 0, 0.35, 1);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: block;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mobile-tel {
  margin-top: auto;
  font-family: var(--font-latin-serif);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
  text-align: center;
  padding: 24px;
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .primary-nav, .header-tel { display: none; }
  .menu-toggle { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px var(--container-px) 80px;
  color: var(--hero-ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-art { width: 100%; height: 100%; display: block; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 248, 240, 0) 60%, rgba(255, 200, 140, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}
body[data-theme="indigo"] .hero::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  opacity: 0.85;
}
.hero-eyebrow {
  font-family: var(--font-latin-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 500;
}
.hero-divider {
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.hero-title {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: clamp(38px, 7.5vw, 92px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  margin: 0 0 36px;
}
.hero-line { display: block; }
.hero-title em {
  font-style: normal;
  color: var(--accent-strong);
  font-weight: 600;
  position: relative;
  padding: 0 0.1em;
}
body[data-theme="indigo"] .hero-title em { color: var(--accent); }

.hero-lead {
  font-family: var(--heading-font);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 2.1;
  letter-spacing: 0.1em;
  margin: 0 0 48px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  transition: transform .3s ease, background .3s ease, color .3s ease, border .3s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: #FFFDF8;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-2px); color: #fff; }
.btn-ghost {
  color: currentColor;
  border-color: rgba(58, 36, 24, 0.3);
  font-family: var(--font-latin-serif);
  font-size: 18px;
  letter-spacing: 0.04em;
}
body[data-theme="indigo"] .btn-ghost { border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(58, 36, 24, 0.05); border-color: currentColor; transform: translateY(-2px); }
body[data-theme="indigo"] .btn-ghost:hover { background: rgba(255,255,255,0.08); }

.hero-badges {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 80px);
  flex-wrap: wrap;
}
.badge {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-align: left;
}
.badge-num {
  font-family: var(--font-latin-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1;
}
body[data-heading="sans"] .badge-num { font-family: var(--heading-font); }
.badge-label {
  font-family: var(--heading-font);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--hero-ink);
  opacity: 0.7;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, currentColor);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}
.scroll-text {
  font-family: var(--font-latin-sans);
  font-size: 10px;
  letter-spacing: 0.4em;
}

@media (max-width: 640px) {
  .hero { min-height: 90vh; padding-top: 100px; }
  .hero-meta { flex-wrap: wrap; justify-content: center; }
  .btn { padding: 14px 22px; font-size: 13px; }
  .badge { flex-direction: column; gap: 4px; align-items: center; text-align: center; }
  .hero-badges { gap: 24px; }
  .hero-scroll { display: none; }
}

/* ============ SECTION SCAFFOLD ============ */
section { position: relative; }
.message, .services, .renovation, .area, .company {
  padding: var(--section-py) 0;
}
.services, .area { background: var(--bg-alt); }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section-index {
  font-family: var(--font-latin-serif);
  font-style: italic;
  font-size: clamp(48px, 7vw, 96px);
  color: var(--accent);
  line-height: 0.8;
  letter-spacing: -0.02em;
  font-weight: 500;
  opacity: 0.95;
}
.section-eyebrow {
  font-family: var(--font-latin-sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 500;
}
.section-title {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 52px);
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin: 0;
}
.br-mobile { display: none; }
@media (max-width: 720px) {
  .br-mobile { display: inline; }
  .section-head { gap: 20px; }
}

/* ============ MESSAGE ============ */
.message-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.message-body p {
  font-size: 15px;
  line-height: 2.1;
  margin: 0 0 1.8em;
  color: var(--ink-soft);
}
.message-body .lead-jp {
  font-family: var(--heading-font);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 1.6em;
  font-weight: 500;
}
.message-body em {
  font-style: normal;
  border-bottom: 1px solid var(--accent);
  padding: 0 0.05em 2px;
}
.message-body strong {
  color: var(--ink);
  font-weight: 600;
}
.signature {
  margin-top: 3em !important;
  padding-top: 1.5em;
  border-top: 1px solid var(--line);
  font-family: var(--heading-font);
  letter-spacing: 0.08em;
}

.message-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--paper);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  position: sticky;
  top: 100px;
}
.point {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.point:last-child { border-bottom: 0; padding-bottom: 0; }
.point-num {
  display: inline-block;
  font-family: var(--font-latin-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.point h3 {
  font-family: var(--heading-font);
  font-size: 19px;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  font-weight: 600;
}
.point p {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 900px) {
  .message-grid { grid-template-columns: 1fr; }
  .message-points { position: static; }
}

/* ============ SERVICES ============ */
.services-intro {
  max-width: 760px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-soft);
  margin: 0 0 64px;
}
.targets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
  margin-bottom: clamp(64px, 8vw, 100px);
}
.target {
  background: var(--paper);
  padding: clamp(28px, 3.5vw, 48px) 16px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.target:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.target-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: var(--accent);
}
.target-icon svg { width: 100%; height: 100%; }
.target h3 {
  font-family: var(--heading-font);
  font-size: 18px;
  letter-spacing: 0.16em;
  margin: 0 0 4px;
  font-weight: 600;
}
.target p {
  font-family: var(--font-latin-sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .targets { grid-template-columns: repeat(2, 1fr); }
}

.service-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.cat {
  background: var(--paper);
  padding: clamp(28px, 3.5vw, 44px);
  border-top: 2px solid var(--accent);
  position: relative;
}
.cat header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cat-num {
  font-family: var(--font-latin-serif);
  font-style: italic;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}
.cat h3 {
  font-family: var(--heading-font);
  font-size: 22px;
  letter-spacing: 0.12em;
  margin: 0;
  font-weight: 600;
}
.cat ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}
.cat li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
@media (max-width: 900px) {
  .service-cats { grid-template-columns: 1fr; }
}

/* ============ RENOVATION ============ */
.renovation { background: var(--bg); }
.reno-group { margin-bottom: clamp(40px, 5vw, 64px); }
.reno-group:last-child { margin-bottom: 0; }
.reno-group-title {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0.1em;
}
.reno-group-title em {
  font-family: var(--font-latin-sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-left: auto;
  font-weight: 500;
}
.reno-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}
.reno-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.reno-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reno-card span {
  display: block;
  padding: 16px 18px;
  font-family: var(--heading-font);
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 500;
  border-top: 1px solid var(--line);
}
.reno-thumb {
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.reno-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 48%, var(--accent) 48%, var(--accent) 52%, transparent 52%),
    linear-gradient(45deg, transparent 48%, var(--accent) 48%, var(--accent) 52%, transparent 52%);
  background-size: 14px 14px;
  opacity: 0.08;
}
.reno-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--thumb-fill, linear-gradient(135deg, rgba(20,33,61,0.04) 0%, rgba(184,153,104,0.18) 100%));
}
.reno-thumb[data-cat="kitchen"]   { background: linear-gradient(135deg, #D4C9B0, #B89968); }
.reno-thumb[data-cat="bath"]      { background: linear-gradient(135deg, #F5D9B8, #C68A52); }
.reno-thumb[data-cat="washroom"]  { background: linear-gradient(135deg, #F2E4CC, #C5A578); }
.reno-thumb[data-cat="drain"]     { background: linear-gradient(135deg, #C8A476, #7A552E); }
.reno-thumb[data-cat="toilet"]    { background: linear-gradient(135deg, #EDE8DE, #C8C0AE); }
.reno-thumb[data-cat="floor"]     { background: linear-gradient(135deg, #C7A77E, #8C6C45); }
.reno-thumb[data-cat="flooring"]  { background: linear-gradient(135deg, #D9B988, #A08454); }
.reno-thumb[data-cat="western"]   { background: linear-gradient(135deg, #E0D6C3, #BFB098); }
.reno-thumb[data-cat="japanese"]  { background: linear-gradient(135deg, #B5A87C, #7A6F4C); }
.reno-thumb[data-cat="entrance"]  { background: linear-gradient(135deg, #C9BFA8, #877E68); }
.reno-thumb[data-cat="door"]      { background: linear-gradient(135deg, #A88766, #6B5238); }
.reno-thumb[data-cat="hallway"]   { background: linear-gradient(135deg, #D6C9AC, #9C8E72); }
.reno-thumb[data-cat="stairs"]    { background: linear-gradient(135deg, #BEAE8E, #7E6D4F); }
.reno-thumb[data-cat="wall"]      { background: linear-gradient(135deg, #C8C5BC, #79766C); }
.reno-thumb[data-cat="roof"]      { background: linear-gradient(135deg, #D89460, #8C4520); }
.reno-thumb[data-cat="fence"]     { background: linear-gradient(135deg, #B0A89A, #6E665A); }
.reno-thumb[data-cat="carport"]   { background: linear-gradient(135deg, #D8C49E, #8E7548); }
.reno-thumb[data-cat="waterproof"]{ background: linear-gradient(135deg, #E8B888, #A66830); }
.reno-thumb[data-cat="custom"]    { background: linear-gradient(135deg, #C9B894, #4A3F2C); aspect-ratio: 21 / 9; }

.reno-card-wide { grid-column: 1 / -1; }
.reno-card-wide span { font-size: 16px; padding: 20px 24px; }

@media (max-width: 900px) { .reno-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .reno-grid { grid-template-columns: repeat(2, 1fr); }
  .reno-thumb[data-cat="custom"] { aspect-ratio: 16 / 9; }
}

/* ============ AREA ============ */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.area-map {
  aspect-ratio: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  position: relative;
}
.area-map svg { width: 100%; height: 100%; }
.area-lead {
  font-family: var(--heading-font);
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin: 0 0 32px;
}
.area-lead em {
  font-family: var(--font-latin-serif);
  font-style: italic;
  font-size: 1.4em;
  color: var(--accent);
  margin: 0 0.1em;
}
.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin: 0 0 32px;
}
.area-list li {
  font-family: var(--heading-font);
  font-size: 17px;
  letter-spacing: 0.1em;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-weight: 500;
}
.area-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.area-list li::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.area-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
  background: var(--paper);
}
@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; }
  .area-map { aspect-ratio: 4 / 3; }
}

/* ============ COMPANY ============ */
.company-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.company-table dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.company-table div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.company-table div:first-child { border-top: 1px solid var(--line); }
.company-table dt {
  font-family: var(--heading-font);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 500;
}
.company-table dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}
.company-table dd a { border-bottom: 1px solid var(--accent); }

.visual-card { position: relative; }
.visual-photo {
  aspect-ratio: 3 / 3.8;
  background: var(--photo-bg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.visual-photo svg { width: 100%; height: 100%; }
.visual-caption {
  margin: 16px 0 0;
  font-family: var(--font-latin-sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
}
.visual-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  background: var(--paper);
  padding: 24px;
  border: 1px solid var(--line);
}
.visual-stats > div {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.visual-stats > div + div { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-latin-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
body[data-heading="sans"] .stat-num { font-family: var(--heading-font); }
.stat-label {
  font-family: var(--heading-font);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .company-grid { grid-template-columns: 1fr; }
  .company-table div { grid-template-columns: 100px 1fr; gap: 16px; padding: 16px 0; }
}

/* ============ CONTACT ============ */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
body[data-theme="orange"] .contact,
body[data-theme="terracotta"] .contact,
body[data-theme="peach"] .contact {
  background: linear-gradient(135deg, #3A2418 0%, #5A2E16 100%);
}
.contact-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.contact-bg svg { width: 100%; height: 100%; }
.contact .container { position: relative; z-index: 2; }
.section-head-light .section-index { color: var(--accent); }
.section-head-light .section-eyebrow { color: var(--accent); }
.section-head-light .section-title { color: var(--paper); }
.contact-lead {
  font-family: var(--heading-font);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.95;
  letter-spacing: 0.08em;
  margin: 0 0 56px;
  opacity: 0.9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.contact-card-label {
  display: block;
  font-family: var(--font-latin-sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 16px;
}
.contact-tel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background .3s, border .3s;
}
.contact-tel:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}
.contact-card-num {
  font-family: var(--font-latin-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  line-height: 1;
}
.contact-card-hours {
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label span {
  font-family: var(--font-latin-sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: var(--paper);
  padding: 10px 0;
  font: inherit;
  font-size: 15px;
  font-family: var(--font-sans);
  transition: border .3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button {
  margin-top: 12px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--accent);
  color: #FFFDF8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  transition: background .3s, transform .3s;
}
.contact-form button:hover { background: var(--paper); transform: translateY(-2px); }
.contact-form button svg { width: 16px; height: 16px; }
.form-sent {
  font-size: 13px;
  color: var(--accent);
  margin: 12px 0 0;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: #2A1810;
  color: rgba(255, 245, 232, 0.75);
  padding: 64px 0 32px;
}
body[data-theme="indigo"] .site-footer { background: #0A1424; color: rgba(255,255,255,0.75); }
body[data-theme="terracotta"] .site-footer { background: #1F0E05; }
body[data-theme="peach"] .site-footer { background: #3A2418; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.footer-brand .brand-mark { color: var(--accent); width: 44px; height: 44px; flex: 0 0 44px; }
.footer-name {
  font-family: var(--heading-font);
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--paper);
  margin: 0 0 12px;
  font-weight: 500;
}
.footer-addr, .footer-tel {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 4px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: flex-end;
  font-family: var(--font-latin-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
}
.footer-nav a { transition: color .25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  grid-column: 1 / -1;
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-align: center;
  opacity: 0.6;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #FFFDF8;
  display: grid;
  place-items: center;
  z-index: 50;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s, background .3s;
  pointer-events: none;
}
.back-to-top svg { width: 20px; height: 20px; }
.is-scrolled ~ * .back-to-top,
body:has(.is-scrolled) .back-to-top {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--accent-strong); color: #fff; }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(0.2, 0.7, 0.2, 1), transform .9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
