/* ASCC (NSW) — site styles */
:root {
  --green: #3a746b;
  --green-dark: #2b5a53;
  --green-deep: #19332f;
  --green-tint: #e7f0ee;
  --gold: #f7c600;
  --gold-soft: #fff5cc;
  --orange: #f37d01;
  --ink: #15211b;
  --body: #36433c;
  --muted: #65726b;
  --line: #e1e7e3;
  --soft: #f4f7f5;
  --white: #fff;
  --danger: #b3261e;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(21, 33, 27, .06), 0 8px 24px rgba(21, 33, 27, .07);
  --shadow-lg: 0 2px 4px rgba(21, 33, 27, .06), 0 18px 48px rgba(21, 33, 27, .14);
  --wrap: 1180px;
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; box-shadow: 0 0 0 6px var(--gold); border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.eyebrow { font-family: var(--font-head); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .75rem; display: block; }
.lead { font-size: 1.1875rem; color: var(--body); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .9375rem/1 var(--font-head); padding: .95rem 1.5rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: .18s ease;
  background: var(--green); color: #fff;
}
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--green-dark); }
.btn-ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-light:hover { background: var(--gold-soft); color: var(--green-deep); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--green-deep); border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: .6rem 1rem; font-size: .8125rem; }
.link-arrow { font: 600 .9375rem var(--font-head); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.link-button:hover { color: var(--danger); }

/* ---------- header ---------- */
.utility { background: var(--green-deep); color: #cfe3d6; font-size: .8125rem; }
.utility .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility-links { display: flex; gap: 1.25rem; align-items: center; }
.utility-button { background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.utility-button:hover { color: var(--gold); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); min-width: 0; max-width: 24rem; }
.brand img { width: 46px; flex: none; }
.brand-name { font: 600 .9375rem/1.25 var(--font-head); display: block; }
.brand-tag { font-size: .75rem; color: var(--green-dark); font-weight: 600; display: block; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { font: 500 .9375rem var(--font-head); color: var(--ink); text-decoration: none; padding: .6rem .85rem; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--green-dark); background: var(--green-tint); }
.nav .cart-link { display: inline-flex; align-items: center; gap: .45rem; background: var(--green); color: #fff; margin-left: .5rem; padding-inline: 1.1rem; }
.nav .cart-link:hover, .nav .cart-link[aria-current='page'] { background: var(--green-dark); color: #fff; }
.cart-link svg { width: 18px; height: 18px; }
.cart-count { background: #fff; color: var(--green-dark); border-radius: 999px; min-width: 1.35rem; height: 1.35rem; font-size: .75rem; font-weight: 700; display: inline-grid; place-items: center; padding-inline: .3rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .2s; }

/* ---------- home hero ---------- */
.hero { position: relative; background: var(--green-deep); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('/img/house.jpg') center / cover no-repeat; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 42, 38, .96) 0%, rgba(25, 51, 47, .9) 42%, rgba(43, 90, 83, .45) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .eyebrow { color: var(--gold); }
.hero p { color: #d7e6dc; font-size: 1.125rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-books { position: relative; height: 420px; }
.hero-books a { position: absolute; display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transition: transform .3s ease; }
.hero-books a:first-child { width: 60%; right: 4%; top: 0; transform: rotate(3deg); z-index: 2; }
.hero-books a:last-child { width: 46%; left: 2%; bottom: 0; transform: rotate(-6deg); }
.hero-books a:only-child { width: 62%; right: auto; left: 19%; top: 5%; }
.hero-books a:hover { transform: rotate(0) scale(1.03); z-index: 3; }
.hero-books img { width: 100%; }
.hero-chevron { position: absolute; right: -6%; bottom: -30%; width: 46%; opacity: .1; z-index: -1; pointer-events: none; }

.trust { background: var(--soft); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 1.75rem; }
.trust-item { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; min-width: 0; }
.trust-icon { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.trust-icon svg { width: 2rem; height: 2rem; }
.trust-text { display: flex; flex-direction: column; min-width: 0; }
.trust-text strong { font: 700 1.5rem var(--font-head); color: var(--green-dark); }
.trust-text span { font-size: .875rem; color: var(--muted); }
/* Narrower screens, or larger text chosen in the accessibility options: icon beside the text, two columns, then one. */
@media (max-width: 1240px) {
  .trust .wrap { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; }
  .trust-item { flex-direction: row; align-items: center; }
  .trust-text strong { font-size: 1.25rem; }
}
@media (min-width: 1241px) {
  html[data-a11y-size='large'] .trust .wrap, html[data-a11y-size='xl'] .trust .wrap { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; }
  html[data-a11y-size='large'] .trust-item, html[data-a11y-size='xl'] .trust-item { flex-direction: row; align-items: center; }
}
@media (max-width: 700px) {
  .trust .wrap { grid-template-columns: 1fr; }
}

/* ---------- inner page banner (HIA-style) ---------- */
.banner { position: relative; color: #fff; background: #23302a; overflow: hidden; isolation: isolate; }
.banner::before { content: ''; position: absolute; inset: 0; background: url('/img/hero-frame.jpg') right center / cover no-repeat; opacity: .5; z-index: -2; }
.banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #1c2a23 0%, rgba(28, 42, 35, .92) 45%, rgba(28, 42, 35, .25) 100%); }
.banner .wrap { padding-block: clamp(2.5rem, 6vw, 4.25rem); }
.banner h1 { color: #fff; font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); margin-bottom: .5rem; max-width: 22ch; }
.banner p { color: #e0e9e3; font-weight: 500; max-width: 52ch; margin: 0; font-size: 1.0625rem; }
.crumbs { border-bottom: 1px solid var(--line); font-size: .8125rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: .9rem 0; }
.crumbs li + li::before { content: '›'; margin-right: .5rem; color: var(--muted); }
.crumbs a { color: var(--ink); }
.crumbs [aria-current] { color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-soft { background: var(--soft); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.prose h2 { margin-top: 0; }
.prose ul li { margin-bottom: .4rem; }
.prose ul li::marker { color: var(--green); }

.aside-card { background: var(--soft); border-radius: var(--radius); padding: 1.75rem; }
.aside-card h3 { font-size: 1.125rem; }
.aside-card p { font-size: .9375rem; }
.note { background: #fffaf0; border-left: 4px solid #e9c46a; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.25rem; box-shadow: var(--shadow); font-size: .9375rem; max-width: 46rem; margin: 1.5rem 0 0; }
.note strong { color: var(--ink); }

.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.checks li { padding-left: 1.9rem; position: relative; }
.checks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230a6d36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.product-card { display: grid; grid-template-columns: 210px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s ease; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card-cover { background: linear-gradient(160deg, #eef3f0, #dfe8e2); display: grid; place-items: center; padding: 1.5rem; }
.product-card-cover img { border-radius: 4px; box-shadow: 0 12px 28px rgba(21, 33, 27, .28); }
.product-card-body { padding: 1.75rem; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.1875rem; margin-bottom: .5rem; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { color: var(--green-dark); }
.product-card p { font-size: .9375rem; color: var(--muted); }
.tag { display: inline-block; font: 600 .6875rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); background: var(--green-tint); border-radius: 999px; padding: .3rem .7rem; margin-bottom: .85rem; align-self: flex-start; }
.price-rows { border-top: 1px solid var(--line); margin-top: auto; padding-top: 1rem; display: grid; gap: .35rem; font-size: .9375rem; }
.price-rows div { display: flex; justify-content: space-between; gap: 1rem; }
.price-rows strong { font-family: var(--font-head); color: var(--ink); }
.product-card .btn { margin-top: 1.25rem; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product-cover { background: linear-gradient(160deg, #eef3f0, #dbe6df); border-radius: var(--radius); padding: clamp(1.5rem, 5vw, 3rem); position: sticky; top: 100px; }
.product-cover img { width: 100%; border-radius: 4px; box-shadow: 0 24px 50px rgba(21, 33, 27, .35); }
.product-info h1 { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem); margin-bottom: .35rem; }
.product-sub { font: 500 1.0625rem var(--font-head); color: var(--muted); margin-bottom: 1.25rem; }
.buy-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin: 1.75rem 0 2.25rem; }
.buy-box legend { font: 600 .9375rem var(--font-head); color: var(--ink); padding: 0; margin-bottom: .75rem; }
.buy-box fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.format-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.format { position: relative; }
.format input { position: absolute; opacity: 0; inset: 0; }
.format label { display: block; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; cursor: pointer; transition: .15s; height: 100%; }
.format label:hover { border-color: var(--green); }
.format input:checked + label { border-color: var(--green); background: var(--green-tint); box-shadow: 0 0 0 1px var(--green); }
.format input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.format input:disabled + label { opacity: .5; cursor: not-allowed; }
.format-name { font: 600 .9375rem var(--font-head); color: var(--ink); display: block; }
.format-price { font: 700 1.375rem var(--font-head); color: var(--green-dark); display: block; margin: .15rem 0; }
.format-meta { font-size: .8125rem; color: var(--muted); display: block; line-height: 1.4; }
.buy-price { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.buy-price .format-price { font-size: 1.75rem; }
.buy-row { display: flex; gap: .75rem; align-items: stretch; }
.qty { width: 84px; }
.gst-note { font-size: .8125rem; color: var(--muted); margin: .85rem 0 0; }

/* ---------- forms ---------- */
label, .label { font: 600 .875rem var(--font-head); color: var(--ink); display: block; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--muted); }
input[type='text'], input[type='email'], input[type='tel'], input[type='number'], input[type='password'], input[type='search'], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #cdd6d0; border-radius: var(--radius-sm); padding: .75rem .9rem; transition: .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 143, 71, .18); }
textarea { min-height: 140px; resize: vertical; }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field-row-3 { grid-template-columns: 2fr 1fr 1fr; }
.field-error { color: var(--danger); font-size: .8125rem; margin-top: .3rem; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.check { display: flex; gap: .65rem; align-items: flex-start; font: 400 .9375rem var(--font-body); color: var(--body); }
.check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -5000px; }
.pay-options { display: grid; gap: .75rem; }
.pay-options .format-meta { margin-top: .2rem; }

.flash { border-radius: var(--radius-sm); padding: .9rem 1.15rem; margin: 1.25rem 0; font-weight: 500; }
.flash-success { background: var(--green-tint); color: var(--green-deep); border: 1px solid #bfe0cc; }
.flash-error { background: #fdecea; color: #7a1b15; border: 1px solid #f3c1bc; }

/* ---------- cart + checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line img { border-radius: 3px; box-shadow: 0 4px 12px rgba(21, 33, 27, .2); }
.cart-line h3 { font-size: 1rem; margin-bottom: .2rem; }
.cart-line h3 a { color: inherit; text-decoration: none; }
.cart-line-meta { font-size: .875rem; color: var(--muted); }
.cart-line-controls { display: flex; align-items: center; gap: 1rem; margin-top: .6rem; }
.cart-line-controls form { display: flex; gap: .5rem; align-items: center; }
.cart-line-controls input[type='number'] { width: 72px; padding: .45rem .6rem; }
.cart-line-total { font: 600 1.0625rem var(--font-head); color: var(--ink); }
.summary { background: var(--soft); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 100px; }
.summary h2 { font-size: 1.25rem; }
.summary-rows { display: grid; gap: .6rem; margin: 0 0 1.25rem; font-size: .9375rem; }
.summary-rows div { display: flex; justify-content: space-between; gap: 1rem; }
.summary-rows .total { border-top: 1px solid #d3dcd6; padding-top: .9rem; margin-top: .4rem; font: 700 1.25rem var(--font-head); color: var(--ink); }
.summary-items { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .9375rem; display: grid; gap: .6rem; border-bottom: 1px solid #d3dcd6; padding-bottom: 1.25rem; }
.summary-items li { display: flex; justify-content: space-between; gap: 1rem; }
.empty { text-align: center; padding: 3rem 1rem; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.form-card h2 { font-size: 1.1875rem; margin-bottom: 1.25rem; }

/* ---------- order page ---------- */
.status-pill { display: inline-block; font: 600 .75rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; background: var(--gold-soft); color: #6d5a21; }
.status-paid, .status-completed, .status-shipped { background: var(--green-tint); color: var(--green-dark); }
.status-cancelled { background: #fdecea; color: #7a1b15; }
.download-card { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; border: 1px solid #bfe0cc; background: var(--green-tint); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.download-card h3 { font-size: 1rem; margin: 0 0 .2rem; }
.download-card p { margin: 0; font-size: .875rem; color: var(--muted); }
.bank { background: #fff; border: 1px dashed #c9b26f; border-radius: var(--radius-sm); padding: 1rem 1.25rem; white-space: pre-line; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; color: var(--ink); }

/* ---------- misc blocks ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.audience { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.audience svg { width: 36px; height: 36px; color: var(--green); margin-bottom: .9rem; }
.audience h3 { font-size: 1.0625rem; margin-bottom: .35rem; }
.audience p { font-size: .9375rem; color: var(--muted); margin: 0; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-badge { position: absolute; left: 1.25rem; bottom: 1.25rem; background: #fff; border-radius: var(--radius-sm); padding: .85rem 1.1rem; box-shadow: var(--shadow); display: flex; gap: .75rem; align-items: center; font: 600 .875rem/1.3 var(--font-head); color: var(--ink); }
.about-badge img { width: 34px; aspect-ratio: auto; }
.members { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .75rem; }
.members li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font: 500 .9375rem var(--font-head); color: var(--ink); }
.members li > * { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .95rem 1.1rem; text-decoration: none; color: inherit; height: 100%; }
.members a::after { content: '↗'; color: var(--green); }
.members a:hover { color: var(--green-dark); background: var(--green-tint); border-radius: var(--radius-sm); }
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.promo { background: var(--soft); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; }
.promo h3 { font-size: 1.125rem; }
.promo p { font-size: .9375rem; color: var(--muted); flex: 1; }
.cta-band { background: var(--green-deep); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.cta-band h2 { color: #fff; margin: 0 0 .35rem; }
.cta-band p { margin: 0; color: #d7e6e2; }
.cta-band img { position: absolute; right: -40px; top: -30px; width: 320px; opacity: .08; z-index: -1; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); color: var(--green-dark); display: grid; place-items: center; }
.contact-list svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font: 600 .8125rem var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--green-dark); text-decoration: underline; }
.message-page { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.message-page img { width: 72px; margin: 0 auto 1.5rem; }
.message-page p { max-width: 46ch; margin-inline: auto; }

/* ---------- footer ---------- */
.site-footer { background: #142926; color: #b3c4bf; font-size: .9375rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.site-footer h2 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #d5dfd9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; gap: .85rem; align-items: center; margin-bottom: 1rem; color: #fff; font: 600 .9375rem/1.3 var(--font-head); }
.footer-brand img { width: 44px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-abn { margin: .9rem 0 0; color: #fff; font-weight: 600; white-space: nowrap; }
/* ABN: no dotted underline on the abbreviation, and the number never breaks across lines. */
abbr[title] { text-decoration: none; }
.abn { white-space: nowrap; }
.footer-bottom { border-top: 1px solid #27423d; padding-block: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .8125rem; }
/* "Website made by" credit. On screens where the page edge is close, room is kept on the right for the fixed accessibility button. */
.site-credit { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .1em .45em; }
.site-credit a { display: inline-flex; align-items: center; gap: .4em; color: #fff; font-weight: 600; white-space: nowrap; }
.site-credit img { width: 1.7em; height: 1.7em; flex: none; }
@media (max-width: 1360px) { .footer-bottom { padding-right: calc(44px + 1rem); } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .product-grid { grid-template-columns: 1fr; }
  .promo-grid, .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .cart-layout, .split { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 1rem; border-radius: var(--radius-sm); }
  .nav .cart-link { margin: .5rem 0 0; justify-content: center; }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero .wrap, .two-col, .product, .contact-grid { grid-template-columns: 1fr; }
  .hero-books { height: 320px; max-width: 420px; margin-inline: auto; width: 100%; }
  .product-cover { position: static; max-width: 360px; }
  .utility-links span.hide-sm { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .brand-tag { display: none; }
  .brand-name { font-size: .8125rem; }
  .brand img { width: 38px; }
  .utility .wrap > span { display: none; }
  .product-card { grid-template-columns: 1fr; }
  .product-card-cover img { max-width: 170px; }
  .promo-grid, .audience-grid, .format-options, .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 2rem; }
  .cart-line { grid-template-columns: 60px minmax(0, 1fr); }
  .cart-line-total { grid-column: 2; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- utilities ---------- */
.mt { margin-top: 1.5rem; }
.mt0 { margin-top: 0; }
.mb { margin-bottom: 1.5rem; }
.mb0 { margin-bottom: 0; }
textarea.short { min-height: 90px; }

.captcha { background: var(--soft); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.captcha input { max-width: 10rem; }
.captcha .small { margin: .4rem 0 0; }

/* ---------- tags, pricing, handbook sections ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .85rem; }
.tag-row .tag { margin-bottom: 0; }
.tag-limited { background: var(--gold-soft); color: #6b5400; }
.tag-sold { background: #fdecea; color: #7a1b15; }
.tag-dev { background: var(--orange); color: #fff; }
.h-small { font-size: 1.0625rem; margin-top: 1.25rem; }
.price-box { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin: 1.5rem 0; box-shadow: var(--shadow); background: #fff; }
.price-big { font: 700 1.75rem var(--font-head); color: var(--green-dark); display: block; line-height: 1.1; }
.price-meta { font-size: .875rem; color: var(--muted); display: block; margin-top: .25rem; }
.hb { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hb-cover { position: sticky; top: 100px; }
.hb-cover img { width: 100%; border-radius: 4px; box-shadow: 0 24px 50px rgba(21, 33, 27, .3); }
.hb-body h2 { margin-bottom: .25rem; }
.hb-body .product-sub { margin-bottom: 1rem; }
.pills { list-style: none; padding: 0; margin: .25rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.pills li { background: var(--green-tint); color: var(--green-dark); font: 600 .8125rem var(--font-head); padding: .4rem .85rem; border-radius: 999px; }
.notes .note { margin-top: 1rem; }
.dev-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.75rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.dev-card-art { background: var(--green-tint); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; }
.dev-card h3 { font-size: 1.25rem; }
.dev-card p { color: var(--body); }
.dev-card p:last-child { margin-bottom: 0; }

/* ---------- events & news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .2s ease; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card h2 { font-size: 1.1875rem; margin: 0; }
.news-card h2 a { color: inherit; text-decoration: none; }
.news-card h2 a:hover { color: var(--green-dark); }
.news-card p { margin: 0; color: var(--muted); font-size: .9375rem; flex: 1; }
.news-date, .news-card .news-date { font: 600 .75rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--green); flex: 0; }
.post { max-width: 60rem; margin-inline: auto; }
.post-body { max-width: 46rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.gallery figcaption { font-size: .875rem; color: var(--muted); margin-top: .5rem; }
a.about-photo { display: block; }
/* social links: small round icons in the brand colours (top bar, footer, contact page) */
.social-links { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.social-btn { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: inherit; border-radius: 999px; transition: transform .18s ease; }
.social-ico { display: inline-grid; place-items: center; width: var(--social-size, 2rem); height: var(--social-size, 2rem); border-radius: 50%; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.social-ico svg { width: 52%; height: 52%; }
.social-btn:hover, .social-btn:focus-visible { transform: translateY(-2px); }
.social-btn:hover .social-ico, .social-btn:focus-visible .social-ico { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }
.social-links--bar { --social-size: 1.5rem; }
.social-links--bar .social-ico { background: rgba(255, 255, 255, .14); color: #fff; }
.site-footer .social-links--footer { --social-size: 2.1rem; display: flex; margin-top: .6rem; gap: .6rem; }
.social-links--footer .social-ico { color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.social-links--inline { --social-size: 2.1rem; gap: .5rem 1.5rem; margin-top: .25rem; }
.social-links--inline .social-ico { background: var(--green); color: #fff; }
.social-links--inline .social-label { font: 600 .9375rem var(--font-head); color: var(--green-dark); }
.social-links--inline .social-btn:hover .social-label, .social-links--inline .social-btn:focus-visible .social-label { text-decoration: underline; text-underline-offset: 3px; }
.footer-follow { margin: 1.25rem 0 0; font: 600 .8125rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: #fff; }

/* ---------- accessibility options ---------- */
.a11y { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; font-family: var(--font-body); }
/* A small corner icon; the label slides out on hover or keyboard focus */
.a11y-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .7rem; background: rgba(25, 51, 47, .86); color: #fff; border: 1.5px solid rgba(255, 255, 255, .75); border-radius: 999px; font: 600 .8125rem var(--font-head); box-shadow: 0 4px 14px rgba(0, 0, 0, .22); cursor: pointer; backdrop-filter: blur(4px); transition: background .18s ease, box-shadow .18s ease; }
.a11y-toggle svg { width: 20px; height: 20px; flex: none; }
.a11y-toggle span { max-width: 0; opacity: 0; margin-left: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s ease, opacity .2s ease, margin-left .25s ease; }
.a11y-toggle:hover, .a11y-toggle:focus-visible, .a11y-toggle[aria-expanded='true'] { background: var(--green-deep); box-shadow: var(--shadow-lg); }
.a11y-toggle:hover span, .a11y-toggle:focus-visible span, .a11y-toggle[aria-expanded='true'] span { max-width: 9rem; opacity: 1; margin-left: .5rem; }
.a11y-panel { position: absolute; right: 0; bottom: calc(100% + .6rem); width: min(330px, calc(100vw - 2rem)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem 1.25rem 1rem; color: var(--ink); text-align: left; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.a11y-head h2 { font-size: 1.0625rem; margin: 0; }
.a11y-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); width: 2.2rem; height: 2.2rem; border-radius: 50%; }
.a11y-close:hover { background: var(--soft); color: var(--ink); }
.a11y-group { border: 0; padding: 0; margin: 0 0 .9rem; position: relative; }
.a11y-group legend { font: 600 .75rem var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .45rem; padding: 0; }
.a11y-group label { display: inline-flex; margin: 0 .35rem .35rem 0; cursor: pointer; font-weight: 500; font-size: .9rem; color: var(--ink); }
.a11y-group input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.a11y-group span { border: 1.5px solid #cdd6d0; border-radius: 999px; padding: .4rem .85rem; }
.a11y-group input:checked + span { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.a11y-group input:focus-visible + span { outline: 3px solid var(--green-dark); outline-offset: 2px; box-shadow: 0 0 0 6px var(--gold); }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px solid var(--line); padding-top: .75rem; }
.a11y-note { font-size: .75rem; color: var(--muted); }

/* text size */
html[data-a11y-size='large'] { font-size: 112.5%; }
html[data-a11y-size='xl'] { font-size: 125%; }
/* easy-read font */
html[data-a11y-font='readable'] { --font-head: Verdana, Geneva, 'DejaVu Sans', sans-serif; --font-body: Verdana, Geneva, 'DejaVu Sans', sans-serif; }
html[data-a11y-font='readable'] body { letter-spacing: .01em; word-spacing: .06em; line-height: 1.8; }
html[data-a11y-font='readable'] h1, html[data-a11y-font='readable'] h2, html[data-a11y-font='readable'] h3 { letter-spacing: 0; line-height: 1.3; }
/* high contrast */
html[data-a11y-contrast='high'] { --green: #0b3f36; --green-dark: #062a24; --green-deep: #000; --green-tint: #fff; --gold: #ffd500; --gold-soft: #fff; --orange: #000; --ink: #000; --body: #000; --muted: #1a1a1a; --line: #000; --soft: #fff; --shadow: none; --shadow-lg: none; }
html[data-a11y-contrast='high'] body { background: #fff; }
html[data-a11y-contrast='high'] a { text-decoration: underline; }
html[data-a11y-contrast='high'] .hero::before, html[data-a11y-contrast='high'] .banner::before, html[data-a11y-contrast='high'] .hero-chevron, html[data-a11y-contrast='high'] .cta-band img { display: none; }
html[data-a11y-contrast='high'] .hero::after, html[data-a11y-contrast='high'] .banner::after { background: #000; }
html[data-a11y-contrast='high'] .hero p, html[data-a11y-contrast='high'] .banner p, html[data-a11y-contrast='high'] .cta-band p, html[data-a11y-contrast='high'] .site-footer, html[data-a11y-contrast='high'] .utility { color: #fff; }
html[data-a11y-contrast='high'] .utility, html[data-a11y-contrast='high'] .cta-band, html[data-a11y-contrast='high'] .site-footer, html[data-a11y-contrast='high'] .admin-bar { background: #000; }
html[data-a11y-contrast='high'] .site-footer a, html[data-a11y-contrast='high'] .site-footer h2, html[data-a11y-contrast='high'] .footer-brand { color: #fff; }
html[data-a11y-contrast='high'] .btn { border: 2px solid #000; background: #000; color: #fff; }
html[data-a11y-contrast='high'] .btn-light, html[data-a11y-contrast='high'] .btn-ghost { background: #fff; color: #000; }
html[data-a11y-contrast='high'] .btn-outline-light { background: #000; color: #fff; border-color: #fff; }
html[data-a11y-contrast='high'] .nav a[aria-current='page'], html[data-a11y-contrast='high'] .nav .cart-link { background: #000; color: #fff; }
html[data-a11y-contrast='high'] .cart-count { background: #fff; color: #000; }
html[data-a11y-contrast='high'] .product-card, html[data-a11y-contrast='high'] .audience, html[data-a11y-contrast='high'] .promo, html[data-a11y-contrast='high'] .aside-card, html[data-a11y-contrast='high'] .dev-card, html[data-a11y-contrast='high'] .news-card, html[data-a11y-contrast='high'] .form-card, html[data-a11y-contrast='high'] .summary, html[data-a11y-contrast='high'] .buy-box, html[data-a11y-contrast='high'] .price-box, html[data-a11y-contrast='high'] .members li, html[data-a11y-contrast='high'] .panel, html[data-a11y-contrast='high'] .stat, html[data-a11y-contrast='high'] .a11y-panel, html[data-a11y-contrast='high'] .note, html[data-a11y-contrast='high'] .flash, html[data-a11y-contrast='high'] .about-badge { border: 2px solid #000; background: #fff; color: #000; }
html[data-a11y-contrast='high'] .note { border-left-width: 6px; }
html[data-a11y-contrast='high'] .tag, html[data-a11y-contrast='high'] .status-pill, html[data-a11y-contrast='high'] .pills li { border: 1.5px solid #000; background: #fff; color: #000; }
html[data-a11y-contrast='high'] .tag-dev, html[data-a11y-contrast='high'] .a11y-toggle, html[data-a11y-contrast='high'] .a11y-group input:checked + span, html[data-a11y-contrast='high'] .social-ico { background: #000; color: #fff; border-color: #fff; }
html[data-a11y-contrast='high'] .social-btn:hover .social-ico, html[data-a11y-contrast='high'] .social-btn:focus-visible .social-ico { background: #fff; color: #000; border: 2px solid #000; }
html[data-a11y-contrast='high'] .product-card-cover, html[data-a11y-contrast='high'] .product-cover, html[data-a11y-contrast='high'] .dev-card-art, html[data-a11y-contrast='high'] .trust, html[data-a11y-contrast='high'] .section-soft, html[data-a11y-contrast='high'] .ico { background: #fff; }
html[data-a11y-contrast='high'] .trust { border-top: 2px solid #000; }
html[data-a11y-contrast='high'] input[type='text'], html[data-a11y-contrast='high'] input[type='email'], html[data-a11y-contrast='high'] input[type='tel'], html[data-a11y-contrast='high'] input[type='number'], html[data-a11y-contrast='high'] input[type='password'], html[data-a11y-contrast='high'] input[type='search'], html[data-a11y-contrast='high'] select, html[data-a11y-contrast='high'] textarea { border: 2px solid #000; }
html[data-a11y-contrast='high'] .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); border: 1.5px solid #000; }

@media (max-width: 1020px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hb { grid-template-columns: 1fr; }
  .hb-cover { position: static; max-width: 260px; }
  .utility-links .utility-button { display: inline; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .dev-card { grid-template-columns: 1fr; }
  .dev-card-art { width: 90px; }
  .price-box .btn { width: 100%; }
  .utility .wrap > span { display: none; }
}

/* ---------- cookie and privacy notice ---------- */
/* A floating panel, centred above the page with the page dimmed behind it, so it reads as a
   question to answer and never as part of the footer. The dimming does not block the page. */
.consent-scrim { position: fixed; inset: 0; z-index: 58; background: linear-gradient(to top, rgba(10, 22, 20, .55), rgba(10, 22, 20, .12) 55%, rgba(10, 22, 20, 0)); pointer-events: none; }
.consent { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 60; width: min(44rem, calc(100vw - 2rem)); background: #fff; border-radius: var(--radius); border-top: 5px solid var(--gold); box-shadow: 0 24px 64px rgba(10, 22, 20, .38), 0 2px 8px rgba(10, 22, 20, .18); padding: 1.25rem 1.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.25rem; align-items: center; }
.consent[hidden], .consent-scrim[hidden] { display: none; }
.consent-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.consent-icon svg { width: 1.5rem; height: 1.5rem; }
.consent strong { font: 600 1.0625rem var(--font-head); color: var(--ink); }
.consent p { margin: .25rem 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.consent-actions { display: flex; gap: .6rem; }
.consent-actions .btn { white-space: nowrap; }
@media (max-width: 700px) {
  /* Sits above the accessibility button, full width, buttons side by side. */
  .consent { bottom: 4.75rem; grid-template-columns: auto minmax(0, 1fr); padding: 1.1rem 1.15rem; }
  .consent-actions { grid-column: 1 / -1; }
  .consent-actions .btn { flex: 1; }
}
html[data-a11y-contrast='high'] .consent { border: 2px solid #000; border-top-width: 5px; }
