/* ═══════════════════════════════════════════════════════
   Edison Tam Lawyers — Faithful replica of edisontam.co.nz
   Squarespace "Bedford" template aesthetic:
   White bg · Dark serif headings · Generous whitespace
   Raleway nav · Crimson Text body · Warm grey accents
═══════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #1a1a1a;
  --dark:        #2c2c2c;
  --mid:         #555555;
  --light:       #888888;
  --rule:        #d8d3cc;
  --bg:          #ffffff;
  --cream:       #f9f7f4;
  --gold:        #b8924a;
  --nav-h:       44px;
  --tag-h:       40px;
  --serif:       'Crimson Text', Georgia, 'Times New Roman', serif;
  --sans:        'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max:         960px;
  --max-wide:    1100px;
}

html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.75;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── HEADER ── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 200;
}

.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.04em;
}

/* ── NAV ── */
.main-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 0 1rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--dark);
  padding: 0.25rem;
}

/* ── HEADER TAGLINE STRIP ── */
.header-tagline {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  padding: 0.55rem 2rem;
}

.header-tagline-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.tagline-link {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.2rem 0.7rem;
  border-radius: 1px;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.tagline-link:hover { background: var(--gold); color: #fff; }

/* ── SHARED SECTION SPACING ── */
section { padding: 4rem 2rem; }

.content-wide {
  max-width: var(--max);
  margin: 0 auto;
}

/* ── HERO ── */
.hero {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.hero-text {
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 4rem 3.5rem 4rem 4rem;
}

.hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 400;
  line-height: 1.45;
  color: #fff;
  font-style: italic;
}

.hero-image-wrap {
  background: var(--cream);
  padding: 3rem 3.5rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 0.5rem;
}

.hero-caption {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.65;
}

/* ── BUTTONS ── */
.btn-cta {
  display: inline-block;
  background: var(--black);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  margin-top: 0.5rem;
  align-self: flex-start;
  transition: background 0.2s;
  border: 2px solid var(--black);
}

.btn-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn-cta-outline {
  display: inline-block;
  background: transparent;
  color: var(--black);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border: 2px solid var(--black);
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.btn-cta-outline:hover { background: var(--black); color: #fff; }

/* ── DIVIDER ── */
/* ── DIVIDER ── */
.divider { text-align: center; padding: 2.8rem 0; }
.divider-img {
  max-width: 600px;
  width: 80%;
  min-width: 240px;
  margin: 0 auto;
  opacity: 1;
  filter: contrast(1.2) saturate(1.05);
  image-rendering: auto;
}

/* ── INTRO BLURB ── */
.intro-blurb { background: #fff; padding: 3rem 2rem; }
.intro-blurb .content-wide { max-width: 700px; }
.intro-blurb p {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.intro-blurb p:last-child { margin-bottom: 0; }

/* ── THREE PILLARS ── */
.pillars { background: var(--cream); }

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

.pillar h2 {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--black);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.pillar-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--black);
  display: inline-block;
  margin-top: 0.5rem;
  border-bottom: 1px solid var(--black);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.pillar-link:hover { color: var(--gold); border-color: var(--gold); }

/* ── FRIENDSHIP HOUSE ── */
.friendship-house { background: #fff; padding: 4rem 2rem; }

.fh-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.fh-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.fh-text p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-style: italic;
}

/* ── MISSION ── */
.mission {
  background: var(--black);
  text-align: center;
  padding: 5rem 2rem;
}

.mission-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto 1rem;
}

.mission-attr {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ── CLIENTS SECTION ── */
.clients-section { background: var(--cream); padding: 4rem 2rem; }

.clients-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.clients-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.clients-text p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 0.75rem;
  font-style: italic;
}

/* ═══════════════════════
   ABOUT US PAGE
═══════════════════════ */
.page-hero {
  background: var(--black);
  padding: 4rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.45;
}

/* bio sections */
.bio-section {
  padding: 4rem 2rem;
  background: #fff;
}

.bio-section:nth-child(even) { background: var(--cream); }

.bio-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.bio-inner.reverse { direction: rtl; }
.bio-inner.reverse > * { direction: ltr; }

.bio-text h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--black);
}

.bio-text p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.bio-photo {
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

.blockquote-section {
  background: var(--black);
  padding: 3rem 2rem;
  text-align: center;
}

.blockquote-section blockquote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  max-width: 680px;
  margin: 0 auto 0.75rem;
  line-height: 1.55;
}

.blockquote-section cite {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  font-style: normal;
}

/* ═══════════════════════
   SERVICES PAGE
═══════════════════════ */
.services-hero {
  background: var(--black);
  padding: 3.5rem 2rem 2.5rem;
}

.services-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.services-hero h1 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
}

.services-hero h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  max-width: 680px;
  line-height: 1.4;
}

.services-intro {
  background: var(--cream);
  padding: 3rem 2rem;
}

.services-intro-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.services-intro p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.services-intro h3 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0.5rem 0 0.4rem;
}

.svc-block {
  padding: 3.5rem 2rem;
  background: #fff;
}

.svc-block:nth-child(odd) { background: var(--cream); }

.svc-block-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.svc-block h2 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--black);
}

.svc-block p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  max-width: 680px;
}

.svc-block ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
}

.svc-block ul li {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 0.25rem;
}

/* ═══════════════════════
   TESTIMONIALS PAGE
═══════════════════════ */
.testi-hero {
  background: var(--black);
  padding: 3.5rem 2rem;
}

.testi-hero blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  max-width: 680px;
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
}

.testi-hero cite {
  display: block;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
  font-style: normal;
}

.testimonials-list {
  padding: 4rem 2rem;
  background: #fff;
}

.testimonials-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.testimonials-inner h1 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--black);
}

.testi-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
  max-width: 680px;
}

.testi-item:last-child { border-bottom: none; }

.testi-item p {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.testi-item .testi-author {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

/* ═══════════════════════
   CONTACT PAGE
═══════════════════════ */
.contact-hero {
  background: var(--black);
  padding: 4rem 2rem;
}

.contact-hero-inner { max-width: var(--max); margin: 0 auto; }

.contact-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-questions p {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
}

.contact-body {
  padding: 4rem 2rem;
  background: var(--cream);
}

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-form-section h2,
.contact-info-section h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1.2rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--black);
}

.contact-info-section p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 0.25rem;
}

.contact-info-section a { color: var(--mid); }
.contact-info-section a:hover { color: var(--gold); }

.contact-info-section .directions-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 1px;
}

.contact-info-section .directions-link:hover { color: var(--gold); border-color: var(--gold); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--rule);
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--black);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-submit {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--black);
  color: #fff;
  border: 2px solid var(--black);
  padding: 0.85rem 1.8rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}

.form-submit:hover { background: var(--gold); border-color: var(--gold); }

.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 320px; display: block; border: none; }

/* ═══════════════════════
   FOOTER
═══════════════════════ */
.site-footer {
  background: var(--black);
  color: #fff;
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-col h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-role {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}

.footer-col p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 0.1rem;
}

.footer-col a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }

.footer-directions {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55) !important;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1px;
}

.footer-directions:hover { color: var(--gold) !important; border-color: var(--gold); }

.footer-bottom {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding-top: 1.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ═══════════════════════
   RESPONSIVE
═══════════════════════ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 3rem 2rem; min-height: 220px; }
  .hero-image-wrap { padding: 2rem; }
  .fh-inner,
  .clients-inner,
  .bio-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .bio-inner.reverse { direction: ltr; }
  .pillars-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(var(--nav-h) + 40px);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    z-index: 300;
    padding: 0.5rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .nav-list.open { display: flex; }
  .nav-link {
    width: 100%;
    height: auto;
    padding: 0.75rem 1.5rem;
    border-bottom: none;
    border-top: 1px solid var(--rule);
  }
  .nav-link:first-child { border-top: none; }
  .footer-inner { grid-template-columns: 1fr; }
  section { padding: 3rem 1.25rem; }
}


/* ── SERVICE LANDING CARDS ── */
.service-cards-section {
  background: #fff;
  padding: 4rem 2rem;
}

.service-cards-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 2rem;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card h2 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--black);
  width: 100%;
}

.service-card p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .service-cards-grid { grid-template-columns: 1fr; }
}


/* ── V5 typography and homepage refinements ── */
.home-main-heading {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem) !important;
  line-height: 1.18 !important;
}

.nav-link,
.header-tagline-inner,
.tagline-link,
.btn-cta,
.btn-cta-outline,
.pillar-link,
.footer-bottom,
.footer-role {
  font-size: 0.86rem;
}

.hero-caption,
.intro-blurb p,
.pillar p,
.svc-block p,
.svc-block ul li,
.service-card p,
.bio-text p,
.testi-item p,
.contact-info-section p,
.clients-text p,
.fh-text p {
  font-size: 1.12rem;
}

.pillar h2,
.service-card h2,
.svc-block h2,
.contact-form-section h2,
.contact-info-section h2,
.testimonials-inner h1,
.bio-text h2 {
  font-size: 0.95rem;
}

.pillars-grid:has(.pillar:only-child) {
  grid-template-columns: minmax(260px, 680px);
  justify-content: center;
}

.pillars-grid:has(.pillar:only-child) .pillar {
  text-align: left;
}

@supports not selector(:has(*)) {
  .pillars-grid { grid-template-columns: minmax(260px, 680px); justify-content: center; }
}

@media (max-width: 720px) {
  .home-main-heading { font-size: clamp(2.1rem, 10vw, 3rem) !important; }
}

/* ── V14 logo refinement and single-line navigation ── */
:root {
  --nav-h: 76px;
}

.header-inner {
  min-height: 76px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  gap: 1.2rem;
}

.logo-img {
  height: 60px !important;
  width: auto !important;
  max-width: 320px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.12) saturate(1.04);
}

.logo-link {
  min-height: 60px;
}

.nav-list {
  flex-wrap: nowrap;
}

.nav-link {
  white-space: nowrap;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .header-inner { min-height: 68px; }
  .logo-img { height: 52px !important; max-width: 240px; }
  .logo-link { min-height: 52px; }
}


/* Contact page without enquiry form */
.contact-inner-no-form {
  display: block;
  max-width: 760px;
}

.contact-inner-no-form .contact-info-section {
  max-width: 760px;
}
