/* Craig Nathan @Realty — Perth | per-site stylesheet
   Palette derived from supplied premium-residential photography:
   charcoal window frames + dusk tones, warm stone/sand paving,
   pool-turquoise accent, timber gold detail. Editorial real-estate type. */

:root {
  --ink: #1b2327;
  --ink-soft: #3a464c;
  --muted: #6c777d;
  --sand: #f6f1e9;
  --sand-2: #efe7da;
  --stone: #e7ddcd;
  --line: #ddd2bf;
  --paper: #ffffff;
  --teal: #237b76;
  --teal-dark: #1c625e;
  --teal-tint: #e3efed;
  --gold: #b48a4e;
  --shadow: 0 18px 48px -24px rgba(27, 35, 39, .35);
  --shadow-sm: 0 8px 24px -16px rgba(27, 35, 39, .3);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --ff-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

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

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }

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

.eyebrow {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 .9rem;
}
.eyebrow.on-dark { color: #8fd0ca; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #11181b; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 233, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: .65rem; }
.logo svg { display: block; flex: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--ff-display); font-size: 1.32rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.logo-name em { font-style: normal; color: var(--teal); }
.logo-sub { font-family: var(--ff-body); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .96rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: .4rem 0;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--teal); border-radius: 2px;
}
.header-cta { display: inline-flex; }

/* mobile nav toggle (CSS-only) */
.nav-toggle { display: none; }
.nav-burger {
  display: none;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); cursor: pointer;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-burger span::before { position: absolute; top: -7px; }
.nav-burger span::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(20,27,30,.86) 0%, rgba(20,27,30,.62) 42%, rgba(20,27,30,.22) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(4rem, 12vh, 8rem) 0 clamp(3.5rem, 9vh, 6rem); }
.hero-content { max-width: 660px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,.92); max-width: 50ch; margin-bottom: 1.9rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.6rem; padding-top: 1.7rem; border-top: 1px solid rgba(255,255,255,.22); }
.hero-meta div { min-width: 120px; }
.hero-meta .k { font-family: var(--ff-display); font-size: 1.5rem; color: #fff; }
.hero-meta .l { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.74); }

/* page hero (sub-pages) */
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero .hero-media::after {
  background: linear-gradient(110deg, rgba(20,27,30,.84), rgba(20,27,30,.5));
}
.page-hero-inner { position: relative; z-index: 1; padding: clamp(3.5rem, 9vh, 6rem) 0 clamp(3rem, 7vh, 4.5rem); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 56ch; font-size: 1.1rem; margin-bottom: 0; }
.crumb { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.crumb a { color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.4rem, 8vh, 6rem) 0; }
.section.sand { background: var(--sand); }
.section.paper { background: var(--paper); }
.section.stone { background: var(--sand-2); }
.section.ink { background: var(--ink); color: #fff; }
.section.ink h2, .section.ink h3 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 2.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section.ink .section-head p { color: rgba(255,255,255,.78); }

/* ---------- Pathways (sell / buy / appraise) ---------- */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.path-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--teal-tint); color: var(--teal-dark);
}
.path-icon svg { width: 26px; height: 26px; }
.path-card h3 { margin-bottom: .4rem; }
.path-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.path-card .path-link { font-weight: 700; color: var(--teal-dark); margin-top: .5rem; display: inline-flex; align-items: center; gap: .4rem; }
.path-card .path-link:hover { gap: .65rem; }
.path-card .path-link::after { content: "\2192"; transition: transform .15s ease; }

/* ---------- Feature / value rows ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-body h2 { margin-bottom: .8rem; }
.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }

/* ---------- Image grid / gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius-sm); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .8rem 1rem; color: #fff; font-size: .85rem; font-weight: 600;
  background: linear-gradient(to top, rgba(20,27,30,.78), transparent);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; }
.step .num {
  counter-increment: step; font-family: var(--ff-display); font-size: 1.4rem;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; margin-bottom: 1rem;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.section.ink .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section.ink .step .num { background: var(--teal); }
.section.ink .step p { color: rgba(255,255,255,.72); }

/* ---------- Feature cards (3-up) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); }
.card .path-icon { margin-bottom: .9rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; }
.cta-band-media { position: absolute; inset: 0; z-index: 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28,98,94,.94), rgba(20,27,30,.82)); }
.cta-band-inner { position: relative; z-index: 1; padding: clamp(3rem, 7vh, 4.6rem) 0; text-align: center; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 0 auto 1.7rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Quote / value note ---------- */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--ff-display); font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.35; margin: 0 0 1rem; color: var(--ink); }
.section.ink .quote blockquote { color: #fff; }
.quote cite { font-style: normal; font-weight: 700; color: var(--teal); letter-spacing: .04em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ci { width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list .lbl { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list .val { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.contact-list .val a { color: var(--ink); }
.contact-list .val a:hover { color: var(--teal); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours-table th { font-weight: 600; color: var(--ink-soft); }
.hours-table td { text-align: right; color: var(--teal-dark); font-weight: 700; }
.hours-note { font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 1rem; max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; font-size: 1.04rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: .9rem 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding: clamp(3rem, 7vh, 4.5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,.55); }
.footer-brand p { color: rgba(255,255,255,.66); font-size: .96rem; margin-top: 1rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--ff-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-col a { color: rgba(255,255,255,.82); font-size: .96rem; }
.footer-col a:hover { color: #fff; }
.footer-call { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-display); font-size: 1.3rem; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: rgba(255,255,255,.55); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-burger { display: inline-flex; }
  .nav { gap: .6rem; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: .5rem 0;
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .nav-links a { padding: .95rem 24px; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { background: var(--sand); }
  .nav-toggle:checked ~ .nav-links { max-height: 460px; }
  .header-cta.desktop-cta { display: none; }
  .nav-links .nav-cta-li { padding: .8rem 24px; border-bottom: none; }
  .nav-links .nav-cta-li .btn { width: 100%; }
}
@media (max-width: 760px) {
  .path-grid, .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media img { max-height: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.2rem 1.8rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery .wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero-cta .btn, .cta-band .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery .wide, .gallery .tall { grid-column: auto; grid-row: auto; }
  .logo-sub { display: none; }
}
