/* AIPS Group — shared styles
   Professional, Australian-business look. Distinct from the music site. */

:root {
  --navy: #102935;
  --navy-deep: #0b1e27;
  --navy-mid: #173444;
  --teal: #2e7d6f;
  --teal-hover: #24665b;
  --teal-soft: #e8f3f0;
  --sand: #f6f2eb;
  --sand-dark: #ebe4d8;
  --gold: #c4893a;
  --gold-hover: #a8742e;
  --gold-soft: #f8eedc;
  --ink: #1c2a31;
  --muted: #5b6c74;
  --line: #d7e1de;
  --white: #ffffff;
  --placeholder-bg: #fff3cd;
  --placeholder-fg: #6b4f00;
  --shadow: 0 12px 32px rgba(16, 41, 53, 0.08);
  --radius: 12px;
  --header-h: 72px;
  --max: 1120px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.55rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); margin-bottom: 0.7rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  z-index: 100;
  font-weight: 700;
}
.skip:focus { left: 16px; top: 16px; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.intro {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.ph {
  display: inline;
  background: var(--placeholder-bg);
  color: var(--placeholder-fg);
  padding: 0.05em 0.4em;
  border-radius: 4px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.95em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.logo-word {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-word span { color: var(--gold); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a.btn-primary { color: var(--navy); }
.nav-links a.btn-primary:hover { color: var(--white); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 11px;
  transition: transform 0.2s, top 0.2s, opacity 0.2s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { content: ""; top: -7px; }
.menu-toggle span::after { content: ""; top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-hover); color: var(--white); }
.btn-dark { background: var(--teal); color: var(--white); }
.btn-dark:hover { background: var(--teal-hover); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-full { width: 100%; }

/* Hero */
.hero {
  background: var(--navy);
  color: #f4efe6;
  padding: 4.5rem 0 4.25rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -8rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 125, 111, 0.5), rgba(46, 125, 111, 0) 70%);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  left: -6rem;
  bottom: -10rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 137, 58, 0.18), rgba(196, 137, 58, 0) 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead {
  font-size: 1.2rem;
  max-width: 38rem;
  margin: 1.25rem 0 2rem;
  opacity: 0.92;
}
.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero-note {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  opacity: 0.75;
}

/* Sections */
.section { padding: 5rem 0; }
.section-sand { background: var(--sand); }
.section-soft { background: #fbfaf7; }
.section-teal { background: linear-gradient(180deg, #eaf4f1 0%, #fff 55%); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.4rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.6rem 1.55rem;
  border: 1px solid transparent;
}
.section-sand .card,
.section-soft .card { background: var(--white); border-color: var(--line); }
.card p, .card li { color: #34444d; font-size: 1rem; }
.card h3 { font-size: 1.2rem; }

.card-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  font-size: 0.95rem;
}
.card-link:hover { text-decoration: underline; }

/* Featured lead offer */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}
.checks { margin-top: 1.4rem; }
.checks li {
  position: relative;
  padding-left: 2.15rem;
  margin-bottom: 0.75rem;
  color: #34444d;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.panel .price {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.1;
}
.panel .price-sub { font-size: 0.95rem; color: var(--muted); }
.panel hr { border: 0; border-top: 1px solid var(--line); margin: 1.15rem 0; }
.panel .btn { margin-top: 1.15rem; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}
.step h3 { font-size: 1.15rem; }
.step p { color: #34444d; font-size: 0.98rem; }
.step .meta { margin-top: 0.7rem; font-weight: 700; color: var(--teal); font-size: 0.9rem; }

/* Pricing ladder */
.ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.4rem;
}
.rung {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.3rem;
  display: flex;
  flex-direction: column;
}
.rung .n {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}
.rung.hl {
  border: 2px solid var(--teal);
  background: #f3faf8;
}
.rung.hl .n { background: var(--teal); }
.rung h3 { font-size: 1.12rem; }
.rung .p {
  font-weight: 700;
  color: var(--navy);
  margin: 0.55rem 0 0.45rem;
  font-size: 1.02rem;
}
.rung p { font-size: 0.95rem; color: #34444d; flex: 1; }
.fine { font-size: 0.9rem; color: var(--muted); margin-top: 1.4rem; max-width: 52rem; }
.pricing-note {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  background: var(--teal-soft);
  border-radius: 10px;
  color: var(--navy);
  font-size: 0.98rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 3rem;
  align-items: center;
}
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  background: linear-gradient(160deg, #1a3d4c 0%, #102935 55%, #2e7d6f 140%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #d5e0dc;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.portrait-mono {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  border: 2px solid rgba(196, 137, 58, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #f4efe6;
  margin-bottom: 1rem;
}
.portrait p { font-size: 0.92rem; max-width: 14rem; color: #e8efeC; }
.about-copy { max-width: 48rem; }
.about-copy p { margin-top: 0.9rem; }
.about-copy p:first-of-type { margin-top: 0; }
.traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.trait {
  background: var(--white);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--sand-dark);
}
.trait strong { display: block; color: var(--navy); font-family: var(--font-serif); font-size: 1rem; margin-bottom: 0.15rem; }

/* Case studies */
.case-card {
  background: var(--white);
  border: 1px dashed #c5d0cc;
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
}
.case-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--placeholder-bg);
  color: var(--placeholder-fg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}
.case-card h3 { font-size: 1.2rem; }
.case-card p { color: var(--muted); font-size: 0.98rem; }
.case-card .coming { margin-top: auto; padding-top: 1.1rem; font-size: 0.9rem; color: var(--muted); font-style: italic; }

/* FAQ */
.faq { margin-top: 2rem; max-width: 48rem; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.15rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--navy);
  padding: 1.05rem 2rem 1.05rem 0;
  position: relative;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.05rem;
  color: var(--teal);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  padding: 0 0 1.15rem;
  color: #34444d;
}

/* Hours saved calculator */
.calc {
  margin-top: 2.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.7rem 1.7rem 1.5rem;
  box-shadow: var(--shadow);
}
.calc-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem;
  align-items: stretch;
}
.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.calc-field-range,
.calc-field-optional {
  grid-column: 1 / -1;
}
.calc-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.calc-percent-value {
  display: inline-block;
  margin-left: 0.4rem;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.calc-field input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
}
.calc-field input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
.calc-field input[type="range"] {
  padding: 0.55rem 0;
  height: 1.6rem;
  font-weight: 400;
  accent-color: var(--teal);
  cursor: pointer;
  background: transparent;
  border: 0;
}
.calc-field input[type="range"]:focus {
  outline-offset: 3px;
}
.calc-field .assume {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}
.calc-result {
  background: var(--navy);
  color: #f4efe6;
  border-radius: 12px;
  padding: 1.35rem 1.3rem;
}
.calc-result .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.calc-result .figure {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0.4rem 0 0.7rem;
  color: #fff;
}
.calc-result .sub {
  font-size: 0.95rem;
  opacity: 0.88;
  margin-top: 0.45rem;
}
.calc-disclaimer {
  margin-top: 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 54rem;
}
.calc-cta { margin-top: 1.25rem; }

/* Contact */

.contact {
  background: var(--navy);
  color: #f4efe6;
  padding: 5rem 0;
}
.contact h2 { color: #fff; text-align: center; }
.contact .lead-c {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  opacity: 0.92;
}
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.contact form {
  max-width: 40rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: #d5e0dc; }
.field .req { color: var(--gold); }
.contact input,
.contact select,
.contact textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #3b5a68;
  background: #18404f;
  color: #fff;
  font: inherit;
  font-size: 1rem;
}
.contact textarea { min-height: 7rem; resize: vertical; }
.contact input::placeholder,
.contact textarea::placeholder { color: #a9bcc4; }
.contact input:focus,
.contact select:focus,
.contact textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  text-align: center;
  margin-top: 1.4rem;
  font-size: 0.92rem;
  opacity: 0.75;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #a9bcc4;
  font-size: 0.92rem;
  padding: 2.25rem 0 1.8rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #1c3a47;
}
.footer-brand .logo-word { color: #f4efe6; font-size: 1.2rem; }
.footer-tag {
  margin-top: 0.35rem;
  font-style: italic;
  color: #8aa0a8;
}
.footer-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: #a9bcc4; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
}

/* Services page */
.page-hero {
  background: var(--navy);
  color: #f4efe6;
  padding: 3.5rem 0 3rem;
}
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { margin-top: 1rem; max-width: 38rem; opacity: 0.9; font-size: 1.15rem; }

.service-block {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-block:last-of-type { border-bottom: 0; }
.price-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
}
.price-box .amount {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.price-box .amount small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.15rem;
}
.price-box p { margin-top: 0.7rem; font-size: 0.95rem; color: #34444d; }
.inc { margin-top: 1rem; }
.inc li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.4rem;
  color: #34444d;
}
.inc li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.tiers { display: grid; gap: 0.65rem; margin-top: 0.3rem; }
.tier {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  background: var(--white);
}
.tier.preferred { border-color: var(--teal); background: #f3faf8; }
.tier strong { display: block; color: var(--navy); }

/* Privacy */
.prose { max-width: 42rem; }
.prose p, .prose li { margin-top: 0.85rem; color: #34444d; }
.prose h2 { margin-top: 2rem; font-size: 1.45rem; }
.prose ul { list-style: disc; padding-left: 1.2rem; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .grid-3, .grid-2, .ladder, .steps, .split, .about-grid, .service-block, .calc-top, .calc-inputs {
    grid-template-columns: 1fr;
  }
  .traits { grid-template-columns: 1fr; }
  .hero { padding: 3.25rem 0 3rem; }
  .section, .contact { padding: 3.5rem 0; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1.25rem 1.1rem;
    gap: 0;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--sand-dark);
  }
  .nav-links a.btn {
    margin-top: 0.7rem;
    border-bottom: 0;
    width: 100%;
  }
  .contact form { grid-template-columns: 1fr; }
  .logo-word { font-size: 1.2rem; }
  .about-grid { gap: 1.6rem; }
  .portrait { max-width: 20rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
