/* AU Services Group. Dark, quiet, photographic.
   Display: Bodoni Moda. Text: Manrope. Colours: near-black, bone white, one moss green. */

:root {
  --bg: #0b0b0b;
  --bg-2: #111111;
  --bone: #f3f1ec;
  --bone-70: rgba(243,241,236,.72);
  --bone-45: rgba(243,241,236,.45);
  --line: rgba(243,241,236,.14);
  --line-strong: rgba(243,241,236,.3);
  --moss: #8fae8b;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 80px);
  --space: clamp(96px, 12vw, 180px);
}
@media (max-width: 900px) { :root { --space: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--bone); background: var(--bg); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; max-width: 56ch; color: var(--bone-70); }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--moss); color: var(--bg); }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.005em; margin: 0 0 0.45em; text-wrap: balance; font-variation-settings: "opsz" 96; color: var(--bone); }
h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 1; }
h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.15; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin: 0 0 0.35em; color: var(--bone); }
.statement { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.7rem); line-height: 1.28; color: var(--bone); max-width: 28ch; text-wrap: balance; margin: 0; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--bone-70); max-width: 46ch; }
.small { font-size: 0.9rem; color: var(--bone-45); }
.label { font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.label.moss { color: var(--moss); }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gutter) * 2, 900px); margin-inline: auto; }

.skip { position: absolute; left: 8px; top: -60px; background: var(--bone); color: var(--bg); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 4px; }

/* Links and buttons */
.link { text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; transition: border-color .25s; color: var(--bone); }
.link:hover { border-bottom-color: var(--bone); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 17px 32px; font-family: var(--sans); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; line-height: 1; color: var(--bg); background: var(--bone); border: 1px solid var(--bone); transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: transparent; color: var(--bone); }
.btn.line { background: transparent; color: var(--bone); border-color: var(--line-strong); }
.btn.line:hover { border-color: var(--bone); }

/* Header: transparent over the hero, solid once scrolled. */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(11,11,11,.9); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 24px; }
.brand { display: block; line-height: 0; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav a { text-decoration: none; color: var(--bone); padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--bone); }
.nav .btn { padding: 14px 24px; color: var(--bg); border-bottom: 1px solid var(--bone); }
.nav .btn:hover { color: var(--bone); }
.menu-btn { display: none; background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--bone); }
@media (max-width: 900px) {
  .top .wrap { min-height: 76px; }
  .brand img { height: 40px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav.open { display: flex; }
  .top:has(.nav.open) { background: var(--bg); border-bottom-color: var(--line); }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; border: 1px solid var(--bone); }
  .menu-btn { display: inline-block; }
}

/* Hero: one photograph, edge to edge. The single moment of motion on the site. */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2; transform: scale(1.06); animation: settle 2.4s cubic-bezier(.2,.6,.2,1) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,.1) 30%, rgba(11,11,11,.25) 60%, rgba(11,11,11,.92) 100%); }
.hero .wrap { padding: 180px 0 clamp(56px, 8vh, 96px); }
.hero-inner { max-width: 760px; opacity: 0; transform: translateY(14px); animation: rise 1.2s .3s cubic-bezier(.2,.6,.2,1) forwards; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lede { margin-bottom: 40px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(48px, 8vh, 96px); padding-top: 22px; border-top: 1px solid var(--line); }
.hero-foot .label { color: var(--bone-45); }
@keyframes settle { to { transform: scale(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .bg { transform: none; } .hero-inner { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hero .wrap { padding-top: 140px; } .hero-foot { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* Sections */
.section { padding: var(--space) 0; }
[id] { scroll-margin-top: 110px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.section.tight { padding-top: calc(var(--space) * .55); padding-bottom: calc(var(--space) * .55); }
.rule { border-top: 1px solid var(--line); }
.center { text-align: center; }
.center .statement, .center .lede, .center p { margin-inline: auto; }

/* Feature: photograph and text, side by side. */
.feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gutter); align-items: center; }
.feature + .feature { margin-top: var(--space); }
.feature .img { grid-column: 1 / 8; }
.feature .txt { grid-column: 8 / 13; }
.feature.flip .img { grid-column: 6 / 13; grid-row: 1; }
.feature.flip .txt { grid-column: 1 / 5; grid-row: 1; }
.feature .img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature .txt > span.label { display: block; margin-bottom: 20px; }
.feature ul { margin: 26px 0 32px; }
.feature li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.98rem; color: var(--bone-70); }
.feature li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .feature .img, .feature .txt, .feature.flip .img, .feature.flip .txt { grid-column: 1 / -1; grid-row: auto; }
  .feature + .feature { margin-top: calc(var(--space) * .7); }
}

/* Index of remaining services */
.index { border-top: 1px solid var(--line); }
.index li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto; gap: 16px 40px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.index h3 { margin: 0; }
.index p { margin: 0; }
.index a.link { white-space: nowrap; color: var(--bone-70); }
@media (max-width: 900px) { .index li { grid-template-columns: 1fr; gap: 8px; } }

/* Full-bleed band */
.band { position: relative; min-height: 70vh; display: grid; align-items: center; isolation: isolate; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,11,11,.55); }
.band .wrap { padding: var(--space) 0; }
@media (max-width: 900px) { .band { min-height: 52vh; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px var(--gutter); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.details { border-top: 1px solid var(--line); }
.details div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--bone-45); font-size: 0.95rem; }
.details dd { margin: 0; }
.details dd a { text-decoration: none; }
.details dd a:hover { text-decoration: underline; text-underline-offset: 5px; }
.form-frame { background: #fff; border: 1px solid var(--line); }
.form-frame iframe { display: block; width: 100%; min-height: 1400px; border: 0; }
.form-fallback { padding: 20px 24px; border-top: 1px solid rgba(0,0,0,.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: #fff; color: #111; }
.form-fallback p { margin: 0; color: #555; }
.form-fallback .link { color: #111; border-color: #111; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--moss); }
.steps p { margin: 0; font-size: 0.98rem; }

/* Inner pages */
.page-head { padding: calc(100px + var(--space) * .5) 0 calc(var(--space) * .45); }
.page-head .lede { margin-top: 12px; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px var(--gutter); align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.prose p { max-width: 60ch; }
.photo-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* Footer */
.foot { border-top: 1px solid var(--line); color: var(--bone-70); }
.foot .wrap { padding: 80px 0 110px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot img { height: 68px; width: auto; margin-bottom: 22px; }
.foot h4 { color: var(--bone-45); margin-bottom: 16px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--bone); }
.foot li { padding: 5px 0; }
.foot p { color: var(--bone-45); font-size: 0.95rem; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 0.8rem; color: var(--bone-45); }
@media (max-width: 900px) { .foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot .wrap { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .foot .wrap { padding-bottom: 80px; } }

/* Mobile bar */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--bg); border-top: 1px solid var(--line); }
  .callbar a { display: flex; align-items: center; justify-content: center; padding: 18px 12px; text-decoration: none; color: var(--bone); }
  .callbar a:last-child { background: var(--bone); color: var(--bg); }
}

.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }

/* Service overview on the home page */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.card { display: block; text-decoration: none; color: inherit; }
.card-img { overflow: hidden; margin-bottom: 26px; }
.card-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.card:hover .card-img img { transform: scale(1.03); }
.card h3 { margin-bottom: 0.4em; }
.card p { margin-bottom: 18px; }
.card .label { color: var(--bone-45); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: color .25s, border-color .25s; }
.card:hover .label { color: var(--bone); border-bottom-color: var(--bone); }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; gap: 56px; } .card-img img { aspect-ratio: 4 / 3; } }

/* Difference points */
.points { border-top: 1px solid var(--line); }
.points li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.points p { margin: 0; }

/* Showcase: a list of services whose photograph changes as you move over them.
   On phones there is no hover, so each item carries its own photograph instead. */
.showcase { position: relative; isolation: isolate; overflow: hidden; min-height: 84vh; display: grid; align-items: center; border-top: 1px solid var(--line); }
.showcase-bg { position: absolute; inset: 0; z-index: -2; }
.showcase-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 1.6s cubic-bezier(.2,.6,.2,1); }
.showcase-bg img.active { opacity: 1; transform: scale(1); }
.showcase::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,11,11,.9) 0%, rgba(11,11,11,.72) 45%, rgba(11,11,11,.35) 100%); }
.showcase .wrap { padding: var(--space) 0; }
.showcase-head { margin-bottom: clamp(32px, 4vw, 56px); }
.showcase-head h2 { margin-bottom: .2em; }
.showcase-head p { margin: 0; }
.showcase-list { border-top: 1px solid var(--line); max-width: 760px; }
.showcase-list li { border-bottom: 1px solid var(--line); }
.showcase-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: baseline; padding: 26px 0; text-decoration: none; color: inherit; }
.showcase-list h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); color: var(--bone-45); transition: color .35s; }
.showcase-list p { grid-column: 1; margin: 0; max-width: 46ch; color: var(--bone-70); opacity: 0; max-height: 0; overflow: hidden; transition: opacity .5s ease, max-height .5s ease; }
.showcase-list .label { grid-column: 2; grid-row: 1; color: var(--bone-45); opacity: 0; transition: opacity .35s, color .35s; }
.showcase-list li.active h3 { color: var(--bone); }
.showcase-list li.active p { opacity: 1; max-height: 6em; }
.showcase-list li.active .label { opacity: 1; color: var(--bone); }
.showcase-list .thumb { display: none; }
@media (max-width: 900px) {
  /* Same idea as desktop: the photograph sits behind the list and changes as you tap.
     The gradient runs top to bottom instead of left to right so the photo shows above the list. */
  .showcase { min-height: 0; }
  .showcase-bg img { object-position: 50% 35%; }
  .showcase::after { background: linear-gradient(180deg, rgba(11,11,11,.3) 0%, rgba(11,11,11,.2) 30%, rgba(11,11,11,.82) 52%, rgba(11,11,11,.97) 100%); }
  .showcase .wrap { padding: 46vh 0 40px; }
  .showcase-head { margin-bottom: 20px; }
  .showcase-list { max-width: none; }
  .showcase-list a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 16px 0; }
  .showcase-list h3 { font-size: 1.55rem; }
  .showcase-list p { font-size: 0.95rem; max-width: none; }
  .showcase-list li.active p { max-height: 8em; }
  .showcase-list .label { font-size: 0.66rem; }
  .showcase-list .thumb { display: none; }
  .showcase-hint { display: block; margin: 0 0 12px; color: var(--bone-45); font-size: 0.8rem; }
}
@media (min-width: 901px) { .showcase-hint { display: none; } }

/* Photo beside prose */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px var(--gutter); align-items: center; }
.split .img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split .img img { aspect-ratio: 4 / 3; } }

/* About page */
.about-hero { position: relative; min-height: 78vh; display: grid; align-items: end; isolation: isolate; }
.about-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.about-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,.6) 0%, rgba(11,11,11,.15) 40%, rgba(11,11,11,.9) 100%); }
.about-hero .wrap { padding: 160px 0 64px; }
@media (max-width: 900px) { .about-hero { min-height: 70vh; } .about-hero .wrap { padding: 120px 0 40px; } }
.about-hero h1 { max-width: 14ch; margin: 0; }

/* Services index: sticks under the header, highlights the section in view. */
.subnav { position: sticky; top: 100px; z-index: 40; background: rgba(11,11,11,.88); backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 18px 0; white-space: nowrap; text-decoration: none; color: var(--bone-45); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.subnav a:hover { color: var(--bone); }
.subnav a.active { color: var(--bone); border-bottom-color: var(--bone); }
@media (max-width: 900px) { .subnav { top: 76px; } .subnav ul { gap: 24px; } .subnav a { padding: 14px 0; } }
.subnav + .section .feature[id] { scroll-margin-top: 170px; }
@media (max-width: 900px) { .subnav + .section .feature[id] { scroll-margin-top: 136px; } }
