/* ============================================================
   AISHA — refined luxury system
   Tokens, dark mode, and tweak hooks live on :root / [data-theme]
   ============================================================ */

:root {
  /* accent (gold) — overridable by Tweaks */
  --gold: #A07840;
  --gold-light: #C9A96E;
  --gold-deep: #7A5A28;

  /* surfaces */
  --bg: #FAF8F4;
  --bg-section: #F2EDE5;
  --bg-deep: #EDE6DA;
  --card-bg: #FFFFFF;

  /* ink */
  --text: #1C1A17;
  --text-soft: #5C5650;
  --warm-gray: #9A948E;
  --border: rgba(160,120,64,0.18);
  --hairline: rgba(160,120,64,0.12);

  /* type */
  --font-display: 'Cormorant Garamond', serif;
  --font-logo: 'Cinzel', serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --shadow-soft: 0 8px 40px rgba(160,120,64,0.08);
  --shadow-lift: 0 24px 70px rgba(120,90,40,0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-y: 34px;
}

/* alt display fonts via Tweaks */
:root[data-font="mincho"] { --font-display: 'Shippori Mincho', serif; }
:root[data-font="garamond"] { --font-display: 'EB Garamond', serif; }

/* ---------- DARK ---------- */
:root[data-theme="dark"] {
  --bg: #141009;
  --bg-section: #1A150D;
  --bg-deep: #100C07;
  --card-bg: #201A11;
  --text: #F3ECDF;
  --text-soft: #B7AC99;
  --warm-gray: #897F6C;
  --border: rgba(201,169,110,0.22);
  --hairline: rgba(201,169,110,0.14);
  --gold: #C9A96E;
  --gold-light: #E2C690;
  --gold-deep: #A07840;
  --shadow-soft: 0 8px 40px rgba(0,0,0,0.45);
  --shadow-lift: 0 24px 70px rgba(0,0,0,0.55);
}

/* motion off via Tweaks or OS */
:root[data-motion="off"] *,
:root[data-motion="off"] *::before,
:root[data-motion="off"] *::after {
  animation-duration: 0.001ms !important;
  animation-delay: 0ms !important;
  transition-duration: 0.001ms !important;
}
:root[data-motion="off"] .reveal { opacity: 1 !important; transform: none !important; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}

::selection { background: rgba(160,120,64,0.22); color: var(--text); }

/* film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2000;
  opacity: 0.5;
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] body::after { mix-blend-mode: screen; opacity: 0.3; }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 60px;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(250,248,244,0) 100%);
  backdrop-filter: blur(2px);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
:root[data-theme="dark"] nav { background: linear-gradient(180deg, var(--bg) 0%, rgba(20,16,9,0) 100%); }

nav.scrolled {
  padding: 15px 60px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 1px 30px rgba(160,120,64,0.07);
}

.logo {
  font-family: var(--font-logo);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-decoration: none;
  line-height: 1;
}
.logo small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.42em;
  color: var(--warm-gray);
  font-family: var(--font-body);
  font-weight: 300;
  text-align: center;
  margin-top: 3px;
  padding-left: 0.34em;
}

.nav-links { display: flex; gap: 38px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-soft);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.35s var(--ease);
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 9px 24px;
  font-size: 10px !important;
  letter-spacing: 0.24em;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: color 0.4s var(--ease) !important;
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
}
.nav-cta:hover { color: #fff !important; }
:root[data-theme="dark"] .nav-cta:hover { color: #14100A !important; }
.nav-cta:hover::before { transform: translateY(0); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; z-index: 1600; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--gold); transition: all 0.35s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 38%, rgba(201,169,110,0.16) 0%, transparent 70%),
    radial-gradient(ellipse 42% 42% at 82% 82%, rgba(160,120,64,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 32% 32% at 8% 18%, rgba(201,169,110,0.07) 0%, transparent 60%);
  will-change: transform;
}
:root[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 70% 60% at 50% 38%, rgba(201,169,110,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 42% 42% at 82% 82%, rgba(201,169,110,0.08) 0%, transparent 60%);
}
.hero-rings { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero-rings span {
  position: absolute; top: 50%; left: 50%;
  border: 1px solid rgba(160,120,64,0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hero-rings span:nth-child(1) { width: 560px; height: 560px; animation: ringPulse 7s var(--ease) infinite; }
.hero-rings span:nth-child(2) { width: 860px; height: 860px; border-color: rgba(160,120,64,0.08); animation: ringPulse 7s var(--ease) infinite 2.3s; }
.hero-rings span:nth-child(3) { width: 1180px; height: 1180px; border-color: rgba(160,120,64,0.05); animation: ringPulse 7s var(--ease) infinite 4s; }
@keyframes ringPulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.035); }
}

.hero-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-logo);
  font-size: clamp(280px, 52vw, 760px);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  opacity: 0.035;
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.hero-content { position: relative; text-align: center; z-index: 3; padding: 0 24px; }

.hero-tagline {
  font-size: 11px;
  letter-spacing: 0.52em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 30px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.2s both;
}
.hero-logo-text {
  font-family: var(--font-logo);
  font-size: clamp(72px, 12vw, 138px);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  display: inline-flex;
}
.hero-logo-text span {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 48%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 32px rgba(160,120,64,0.2));
  opacity: 0;
  transform: translateY(50px);
  animation: letterUp 1s var(--ease) both;
}
@keyframes letterUp { to { opacity: 1; transform: translateY(0); } }

.hero-company {
  font-size: 13px;
  letter-spacing: 0.6em;
  color: var(--warm-gray);
  font-weight: 300;
  margin-top: 20px;
  padding-left: 0.6em;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.85s both;
}
.hero-desc {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 2vw, 23px);
  color: var(--text-soft);
  margin: 38px auto 0;
  line-height: 1.85;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 1.05s both;
}
.hero-est {
  margin-top: 30px;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 1.25s both;
}
.hero-est::before, .hero-est::after { content: ''; width: 28px; height: 1px; background: var(--gold); opacity: 0.5; }

.hero-scroll {
  position: absolute;
  bottom: 38px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--warm-gray);
  font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase;
  z-index: 3;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 1.5s both;
}
.scroll-line { width: 1px; height: 52px; background: linear-gradient(180deg, var(--gold) 0%, transparent 100%); transform-origin: top; animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  46%, 100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   SHARED SECTION PARTS
   ============================================================ */
.section-label {
  font-size: 9px;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.section-label::before { content: ''; width: 40px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease) 0.1s; }
.reveal.visible .section-label::before, .section-label.visible::before { transform: scaleX(1); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.16;
  color: var(--text);
  margin-top: 18px;
}
.section-title em { font-style: italic; color: var(--gold); }

.gold-divider {
  width: 100%; max-width: 1180px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0.45;
  transform: scaleX(0.3);
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
}
.gold-divider.visible { transform: scaleX(1); opacity: 0.45; }

.eyebrow-line { display: block; }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
#philosophy {
  padding: 130px 60px;
  max-width: 1180px;
  margin: 0 auto;
}
.philo-head { max-width: 900px; }
.philo-statement {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 300;
  line-height: 1.32;
  color: var(--text);
  margin-top: 34px;
}
.philo-statement em { font-style: italic; color: var(--gold); }
.philo-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 80px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.pillar {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
  transition: background 0.5s var(--ease);
}
.pillar:hover { background: var(--card-bg); }
.pillar-mark {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.pillar-mark span { font-size: 26px; }
.pillar h4 { font-size: 17px; font-weight: 500; color: var(--text); margin: 22px 0 12px; letter-spacing: 0.04em; }
.pillar p { font-size: 13px; line-height: 2; color: var(--text-soft); font-weight: 300; }

/* ============================================================
   SERVICES
   ============================================================ */
#services { padding: 120px 0; background: var(--bg-section); position: relative; }
#services .inner { max-width: 1180px; margin: 0 auto; padding: 0 60px; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.services-head p { font-size: 13px; line-height: 2; color: var(--text-soft); font-weight: 300; max-width: 340px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 64px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--border); }
.service-media { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-deep); }
.service-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.045); }
.service-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,16,9,0.04) 100%);
  pointer-events: none;
}
.service-num {
  position: absolute;
  top: 16px; left: 20px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(28,22,12,0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.service-body { padding: 36px 38px 40px; flex: 1; display: flex; flex-direction: column; }
.service-icon { font-size: 22px; color: var(--gold); margin-bottom: 16px; }
.service-title-ja { font-size: 19px; font-weight: 500; color: var(--text); margin-bottom: 6px; letter-spacing: 0.03em; }
.service-title-en { font-family: var(--font-display); font-size: 13px; font-style: italic; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 22px; }
.service-desc { font-size: 13px; line-height: 2.05; color: var(--text-soft); font-weight: 300; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--gold);
  border: 1px solid rgba(160,120,64,0.28);
  padding: 5px 13px;
  text-transform: uppercase;
  background: rgba(160,120,64,0.05);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.service-card:hover .tag { background: rgba(160,120,64,0.09); }

/* feature card (05) */
.service-card.feature { grid-column: 1 / -1; flex-direction: row; }
.service-card.feature .service-media { width: 46%; aspect-ratio: auto; min-height: 360px; }
.service-card.feature .service-body { width: 54%; justify-content: center; padding: 56px 60px; }
.service-card.feature .service-title-ja { font-size: 24px; }
.service-card.feature .feature-pill {
  align-self: flex-start;
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold);
  padding: 6px 16px; margin-bottom: 24px;
}

/* ============================================================
   STATS BAND
   ============================================================ */
#stats { padding: 90px 60px; background: var(--bg); }
.stats-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat {
  text-align: center;
  padding: 20px;
  border-left: 1px solid var(--hairline);
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { margin-top: 14px; font-size: 10px; letter-spacing: 0.28em; color: var(--warm-gray); text-transform: uppercase; }
.stat-sub { margin-top: 4px; font-size: 11px; color: var(--text-soft); font-weight: 300; }

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  padding: 130px 60px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-visual { position: relative; }
.about-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-section) 100%);
}
.about-frame img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: cover; display: block; }
.about-corner { position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; z-index: 4; }
.about-corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.about-corner.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.about-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.about-corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.about-badge {
  position: absolute;
  bottom: -28px; right: -28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 22px 28px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  z-index: 5;
}
.about-badge .b-num { font-family: var(--font-display); font-size: 34px; font-weight: 300; color: var(--gold); line-height: 1; }
.about-badge .b-label { font-size: 9px; letter-spacing: 0.24em; color: var(--warm-gray); text-transform: uppercase; margin-top: 6px; }

.about-body { font-size: 14px; line-height: 2.25; color: var(--text-soft); font-weight: 300; margin: 26px 0 20px; }
.about-table { width: 100%; border-collapse: collapse; margin-top: 36px; }
.about-table tr { border-bottom: 1px solid var(--hairline); }
.about-table td { padding: 15px 0; font-size: 13px; font-weight: 300; vertical-align: top; }
.about-table td:first-child { color: var(--gold); width: 110px; font-size: 11px; letter-spacing: 0.08em; }
.about-table td:last-child { color: var(--text-soft); }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--bg-section); }
#contact .inner {
  max-width: 1180px; margin: 0 auto;
  padding: 130px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start;
}
.contact-info h3 { font-family: var(--font-display); font-size: clamp(36px, 4vw, 50px); font-weight: 300; line-height: 1.25; margin: 22px 0 28px; color: var(--text); }
.contact-info h3 em { color: var(--gold); font-style: italic; }
.contact-info > p { font-size: 13px; line-height: 2.2; color: var(--text-soft); font-weight: 300; margin-bottom: 42px; max-width: 420px; }
.contact-detail { display: flex; flex-direction: column; gap: 18px; }
.contact-row { display: flex; gap: 18px; align-items: center; font-size: 13px; color: var(--text-soft); }
.contact-row span:first-child { color: var(--gold); font-size: 10px; letter-spacing: 0.22em; min-width: 64px; }

.contact-form { display: flex; flex-direction: column; gap: 22px; position: relative; }
.form-group { display: flex; flex-direction: column; gap: 9px; }
.form-group label { font-size: 10px; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--card-bg);
  border: 1px solid rgba(160,120,64,0.2);
  color: var(--text);
  padding: 15px 18px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
}
.form-group select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A07840' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(160,120,64,0.09); }
.form-group textarea { height: 138px; resize: none; }
.form-group.error input, .form-group.error textarea, .form-group.error select { border-color: #C0563E; box-shadow: 0 0 0 3px rgba(192,86,62,0.1); }
.field-error { font-size: 10px; color: #C0563E; letter-spacing: 0.05em; height: 0; overflow: hidden; opacity: 0; transition: all 0.3s var(--ease); }
.form-group.error .field-error { height: auto; opacity: 1; margin-top: -2px; }
::placeholder { color: var(--warm-gray); opacity: 0.7; }

.btn-submit {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 17px 44px;
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
  transition: color 0.4s var(--ease);
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-submit::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: translateX(-101%); transition: transform 0.45s var(--ease); }
.btn-submit:hover { color: #fff; }
:root[data-theme="dark"] .btn-submit:hover { color: #14100A; }
.btn-submit:hover::before { transform: translateX(0); }

/* success overlay */
.form-success {
  position: absolute; inset: 0;
  background: var(--bg-section);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; text-align: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
  z-index: 10;
}
.form-success.show { opacity: 1; visibility: visible; }
.success-ring { width: 78px; height: 78px; }
.success-ring circle { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 239; stroke-dashoffset: 239; }
.success-ring path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; }
.form-success.show .success-ring circle { animation: drawRing 0.7s var(--ease) 0.1s forwards; }
.form-success.show .success-ring path { animation: drawCheck 0.4s var(--ease) 0.7s forwards; }
@keyframes drawRing { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.form-success h4 { font-family: var(--font-display); font-size: 30px; font-weight: 300; color: var(--text); }
.form-success p { font-size: 12px; color: var(--text-soft); font-weight: 300; line-height: 1.9; }
.form-success button { margin-top: 6px; background: none; border: none; color: var(--gold); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; cursor: pointer; border-bottom: 1px solid var(--gold); padding-bottom: 3px; font-family: var(--font-body); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 54px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: var(--bg);
}
.footer-logo { font-family: var(--font-logo); font-size: 22px; letter-spacing: 0.34em; color: var(--gold); padding-left: 0.34em; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { font-size: 10px; letter-spacing: 0.16em; color: var(--text-soft); text-decoration: none; transition: color 0.3s var(--ease); text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 10px; letter-spacing: 0.14em; color: var(--warm-gray); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(var(--reveal-y)); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation-duration: 0.001ms !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  #about { grid-template-columns: 1fr; gap: 70px; }
  .about-visual { max-width: 420px; }
  .about-badge { bottom: -22px; right: 10px; }
}
@media (max-width: 880px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: min(78vw, 300px); height: 100vh;
    background: color-mix(in srgb, var(--bg) 97%, transparent);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center; gap: 34px;
    transition: right 0.5s var(--ease);
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 50px rgba(160,120,64,0.08);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 14px; }

  #philosophy { padding: 90px 24px; }
  .philo-pillars { grid-template-columns: 1fr; }

  #services { padding: 90px 0; }
  #services .inner { padding: 0 24px; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card.feature { flex-direction: column; }
  .service-card.feature .service-media { width: 100%; min-height: 240px; aspect-ratio: 16/10; }
  .service-card.feature .service-body { width: 100%; padding: 40px 32px; }

  #stats { padding: 70px 24px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .stat:nth-child(odd) { border-left: none; }

  #about { padding: 90px 24px; }
  #contact .inner { grid-template-columns: 1fr; gap: 56px; padding: 90px 24px; }
  footer { flex-direction: column; text-align: center; padding: 44px 24px; }
}
@media (max-width: 480px) {
  .service-body { padding: 30px 26px 34px; }
  .about-badge { position: static; margin-top: 30px; display: inline-block; }
}
