/* Wollemi Group website. Colours, type and rules from the brand guide (brand\2025-logo\brand-guide.html).
   Navy does the work, orange is the accent, mostly white. Orange never carries small text. */
:root {
  --navy: #043168;
  --navy-deep: #032450;
  --orange: #F45E2B;
  --ink: #0B1B33;
  --soft: #4A5568;
  --panel: #F2F4F7;
  --line: #D5DBE3;
  --on-navy: #C9D6E8;
  --head: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Atkinson Hyperlegible Next", Verdana, sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Headings: Archivo at its widest, to sit with the logo's extended letters */
h1, h2, h3 { font-family: var(--head); font-stretch: 125%; color: var(--navy); line-height: 1.08; letter-spacing: -0.005em; margin: 0 0 .5em; }
h1 { font-weight: 900; font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-weight: 800; font-size: 1.2rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.2rem; color: var(--soft); }

/* The roof line from the logo, used as the section marker */
.roof { display: block; width: 46px; height: 14px; margin-bottom: 14px; }
.roof path { fill: none; stroke: var(--orange); stroke-width: 3.2; stroke-linecap: square; }
.eyebrow { font-family: var(--head); font-stretch: 125%; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin: 0 0 10px; }

/* Header */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { font-family: var(--head); font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.nav .btn { border: 0; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--head); font-weight: 800; color: var(--navy); border: 2px solid var(--navy); padding: 8px 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-list { display: grid; }
.menu-list { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gut) 18px; gap: 4px; }
.menu-list a { font-family: var(--head); font-weight: 700; text-decoration: none; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--panel); }
@media (max-width: 960px) { .nav { display: none; } .menu { display: block; } .brand img { height: 40px; } }

/* Buttons: navy with white text, or a navy outline (brand guide section 7) */
.btn { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 1rem; text-decoration: none; padding: 14px 22px; background: var(--navy); color: #fff; border: 2px solid var(--navy); cursor: pointer; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn.line { background: transparent; color: var(--navy); }
.btn.line:hover { background: var(--panel); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--panel); }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 7vw, 84px); padding-bottom: clamp(40px, 7vw, 84px); }
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-navy); }
.hero .eyebrow { color: var(--on-navy); }
.hero-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: end; }
.hero-photos figure:first-child img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-photos figure:last-child img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.hero figcaption { color: var(--on-navy); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Page hero for inner pages */
.page-hero { background: var(--panel); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: clamp(32px, 6vw, 64px); padding-bottom: clamp(28px, 5vw, 52px); }

/* Sections */
section.band { padding: clamp(44px, 7vw, 88px) 0; }
section.band.panel { background: var(--panel); }
section.band.navy { background: var(--navy); color: #fff; }
section.band.navy h2, section.band.navy h3 { color: #fff; }
section.band.navy p { color: var(--on-navy); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.head-row p { margin: 0; }

/* Two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.path { border: 1px solid var(--line); background: #fff; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); }
.path img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.path div { padding: 22px 24px 24px; border-top: 4px solid var(--orange); }
.path h3 { font-size: 1.4rem; }
.path .go { font-family: var(--head); font-weight: 800; color: var(--navy); }
.path:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }

/* Cards and lists */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); padding: 22px; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--soft); font-size: 1rem; }
.card.photo { padding: 0; }
.card.photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card.photo .t { padding: 18px 20px 20px; }
@media (max-width: 960px) { .cards, .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 6px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
section.band.navy .ticks li { color: #fff; }

/* Five steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--navy); padding-top: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--head); font-stretch: 125%; font-weight: 900; font-size: 1.6rem; color: var(--orange); display: block; margin-bottom: 6px; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .97rem; color: var(--soft); margin: 0; }
section.band.navy .steps li { border-top-color: #fff; }
section.band.navy .steps p { color: var(--on-navy); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Figures and the honest labels */
figure { margin: 0; }
figcaption { font-size: .82rem; color: var(--soft); margin-top: 6px; }
.tag { display: inline-block; font-size: .72rem; font-family: var(--head); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; background: var(--panel); color: var(--soft); border: 1px solid var(--line); margin-right: 6px; }
.tag.real { background: var(--navy); color: #fff; border-color: var(--navy); }
.hero .tag { background: transparent; color: var(--on-navy); border-color: rgba(255,255,255,.35); }
.hero .tag.real { background: #fff; color: var(--navy); border-color: #fff; }

/* Draft markers: things Wollemi must confirm before launch */
.confirm { background: #FFF1EB; border-bottom: 2px dashed var(--orange); padding: 0 3px; color: var(--ink); }
.draft-bar { background: var(--ink); color: #fff; font-size: .9rem; text-align: center; padding: 8px var(--gut); }
.draft-bar b { color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.gallery .empty { aspect-ratio: 1 / 1; border: 2px dashed var(--line); display: grid; place-items: center; text-align: center; color: var(--soft); padding: 20px; font-size: .95rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; margin: 0 0 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #98A2B3; background: #fff; color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
.field { margin-bottom: 16px; }
.hint { font-size: .9rem; color: var(--soft); }
.details { border: 1px solid var(--line); padding: 22px; }
.details dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; }
.details dt { font-family: var(--head); font-weight: 800; color: var(--navy); }
.details dd { margin: 0; }
.big-phone { font-family: var(--head); font-stretch: 125%; font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); text-decoration: none; }

/* Footer */
.site-foot { background: var(--navy); color: var(--on-navy); padding: 48px 0 28px; font-size: .95rem; }
.site-foot a { color: #fff; }
.site-foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-foot img { width: 300px; max-width: 100%; margin-bottom: 14px; }
.site-foot h3 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot .base { border-top: 1px solid rgba(255,255,255,.18); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.site-foot .confirm { background: rgba(244,94,43,.18); color: #fff; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* Fixes after the first screenshots */
.nav .btn, .nav .btn:hover { color: #fff; border-bottom: 2px solid var(--navy); }
/* Header logo at the brand guide's minimum for the main logo (300 px); 240 px on phones */
.brand img { height: auto; width: 300px; }
.site-head .wrap { min-height: 96px; }
.menu-list { top: 96px; }
@media (max-width: 960px) { .brand img { width: 240px; height: auto; } .site-head .wrap { min-height: 84px; } .menu-list { top: 84px; } }
section.band.navy figcaption { color: var(--on-navy); }
/* The flyer photos are small (about 330 px wide): never show them much bigger than that */
.real-small img { max-width: 400px; margin-left: auto; margin-right: auto; }
.real-small figcaption { max-width: 400px; margin-left: auto; margin-right: auto; }

/* Fable review fixes */
.logo-name { display: none; }
@media (max-width: 1120px) { .nav { display: none; } .menu { display: block; } }
@media (max-width: 960px) { .logo-full { display: none; } .logo-name { display: block; width: 220px; height: auto; } }
.gallery { grid-template-columns: repeat(auto-fill, minmax(220px, 330px)); justify-content: start; }
button[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.card .tag, .path .tag { display: inline-block; }

/* Draft 2 (16 Oct): three paths, surveying page, independence notice, longer nav */
.paths.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .paths.three { grid-template-columns: 1fr; } }
.path .pfill { aspect-ratio: 16 / 9; background: var(--navy); color: #fff; display: grid; place-content: center; gap: 10px; padding: 18px; border-top: 0; text-align: center; }
.path .pfill .roof { width: 72px; margin: 0 auto; }
.path .pfill .roof path { stroke: var(--orange); }
.path .pfill b { font-family: var(--head); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; }
.notice { border-left: 6px solid var(--orange); background: #fff; padding: 20px 22px; margin-top: 18px; }
.notice h3 { margin-bottom: .35em; }
.notice p { margin: 0 0 .6em; }
.regs { display: grid; gap: 4px; }
@media (max-width: 1240px) { .nav { display: none; } .menu { display: block; } }
.nav { gap: 18px; }
.nav a { white-space: nowrap; font-size: .92rem; }
.brand { flex-shrink: 0; }
@media (max-width: 1360px) { .nav { display: none; } .menu { display: block; } }
