/* TREOS Ltd — site styles.
   Palette: ink navy, cool paper, settled green (mint only on dark). Type: Source Serif 4 (headings), Instrument Sans.
   The one bold element is the hero's "business day" sheet; everything else stays quiet. */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-ext.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #10243E;
  --ink-2: #1B3557;
  --paper: #F5F8F7;
  --white: #FFFFFF;
  --green: #0F6B5C;
  --green-dark: #0B5448;
  --mint: #8ED9C0;
  --slate: #4A5D73;
  --rule: #D3DCD9;
  --rule-dark: rgba(255, 255, 255, .16);
  --error: #B42318;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--white); font-kerning: normal; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }

h1, h2, h3 { font-family: var(--serif); font-weight: 560; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); line-height: 1.06; font-variation-settings: "opsz" 60; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.15; font-variation-settings: "opsz" 48; }
h3 { font-size: 1.25rem; line-height: 1.3; font-variation-settings: "opsz" 24; font-weight: 600; }
.h-small { font-size: 1.5rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--slate); max-width: 38em; }

/* ---------------------------------------------------------------- buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--sans); color: var(--white); background: var(--green);
  padding: 15px 22px; border-radius: var(--radius); border: 0; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--green-dark); color: var(--white); }
.btn-small { padding: 11px 16px; font-size: .9375rem; }
.btn-on-dark { background: var(--mint); color: var(--ink); }
.btn-on-dark:hover { background: #B5E8D6; color: var(--ink); }
.link-strong { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.link-strong:hover { color: var(--green); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { border-bottom-color: var(--rule); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--green); }
.nav-toggle { display: none; font: 600 .9375rem var(--sans); color: var(--ink); background: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: 9px 14px; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; gap: 16px; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--green); }
  .brand img { height: 34px; }
}

/* ---------------------------------------------------------------- hero + the business-day sheet */
.hero { background: var(--paper); border-bottom: 1px solid var(--rule); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { max-width: 12em; }
.hero .lead { margin-top: 24px; }

.daysheet {
  margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 1px 0 var(--rule), 0 24px 48px -28px rgba(16, 36, 62, .35);
  padding: 22px 26px 18px; position: relative;
}
.daysheet figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.daysheet-title { font: 600 1.125rem/1.2 var(--serif); font-variation-settings: "opsz" 24; }
.daysheet-sub { font-size: .8125rem; color: var(--slate); white-space: nowrap; }
.daysheet ol { list-style: none; margin: 0; padding: 0; position: relative; }
.daysheet li {
  display: grid; grid-template-columns: 3.4em 1fr 28px; gap: 14px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--rule);
}
.daysheet time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .9375rem; color: var(--slate); }
.daysheet .task { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.daysheet .task strong { font-weight: 600; font-size: .9875rem; }
.daysheet .task span { font-size: .8125rem; color: var(--slate); }
.daysheet .state {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--rule); color: transparent;
  display: grid; place-items: center; transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.daysheet .state svg { width: 15px; height: 15px; }
.daysheet li.is-done .state { background: var(--green); border-color: var(--green); color: var(--white); }
.daysheet li.is-current time, .daysheet li.is-current .task strong { color: var(--green); }
.daysheet li.is-current .state { border-color: var(--green); }
.daysheet-foot { margin: 14px 0 0; font-size: .8125rem; color: var(--slate); display: flex; align-items: center; gap: 8px; }
.daysheet-foot::before { content: ""; width: 10px; height: 10px; background: var(--green); flex: none; }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-tint { background: var(--paper); }
.section-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--slate); font-size: 1.0625rem; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 64px; }
.benefit { border-top: 2px solid var(--green); padding-top: 20px; }
.benefit p { color: var(--slate); margin: 0; max-width: 34em; }

/* services as an index: rows, not cards */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a { display: grid; grid-template-columns: minmax(0, 18em) minmax(0, 1fr) 24px; gap: 32px; align-items: center; padding: 24px 8px; color: var(--ink); text-decoration: none; transition: background-color .15s ease; }
.index-list a:hover { background: var(--paper); }
.index-name { font: 600 1.375rem/1.25 var(--serif); font-variation-settings: "opsz" 30; }
.index-desc { color: var(--slate); }
.index-go { width: 22px; height: 22px; color: var(--green); transition: transform .15s ease; }
.index-list a:hover .index-go { transform: translateX(3px); }
.index-list a:hover .index-name { color: var(--green-dark); }
.index-list-compact a { padding: 18px 8px; }
.index-list-compact .index-name { font-size: 1.1875rem; }

/* controls: the dark band */
.controls { background: var(--ink); color: var(--white); }
.section + .controls, .controls + .section { border-top: 0; }
.controls h2 { color: var(--white); }
.controls-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.lead-on-dark { color: #C4D1DF; font-size: 1.125rem; max-width: 30em; }
.link-on-dark { color: var(--mint); font-weight: 600; text-decoration: underline; text-underline-offset: .3em; }
.link-on-dark:hover { color: var(--white); }
.control-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-dark); }
.control-list li { position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--rule-dark); font-size: 1.0625rem; }
.control-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 20px; height: 12px; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(-45deg) scale(.8); transform-origin: 30% 70%; }

/* steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: none; }
.steps li { position: relative; padding-top: 64px; }
.steps li::before { content: ""; position: absolute; left: 44px; right: -32px; top: 21px; height: 2px; background: var(--rule); }
.steps li:last-child::before { display: none; }
.step-n { position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); display: grid; place-items: center; font: 600 1.125rem/1 var(--serif); font-variant-numeric: lining-nums; background: var(--white); }
.steps p { color: var(--slate); margin: 0; }

.who-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.who-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.who-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--slate); }
.who-list strong { color: var(--ink); font-weight: 600; }

/* call to action band */
.cta-band { background: var(--paper); border-top: 1px solid var(--rule); padding: clamp(56px, 7vw, 88px) 0; }
.cta-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.cta-row h2 { margin: 0; max-width: 14em; }
.cta-row p { color: var(--slate); max-width: 32em; }

/* inner pages */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--rule); padding: clamp(48px, 6vw, 88px) 0 clamp(44px, 5vw, 72px); }
.page-hero h1 { max-width: 16em; }
.page-hero .lead { margin-top: 20px; margin-bottom: 0; }
.page-hero-tall { padding-bottom: clamp(80px, 12vw, 160px); }
.page-hero-tall p:last-child { margin-top: 28px; }
.crumbs { margin: 0 0 14px; font-weight: 600; font-size: .9375rem; }
.crumbs a { color: var(--green); text-decoration: none; }
.crumbs a::before { content: "\2039\00a0"; }

.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding: 40px 0; border-bottom: 1px solid var(--rule); }
.svc:first-child { border-top: 2px solid var(--ink); }
.svc h2 { font-size: 1.75rem; }
.svc h2 a { color: var(--ink); text-decoration: none; }
.svc h2 a:hover { color: var(--green-dark); }
.svc-head p { color: var(--slate); }
.svc-more { display: inline-block; margin-top: 4px; }

.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding: 8px 0 8px 30px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.tick-list-lg li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; }
.tick-list-lg li::before { top: 22px; }

.svc-page { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc-why { background: var(--paper); border-left: 3px solid var(--green); padding: 28px 28px 8px; }
.svc-why div { margin-bottom: 22px; }
.svc-why h3 { font-size: 1.125rem; margin-bottom: .3em; }
.svc-why p { color: var(--slate); margin: 0; font-size: .9875rem; }

.two-col { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { max-width: 38em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; margin-bottom: .35em; }
.prose p { color: #2F435B; }
.prose-narrow { max-width: 760px; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.enquiry { display: grid; gap: 22px; scroll-margin-top: 110px; }
.form-alert, .field { scroll-margin-top: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.optional { font-weight: 400; color: var(--slate); }
.hint { font-size: .875rem; color: var(--slate); margin: -2px 0 8px; }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--white);
  border: 1.5px solid #AEBBB7; border-radius: var(--radius); padding: 12px 14px;
}
.field input:focus, .field textarea:focus { outline: 3px solid rgba(15, 107, 92, .25); outline-offset: 0; border-color: var(--green); }
.field textarea { resize: vertical; min-height: 150px; }
.has-error input, .has-error textarea { border-color: var(--error); }
.error { color: var(--error); font-size: .9rem; font-weight: 600; margin: 0 0 6px; }
.form-alert { border-left: 4px solid var(--error); background: #FDF1F0; padding: 14px 18px; font-weight: 600; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; margin-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; padding: 6px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--green); flex: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.form-foot .hint { margin: 0; }
.contact-aside { border-top: 2px solid var(--ink); padding-top: 22px; }
.contact-aside h2 { font-size: 1.25rem; margin-top: 1.4em; }
.contact-aside h2:first-child { margin-top: 0; }
.email-big { font: 600 1.25rem/1.3 var(--serif); color: var(--green); word-break: break-word; }
.next-steps { padding-left: 1.3em; margin: 0; color: var(--slate); }
.next-steps li { padding: 4px 0 8px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #C4D1DF; padding: 64px 0 28px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--rule-dark); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 20em; }
.footer-col h2 { font: 600 .9375rem/1.3 var(--sans); color: var(--white); letter-spacing: 0; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.site-footer a { color: #E2EAF2; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.site-footer .btn-on-dark { color: var(--ink); }
.site-footer .btn-on-dark:hover { color: var(--ink); text-decoration: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: .8125rem; color: #93A5B9; }
.footer-base p { margin: 0; }
.preview-note { color: var(--mint); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .steps li:nth-child(2)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .controls-grid, .who-grid, .cta-row, .svc, .svc-page, .two-col, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .index-list a { grid-template-columns: minmax(0, 1fr) 22px; gap: 6px 16px; }
  .index-name { grid-column: 1; }
  .index-desc { grid-column: 1; grid-row: 2; }
  .index-go { grid-column: 2; grid-row: 1 / span 2; }
  .cta-row { align-items: start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::before { display: none; }
  .field-row, .checks { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .daysheet { padding: 18px 16px 14px; }
  .daysheet li { grid-template-columns: 3em 1fr 26px; gap: 10px; }
  .daysheet-title { font-size: 1rem; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  .controls { background: none; color: var(--ink); }
  .controls h2 { color: var(--ink); }
}
