/* F11 Photography — loosely based on the old site's look (white, orange, charcoal), mobile first */
:root {
  --ink: #333;             /* old headings */
  --text: #666;            /* old body text */
  --muted: #888;
  --bg: #fff;
  --page: #fbfbfb;         /* old page-title band */
  --grey: #f1f1f1;         /* old light band */
  --grey-2: #e0e0e0;       /* old "More about what we do" band */
  --line: #e2e2e2;
  --orange: #ff7700;       /* old menu + photo borders */
  --orange-ink: #b85300;   /* orange dark enough for small text on white */
  --orange-band: #f3843e;  /* old "Contact us today" band */
  --gold: #edb059;         /* old links on dark */
  --charcoal: #25242c;     /* old dark sections */
  --black: #000;
  --radius: 6px;
  --wrap: 1080px;
  --measure: 860px;
  --font: "Open Sans", Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.7 var(--font); color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 2px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 600; margin: 1.5em 0 .5em; }
h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.25rem); }
h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.7rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }
p, ul, ol { margin: 0 0 1.1em; }
strong { color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- buttons: outlined like the old site's "Read More" / "Click Here" */
.button, a.button { display: inline-block; background: transparent; color: var(--ink); text-decoration: none; font: 600 1rem/1.2 var(--font); padding: 11px 22px; border-radius: 3px; border: 2px solid var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: var(--ink); color: #fff; }
.button.primary { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }
.button.primary:hover { background: var(--orange); border-color: var(--orange); }
.button.dark { background: var(--charcoal); border-color: var(--charcoal); color: #fff; text-transform: uppercase; letter-spacing: .04em; padding: 14px 28px; }
.button.dark:hover { background: #000; border-color: #000; }

/* ---------- header: white, orange menu text, orange line (as the old site) */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 2px solid var(--orange); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 66px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; flex-shrink: 0; padding: 6px 0; }
.logo-img { width: 46px; height: 46px; }
.brand-text { font-weight: 700; font-size: 1.05rem; line-height: 1.2; white-space: nowrap; }
.brand-text small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 2px solid var(--orange); border-radius: 3px; padding: 7px 14px; font: 600 .95rem var(--font); color: var(--orange-ink); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.site-nav { display: none; width: 100%; padding-bottom: 12px; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a, .sub-toggle { display: block; width: 100%; text-align: left; padding: 11px 4px; color: var(--orange-ink); text-decoration: none; font: 600 1rem var(--font); background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.sub-toggle::after { content: "⌄"; float: right; }
.sub { display: none; padding-left: 14px !important; }
.has-sub.open > .sub { display: block; }
.sub a { font-weight: 400; color: var(--ink); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.site-nav .cta a { text-align: center; margin-top: 10px; border: 2px solid var(--orange); border-radius: 3px; }
@media (min-width: 1000px) and (max-width: 1179px) { .brand-text { display: none; } }
@media (min-width: 1000px) {
  .header-inner { flex-wrap: nowrap; }
  .site-header .wrap { max-width: 1240px; }
  .menu-toggle { display: none; }
  .site-nav { display: block; width: auto; padding: 0; }
  .site-nav > ul { display: flex; align-items: center; gap: 4px; }
  .site-nav > ul > li { position: relative; }
  .site-nav a, .sub-toggle { border: 0; padding: 8px 10px; font-size: .9rem; white-space: nowrap; }
  .site-nav > ul > li > a:hover, .sub-toggle:hover { color: var(--orange); }
  .sub-toggle::after { float: none; margin-left: 4px; }
  .sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-top: 3px solid var(--orange); box-shadow: 0 2px 5px rgba(0,0,0,.1); padding: 10px 0 !important; }
  .sub a { padding: 7px 20px; font-size: .9rem; }
  .sub a:hover { color: var(--orange); background: #fafafa; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
  .site-nav .cta a { margin: 0 0 0 8px; padding: 7px 16px; }
  .site-nav .cta a:hover { background: var(--orange); color: #fff; }
}

/* ---------- page title: centred, light (as the old site) */
.page-title { background: var(--page); padding: 34px 0 30px; text-align: center; border-bottom: 1px solid #f0f0f0; }
.page-title h1 { margin: .2em auto .3em; max-width: 900px; }
.page-title .lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--ink); max-width: 820px; margin: 0 auto .8em; }
.page-title .lead strong { font-weight: 400; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 1.1em 0 0; }
.crumbs { font-size: .82rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.title-logo { width: 170px; margin: 14px auto 18px; }
.title-photo { margin: 28px auto 0; max-width: 900px; }
.t-home .page-title { padding-top: 40px; }

/* ---------- sections */
.sec { padding: 44px 0; }
@media (min-width: 900px) { .sec { padding: 60px 0; } }
.sec.alt { background: var(--grey); }
.sec-form { background: #fffbfb; border-top: 1px solid #f3eaea; }
.sec .inner > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.sec .inner > .gallery, .sec .inner > .cards { max-width: none; }
.sec .inner > :first-child, .media-text > :first-child { margin-top: 0; }
.sec .inner > :last-child, .media-text > :last-child { margin-bottom: 0; }
.sec h2 { text-align: center; margin-bottom: .8em; }
.media h2 { text-align: center; }
.sec h2 a, .sec h3 a { color: var(--orange-ink); }
.sec ul { padding-left: 1.2em; }
.sec li { margin-bottom: .4em; }
.sec li::marker { color: var(--orange); }
.sec ol { padding-left: 1.3em; }
.sec hr { border: 0; border-top: 1px solid #cfe3f3; margin: 2em auto; }
.sec blockquote { margin: 1.5em auto; padding: 14px 20px; background: #fff; border-left: 3px solid var(--orange); font-style: italic; }

/* dark band (old "Our services / About us" block) */
.sec.dark { background: var(--charcoal); color: #ddd; }
.sec.dark h2, .sec.dark h3, .sec.dark strong { color: #fff; }
.sec.dark a { color: var(--gold); }

/* text + one photo, side by side */
.media-grid { display: grid; gap: 26px; align-items: center; }
.media-img figure { margin: 0; }
@media (min-width: 900px) {
  .media-grid { grid-template-columns: 1.2fr .8fr; gap: 44px; }
  .img-left .media-grid { grid-template-columns: .8fr 1.2fr; }
  .img-left .media-img { order: -1; }
}

/* ---------- photos: thin orange border, rounded corners, never cropped (as the old site) */
figure.photo, .title-photo { margin: 1.8em auto; }
figure.photo img, .gallery img, .media-img img, .title-photo img, .card img { border: 2px solid var(--orange); border-radius: var(--radius); }
.gallery { columns: 2; column-gap: 12px; margin: 1.8em 0; }
.gallery figure { margin: 0 0 12px; break-inside: avoid; }
.gallery img { width: 100%; height: auto; cursor: zoom-in; transition: opacity .2s; }
.gallery img:hover { opacity: .88; }
@media (min-width: 700px) { .gallery { column-gap: 16px; } .gallery figure { margin-bottom: 16px; } .gallery.g3, .gallery.g4 { columns: 3; } }
@media (min-width: 1000px) { .gallery.g4 { columns: 4; } }

/* ---------- homepage cards (old "blurbs": bordered photo, centred title) */
.cards { display: grid; gap: 34px 30px; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; text-align: center; }
.card figure { margin: 0 0 14px; }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: 50% 30%; transition: opacity .2s; }
.card:hover img { opacity: .9; }
.card .card-body { padding: 0 6px; }
.card h3 { margin: 0 0 .35em; font-size: 1.35rem; font-weight: 500; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }        /* whole card clickable */
.card:hover h3 a { color: var(--orange-ink); }
.card p { margin: 0; font-size: .95rem; }

/* FAQ fold-outs (old FAQ sat in a grey band) */
.sec-faq { background: var(--grey); }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 3px; margin: 0 auto 10px; }
details.faq summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 18px; font-weight: 600; color: var(--ink); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.4rem; line-height: 1; }
details.faq[open] summary::after { content: "−"; }
.faq-a { padding: 0 18px 4px; }

/* notices + tables */
.notice { background: var(--grey); border-left: 3px solid var(--orange); padding: 12px 16px; }
.notice.decision { background: #fff7e0; border: 2px dashed #d4a017; border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; margin: 1em 0; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
th { background: var(--grey); color: var(--ink); }

/* ---------- forms (old: plain light inputs) */
form.enquiry { margin: 1.4em auto; }
@media (min-width: 700px) {
  form.enquiry { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  form.enquiry > * { grid-column: 1 / -1; }
  form.enquiry > .field:has(input[type=text]), form.enquiry > .field:has(input[type=email]), form.enquiry > .field:has(input[type=tel]), form.enquiry > .field:has(select) { grid-column: auto; }
}
.field { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: 5px; font-size: .92rem; }
.field .opt { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; margin: 5px 0; cursor: pointer; color: var(--text); }
.field .opt input { margin-top: .35em; accent-color: var(--orange-ink); width: 17px; height: 17px; flex: 0 0 17px; }
.req { color: var(--orange-ink); }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #bbb; border-radius: 3px; background: #f9f9f9; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(255,119,0,.18); }
input[type=file] { font: inherit; }
.field small { display: block; color: var(--muted); margin-top: 4px; }
.field.invalid input, .field.invalid select, .field.invalid textarea, fieldset.invalid { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: .88rem; margin: 6px 0 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin: 6px 0 12px; }
.form-actions .button { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; min-width: 160px; }
.form-actions .button:hover { background: var(--orange); border-color: var(--orange); }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: 3px; font-weight: 600; }
.form-status.ok { background: #e6f4ea; color: #1e5631; }
.form-status.bad { background: #fdecea; color: #8a1c13; }
.form-privacy { font-size: .86rem; color: var(--muted); margin: 0; }
[data-show-if-other][hidden] { display: none; }

/* ---------- orange "contact us today" band, charcoal footer, black strip (as the old site) */
.cta-band { background: var(--orange-band); color: #fff; padding: 46px 0; text-align: center; }
.cta-band h2 { color: #fff; margin: 0 0 .4em; }
.cta-band a:not(.button) { color: #fff; font-weight: 600; }
.cta-band .hero-ctas { justify-content: center; }
.site-footer { background: var(--charcoal); color: #ccc; padding: 46px 0 0; font-size: .93rem; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 .9em; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand h2 { margin: 0; }
.footer-logo { width: 54px; height: 54px; background: #fff; border-radius: 50%; padding: 2px; }
.site-footer a { color: var(--orange); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer address { font-style: normal; margin-bottom: .8em; color: var(--orange); }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.site-footer li { margin-bottom: .4em; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-block; padding: 4px 11px; border: 1px solid #4a4952; border-radius: 3px; font-size: .85rem; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; padding-bottom: 34px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; } }
.site-footer .areas { border-top: 1px solid #3a3942; padding-top: 22px; padding-bottom: 26px; }
.site-footer .areas p { margin: 0; }
.legal { background: var(--black); border-top: 6px solid var(--orange-band); color: #fff; font-size: .82rem; padding: 14px 0; }
.legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.legal p { margin: 0; }

/* cookie consent */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; max-width: 560px; background: #fff; color: var(--text); border-top: 4px solid var(--orange); border-radius: 4px; box-shadow: 0 6px 30px rgba(0,0,0,.25); padding: 16px 18px; font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 10px; }
.consent-buttons { display: flex; gap: 10px; margin: 0 !important; }
.consent .button { padding: 8px 20px; }
@media (min-width: 700px) { .consent { left: 20px; bottom: 20px; right: auto; } }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--orange); cursor: pointer; text-decoration: underline; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.lightbox img { max-height: 92vh; width: auto; }
.lightbox button { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
