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

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */
:root {
  --font-sans:  'DM Sans', sans-serif;
  --font-serif: 'DM Serif Display', serif;

  --color-bg:           #ffffff;
  --color-bg-secondary: #f5f4f0;
  --color-text:         #1a1a18;
  --color-text-muted:   #5f5e5a;
  --color-text-faint:   #888780;
  --color-border:       rgba(26,26,24,0.12);
  --color-border-mid:   rgba(26,26,24,0.25);
  --color-accent:       #185fa5;
  --color-accent-bg:    #e6f1fb;
  --color-accent-text:  #0c447c;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --max-w:    760px;
  --page-px:  clamp(1.25rem, 5vw, 3rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg:           #1a1a18;
    --color-bg-secondary: #242422;
    --color-text:         #f0efe8;
    --color-text-muted:   #b4b2a9;
    --color-text-faint:   #888780;
    --color-border:       rgba(240,239,232,0.12);
    --color-border-mid:   rgba(240,239,232,0.25);
    --color-accent:       #378add;
    --color-accent-bg:    #042c53;
    --color-accent-text:  #b5d4f4;
  }
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-px);
}

.divider {
  height: 0.5px;
  background: var(--color-border);
  margin: 3rem 0;
}

section { margin-bottom: 3.5rem; }

/* ── Type helpers ── */
.eyebrow,
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 1.25rem;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
}

h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p { color: var(--color-text-muted); }

a { color: var(--color-accent); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, background 0.15s;
  border: none;
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn-primary:hover { opacity: 0.8; }

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 0.5px solid var(--color-border-mid);
  font-weight: 400;
}
.btn-ghost:hover { background: var(--color-bg-secondary); }

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 0.5px solid var(--color-accent);
  font-weight: 400;
}
.btn-outline:hover { background: var(--color-accent-bg); }

/* ── Nav ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 0.5px solid var(--color-border);
  margin-bottom: 4rem;
}

.nav-name {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: -0.3px;
  text-decoration: none;
  color: var(--color-text);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-text); }

/* ── Footer ── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0 2rem;
  border-top: 0.5px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-faint);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links { display: flex; gap: 1.25rem; }

.footer a {
  color: var(--color-text-faint);
  text-decoration: none;
  transition: color 0.15s;
}
.footer a:hover { color: var(--color-text-muted); }

/* ── Cards ── */
.card {
  background: var(--color-bg);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card-surface {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

/* ── Quote blocks ── */
.quote-block {
  border-left: 2px solid var(--color-border-mid);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 12px;
  background: var(--color-bg-secondary);
}

.quote-block blockquote {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 8px;
}

.quote-attr {
  font-size: 12px;
  color: var(--color-text-faint);
}

/* ── Products ── */
.product {
  background: var(--color-bg);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.product.featured { border: 2px solid var(--color-accent); }

.featured-badge {
  display: inline-block;
  background: var(--color-accent-bg);
  color: var(--color-accent-text);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-md);
  margin-bottom: 6px;
}

.product-left { display: flex; flex-direction: column; gap: 6px; }

.product-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.product-name {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-text);
}

.product-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 480px;
}

.product-meta {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 12px;
  color: var(--color-text-faint);
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-item i { font-size: 13px; }

.price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-top: 2px;
  min-width: 90px;
}

.price { font-size: 15px; font-weight: 500; white-space: nowrap; }
.price-note { font-size: 11px; color: var(--color-text-faint); white-space: nowrap; }

.enquire-btn {
  font-size: 12px;
  color: var(--color-text-muted);
  background: var(--color-bg-secondary);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 5px 12px;
  cursor: pointer;
  font-family: var(--font-sans);
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  display: inline-block;
}
.enquire-btn:hover { border-color: var(--color-border-mid); color: var(--color-text); }

.ladder-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ladder-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--color-border);
}

.connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  margin: -2px 0;
}
.connector i { font-size: 15px; color: var(--color-text-faint); }

/* ── Final CTA block ── */
.final-cta {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.final-cta h2 { margin-bottom: 10px; }

.final-cta p {
  font-size: 14px;
  max-width: 440px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

/* ── Form ── */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 0.5px solid var(--color-border-mid);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus { border-color: var(--color-accent); }

textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888780' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-hint { font-size: 12px; color: var(--color-text-faint); margin-top: 4px; }

/* ── Responsive ── */
@media (max-width: 580px) {
  .nav-links { gap: 1rem; }
  .product { grid-template-columns: 1fr; }
  .price-col { flex-direction: row; align-items: center; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
}
