/* Neil Mackin Photography
   Palette: a cool gallery wall, with violet and amber taken from stage gels */
:root {
  --paper: #e6eaed;
  --paper-2: #f5f7f8;
  --ink: #17202e;
  --muted: #535d6d;
  --gel: #6a2c9e;
  --tungsten: #e3a13b;
  --line: #c3cbd2;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--body);
  font-optical-sizing: auto;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gel); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tungsten); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-stretch: 72%; font-weight: 750; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-stretch: 80%; }
h3 { font-size: 1.3rem; font-stretch: 90%; font-weight: 650; }
p { margin: 0 0 1em; max-width: var(--measure); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  font: 650 1rem/1 var(--display);
  font-stretch: 95%;
  background: var(--gel);
  color: #fff;
  border: 0;
  border-radius: 2px;
  padding: .95rem 1.4rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #561f85; }
.btn-small { padding: .65rem 1rem; font-size: .95rem; }
.link { font-family: var(--display); font-weight: 600; color: var(--ink); margin-left: 1rem; }

/* Header */
.site-head {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .9rem var(--gutter);
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink);
  font: 700 1.05rem/1.05 var(--display); font-stretch: 85%; }
.brand small { font-weight: 450; color: var(--muted); font-size: .85rem; }
.brand-mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; background: var(--ink); color: var(--paper);
  font-stretch: 62%; font-size: 1.15rem; letter-spacing: .02em; }
.site-head nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-head nav a { font: 550 1rem var(--display); color: var(--ink); text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-head nav a:hover, .site-head nav a[aria-current] { border-color: var(--gel); }
@media (max-width: 820px) {
  .site-head { flex-wrap: wrap; gap: .6rem 1rem; }
  .site-head nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: .5rem; }
  .site-head .btn-small { margin-left: auto; }
}

main > section, .theme-intro, .more { padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter); }

/* Hero: copy beside four tall theme panels */
.hero {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) 2.4fr;
  gap: var(--gutter);
  align-items: end;
  padding-top: clamp(2rem, 4vw, 3rem) !important;
}
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); hyphens: manual; }
.hero-copy p { color: var(--muted); font-size: 1.2rem; }
.hero-copy .hero-cta { margin-top: 1.8rem; }
.panels { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; height: min(78vh, 46rem); }
.panel { position: relative; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; }
.panel picture, .panel img { width: 100%; height: 100%; }
.panel img { object-fit: cover; transition: transform .6s ease, opacity .3s; }
.panel::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(23,32,46,.85)); }
.panel-name {
  position: absolute; left: .55rem; bottom: .9rem; z-index: 1;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 800 clamp(2.4rem, 4.6vw, 4.6rem)/.9 var(--display);
  font-stretch: 62%;
  letter-spacing: -.01em;
}
.panel:hover img { transform: scale(1.04); }
.panel:hover .panel-name, .panel:focus-visible .panel-name { color: var(--tungsten); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .panels { grid-template-columns: repeat(2, 1fr); height: auto; }
  .panel { aspect-ratio: 3 / 4; }
}

/* Services */
.services ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2.5rem var(--gutter); }
.services li { border-top: 2px solid var(--ink); padding-top: 1rem; }
.services h3 a { color: var(--ink); text-decoration: none; }
.services h3 a:hover { color: var(--gel); }
.services p { color: var(--muted); font-size: 1rem; }

/* Galleries */
.gallery { columns: 3 18rem; column-gap: .6rem; padding: 0 var(--gutter); }
.gallery-4 { columns: 4 14rem; padding: 0; }
.gallery figure { margin: 0 0 .6rem; break-inside: avoid; background: #cfd6dc; }
.gallery a { display: block; cursor: zoom-in; }
.gallery img { width: 100%; }
.gallery a:hover img { opacity: .9; }
.selection { padding-bottom: 2rem !important; }

/* Process (a real sequence, so numbered) */
.process ol { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem var(--gutter); }
.process li { counter-increment: step; }
.process li::before { content: counter(step); display: block; font: 800 3.5rem/1 var(--display); font-stretch: 62%; color: var(--gel); margin-bottom: .4rem; }
.process p { font-size: 1rem; color: var(--muted); }

.about { border-top: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gutter); }
.about p { font-size: 1.2rem; line-height: 1.7; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

/* Enquiry */
.enquire {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--gutter);
}
.enquire h2 { color: #fff; }
.enquire a { color: var(--tungsten); }
.enquire .direct { margin-top: 1.5rem; font-size: 1rem; color: #b9c2cc; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.wide { grid-column: 1 / -1; }
.field label { font: 550 .95rem var(--display); color: #dfe5ea; }
.opt { font-weight: 400; color: #9aa5b1; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper-2); border: 2px solid transparent; border-radius: 2px;
  padding: .7rem .8rem; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--tungsten); }
.form [aria-invalid="true"] { border-color: #ff8a80; }
.actions { flex-direction: row; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.actions .btn { background: var(--tungsten); color: var(--ink); }
.actions .btn:hover { background: #f0b552; }
.actions .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-size: 1rem; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 820px) { .enquire, .form { grid-template-columns: 1fr; } }

/* Theme pages */
.theme-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem var(--gutter); align-items: start; padding-bottom: 3rem !important; }
.theme-intro h1 { grid-column: 1 / -1; max-width: 14ch; }
.theme-intro .lede { font-size: 1.3rem; line-height: 1.6; }
.good-for { border-left: 2px solid var(--gel); padding-left: 1.4rem; }
.good-for h2 { font-size: 1.3rem; font-stretch: 90%; }
.good-for ul { padding-left: 1.1rem; margin: 0 0 1.5rem; font-size: 1rem; }
.good-for li { margin-bottom: .3rem; }
@media (max-width: 820px) { .theme-intro { grid-template-columns: 1fr; } }
main > .enquire { margin-top: clamp(3rem, 6vw, 5rem); }
.more { display: flex; flex-wrap: wrap; gap: .8rem 2rem; align-items: baseline; }
.more h2 { font-size: 1.3rem; margin: 0 1rem 0 0; }
.more a { font: 600 1.1rem var(--display); color: var(--ink); }

.simple { padding: clamp(4rem, 10vw, 8rem) var(--gutter); min-height: 50vh; }

/* Footer */
.site-foot { padding: 2.5rem var(--gutter) 3rem; font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); }
.site-foot p { margin: 0 0 .4rem; }
.site-foot a { margin-right: 1rem; }
.small { font-size: .85rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(14, 19, 28, .94); }
.lightbox img { width: auto; height: auto; max-width: 92vw; max-height: 84vh; margin: 5vh auto 0; object-fit: contain; }
.lb-caption { color: #c7cfd7; text-align: center; margin: .8rem auto; font-size: .95rem; }
.lightbox button { position: fixed; background: none; border: 0; color: #fff; font: 300 3rem/1 var(--display); cursor: pointer; padding: .5rem 1rem; }
.lightbox button:hover { color: var(--tungsten); }
.lb-close { top: .5rem; right: .5rem; }
.lb-prev { left: .25rem; top: 45%; }
.lb-next { right: .25rem; top: 45%; }
