/*
  Shared styles. Measurements follow the reference site at 1440px wide.
  One look on every device: warm off-white pages, black and white photography sections.
*/
:root {
  --bg: #eeedeb;
  --strong: #202020;
  --soft: #8a8986;
  --ui: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --serif: "adobe-garamond-pro", "EB Garamond", Garamond, Georgia, serif;
  --brand: "orpheus-pro", "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --fs-nav: clamp(12px, .883vw, 15px);
  --fs-brand: clamp(17px, 1.351vw, 22px);
  --gut: clamp(24px, 4.03vw, 70px);   /* page edge, shared with the top bar */
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font: 400 17px/1.55 var(--ui);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Top bar on every page: menu (12.7px Libre Franklin) top left, name (19.5px serif, 0.1em tracking) centred. */
.site-head {
  position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 88px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  padding: calc(19px + env(safe-area-inset-top, 0px)) var(--gut) 0;
  color: var(--strong); background: var(--bg);
}
.site-head nav { display: flex; flex-wrap: wrap; gap: 2px 24px; max-width: 350px; font: 400 var(--fs-nav)/1.8 var(--ui); }
.site-head nav a { border-bottom: 1px solid transparent; line-height: 1.5; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { border-color: currentColor; }
.site-head .brand { margin-top: 10px; font: 400 var(--fs-brand)/1.3 var(--brand); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.site-head .social { justify-self: end; margin-top: 15px; width: 20px; height: 20px; }
.site-head .social svg { width: 20px; height: 20px; display: block; }
.site-head .menu-btn { display: none; }
.site-head.over-image { color: #fff; background: linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,0)); text-shadow: 0 0 10px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.35); }
.menu-panel {
  position: fixed; inset: 0; z-index: 30; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--bg); color: var(--strong); font: 400 24px/1.3 var(--ui);
}
.menu-panel.open { display: flex; }
.menu-panel .close { position: absolute; top: calc(22px + env(safe-area-inset-top, 0px)); right: var(--gut); background: none; border: 0; color: inherit; font: inherit; font-size: 15px; cursor: pointer; }

/* Text pages (Equipment). */
.page { padding: 150px var(--gut) 120px 15.5vw; }
.section { margin: 0; color: var(--strong); font: 500 26px/1.1 var(--serif); }
.list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }

/* Load-in: each block rises into place in turn. */
.rise { animation: rise .75s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(min(var(--i, 0), 8) * 100ms + 250ms); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .page { padding: 118px var(--gut) 80px; }
  .site-head { grid-template-columns: 1fr auto; height: 72px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .site-head nav, .site-head .social, .site-head > span { display: none; }
  .site-head .brand { order: -1; margin-top: 4px; font-size: 22px; letter-spacing: .06em; }
  .site-head .menu-btn { display: block; margin-top: 10px; width: 34px; height: 14px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
    border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
}
