/*
Theme Name: Sydney Child — NZR
Description: NZR Solutions brand styles on top of the Sydney theme, for use with SiteOrigin Page Builder.
Author: NZR Solutions
Template: sydney
Version: 1.0
*/

/* Neutralise SiteOrigin/Sydney spacing inside NZR sections */
.nzr-page .panel-grid-cell { padding: 0 !important; }
.nzr-page .so-panel { margin-bottom: 0 !important; }
.nzr-page .panel-grid { margin: 0 !important; }
.nzr-page .entry-header, .nzr-page .page-header { display: none; }
.nzr-page .hentry { margin: 0; padding: 0; }

/* ==========================================================================
   NZR Solutions — shared stylesheet
   Brand: #466ba6
   Type:  Archivo (display) · IBM Plex Sans (body) · IBM Plex Mono (data)
   ========================================================================== */

:root {
  --brand:    #466ba6;
  --brand-dk: #35548A;
  --brand-lt: #8FAAD6;
  --brand-bg: #EDF1F8;

  --ink:      #10161F;
  --ink-2:    #1A2432;
  --slate:    #56616F;
  --slate-lt: #8B95A3;
  --line:     #DDE2EA;
  --line-dk:  #2B3644;
  --vapor:    #F3F5F9;
  --white:    #FFFFFF;

  --f-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-body:    'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1160px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dk); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sec--ink :focus-visible, .site-foot :focus-visible { outline-color: var(--white); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: .75rem 1.25rem; z-index: 300;
}
.skip:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.015em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.28rem);
  line-height: 1.55;
  color: var(--slate);
  max-width: 62ch;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: var(--brand); flex: none;
}
.eyebrow--light { color: var(--brand-lt); }
.eyebrow--light::before { background: var(--brand-lt); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-body);
  font-size: .95rem; font-weight: 600;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-dk); color: var(--white); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--onDark { border-color: var(--line-dk); color: var(--white); background: transparent; }
.btn--onDark:hover { border-color: var(--white); color: var(--white); }
.btn--block { width: 100%; justify-content: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Sections ---------- */

.sec { padding-block: clamp(4.5rem, 9vw, 8rem); }
.sec--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.sec--vapor { background: var(--vapor); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec--ink h2, .sec--ink h3 { color: var(--white); }
.sec--ink p { color: #B4BECB; }
.sec__head { max-width: 68ch; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3.5rem, 6vw, 5.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--brand); }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

/* Signature element: the fixed-price quote card */
.quotecard {
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.quotecard__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: var(--brand-bg);
  font-family: var(--f-mono);
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-dk);
}
.quotecard__body { padding: .35rem 1.4rem 1.4rem; }
.qline {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
.qline__k { font-size: .95rem; color: var(--ink); }
.qline__v {
  font-family: var(--f-mono);
  font-size: .82rem; letter-spacing: .04em;
  color: var(--slate); white-space: nowrap;
}
.qline__v--zero { color: var(--brand); font-weight: 500; }
.qline--total { border-bottom: 0; padding-top: 1.3rem; align-items: center; }
.qline--total .qline__k {
  font-family: var(--f-display);
  font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.015em;
  max-width: 22ch; line-height: 1.25;
}
.qline--total .qline__v {
  font-family: var(--f-display);
  font-size: 2.1rem; font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--brand);
}
.quotecard__foot {
  padding: 1rem 1.4rem;
  background: var(--ink);
  color: var(--brand-lt);
  font-family: var(--f-mono);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  text-align: center;
}

/* ---------- Stat band ---------- */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 2rem 1.5rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  color: var(--brand);
}
.stat__lab {
  font-family: var(--f-mono);
  font-size: .68rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--slate); margin-top: .6rem;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Terms ---------- */

.terms { border-top: 1px solid var(--line-dk); }
.term {
  display: grid; grid-template-columns: 3.5rem 1fr 1.4fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: 2rem 0; border-bottom: 1px solid var(--line-dk);
}
.term__no {
  font-family: var(--f-mono); font-size: .75rem;
  color: var(--brand); letter-spacing: .08em; padding-top: .35rem;
}
.term h3 { margin-bottom: 0; }
.term p { margin: 0; }
@media (max-width: 780px) {
  .term { grid-template-columns: 3rem 1fr; }
  .term p { grid-column: 2; margin-top: .6rem; }
}

/* ---------- Cards ---------- */

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); padding: clamp(1.5rem, 2.6vw, 2.1rem); }
.card__tag {
  font-family: var(--f-mono); font-size: .66rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate-lt); margin: 0 0 .9rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--slate); font-size: .96rem; margin: 0; }
.card ul { color: var(--slate); font-size: .93rem; margin: .9rem 0 0; padding-left: 1.1rem; }
.card li { margin-bottom: .35rem; }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.8rem; }
.prose h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose code {
  font-family: var(--f-mono); font-size: .87em;
  background: var(--vapor); border: 1px solid var(--line);
  border-radius: 2px; padding: .1em .35em;
}
.prose strong { font-weight: 600; }

.callout {
  border-left: 3px solid var(--brand);
  background: var(--brand-bg);
  padding: 1.35rem 1.5rem; margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout p { margin: 0; font-size: .97rem; }

/* ---------- Split layout ---------- */

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
}
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }

.aside {
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  padding: 1.75rem; position: sticky; top: 96px;
  background: var(--white);
}
.aside h3 { font-size: 1.15rem; }
.aside p { font-size: .93rem; color: var(--slate); }
.aside ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.aside li { border-bottom: 1px solid var(--line); }
.aside li:last-child { border-bottom: 0; }
.aside li a {
  display: block; padding: .65rem 0; font-size: .93rem;
  text-decoration: none; color: var(--ink); font-weight: 500;
}
.aside li a:hover { color: var(--brand); }

/* ---------- Testimonials ---------- */

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.quote { border-top: 2px solid var(--brand); padding-top: 1.4rem; }
.quote blockquote { margin: 0 0 1.1rem; font-size: 1rem; line-height: 1.62; color: var(--ink); }
.quote figcaption {
  font-family: var(--f-mono); font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--slate);
}
.quote figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); max-width: 80ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.08rem; letter-spacing: -0.015em;
  padding: 1.35rem 2.5rem 1.35rem 0;
  cursor: pointer; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 1.15rem;
  font-family: var(--f-mono); font-size: 1.3rem; font-weight: 400;
  color: var(--brand);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 2.5rem 1.5rem 0; color: var(--slate); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }
.cta-band .lede { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Breadcrumb ---------- */

.crumbs {
  font-family: var(--f-mono); font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate-lt); padding-top: 2rem;
}
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 .5rem; }

/* ---------- Form ---------- */

.form { display: grid; gap: 1.1rem; max-width: 560px; }
.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--f-mono); font-size: .68rem;
  letter-spacing: .11em; text-transform: uppercase; color: var(--slate);
}
.field input, .field textarea, .field select {
  font-family: var(--f-body); font-size: 1rem;
  padding: .8rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand); outline: 2px solid var(--brand-bg);
}
.field textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: .85rem; color: var(--slate); }
.hp { position: absolute; left: -9999px; }

/* ---------- Motion ---------- */


/* ---------- Print ---------- */

@media print {
  .btn-row, .aside { display: none; }
  body { font-size: 12pt; }
}

/* ---------- Platform strip ---------- */

.platforms {
  display: flex; flex-wrap: wrap; gap: .6rem 2.2rem;
  align-items: baseline;
  font-family: var(--f-mono);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate);
}
.platforms b { color: var(--ink); font-weight: 500; }

/* ---------- Comparison table ---------- */

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare caption {
  text-align: left;
  font-family: var(--f-mono);
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--slate);
  padding-bottom: 1rem;
}
.compare th, .compare td {
  text-align: left; vertical-align: top;
  padding: 1rem .9rem;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-family: var(--f-mono);
  font-size: .7rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1px solid var(--ink);
}
.compare tbody th { font-weight: 600; width: 22%; }
.compare td:nth-child(2) { background: var(--brand-bg); }
.compare .tick { color: var(--brand); font-weight: 600; }
.table-scroll { overflow-x: auto; }
@media (max-width: 720px) {
  .compare { min-width: 640px; }
}

/* ---------- Line Items blog masthead ---------- */

.nzr-mast {
  grid-column: 1 / -1;
  flex-basis: 100%;
  width: 100%;
  padding: 2.5rem 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.nzr-mast__eyebrow {
  font-family: var(--f-mono);
  font-size: .7rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1rem;
  display: flex; align-items: center; gap: .7rem;
}
.nzr-mast__eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: var(--brand); flex: none;
}
.nzr-mast__title {
  font-family: var(--f-display);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin: 0 0 .6rem; color: var(--ink);
}
.nzr-mast__tag {
  color: var(--slate);
  font-size: 1.05rem; margin: 0; max-width: 52ch;
}
.nzr-line-no {
  font-family: var(--f-mono);
  font-size: .7rem; letter-spacing: .1em;
  color: var(--brand);
}

/* ---------- Form plugins styled to match (WPForms / CF7 / SiteOrigin) ---------- */

.wpforms-field-label,
.wpcf7-form label,
.sow-form-field label {
  font-family: var(--f-mono) !important;
  font-size: .68rem !important;
  font-weight: 500 !important;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--slate) !important;
  margin-bottom: .4rem !important;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field select,
.wpforms-field textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea,
.sow-form-field input,
.sow-form-field select,
.sow-form-field textarea {
  font-family: var(--f-body) !important;
  font-size: 1rem !important;
  padding: .8rem .9rem !important;
  border: 1px solid var(--line) !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: var(--ink) !important;
  width: 100% !important;
  max-width: 560px;
  box-shadow: none !important;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.sow-form-field input:focus,
.sow-form-field textarea:focus {
  border-color: var(--brand) !important;
  outline: 2px solid var(--brand-bg) !important;
}

.wpforms-submit,
.nzr-page .wpcf7-submit,
.sow-form-field button,
input[type="submit"] {
  font-family: var(--f-body) !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  padding: .85rem 1.5rem !important;
  border-radius: 3px !important;
  border: 1px solid transparent !important;
  background: var(--brand) !important;
  color: #fff !important;
  cursor: pointer;
  transition: background-color .16s ease;
}
.wpforms-submit:hover,
.nzr-page .wpcf7-submit:hover,
input[type="submit"]:hover {
  background: var(--brand-dk) !important;
}

/* Side-by-side CTA pair: Calendly + form */
.nzr-cta-pair { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }

/* ---------- Contact row (rebuilt as SiteOrigin 2-column) ---------- */

.nzr-contact-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -.025em;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  margin: 0 0 .6em;
}
.nzr-contact-head .lede { margin-bottom: 1.5rem; }
.aside { margin-top: 0; }

/* ---------- CF7 form, relocated into the contact section ---------- */

#nzr-form-slot { margin-top: 1.5rem; }
#nzr-form-slot .wpcf7 { max-width: 560px; }
#nzr-form-slot .wpcf7-form p { margin: 0 0 1.1rem; }
#nzr-form-slot .wpcf7-form label { display: block; width: 100%; }
#nzr-form-slot .wpcf7-form br { display: none; }
#nzr-form-slot .wpcf7-form label {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--slate);
}
#nzr-form-slot .wpcf7-form input[type="text"],
#nzr-form-slot .wpcf7-form input[type="email"],
#nzr-form-slot .wpcf7-form select,
#nzr-form-slot .wpcf7-form textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  width: 100%;
  margin-top: .4rem;
}
#nzr-form-slot .wpcf7-form textarea { min-height: 130px; }

/* ---------- Sydney page-title suppression ---------- */

.nzr-page .page-title-container,
.nzr-page .page-header,
.nzr-page .entry-header,
.nzr-page header.entry-header,
.nzr-page .title-container,
.nzr-page .page-title,
.nzr-page .sydney-hero-area,
.nzr-page #page-title,
.nzr-page .header-image {
  display: none !important;
}

/* Remove leftover top padding from the content wrapper */
.nzr-page #content,
.nzr-page #primary,
.nzr-page .content-area {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ---------- Hide Sydney's archive title where we supply a masthead ---------- */

.category-case-study .page-header.archive-header,
.category-case-study .archive-header,
.blog .page-header.archive-header,
.blog .archive-header {
  display: none !important;
}
