/* Approved Proper Box direction. Existing page templates and content retained. */
:root { --ink:#081512; --muted:#48544d; --green:#227951; --green-deep:#176b47; --forest:#12392a; --wash:#faf7f1; --rule:#dcd7cd; --radius:3px; --radius-lg:4px; --wrap:1350px; --shadow:0 2px 10px #16251b08; --shadow-lg:0 4px 20px #16251b12; }
body { font-family:var(--display); }
h1,h2,h3 { letter-spacing:-.045em; }
.cta { border-radius:3px; box-shadow:none; }
.cta-main { background:var(--green-deep); }
.cta-main:hover { background:#105538; }
.block { padding-block:clamp(3rem,5vw,4.5rem); }
.proper-header { background:#fff; position:relative; z-index:100; border-bottom:1px solid #eee; }
.proper-header-inner { min-height:98px; display:flex; align-items:center; gap:30px; justify-content:space-between; }
.proper-logo { display:block; flex:none; width:270px; }
.proper-logo svg { display:block; width:100%; height:auto; }
.proper-nav { margin-left:auto; }
.proper-nav .navlist { gap:18px; align-items:center; }
.proper-nav .navlist>li>a,.proper-more summary { color:var(--ink); font-size:20px; padding:16px 8px; font-weight:600; border:0; text-decoration:none; cursor:pointer; white-space:nowrap; }
.proper-nav .navlist>li>a:hover,.proper-more summary:hover { color:var(--green-deep); background:none; }
.proper-more summary { font-size:15px; }
.proper-menu { position:absolute; right:0; top:100%; padding:18px; background:#fff; border:1px solid var(--rule); box-shadow:var(--shadow-lg); min-width:250px; max-height:75vh; overflow:auto; }
.proper-menu a { display:block; padding:7px 10px; color:var(--ink); text-decoration:none; font-size:16px; }
.proper-menu a:hover { background:var(--wash); color:var(--green-deep); }
.proper-phone { white-space:nowrap; text-decoration:none; font-size:24px; color:var(--ink); font-weight:800; }
.proper-phone span { color:var(--green-deep); margin-right:7px; }
.proper-hero { position:relative; isolation:isolate; background:#e8edf0; }
.proper-scene { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; z-index:-2; filter:brightness(1.04) saturate(1.08); }
.proper-hero::before { content:""; position:absolute; inset:0; pointer-events:none; z-index:-1; background:linear-gradient(115deg,#ffffff70,transparent 44%); }
.proper-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) 460px; gap:40px; align-items:start; padding-block:44px 50px; min-height:710px; }
.proper-intro h1 { font-size:clamp(56px,5.7vw,84px); font-weight:900; line-height:.94; letter-spacing:-.055em; margin:0 0 16px; text-wrap:initial; max-width:650px; }
.proper-intro p { font-size:clamp(22px,2vw,29px); line-height:1.12; letter-spacing:-.025em; max-width:500px; }
.proper-card { background:#fff; border:1px solid #e2e4e6; border-radius:3px; padding:26px 28px 16px; box-shadow:0 2px 6px #0000000c; }
.proper-card-heading { display:flex; align-items:center; justify-content:space-between; gap:4px; min-height:112px; margin-bottom:14px; }
.proper-card h2 { font-size:36px; line-height:1; font-weight:900; text-wrap:initial; margin:0; flex:1; }
/* Exact approved portrait and lower photo are displayed as CSS windows into
   the original reference, without redrawing or regenerating the character. */
.proper-character { position:relative; width:156px; height:126px; flex:none; background-image:url('/img/proper-box-reference.webp'); background-size:1158.4px 868.8px; background-position:-976px -120px; background-repeat:no-repeat; }
/* Hide only the neighbouring mockup heading at the crop's left edge. */
.proper-character::after { content:""; position:absolute; left:0; top:61px; width:17px; height:28px; background:#fff; }
.proper-form { padding:0; box-shadow:none; border-radius:0; }
.proper-form label { font-size:16px; font-weight:600; margin:0 0 6px; line-height:1.2; }
.proper-form input:not([type=radio]),.proper-form select,.proper-form textarea { background:#fff; border:1px solid #b9c3cf; border-radius:3px; color:var(--ink); font:inherit; font-size:16px; padding:10px 12px; min-height:46px; margin:0 0 13px; width:100%; }
.proper-form select { padding-right:26px; }
.proper-form .jobform-grid { grid-template-columns:1fr 1fr; gap:12px; }
.proper-intent { border:0; padding:0; margin:0 0 18px; min-width:0; }
.proper-form .jobform-switch { margin:0; gap:6px; }
.proper-form .jobform-switch label { padding:12px 8px; border:1px solid #b9c3cf; border-radius:3px; margin:0; font-size:20px; font-weight:600; background:#fff; color:var(--ink); }
.proper-form .jobform-switch input:checked+label { color:#fff; border-color:var(--green-deep); background:var(--green-deep); }
.proper-extra { margin:0 0 10px; }
.proper-extra summary { cursor:pointer; font-size:14px; color:var(--green-deep); padding:0 0 8px; }
.proper-extra[open] { border-top:1px solid var(--rule); padding-top:12px; }
.proper-form .cta { font-size:21px; padding:12px; min-height:55px; width:100%; margin-top:0; }
.proper-form-note { font-size:12px; line-height:1.35; color:var(--muted); margin:11px 0 0; }
.proper-trap { position:absolute!important; left:-9999px!important; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.proper-condition { background:var(--wash); padding-block:13px; }
.proper-condition>.frame { display:grid; grid-template-columns:1.55fr .75fr .57fr; gap:46px; align-items:center; }
.proper-condition-photo { aspect-ratio:693/181; background:url('/img/proper-box-reference.webp') 6.36% 90.6077% / 208.947% 600% no-repeat; }
.proper-condition h2 { font-size:32px; line-height:1.02; margin-bottom:12px; font-weight:900; text-wrap:initial; }
.proper-condition p { font-size:23px; line-height:1.2; margin:0; }
.proper-explore { display:flex; align-items:center; justify-content:space-between; gap:18px; text-decoration:none; border-left:1px solid #cfc4b3; padding:40px 0 40px 30px; font-size:17px; font-weight:650; }
.proper-explore span { font-size:27px; }
.proper-caption { padding-block:17px; display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:15px; border-bottom:1px solid var(--rule); }
.proper-caption small { font-size:11px; color:#59665f; text-transform:uppercase; letter-spacing:.06em; }
.sitefoot { background:var(--wash); color:var(--ink); border-top:1px solid var(--rule); }
.sitefoot h4,.sitefoot a,.sitefoot ul a,.sitefoot .sf-phone { color:var(--ink); }
.sitefoot a:hover,.sitefoot ul a:hover { color:var(--green-deep); }
.sitefoot .sf-blurb,.sitefoot .sf-addr,.sitefoot .sf-mail,.sitefoot .sf-legal { color:var(--muted); }
.sitefoot .sf-towns,.sitefoot .sf-legal { border-color:var(--rule); }
.sitefoot .townlinks a { color:var(--green-deep); }
.jobform input,.jobform select,.jobform textarea { border-radius:3px; }
.jobform-switch label { border-radius:3px; }
.pagetop { background:var(--forest); }
.pagetop h1 { font-weight:900; }
.callbar { background:#fff; border-color:var(--rule); }
.callbar .cta-go { background:var(--wash); color:var(--green-deep); border-color:var(--rule); }
@media(min-width:1201px) {
  .proper-hero-grid { width:min(100% - 52px,1396px); }
  .proper-intro { padding-left:38px; }
  .proper-card-heading { margin-bottom:10px; }
  .proper-intent { margin-bottom:12px; }
  .proper-form input:not([type=radio]),.proper-form select,.proper-form textarea { margin-bottom:10px; }
}
@media(min-width:1600px) { .proper-hero-grid { min-height:780px; } }
@media(max-width:1200px) {
  .proper-header-inner { gap:16px; }
  .proper-logo { width:220px; }
  .proper-nav .navlist { gap:6px; }
  .proper-nav .navlist>li>a { font-size:17px; }
  .proper-phone { font-size:21px; }
  .proper-hero-grid { grid-template-columns:minmax(0,1fr) 390px; gap:24px; min-height:660px; }
  .proper-card { padding:22px; }
  .proper-card h2 { font-size:32px; }
  .proper-character { width:108px; height:96px; background-size:868.8px 651.6px; background-position:-744px -90px; }
  .proper-character::after { display:none; }
  .proper-condition>.frame { gap:24px; grid-template-columns:1.3fr 1fr .75fr; }
  .proper-condition h2 { font-size:26px; }
  .proper-condition p { font-size:20px; }
}
@media(max-width:960px) {
  .proper-header-inner { min-height:86px; }
  .proper-logo { width:210px; }
  .proper-nav { order:3; margin-left:0; }
  .proper-phone { margin-left:auto; font-size:20px; }
  .proper-nav .navtoggle { display:flex; }
  .proper-nav .navtoggle-word { color:var(--ink); }
  .proper-nav .navtoggle-lines span { background:var(--green-deep); }
  .proper-nav .navlist { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; padding:14px 24px; border-bottom:1px solid var(--rule); max-height:80vh; overflow:auto; }
  .proper-nav .navlist.open { display:block; }
  .proper-nav .navlist>li>a { padding:12px 0; color:var(--ink); }
  .proper-more summary { padding:12px 0; }
  .proper-menu { position:static; box-shadow:none; border:0; padding:0 8px; max-height:none; }
  .proper-hero-grid { grid-template-columns:minmax(0,1fr) 355px; gap:20px; padding-block:30px; }
  .proper-intro h1 { font-size:55px; }
  .proper-intro p { font-size:23px; }
  .proper-card { padding:20px; }
  .proper-card h2 { font-size:30px; }
  .proper-card-heading { min-height:105px; }
  .proper-condition>.frame { grid-template-columns:1.1fr 1fr; }
  .proper-explore { grid-column:1/-1; padding:12px 0 0; border-left:0; border-top:1px solid var(--rule); }
}
@media(max-width:700px) {
  .proper-header-inner { min-height:76px; gap:12px; flex-wrap:wrap; padding-block:12px; }
  .proper-logo { width:180px; }
  .proper-phone { font-size:16px; }
  .proper-phone span { display:none; }
  .proper-nav .navtoggle-word { font-size:0; }
  .proper-nav .navtoggle { padding:4px 0; }
  .proper-nav .navtoggle-lines span { width:21px; }
  .proper-hero { background:var(--wash); }
  .proper-hero::before { height:440px; bottom:auto; background:linear-gradient(180deg,#ffffffb8 0%,#ffffffa6 34%,transparent 56%); }
  .proper-scene { height:440px; object-position:34% center; }
  .proper-hero-grid { display:block; padding-top:28px; padding-bottom:22px; }
  .proper-intro { height:390px; }
  .proper-intro h1 { font-size:clamp(46px,9vw,64px); line-height:.98; margin-bottom:12px; }
  .proper-intro p { font-size:22px; max-width:320px; }
  .proper-line { display:none; }
  .proper-card { position:relative; padding:22px; }
  .proper-card-heading { min-height:105px; }
  .proper-card h2 { font-size:33px; }
  .proper-form .jobform-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .proper-form label { font-size:15px; }
  .proper-condition>.frame { grid-template-columns:1fr; gap:22px; }
  .proper-condition { padding-block:0 22px; }
  .proper-condition h2 { font-size:32px; }
  .proper-condition p { font-size:22px; }
  .proper-caption { align-items:flex-start; flex-direction:column; padding-block:14px; }
}
@media(max-width:380px) {
  .proper-logo { width:150px; }
  .proper-phone { font-size:15px; }
  .proper-card { padding:18px; }
  .proper-card h2 { font-size:29px; }
  .proper-character { width:110px; }
}
