/* ============================================================
   Morris UK — shared styles
   Tone: modern folk, warm, tactile, slightly eccentric, not twee.
   Accessibility: base 20px, large tap targets, strong contrast,
   visible focus rings, generous spacing.
   ============================================================ */

:root {
  --green: #1f4a36;
  --green-deep: #133626;
  --green-darker: #0d2519;
  --cream: #f5ebd6;
  --cream-warm: #ede0c3;
  --cream-deep: #e2d2a6;
  --ochre: #c89328;
  --ochre-soft: #e0b850;
  --ribbon: #b8341a;
  --ribbon-deep: #8a2510;
  --ink: #181715;
  --ink-soft: #4a443a;
  --ruled: #d9c69f;
  --ruled-deep: #c2ab78;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;

  --tap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper texture overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .05;
  mix-blend-mode: multiply;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.6) 0, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,.5) 0, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(0,0,0,.4) 0, transparent 1px);
  background-size: 7px 7px, 11px 11px, 9px 9px;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }

::selection { background: var(--ochre); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ribbon);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  top: -100px; left: 0;
  background: var(--green-deep);
  color: var(--cream);
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-decoration: none;
  z-index: 1000;
}
.skip:focus { top: 0; }

/* ---------- TOP BAR ---------- */
.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--ruled);
  backdrop-filter: blur(8px);
}
.site-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  min-height: var(--tap);
}
.brand .mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.brand .mark::before {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  background: var(--ochre);
}
.brand .mark::after {
  content: "M";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "wght" 900;
  font-size: 26px;
  color: var(--green-deep);
  line-height: 1;
  z-index: 1;
}
.brand .wordmark-text {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: nowrap;
}
.brand .text {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "wght" 700, "SOFT" 30;
  font-size: 22px;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}
.brand small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.brand small::before {
  content: "·";
  margin-right: 10px;
  color: var(--ruled-deep);
}
@media (max-width: 1200px) {
  .brand small { display: none; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 12px 14px;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ribbon); background: rgba(184,52,26,.06); }
.site-nav a.current { color: var(--green-deep); }
.site-nav a.current::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ochre);
  margin-left: 8px;
}

/* mobile-nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ruled);
  border-radius: 2px;
  padding: 0 18px;
  min-height: var(--tap);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- BUTTONS / CTAs ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  padding: 14px 28px;
  border: 0;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--ribbon);
  color: var(--cream);
}
.btn-primary:hover { background: var(--ribbon-deep); transform: translateY(-2px); }
.btn-secondary {
  background: var(--green-deep);
  color: var(--cream);
}
.btn-secondary:hover { background: var(--green-darker); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border: 1px solid var(--green-deep);
}
.btn-ghost:hover { background: var(--green-deep); color: var(--cream); }
.btn::after { content: "→"; font-size: 16px; }
.btn.no-arrow::after { display: none; }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ribbon);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--ribbon);
  opacity: .5;
}

h1.display, h2.display, h3.display {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "wght" 700, "SOFT" 60;
  color: var(--green-deep);
  letter-spacing: -.025em;
  line-height: .95;
  margin: 0 0 28px;
}
h1.display { font-size: clamp(48px, 8vw, 104px); }
h2.display { font-size: clamp(38px, 5.5vw, 76px); }
h3.display { font-size: clamp(28px, 3.5vw, 44px); }

h1.display em, h2.display em, h3.display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 100;
  color: var(--ribbon);
}

.lede {
  font-size: 24px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 38em;
}
.body-large {
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38em;
}

.measure { max-width: 38em; }

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 100px 0;
  position: relative;
}
.section--cream-warm { background: var(--cream-warm); }
.section--green {
  background: var(--green-deep);
  color: var(--cream);
}
.section--green .eyebrow { color: var(--ochre-soft); }
.section--green .eyebrow::before { background: var(--ochre-soft); }
.section--green h1.display,
.section--green h2.display,
.section--green h3.display { color: var(--cream); }
.section--green h1.display em,
.section--green h2.display em,
.section--green h3.display em { color: var(--ochre-soft); }
.section--green .body-large { color: rgba(245,235,214,.85); }

/* ---------- bumblebee stripe ---------- */
.stripe {
  height: 18px;
  background: repeating-linear-gradient(135deg,
    #1a1a1a 0 16px,
    var(--ochre) 16px 32px);
}

/* ---------- footer ---------- */
.site-foot {
  background: var(--green-darker);
  color: var(--cream);
  padding: 70px 0 50px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .1em;
}
.site-foot-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
}
.site-foot h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre-soft);
  margin: 0 0 18px;
  font-weight: normal;
}
.site-foot a {
  color: var(--cream);
  text-decoration: none;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.site-foot a:hover {
  color: var(--ochre-soft);
  border-bottom-color: var(--ochre-soft);
}
.site-foot .lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.site-foot .lockup .mark { width: 48px; height: 48px; }
.site-foot .lockup-text {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "wght" 700;
  font-size: 24px;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--cream);
}
.site-foot p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(245,235,214,.8);
  text-transform: none;
  margin: 0 0 20px;
  max-width: 36ch;
}
.site-foot .colophon {
  margin-top: 56px;
  padding: 32px 0 0;
  border-top: 1px solid rgba(245,235,214,.12);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  font-size: 11px;
  color: rgba(245,235,214,.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- cards ---------- */
.card {
  background: var(--cream);
  border: 1px solid var(--ruled);
  padding: 32px;
  border-radius: 2px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(19,54,38,.2); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .site-foot-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  body { font-size: 18px; }
  .container { padding: 0 22px; }
  .section { padding: 70px 0; }

  .site-top-inner { padding: 14px 22px; gap: 12px; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid var(--ruled);
    padding: 12px 22px 22px;
    gap: 0;
  }
  .site-nav.open a {
    border-bottom: 1px solid var(--ruled);
    padding: 16px 8px;
    width: 100%;
    font-size: 14px;
  }
  .site-nav.open a:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; align-items: center; }

  .brand .text { font-size: 19px; }
  .brand .mark { width: 40px; height: 40px; }
  .brand .mark::after { font-size: 22px; }

  .lede { font-size: 20px; }
  .body-large { font-size: 18px; }

  .site-foot { padding: 50px 0 36px; }
  .site-foot-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 22px; }
  .site-foot .colophon { padding-left: 22px; padding-right: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb-trigger { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 37, 25, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  user-select: none;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(245,235,214,.12);
  color: var(--cream);
  border: 1px solid rgba(245,235,214,.3);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(245,235,214,.25); transform: scale(1.05); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-caption {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  text-align: center;
  color: rgba(245,235,214,.85);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 0 24px;
}

@media (max-width: 760px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-prev  { left: 8px; }
  .lightbox-next  { right: 8px; }
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 6px;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ruled);
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.gallery-item:hover img { transform: scale(1.04); filter: brightness(.95) saturate(1.05); }

.gallery-section {
  margin: 0 0 80px;
}
.gallery-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid var(--ruled);
  padding-bottom: 18px;
  margin-bottom: 28px;
  gap: 24px;
  flex-wrap: wrap;
}
.gallery-section-head h2 {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "wght" 600;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--green-deep);
  margin: 0;
}
.gallery-section-head p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}
