/* Mancini Design: shared design system (preview v1).
   Loaded after styles.css. One file, no per-page overrides except the homepage block at the end.
   Fonts: Newsreader 400 (fixed optical size 36) for headings, Inter for everything else. Colours are the existing tokens. */
:root{--serif:'Newsreader',Georgia,'Times New Roman',serif;--wrap:min(1200px,calc(100% - 48px));--rule:rgba(245,245,247,.22);--rule-soft:rgba(245,245,247,.12);--header-h:66px}
@media (min-width:1180px){:root{--header-h:134px}} /* the desktop header is two rows tall */

/* ---------- 1. Headings: serif, sentence case, no heavy tracking ---------- */
body h1,body h2,body h3{font-family:var(--serif);font-weight:400;text-transform:none;letter-spacing:-.01em}
body h1{line-height:1.08}
body h2{line-height:1.15}
body h3{line-height:1.25}

/* ---------- 2. Header and navigation ---------- */
body .site-nav-logo{visibility:visible!important;font-family:var(--serif);font-weight:400;text-transform:none;letter-spacing:0;font-size:1.4rem}
@media (min-width:1180px){
 body .site-nav-links a{text-transform:none;letter-spacing:.01em;font-size:.95rem;color:#D6D6DC}
 body .site-nav-links a:hover,body .site-nav-links a.active{color:var(--accent-brass)}
}
@media (max-width:1179px){body .site-nav-logo{font-size:1.25rem}}

/* ---------- 3. Page header: the photograph at its natural proportions ---------- */
/* No fixed banner crop. Each photograph keeps its own aspect ratio (--ar), is never shown wider than its useful
   resolution (--maxw) and never taller than a share of the screen (--hmax). Source files with baked-in dark bars are
   trimmed to the picture only (--bgw/--bgy), full height kept. Desktop: editorial two columns; tablet/mobile: stacked. */
body .page-header{height:auto;min-height:0;padding:0;display:flex;flex-direction:column;align-items:stretch;overflow:visible;background-size:0 0!important}
body .page-header[style*="url("]{--ar:1.5;--bgw:100%;--bgy:50%;--maxw:760px;--hmax:58vh}
body .page-header::before{content:"";display:block;order:-1;box-sizing:border-box;
  width:min(var(--wrap),var(--maxw),calc(var(--hmax)*var(--ar)));aspect-ratio:var(--ar);margin:calc(var(--header-h) + 20px) auto 0;
  background:inherit;background-size:var(--bgw) auto;background-position:50% var(--bgy);background-repeat:no-repeat;background-color:#1A1E24;border-radius:6px}
@media (max-width:768px){body .page-header[style*="url("]{--hmax:54vh}}
/* a page without a banner photograph gets a text-led header: no empty strip */
body .page-header:not([style*="url("])::before,body .page-header.has-photo::before{display:none}
body .page-header:not([style*="url("]):not(.has-photo) .page-header-content{padding-top:calc(var(--header-h) + 40px)}
body .page-header-overlay{display:none}
body .page-header-content{width:var(--wrap);max-width:none;margin:0 auto;padding:28px 0 36px;border-left:0;border-bottom:1px solid var(--rule)}
body .page-header-title{font-family:var(--serif);font-weight:400;text-transform:none;letter-spacing:-.015em;font-size:clamp(2rem,4.2vw,3.3rem);line-height:1.08;max-width:22ch;margin:0 0 14px}
/* per-photograph values: aspect ratio of the visible picture, trim of baked-in bars, native visible width in px */
body .page-header[style*="daylesford/main"]{--ar:1.502;--bgw:121.8%;--bgy:54.3%;--maxw:808px}
body .page-header[style*="bentleigh/main"]{--ar:1.334;--bgw:140%;--bgy:100%;--maxw:806px}
body .page-header[style*="huntingdale/main"]{--ar:1.5;--bgw:123.7%;--maxw:912px}
body .page-header[style*="daylesford/image9"]{--ar:1.502;--bgw:122.2%;--bgy:48.6%;--maxw:805px}
body .page-header[style*="home/albert-park-terrace"]{--ar:1.5;--maxw:900px}
body .page-header[style*="albert-park-2/image"]{--ar:1.508;--bgw:115.1%;--maxw:1182px}
body .page-header[style*="albert-park/image11"]{--ar:1.509;--bgw:127.1%;--maxw:1183px}
body .page-header[style*="st-kilda/20221107_064147"],body .page-header[style*="st-kilda/20221107_063611"],body .page-header[style*="st-kilda/20221107_064212"]{--ar:.75;--maxw:1200px}
body .page-header[style*="bg-04-upper-floor-frames"]{--ar:1.778;--maxw:1600px}
body .page-header[style*="beaumaris/2016263179"]{--ar:2.37;--maxw:1920px}
body .page-header[style*="edithvale/2016628304"],body .page-header[style*="edithvale/2016562698"]{--ar:1.498;--maxw:1618px}
body .page-header[style*="hampton-remodel/kitchen-3d"]{--ar:2.465;--maxw:1400px}
/* desktop: title block beside the photograph (editorial), photograph capped at 680 px wide */
@media (min-width:1180px){
  body .page-header[style*="url("]{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:56px;align-items:center;width:var(--wrap);margin:0 auto;padding:calc(var(--header-h) + 20px) 0 36px;border-bottom:1px solid var(--rule)}
  body .page-header[style*="url("]::before{grid-column:2;grid-row:1;margin:0;width:min(var(--maxw),680px,calc(62vh*var(--ar)))}
  body .page-header[style*="url("] .page-header-content{grid-column:1;grid-row:1;width:auto;margin:0;padding:0;border-bottom:0}
}
/* header photograph as a real <img> (meaningful content image, has alt text). Same box, trim and sizing as the background version. */
body .page-header.has-photo{--ar:1.5;--bgw:100%;--bgy:50%;--maxw:760px;--hmax:58vh}
body .page-header.has-photo .page-header-photo{order:-1;display:block;position:relative;overflow:hidden;box-sizing:border-box;margin:calc(var(--header-h) + 20px) auto 0;
  width:min(var(--wrap),var(--maxw),calc(var(--hmax)*var(--ar)));aspect-ratio:var(--ar);border-radius:6px;background:#1A1E24}
body .page-header.has-photo .page-header-photo img{position:absolute;left:50%;top:var(--bgy);width:var(--bgw);max-width:none;height:auto;display:block;border-radius:0;transform:translate(-50%,calc(var(--bgy)*-1))}
@media (max-width:768px){body .page-header.has-photo{--hmax:54vh}}
@media (min-width:1180px){
  body .page-header.has-photo{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:56px;align-items:center;width:var(--wrap);margin:0 auto;padding:calc(var(--header-h) + 20px) 0 36px;border-bottom:1px solid var(--rule)}
  body .page-header.has-photo .page-header-photo{grid-column:2;grid-row:1;margin:0;width:min(var(--maxw),680px,calc(62vh*var(--ar)))}
  body .page-header.has-photo .page-header-content{grid-column:1;grid-row:1;width:auto;margin:0;padding:0;border-bottom:0}
}
body .page-header-subtitle{max-width:60ch;font-size:1.05rem;line-height:1.6;color:var(--text-muted)}

/* ---------- 4. Content sections: one text column and an image column, hairlines instead of full-screen bands ---------- */
/* children of the flex column .main-content shrink to their content when they have auto margins; keep them full width */
body .main-content>*{width:100%}
body .main-content>.section{width:var(--wrap);margin:0 auto;min-height:0;padding:64px 0;gap:64px;background:none;border-bottom:1px solid var(--rule-soft)}
body .main-content>.section:nth-child(even){background:none;flex-direction:row}
body .main-content>.section:nth-child(even) .image-content{order:2}
body .text-content{flex:7}
body .image-content{flex:5;justify-content:flex-start}
body .image-content img{border:0;border-radius:6px}
body .text-content h2{font-size:clamp(1.7rem,2.6vw,2.2rem);margin:0 0 18px}
body .section-index{display:block;font-size:.72rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#C5A059;margin:0 0 10px}
@media (max-width:900px){body .main-content>.section,body .main-content>.section:nth-child(even){flex-direction:column;padding:44px 0;gap:28px}}

/* ---------- 5. Question and answer pages (faq-wrap): readable column, serif headings ---------- */
body .faq-wrap{max-width:760px;margin:0}
body .faq-group-title{font-family:var(--serif);font-size:clamp(1.5rem,2.4vw,1.9rem);color:var(--text-primary);letter-spacing:-.01em;margin:0 0 6px}
body .faq-item{border-top:1px solid var(--rule-soft)}
body .faq-item h3{font-size:1.2rem;letter-spacing:0}
body .answer-lead{font-size:1.15rem;line-height:1.7}
body .page-meta{font-size:.8rem;letter-spacing:.12em}

/* ---------- 6. Tables, lists, call-to-action band, project gallery ---------- */
body .info-table thead th{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase}
body .info-table th,body .info-table td{border-bottom:1px solid var(--rule-soft)}
body .cta-block{max-width:none;margin:56px 0 0;padding:32px 0 0;background:none;border-left:0;border-top:2px solid #F5F5F7}
body .cta-block h2{font-size:1.7rem;letter-spacing:-.01em}
body .next-reads{border-top:1px solid var(--rule)}
body .next-reads h2{font-size:1.3rem;letter-spacing:-.01em}
body .case-gallery{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin:24px 0 36px}
body .case-gallery img{grid-column:span 2;aspect-ratio:4/3;object-fit:cover}
body .case-gallery img:first-child{grid-column:span 4;grid-row:span 2}
@media (max-width:768px){body .case-gallery{grid-template-columns:1fr 1fr}body .case-gallery img,body .case-gallery img:first-child{grid-column:span 1;grid-row:auto}body .case-gallery img:first-child{grid-column:span 2}}

/* ---------- 7. Article pages ---------- */
body .insights-article{max-width:720px;margin:0 auto 0 max(24px,calc((100% - 1200px)/2));padding-top:calc(var(--header-h) + 28px)}
body .insights-article h1,body article h1{font-size:clamp(2rem,4.2vw,3rem);letter-spacing:-.015em}
/* six article pages carry an inline Montserrat style on their H1; removing that attribute is a one-word markup fix for the batch */
body article h1[style*="Montserrat"]{font-family:var(--serif)!important}
body .insights-article h2{font-size:clamp(1.5rem,2.4vw,1.9rem);letter-spacing:-.01em}

/* ---------- 8. Footer ---------- */
body .site-footer{background:#121212;border-top:1px solid var(--rule);text-align:left;text-transform:none;letter-spacing:0;font-size:.95rem;
  padding:48px max(24px,calc((100% - 1200px)/2)) 36px;display:grid;grid-template-columns:1fr 1fr;gap:12px 48px}
body .site-footer .footer-contact,body .site-footer .footer-links{justify-content:flex-start;margin:0}
body .site-footer p{grid-column:1/-1;margin-top:12px;font-size:.8rem;color:var(--text-muted)}
@media (max-width:768px){body .site-footer{grid-template-columns:1fr}}

/* ---------- 9. Homepage only (the approved layout) ---------- */
body.page-home .cover-page{height:auto;min-height:100svh;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:center;
  padding:104px max(24px,calc((100% - 1200px)/2)) 56px;background:#121212}
body.page-home .cover-bg{position:relative;inset:auto;grid-column:8/13;grid-row:1;align-self:stretch;min-height:560px;
  background:url('/images/st-kilda/20221107_063611.jpg') center 35%/cover no-repeat;background-image:image-set(url('/images/st-kilda/20221107_063611.webp') type('image/webp'),url('/images/st-kilda/20221107_063611.jpg') type('image/jpeg'))}
body.page-home .hero-slide{display:none!important}
body.page-home .cover-overlay{display:none}
body.page-home .cover-caption{position:absolute;left:0;bottom:-30px;font-size:12px;letter-spacing:.06em;color:var(--text-muted);text-decoration:none;border-bottom:1px solid var(--accent-brass);padding-bottom:1px}
body.page-home .cover-caption:hover{color:var(--accent-brass)}
body.page-home .cover-content{grid-column:1/7;grid-row:1;position:relative;max-width:none;margin:0;padding:0;border-left:0}
body.page-home .cover-eyebrow{display:inline-block;margin:0 12px 28px 0}
body.page-home .cover-title{display:inline-block;font-family:Inter,Arial,sans-serif;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--text-muted);
  border-left:1px solid rgba(245,245,247,.3);padding-left:12px;margin:0 0 28px;line-height:1.2}
body.page-home h1.cover-sub{font-family:var(--serif);font-weight:400;font-size:clamp(2.5rem,4.7vw,4.2rem);line-height:1.06;letter-spacing:-.015em;max-width:14ch;margin:0 0 20px;color:var(--text-primary)}
body.page-home .cover-scope{font-family:var(--serif);font-size:1.5rem;line-height:1.3;color:var(--accent-brass);margin:0 0 24px}
body.page-home .cover-lede{font-size:1rem;line-height:1.7;color:var(--text-muted);max-width:50ch}
body.page-home .home-secondary{margin:18px 0 0;padding-top:16px;border-top:1px solid rgba(245,245,247,.18);max-width:50ch;font-size:.95rem;color:#F5F5F7}
body.page-home .home-secondary a{color:var(--accent-brass);text-decoration:underline;text-underline-offset:3px}
@media (max-width:900px){
 body.page-home .cover-page{display:block;padding:84px 24px 40px}
 body.page-home .cover-bg{display:block;height:44vw;min-height:170px;margin-bottom:24px}
 body.page-home .cover-content{padding:0}
}
body .home-paths{width:var(--wrap);margin:0 auto;padding:72px 0 32px}
body .home-paths-grid{display:grid;grid-template-columns:7fr 5fr;gap:0;border-top:1px solid rgba(245,245,247,.3)}
body .home-path{border:0;background:none;padding:36px 48px 8px 0}
body .home-path+.home-path{background:var(--bg-secondary,#1A1E24);border-top:3px solid var(--accent-brass);margin-top:-1px;padding:36px 40px 40px}
body .home-path h2{font-size:clamp(1.7rem,2.6vw,2.3rem);line-height:1.15;margin:0 0 14px}
body .home-path p{color:#D6D6DC;line-height:1.6;margin:0 0 20px;max-width:46ch}
body .home-path-label{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent-brass)!important;font-weight:600;margin:0 0 12px!important}
@media (max-width:768px){body .home-paths-grid{grid-template-columns:1fr}body .home-path{padding:28px 0 8px}body .home-path+.home-path{padding:28px 24px 32px;margin-top:16px}}
body .home-statement{text-align:left;max-width:1200px;margin:0 auto;padding:96px 24px 24px}
body .home-statement-line{font-family:var(--serif);font-weight:400;font-size:clamp(1.7rem,3.2vw,2.6rem);line-height:1.2;letter-spacing:-.01em;max-width:24ch;margin-left:0;margin-right:0}
body .home-projects-head h2,body .scope-block h2{font-size:clamp(1.9rem,3vw,2.6rem)}
body .scope-block .why-item{background:none;border:0;border-top:1px solid var(--rule);border-radius:0;box-shadow:none;padding:22px 0}
body .scope-block .why-item h3{font-size:1.35rem;letter-spacing:0}
body .home-projects-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:56px 24px;align-items:start}
body .home-project{position:static;overflow:visible;display:block;text-decoration:none;color:inherit;border:0;background:none;padding:0}
body .home-project img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:initial}
body .home-project:hover img,body .home-project:focus-visible img{transform:none}
body .home-project-text{position:static;display:block;padding:0;background:none}
body .home-project-title{display:block;margin-top:14px;font-family:var(--serif);font-weight:400;font-size:1.35rem;line-height:1.2;letter-spacing:0;text-transform:none;color:var(--text-primary)}
body .home-project-sub{display:block;margin-top:4px;font-size:.9rem;color:var(--text-muted)}
body .home-project:hover .home-project-title{color:var(--accent-brass)}
body .home-project:nth-child(1){grid-column:1/8}
body .home-project:nth-child(2){grid-column:9/13;margin-top:96px}
body .home-project:nth-child(3){grid-column:2/7}
body .home-project:nth-child(4){grid-column:8/13;margin-top:64px}
body .home-project:nth-child(5){grid-column:1/6}
body .home-project:nth-child(6){grid-column:7/13;margin-top:48px}
@media (max-width:768px){body .home-projects-grid{display:block}body .home-project{margin:0 0 36px!important}}

/* ---------- Conversion changes, 12 Nov 2026 ---------- */
body .page-header-proof{max-width:60ch;margin:14px 0 0;font-size:.95rem;line-height:1.6;color:var(--text-muted)}
body .page-header-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 0}
body .proof-line{margin:12px 0 0;font-size:.95rem;line-height:1.6;color:var(--text-muted)}
@media (max-width:700px){
 /* contact page on a phone: the free enquiry card, then the form, then the four report cards */
 body .contact-section .text-content{display:flex;flex-direction:column}
 body .contact-section .contact-choice{display:contents}
 body .contact-section .contact-choice-card{margin:0 0 16px}
 body .contact-section .contact-choice-card:first-child{order:1}
 body .contact-section #enquiry{order:2;margin-bottom:28px}
 body .contact-section .contact-choice-card:not(:first-child){order:3}
 body .contact-section .faq-group{order:4}
 body .contact-section .contact-icon{order:5}
}
