/* ============================================================
   CANDIDSCAPE — Interiors & Construction
   Shared stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Archivo:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #14132a;
  --ink-soft: #4a4a63;
  --paper: #f4f1ea;
  --paper-warm: #ece7db;
  --line: #d6d2c6;
  --clay: #00003b;       /* brand navy (accent) */
  --clay-deep: #1b1b5c;  /* lifted navy for hovers */
  --white: #fdfcf9;
  --shadow: 0 1px 2px rgba(20,19,42,.04), 0 8px 30px rgba(20,19,42,.07);
  --maxw: 1240px;
  --ease: cubic-bezier(.16,1,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.01em;
}

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

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,241,234,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand img { height: 46px; width: auto; display: block; }
.brand small {
  font-family: 'Archivo', sans-serif;
  font-size: 9px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-soft);
  padding-left: 14px; border-left: 1px solid var(--line);
  line-height: 1.3; max-width: 90px;
}
@media (max-width: 560px) {
  .brand img { height: 38px; }
  .brand small { display: none; }
}
.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  position: relative; padding: 4px 0; color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--clay);
  transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--ink); color: var(--white) !important;
  padding: 11px 22px; border-radius: 2px; font-size: 13px;
  letter-spacing: .04em; transition: background .3s var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--clay-deep); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .03em;
  padding: 15px 30px; border-radius: 2px;
  transition: all .35s var(--ease); cursor: pointer; border: none;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--clay-deep); transform: translateY(-2px); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Section scaffolding ---------- */
.section { padding: 110px 0; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--clay);
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--clay); }
.section-title { font-size: clamp(34px, 4.4vw, 56px); max-width: 16ch; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--paper-warm);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { margin-bottom: 20px; }
.footer-brand img { height: 64px; width: auto; }

.site-footer p { color: #b5afa0; font-size: 15px; max-width: 36ch; }
.footer-col h4 { font-family: 'Archivo'; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 600; }
.footer-col a, .footer-col span { display: block; color: #b5afa0; font-size: 15px; margin-bottom: 12px; transition: color .3s; }
.footer-col a:hover { color: var(--clay); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 13px; color: #8a857a; flex-wrap: wrap; gap: 10px; }
.footer-bottom .gst { letter-spacing: .04em; }

/* ---------- Image placeholder ---------- */
.ph {
  background:
    linear-gradient(135deg, rgba(0,0,59,.08), rgba(20,19,42,.05)),
    repeating-linear-gradient(45deg, var(--paper-warm) 0 14px, #e4dece 14px 28px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); position: relative; overflow: hidden;
}
.ph span {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; text-align: center; padding: 16px;
  border: 1px dashed rgba(74,72,66,.4); border-radius: 2px;
  background: rgba(244,241,234,.55); line-height: 1.5;
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column;
    background: var(--paper); padding: 30px 32px; gap: 22px;
    border-bottom: 1px solid var(--line); transform: translateY(-120%);
    transition: transform .4s var(--ease); align-items: flex-start;
  }
  .nav-links.open { transform: none; }
  .menu-toggle { display: block; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
