/* ============================================================
   LTK Construction — bespoke styles
   Gold #d9ac62 on Black #000. Building With Precision.
   ============================================================ */

:root {
  --bg: #000000;
  --bg-2: #0c0c0c;
  --bg-3: #161616;
  --line: rgba(217, 172, 98, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #d9ac62;
  --gold-2: #b58e4d;
  --gold-soft: rgba(217, 172, 98, 0.10);
  --text: #e8e6e2;
  --text-dim: #b3afa6;
  --text-muted: #6f6c66;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --container: 1280px;
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 16px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gold);
}

/* ---------- Top bar ---------- */
.top-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; }
.brand-tag { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--gold); }
.primary-nav { display: none; align-items: center; gap: 28px; font-size: 14px; }
.primary-nav a { color: var(--text-dim); transition: color .2s; }
.primary-nav a:hover { color: var(--gold); }
.primary-nav .nav-cta {
  padding: 10px 20px; border: 1px solid var(--gold); color: var(--gold);
  border-radius: 999px; transition: background .2s, color .2s;
}
.primary-nav .nav-cta:hover { background: var(--gold); color: var(--bg); }
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: 8px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .2s; }
.mobile-menu {
  position: fixed; top: 76px; left: 0; right: 0; z-index: 25;
  display: flex; flex-direction: column;
  background: var(--bg-2); border-bottom: 1px solid var(--line-soft);
  padding: 16px 32px;
}
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.mobile-menu .mobile-cta { color: var(--gold); border-bottom: none; margin-top: 10px; }
@media (min-width: 900px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.85) 80%),
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.92) 100%);
}
.hero-inner { max-width: var(--container); margin: 0 auto; padding: 96px 32px 80px; width: 100%; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 12px;
  color: var(--gold); margin: 0 0 28px;
}
.hero-title {
  font-family: var(--sans);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-transform: none;
}
.hero-title .serif-italic { font-size: 1.05em; }
.hero-sub {
  max-width: 580px; font-size: clamp(17px, 1.6vw, 22px);
  color: var(--text-dim); margin: 0 0 40px; line-height: 1.4;
  font-weight: 300;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.cta-primary, .cta-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: 0.02em;
  transition: transform .2s, background .2s, color .2s;
}
.cta-primary { background: var(--gold); color: var(--bg); }
.cta-primary:hover { background: #f0c275; transform: translateY(-1px); }
.cta-ghost { color: var(--text); border: 1px solid var(--line); }
.cta-ghost:hover { background: var(--gold-soft); color: var(--gold); border-color: var(--gold); }
.hero-strip {
  display: flex; gap: clamp(20px, 4vw, 64px); flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--line-soft); max-width: 720px;
}
.hero-strip li { display: flex; flex-direction: column; gap: 2px; }
.hero-strip strong { color: var(--gold); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }
.hero-strip span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.16em; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 22px; color: var(--gold); animation: float 2.6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ---------- Generic section heads ---------- */
.section-head {
  max-width: 760px; margin: 0 auto 72px; text-align: center;
}
.section-head--left { margin-left: 0; margin-right: 0; text-align: left; max-width: none; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 11px;
  color: var(--gold); margin: 0 0 18px;
}
.section-title {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 24px; color: var(--white);
}
.section-blurb { font-size: 17px; color: var(--text-dim); line-height: 1.55; margin: 0; }

/* ---------- Identity strip ---------- */
.identity-strip { padding: 56px 32px; border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.identity-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.identity-cell { padding-left: 20px; border-left: 2px solid var(--gold); }
.identity-eyebrow {
  text-transform: uppercase; letter-spacing: 0.24em; font-size: 11px;
  color: var(--gold); margin: 0 0 10px;
}
.identity-line { font-size: 18px; line-height: 1.45; margin: 0; color: var(--text); font-weight: 300; }
.identity-line .dim { color: var(--text-muted); font-weight: 300; }

/* ---------- What we build ---------- */
.what {
  padding: clamp(80px, 10vw, 140px) 32px;
  max-width: var(--container); margin: 0 auto;
}
.lanes {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.lane {
  display: flex; flex-direction: column; gap: 24px;
  padding-bottom: 8px;
}
.lane-media {
  margin: 0; aspect-ratio: 4/3;
  border: 1px solid var(--line-soft);
  overflow: hidden; border-radius: var(--r);
  background: var(--bg-3);
}
.lane-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.lane:hover .lane-media img { transform: scale(1.04); }
.lane-num {
  font-family: var(--serif); font-style: italic; font-size: 28px;
  color: var(--gold); margin: 0;
}
.lane h3 {
  font-size: 28px; font-weight: 400; margin: 4px 0 12px;
  letter-spacing: -0.01em; color: var(--white);
}
.lane p { color: var(--text-dim); margin: 0 0 16px; }
.lane-bullets { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text); }
.lane-bullets li { padding-left: 20px; position: relative; }
.lane-bullets li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 10px; height: 1px; background: var(--gold);
}

/* ---------- Selected projects ---------- */
.projects {
  padding: clamp(80px, 10vw, 140px) 32px;
  background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.project-list {
  max-width: var(--container); margin: 0 auto;
  display: grid; gap: clamp(40px, 5vw, 72px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.project { display: flex; flex-direction: column; gap: 20px; }
.project-media {
  aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line-soft); background: var(--bg-3);
}
.project-media-wide { aspect-ratio: 16/9; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.project:hover .project-media img { transform: scale(1.04); }
.project-loc {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px;
  color: var(--gold); margin: 0 0 8px;
}
.project h3 { font-size: 24px; font-weight: 400; margin: 0 0 12px; line-height: 1.2; color: var(--white); }
.project p { color: var(--text-dim); margin: 0 0 16px; font-size: 15px; }
.project-quote { font-style: italic; border-left: 2px solid var(--gold); padding-left: 16px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags li {
  padding: 5px 12px; border: 1px solid var(--line); color: var(--gold);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  border-radius: 999px;
}
@media (min-width: 1100px) {
  .project-list { grid-template-columns: 1fr 1fr; }
  .project:first-child { grid-column: 1 / -1; }
  .project:first-child { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
}

/* ---------- Whakapapa / About ---------- */
.whakapapa { padding: clamp(80px, 10vw, 140px) 32px; }
.whakapapa-inner { max-width: var(--container); margin: 0 auto; }
.whakapapa-grid {
  display: grid; gap: clamp(32px, 5vw, 64px); align-items: start;
  grid-template-columns: 1fr;
}
.whakapapa-body p { color: var(--text-dim); font-size: 17px; line-height: 1.7; margin: 0 0 20px; }
.whakapapa-body .lede { font-size: 22px; color: var(--text); line-height: 1.55; font-weight: 300; }
.whakapapa-body strong { color: var(--gold); font-weight: 600; }
.whakapapa-card {
  padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(217,172,98,0.04), rgba(217,172,98,0.0));
  position: sticky; top: 100px;
}
.aside-eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px;
  color: var(--gold); margin: 0 0 16px;
}
.aside-name { font-size: 22px; font-weight: 500; margin: 0 0 4px; color: var(--white); }
.aside-role { color: var(--text-muted); font-size: 13px; margin: 0 0 24px; }
.aside-email a { color: var(--gold); border-bottom: 1px solid var(--gold); }
.aside-postal { font-size: 14px; color: var(--text-dim); margin: 16px 0; }
.aside-postal span { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; margin-right: 6px; }
.aside-cta {
  display: inline-block; margin-top: 16px; padding: 12px 24px;
  border: 1px solid var(--gold); color: var(--gold); border-radius: 999px;
  font-weight: 500; font-size: 14px;
  transition: background .2s, color .2s;
}
.aside-cta:hover { background: var(--gold); color: var(--bg); }
@media (min-width: 900px) {
  .whakapapa-grid { grid-template-columns: 1.4fr 1fr; }
}

/* ---------- Trust ---------- */
.trust {
  padding: clamp(80px, 10vw, 140px) 32px;
  background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.trust-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.trust-card {
  padding: 40px 32px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg);
  display: flex; flex-direction: column; gap: 16px;
  text-align: center; align-items: center;
}
.trust-card img {
  width: 100px; height: 100px; object-fit: contain;
  background: var(--white); padding: 8px; border-radius: var(--r); margin-bottom: 8px;
}
.trust-mark {
  width: 100px; height: 100px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  border: 1px solid var(--gold); border-radius: var(--r); margin-bottom: 8px;
}
.trust-mark--text { background: var(--gold); color: var(--bg); }
.trust-mark--text .trust-mark-line { font-weight: 700; font-size: 22px; line-height: 1.05; }
.trust-mark--text .trust-mark-line:last-child { font-size: 13px; font-weight: 500; }
.trust-mark--code .trust-mark-eyebrow {
  font-size: 9px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 4px;
}
.trust-mark--code .trust-mark-code { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--gold); }
.trust-name { font-weight: 600; color: var(--white); margin: 0; font-size: 17px; }
.trust-blurb { color: var(--text-muted); margin: 0; font-size: 14px; line-height: 1.55; }
.trust-blurb em { color: var(--gold); font-style: normal; }

/* ---------- Why us ---------- */
.why { padding: clamp(80px, 10vw, 140px) 32px; }
.why-inner { max-width: var(--container); margin: 0 auto; }
.why .section-eyebrow, .why .section-title { text-align: left; }
.why .section-eyebrow { margin-bottom: 18px; }
.why .section-title { margin-bottom: 56px; }
.why-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.why-card {
  padding: 32px; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: var(--bg-2);
  transition: border-color .2s, transform .2s;
}
.why-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.why-num {
  font-family: var(--serif); font-style: italic; font-size: 32px;
  color: var(--gold); margin: 0 0 16px;
}
.why-card h3 { font-size: 19px; font-weight: 500; margin: 0 0 12px; color: var(--white); letter-spacing: -0.01em; }
.why-card p { font-size: 14px; color: var(--text-dim); margin: 0; line-height: 1.55; }

/* ---------- FAQs ---------- */
.faq {
  padding: clamp(80px, 10vw, 140px) 32px;
  background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  padding: 28px 0; border-top: 1px solid var(--line-soft);
}
.faq-item:last-child { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: flex-start; gap: 24px; justify-content: space-between;
  font-size: 19px; font-weight: 500; color: var(--white); padding: 4px 0;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--gold); font-size: 22px; line-height: 1;
  flex-shrink: 0; transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--gold); }
.faq-item p { color: var(--text-dim); padding: 16px 0 8px; margin: 0; line-height: 1.65; max-width: 720px; }
.faq-item a { color: var(--gold); border-bottom: 1px solid var(--gold); }

/* ---------- Contact CTA ---------- */
.contact-cta {
  padding: clamp(80px, 10vw, 140px) 32px;
  text-align: center;
  position: relative;
}
.contact-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(217,172,98,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.contact-cta-inner { max-width: 720px; margin: 0 auto; position: relative; }
.contact-cta-title {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(34px, 5vw, 60px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 18px 0 24px; color: var(--white);
}
.contact-cta-blurb { font-size: 18px; color: var(--text-dim); line-height: 1.6; margin: 0 0 40px; }
.contact-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  padding: 64px 32px 32px;
  background: var(--bg-2); border-top: 1px solid var(--line-soft);
}
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 12px; }
.footer-tag { font-family: var(--serif); font-style: italic; color: var(--gold); margin: 0 0 12px; font-size: 18px; }
.footer-blurb { color: var(--text-muted); margin: 0; font-size: 14px; line-height: 1.55; }
.footer-eyebrow {
  text-transform: uppercase; letter-spacing: 0.24em; font-size: 11px;
  color: var(--gold); margin: 0 0 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col a { color: var(--text-dim); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-base {
  max-width: var(--container); margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
}
.footer-fineprint a { color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Mobile cleanups ---------- */
@media (max-width: 700px) {
  .top-bar { padding: 14px 20px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 13px; }
  .brand-tag { font-size: 12px; }
  .hero-inner { padding: 80px 20px 64px; }
  .hero-strip { gap: 16px; }
  .identity-strip { padding: 48px 20px; }
  .what, .projects, .whakapapa, .trust, .why, .faq, .contact-cta { padding-left: 20px; padding-right: 20px; }
  .footer { padding-left: 20px; padding-right: 20px; }
  .trust-card { padding: 28px 20px; }
  .footer-base { flex-direction: column; gap: 12px; }
}
