:root {
  --bg: #f5f1ea;
  --surface: #ffffff;
  --surface-soft: #eee7dc;
  --surface-tint: #f8f4ee;
  --text: #1d1916;
  --muted: #6d6358;
  --line: #ddd2c3;
  --accent: #9c5f32;
  --accent-2: #b08a4e;
  --dark: #151210;
  --dark-soft: #221d19;
  --shadow: 0 18px 50px rgba(29, 25, 22, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1220px;
}

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

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(245, 241, 234, 0.84);
  border-bottom: 1px solid rgba(221, 210, 195, 0.85);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: #000; }

.btn-secondary {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.26);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(115deg, rgba(18, 15, 13, 0.78), rgba(18, 15, 13, 0.42)),
    radial-gradient(circle at top right, rgba(156, 95, 50, 0.32), transparent 30%),
    url("../data/header.jpg") center center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  padding: 0px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: end;
  padding: 60px 0 48px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  margin: 20px 0 0;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
  text-shadow: 0 12px 30px rgba(0,0,0,0.22);
  max-width: 820px;
}

.hero p.lead {
  margin: 22px 0 0;
  max-width: 720px;
  font-size: 19px;
  color: rgba(255,255,255,0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-panel {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  color: #fff;
}

.hero-panel h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #fff;
}

.hero-panel p,
.hero-panel li {
  color: rgba(255,255,255,0.84);
  font-size: 15px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tick {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f0c991;
  margin-top: 8px;
  flex: 0 0 auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 22px 0 58px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 22px;
  background: rgba(255,255,255,0.94);
}

.stat-card .label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
}

.stat-card .value {
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

section { padding: 78px 0; }

.section-head {
  max-width: 900px;
  margin-bottom: 28px;
}

.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.login-link {
  background: #e9e2d7;
  color: #3a332c;
  border: 1px solid #d6cbbd;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.login-link:hover {
  background: #e3dbcf;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.08);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  max-width: 860px;
  margin-bottom: 0;
}

.overview-grid,
.portfolio-grid,
.stone-grid,
.two-col,
.contact-grid,
.why-grid,
.docs-grid {
  display: grid;
  gap: 24px;
}

.overview-grid { grid-template-columns: 1.05fr 0.95fr; }
.portfolio-grid { grid-template-columns: repeat(2, 1fr); }
.stone-grid { grid-template-columns: repeat(3, 1fr); }
.two-col { grid-template-columns: repeat(2, 1fr); }
.contact-grid { grid-template-columns: 0.92fr 1.08fr; }
.why-grid { grid-template-columns: repeat(3, 1fr); }

.content-card { padding: 30px; }
.content-card p:last-child,
.content-card ul:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }

.highlight-list,
.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-list li,
.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 14px;
  color: var(--muted);
}

.highlight-list li:last-child,
.clean-list li:last-child { padding-bottom: 0; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex: 0 0 auto;
}

.asset-card h3,
.stone-card h3,
.process-card h3,
.docs-card h3,
.contact-card h3,
.why-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.mini-box {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.mini-box .mini-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.mini-box .mini-value {
  margin-top: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
}

.sample-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(31, 27, 23, 0.08);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sample-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(31, 27, 23, 0.12);
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 8, 7, 0.88);
  z-index: 200;
}

.image-modal.open {
  display: flex;
}

.image-modal-content {
  position: relative;
  width: min(1200px, 100%);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal img {
  width: auto;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  background: #fff;
}

.image-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  color: var(--dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.soft {
  background: var(--surface-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dark-block {
  background: var(--dark);
  color: #fff;
  border: none;
}

.dark-block p,
.dark-block li,
.dark-block .muted { color: rgba(255,255,255,0.78); }

.step {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--dark-soft);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 12px;
}

.step:first-child { margin-top: 20px; }

.step-no {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(176, 138, 78, 0.2);
  color: #f0d09d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.band {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1a1512, #2b231d);
  color: #fff;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
}

.band-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.band p { color: rgba(255,255,255,0.8); }

.docs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.docs-item {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 15px;
}

.quote {
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

input, textarea {
  width: 100%;
  border: 1px solid #cabfb2;
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  transform: translateY(-1px);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.footer {
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.fade-up {
  opacity: 0;
  transform: translateY(26px);
}

@media (max-width: 1100px) {
  .hero-grid,
  .overview-grid,
  .contact-grid,
  .two-col,
  .portfolio-grid,
  .stone-grid,
  .stats,
  .why-grid,
  .docs-list,
  .band-grid {
    grid-template-columns: 1fr;
  }

  .meta-grid,
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 24px)); }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-grid { padding: 58px 0 28px; }
  .stats { margin-bottom: 42px; }
  section { padding: 58px 0; }

  .meta-grid,
  .form-grid,
  .docs-list { grid-template-columns: 1fr; }

  .content-card,
  .hero-panel,
  .band { padding: 22px; }

  h1 { font-size: 40px; }
  .hero p.lead { font-size: 17px; }
}
