:root {
  --ink:#102833;
  --night:#0b1e27;
  --paper:#f4f3ed;
  --white:#fffefa;
  --muted:#4c6167;
  --mint:#cceee0;
  --line:#cbd5d1;
  --serif:Georgia, "Times New Roman", serif;
}
* { box-sizing:border-box }
html { color-scheme:light; scroll-behavior:smooth }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.6 system-ui,sans-serif }
h1,h2,h3,p { margin:0 }
h1,h2 { font:400 clamp(2.65rem,5.2vw,5.4rem)/.99 var(--serif); letter-spacing:-.055em }
a { color:inherit; text-underline-offset:.23em }
:focus-visible { outline:3px solid #5b9b88; outline-offset:4px }
.wrap { width:min(1320px,calc(100% - clamp(36px,10vw,160px))); margin-inline:auto }
.top { background:var(--night); color:white; border-bottom:1px solid #ffffff25 }
.bar { display:flex; align-items:center; justify-content:space-between; gap:22px; min-height:90px }
.brand { display:flex; align-items:center; gap:13px; font-weight:750; font-size:.83rem; letter-spacing:.13em; text-decoration:none; white-space:nowrap }
.brand small { display:block; color:#b8cdc9; font-size:.59rem; letter-spacing:.27em }
.mark { position:relative; display:block; width:45px; height:45px; border:1px solid #a6d8c7; border-radius:50%; overflow:hidden }
.mark i { position:absolute; width:42px; height:19px; left:0; top:12px; border:2px solid var(--mint); border-color:var(--mint) transparent transparent; border-radius:50%; transform:rotate(-20deg) }
.mark i+i { top:21px }
nav { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:clamp(10px,2vw,30px); font-size:.84rem }
nav a { text-decoration:none }
nav a:hover,nav [aria-current] { color:var(--mint); text-decoration:underline }
.button { display:inline-flex; align-items:center; justify-content:center; gap:20px; min-height:48px; padding:10px 20px; border:1px solid transparent; border-radius:3px; background:var(--mint); color:var(--night); text-decoration:none; font-size:.88rem; font-weight:750; cursor:pointer }
.button:hover,nav .button[aria-current] { background:#ebfff5; color:var(--night) }
.outline { background:#ffffff12; border-color:#ffffff80; color:white }
.outline:hover { background:#ffffff2e; color:white }
.actions { display:flex; flex-wrap:wrap; gap:10px }
.hero { position:relative; isolation:isolate; overflow:hidden; display:grid; align-items:end; min-height:clamp(540px,79vh,850px); color:white; background:#173846 }
.hero img,.hero::after { position:absolute; inset:0; width:100%; height:100% }
.hero img { z-index:-2; object-fit:cover; object-position:center 53% }
.hero::after { content:""; z-index:-1; background:linear-gradient(90deg,#051b27ef 0%,#0a2131ad 38%,#0e30362b 75%),linear-gradient(0deg,#081e2be8 0%,transparent 70%) }
.hero-content { padding-block:65px clamp(85px,12vh,145px) }
.eyebrow { display:block; margin-bottom:18px; font-size:.72rem; font-weight:780; letter-spacing:.17em; text-transform:uppercase }
.hero .eyebrow,.enquiry .eyebrow,.subhero .eyebrow { color:var(--mint) }
.hero h1 { font-size:clamp(4rem,9.2vw,9rem) }
.hero h1 em { font-weight:400; color:#caf1e2 }
.hero p { margin:24px 0 30px; max-width:430px; font-size:1.08rem; color:#eef8f4 }
.caption { position:absolute; right:clamp(18px,5vw,78px); bottom:17px; color:white; font-size:.73rem }
.range { padding-block:clamp(55px,8vw,110px) }
.intro { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:35px }
.intro p { max-width:295px; color:var(--muted) }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px }
.service-card { position:relative; min-height:235px; padding:clamp(18px,3vw,33px); display:flex; flex-direction:column; justify-content:space-between; gap:29px; border:1px solid var(--line); background:var(--white); text-decoration:none; transition:background .2s }
.service-card:hover { background:#e3f4ed }
.service-mark { color:#305c57; font:2.5rem/1 var(--serif) }
.service-card h3 { font:400 clamp(1.5rem,2.5vw,2.6rem)/1.04 var(--serif); letter-spacing:-.04em }
.service-card p { margin-top:10px; max-width:240px; color:var(--muted) }
.arrow { position:absolute; right:20px; top:20px; border:1px solid #9db5ad; border-radius:50%; width:39px; height:39px; display:grid; place-items:center }
.enquiry { background:var(--night); color:white; padding-block:clamp(50px,7vw,96px) }
.enquiry-inner { display:grid; grid-template-columns:1.6fr 1fr; gap:32px; align-items:end }
.enquiry p { color:#d3e2df; margin-bottom:16px; max-width:360px }
.subhero { color:white; padding:clamp(46px,7vw,91px) 0; background:linear-gradient(90deg,#0b202cf8,#102d39dc 44%,#123b465e),var(--page-photo) center 46%/cover }
.subhero p { max-width:545px; color:#e1eeea; margin-top:17px }
.bodycopy { max-width:725px }
.bodycopy h2 { margin-bottom:16px }
.bodycopy p,.bodycopy ul { margin-bottom:22px; color:var(--muted) }
.workflow { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(0,1fr); gap:clamp(18px,4vw,64px); align-items:start; padding:48px 0 78px }
.workflow form,.workflow fieldset { min-width:0 }
.workflow fieldset { margin:0 0 28px; padding:23px; border:1px solid var(--line); border-radius:7px; background:var(--white) }
.workflow legend { padding-inline:8px; font:1.5rem/1.3 var(--serif) }
.workflow legend span { display:inline-grid; place-items:center; width:32px; height:32px; margin-right:7px; border-radius:50%; background:var(--mint); font:750 .78rem system-ui }
.fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px }
.workflow label { display:block; margin-bottom:10px; font-size:.86rem; font-weight:700 }
.workflow small { color:var(--muted); font-weight:400 }
.workflow input,.workflow select,.workflow textarea { display:block; width:100%; margin-top:6px; padding:10px; min-height:45px; font:inherit; color:var(--ink); background:white; border:1px solid #a9bab5; border-radius:4px }
.workflow textarea { resize:vertical }
.workflow [hidden] { display:none }
.workflow button { font-family:inherit }
.secondary { padding:9px 12px; background:transparent; border:1px solid #8ba39c; border-radius:3px; color:var(--ink); font-size:.85rem; font-weight:700; cursor:pointer }
.secondary:hover { background:#e4f2eb }
.item { margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid var(--line) }
.hint { margin:9px 0; font-size:.85rem; color:var(--muted) }
.summary { position:sticky; top:22px; padding:clamp(19px,3vw,34px); background:#dfeee8; border-top:4px solid #356c61; border-radius:4px; overflow-wrap:anywhere }
.summary h2 { font-size:clamp(1.9rem,3vw,2.9rem) }
.summary h3 { margin-top:21px }
.summary ul { padding-left:21px }
.summary address { font-style:normal; margin-top:13px }
.summary iframe { width:100%; height:230px; border:0; border-radius:4px; margin-bottom:9px }
@media(max-width:880px) {
  .bar { padding-block:15px; flex-wrap:wrap; gap:12px }
  nav { justify-content:start }
  .workflow { grid-template-columns:1fr }
  .summary { position:static }
}
@media(max-width:650px) {
  .grid,.enquiry-inner { grid-template-columns:1fr }
  .intro { flex-direction:column; align-items:start; gap:13px }
  .service-card { min-height:170px; gap:17px }
  .hero h1 { font-size:clamp(3.1rem,11vw,4.5rem) }
}
@media(max-width:470px) {
  .fields { grid-template-columns:1fr; gap:0 }
  .workflow fieldset { padding:15px }
  nav .button { min-height:36px; padding:5px 10px }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto }
  .service-card { transition:none }
}

/* Page-specific photography and compact buyer entry */
.subhero { background:linear-gradient(90deg,#0b202cfa,#102d39c2 45%,#123b4650),var(--page-photo) center var(--photo-y,50%)/cover }
.photo-chandlery { --page-photo:url("chandlery-hero.webp"); --photo-y:54%; padding-block:clamp(36px,5vw,66px) }
.photo-safety { --page-photo:url("safety-hero.webp"); --photo-y:44% }
.photo-about { --page-photo:url("about-hero.webp"); --photo-y:54% }
.photo-quote { --page-photo:url("quote-hero.webp"); --photo-y:60% }
.photo-contact { --page-photo:url("contact-hero.webp"); --photo-y:54% }
.quick-workflow { padding-block:35px }
.quick-workflow fieldset { margin-bottom:0 }
.quick-workflow .summary p { margin-top:12px }
.editorial { display:grid; grid-template-columns:1.15fr 1fr; gap:clamp(18px,6vw,90px); align-items:center }
.editorial p,.contact-note p { color:var(--muted); margin-bottom:15px }
.detail-grid .service-card { min-height:155px; justify-content:center }
.contact-note { border-top:1px solid var(--line); padding-block:35px 55px }
.contact-note h2 { font-size:clamp(1.8rem,3.5vw,3rem); margin-bottom:14px }
@media(max-width:680px) { .editorial { grid-template-columns:1fr } .subhero { background-image:linear-gradient(90deg,#0b202cfa,#102d3999),var(--page-photo) } }

/* Fixed footer with space reserved for wrapped content on smaller screens. */
body { padding-bottom:var(--footer-height,60px) }
html { scroll-padding-bottom:calc(var(--footer-height,60px) + 12px) }
.aga-footer { position:fixed; z-index:5; inset:auto 0 0; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:18px; align-items:center; min-height:60px; padding:8px clamp(16px,1.85vw,38px) calc(8px + env(safe-area-inset-bottom)); background:#111827; color:#f2f5fa; font:14px/1.35 Arial,sans-serif }
.footer-credit,.footer-engineered,.footer-origin,.footer-location { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px }
.footer-engineered { gap:10px; white-space:nowrap }
.footer-engineered a,.footer-engineered img { display:block }
.footer-engineered img { object-fit:contain }
.footer-location { justify-self:end; justify-content:flex-end }
.footer-origin,.footer-location>span,.footer-location time { white-space:nowrap }
.footer-location time { font-variant-numeric:tabular-nums; min-inline-size:155px }
.footer-flag { font-size:22px; line-height:1 }
.footer-pin { display:inline-block; position:relative; width:9px; height:11px; margin-right:6px; border:1px solid #e3bc76; border-radius:50% 50% 50% 0; transform:rotate(-45deg); vertical-align:-1px }
.footer-pin::after { content:""; position:absolute; top:2px; left:2px; width:3px; height:3px; border:1px solid #e3bc76; border-radius:50% }
.photo-contact { --photo-y:51%; background-image:linear-gradient(90deg,#0b202cf5,#102d399e 45%,#123b461f),var(--page-photo) }
@media(max-width:920px) { .aga-footer { grid-template-columns:1fr; gap:4px; font-size:12px } .footer-credit,.footer-origin,.footer-location { justify-self:center; justify-content:center; column-gap:10px } .footer-location time { min-inline-size:0 } }

.preview-label { position:sticky; top:0; z-index:4; padding:6px 16px; text-align:center; background:#cceee0; color:#102833; font-size:.8rem; font-weight:750 }
.hero,.subhero { position:relative; isolation:isolate; overflow:hidden }
#preview-result { width:min(620px,calc(100% - 32px)); max-height:80vh; border:1px solid #a9bab5; border-radius:8px; padding:24px; color:#102833; background:#fffefa }
#preview-result::backdrop { background:#07131bd0 }
#preview-result h2 { font-size:2.4rem }
#preview-result p { margin-top:12px }
#preview-result pre { white-space:pre-wrap; overflow-wrap:anywhere; padding:14px; background:#edf2ed }
