:root {
  --color-bg: #ffffff;
  --color-surface: #f6f5f2;
  --color-ink: #1a1c1e;
  --color-muted: #5c6167;
  --color-line: #e3e1dc;
  --color-accent: #8a6d3b;
  --color-accent-dark: #6f572e;
  --maxw: 1120px;
  --radius: 4px;
  --space: clamp(4rem, 8vw, 7rem);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1.1em;
  color: var(--color-muted);
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-ink);
  color: #fff;
}

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

.btn-outline {
  border-color: var(--color-line);
  color: var(--color-ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-ink);
  text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--color-line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.2rem);
  letter-spacing: 0.01em;
  color: var(--color-ink);
  line-height: 1.15;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav a {
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(4rem, 9vw, 7.5rem) 0 var(--space);
  background: linear-gradient(180deg, var(--color-surface), #fff);
  border-bottom: 1px solid var(--color-line);
}

.hero-inner {
  max-width: 720px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

/* ---------- Sections ---------- */
section {
  padding: var(--space) 0;
}

section + section {
  border-top: 1px solid var(--color-line);
}

.section-intro {
  max-width: 46rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* ---------- Contacts ---------- */
.contacts {
  background: var(--color-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 2.5rem;
  margin-top: 2.5rem;
  max-width: 760px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-line);
}

.contact-item dt {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.2rem;
}

.contact-item dd {
  margin: 0;
  font-weight: 500;
  color: var(--color-ink);
}

.placeholder {
  color: var(--color-accent-dark);
  background: rgba(138, 109, 59, 0.1);
  padding: 0.05rem 0.4rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95em;
}

.note {
  font-size: 0.9rem;
  margin-top: 1.5rem;
  color: var(--color-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: #cfd2d6;
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}

.site-footer a {
  color: #fff;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-col p {
  color: #a9adb3;
  margin: 0.2rem 0;
}

.footer-links a {
  color: #cfd2d6;
  display: inline-block;
  margin-right: 1.2rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  color: #8b9096;
  font-size: 0.85rem;
}

/* ---------- Legal / privacy page ---------- */
.legal {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.legal .container {
  max-width: 760px;
}

.legal h2 {
  margin-top: 2.2rem;
  font-size: 1.3rem;
}

.legal p,
.legal li {
  color: var(--color-muted);
}

.legal ul {
  padding-left: 1.2rem;
  margin: 0 0 1.1em;
}

.legal li {
  margin-bottom: 0.4rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    padding: 0.5rem 0;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 0.7rem clamp(1.25rem, 4vw, 2.5rem);
  }

  .nav-toggle {
    display: inline-block;
  }
}
