/* Design at 39 — independent interior design & home styling studio.
   Palette: warm greige ground, muted ochre accent, off-black text.
   Type: system sans (architectural) paired with a serif (Georgia/Book Antiqua) for headings.
   Deliberately unlike the jewellery, food and illustration siblings. */


:root {
  --bg:         #f5f1ec;   /* warm greige */
  --bg-soft:    #ede8e0;   /* slightly deeper greige */
  --bg-card:    #faf8f4;   /* near-white parchment */
  --ink:        #1e1b17;   /* off-black */
  --ink-mid:    #4a4540;
  --muted:      #8a8078;
  --ochre:      #c08a3e;   /* muted ochre accent */
  --ochre-deep: #9e6f2a;
  --line:       #ddd6cc;
  --maxw:       1100px;
}

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

body {
  margin: 0;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.76;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Book Antiqua', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
}

a { color: var(--ochre); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.30em;
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--ochre);
  margin: 0 0 16px;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Header ---- */
header {
  background: rgba(245, 241, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, serif;
  font-size: 1.38rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.brand-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--ochre); }
.brand-icon path, .brand-icon circle, .brand-icon rect, .brand-icon line,
.brand-icon polyline, .brand-icon polygon { vector-effect: non-scaling-stroke; }
.brand:hover .brand-icon { color: var(--ochre-deep); transition: color 0.15s; }

.nav-links { display: flex; gap: 30px; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  transition: color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ochre); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--bg-soft) 0%, var(--bg) 65%);
  text-align: center;
  padding: 100px 28px 80px;
  position: relative;
}
.hero::before {
  content: '';
  display: block;
  width: 1px;
  height: 52px;
  background: var(--ochre);
  opacity: 0.55;
  margin: 0 auto 28px;
}
.hero h1 {
  font-size: 3.1rem;
  max-width: 19ch;
  margin: 0 auto 22px;
  font-weight: 500;
}
.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto 34px;
  font-weight: 300;
}
.hero .btn { margin: 0 6px 8px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--ochre);
  color: #fff;
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 1px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--ochre-deep); transform: translateY(-1px); }
.btn-soft {
  background: transparent;
  color: var(--ochre);
  border: 1px solid var(--ochre);
}
.btn-soft:hover { background: var(--ochre); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-mid);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light {
  background: transparent;
  color: #f5f1ec;
  border: 1px solid rgba(245,241,236,.55);
}
.btn-light:hover { background: rgba(245,241,236,.12); }

/* ---- Sections ---- */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 56ch; margin: 0 auto 50px; }
.section-head h2 { font-size: 2.2rem; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-weight: 300; }
section h2 { font-size: 2.1rem; margin-bottom: 14px; }
section p { color: var(--ink-mid); }

/* ---- Split layout ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .ph { order: 2; }

.ph {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(30,27,23,.14);
}
.ph::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.38);
  pointer-events: none;
}
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Card grid ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .16s, box-shadow .16s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,27,23,.11); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 24px 26px 28px; }

.pill {
  display: inline-block;
  font-size: 0.60rem;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-weight: 700;
  color: var(--ochre);
  border: 1px solid color-mix(in srgb, var(--ochre) 38%, transparent);
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 13px;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}
.card h3 { font-size: 1.26rem; margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin: 0; color: var(--muted); }

/* ---- Step list ---- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  color: var(--ochre);
  opacity: 0.55;
  min-width: 42px;
  line-height: 1;
  padding-top: 4px;
}
.steps li strong { display: block; margin-bottom: 4px; font-family: Georgia, serif; font-size: 1.08rem; color: var(--ink); }
.steps li p { margin: 0; font-size: 0.96rem; color: var(--muted); }

/* ---- Prose ---- */
.prose { max-width: 70ch; margin: 0 auto; }
.prose h2 { font-size: 1.82rem; margin: 50px 0 13px; }
.prose h3 { font-size: 1.3rem; margin: 34px 0 9px; }
.prose p, .prose li { color: var(--ink-mid); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--ochre); }

.note {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ochre);
  border-radius: 2px;
  padding: 20px 24px;
  margin: 32px 0;
}
.note p { margin: 0; color: var(--ink); }

.pull {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.48;
  color: var(--ink);
  text-align: center;
  max-width: 30ch;
  margin: 48px auto;
  opacity: 0.78;
}

/* ---- Rule ornament ---- */
.rule-ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 36px;
  max-width: 200px;
  justify-content: center;
}
.rule-ornament::before, .rule-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ochre);
  opacity: 0.45;
}
.rule-ornament span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ochre);
  font-weight: 600;
}

/* ---- CTA ---- */
.cta { background: var(--ink); color: #e8e2da; text-align: center; padding: 80px 28px; }
.cta h2 { font-size: 2.2rem; margin-bottom: 14px; color: #f5f1ec; }
.cta p { color: #a09890; max-width: 54ch; margin: 0 auto 28px; font-weight: 300; }

/* ---- Footer ---- */
footer {
  background: var(--ink);
  color: #a09890;
  padding: 60px 0 32px;
  border-top: 1px solid rgba(192,138,62,.20);
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 0;
}
.footer-grid h4 {
  color: #f0ebe3;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-grid p, .footer-grid a {
  color: #8a8078;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  font-size: 0.91rem;
  line-height: 1.6;
}
.footer-grid a:hover { color: var(--ochre); }
.footer-meta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 28px 0;
  font-size: 0.81rem;
  color: #6a6058;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .ph { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.45rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  nav { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero h1 { font-size: 2.1rem; }
}

/* LOGO:start */
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.38rem; color: var(--ink); text-decoration: none; }
.brand-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--ochre); }
.brand-icon path, .brand-icon circle, .brand-icon rect, .brand-icon line, .brand-icon polyline, .brand-icon polygon { vector-effect: non-scaling-stroke; }
.brand:hover .brand-icon { color: var(--ochre-deep); transition: color 0.15s ease; }
/* LOGO:end */
