@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #0a0d14;
  --text: #e6ecf5;
  --primary: #4f8cff;
  --accent: #7c8aa5;
  --button: #141a26;
  --radius: 10px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --dim: rgba(230, 236, 245, 0.62);
  --faint: rgba(230, 236, 245, 0.4);
  --edge: rgba(230, 236, 245, 0.15);
  --edge-strong: rgba(230, 236, 245, 0.28);
  --primary-soft: rgba(79, 140, 255, 0.55);
  --primary-glow: rgba(79, 140, 255, 0.18);
  --on-primary: #ffffff;
  --shadow: rgba(0, 0, 0, 0.55);
  /* Reading measure for prose, kept near 65 characters. */
  --measure: 27rem;
  /* Buttons are separate: they can run wider than text without hurting
     legibility, so changing them must not drag the bio out with it. Held at
     the reference page's measure — wider than this and a row of three reads as
     a stretched bar rather than a stack of buttons. */
  --buttons: 27rem;
}

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

html { background: var(--background); }

/* Scrollbars, in whatever colours this page was given. A default grey bar down
   the edge of a dark page is the one piece of chrome that gives away that the
   page was made by a tool.

   --edge-strong and --faint are both the page's own text colour at low alpha,
   so this follows a light theme as readily as a dark one, and the browser's
   own bar is the fallback anywhere neither syntax lands.

   Setting scrollbar-color makes an engine ignore ::-webkit-scrollbar, so the
   webkit block only runs where the standard properties do not exist. */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--edge-strong) transparent;
}

@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb {
    background: var(--edge-strong);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: padding-box;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--faint);
    background-clip: padding-box;
  }
  ::-webkit-scrollbar-corner { background: transparent; }
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  flex: none;
  width: 100%;
  background-image: var(--cover);
  background-position: center 26%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Dissolve the photo into the page instead of stopping at a hard edge. This
   is what makes a link page read as a website. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 20, 0.25) 0%,
    rgba(10, 13, 20, 0) 22%,
    rgba(10, 13, 20, 0) 46%,
    rgba(10, 13, 20, 0.72) 80%,
    var(--background) 100%
  );
}

/* Full stops short of the whole screen on purpose. At 100svh the first screen
   is a photograph and nothing else, which reads as a page that failed to load
   rather than one making an entrance; a sliver of what is underneath is what
   says "keep going". The photo is cropped to fill rather than fitted, since a
   height this large would otherwise leave bars on any cover that is not
   roughly the shape of the screen. */
.hero--full      { height: 78svh; }
.hero--cinematic { aspect-ratio: 1800 / 1148; max-height: 40svh; }
.hero--banner    { aspect-ratio: 3 / 1;  max-height: 28svh; }
.hero--none      { height: clamp(2rem, 8svh, 4.5rem); }
.hero--none::after { display: none; }

/* The fade is tuned for a band a third of the screen tall. Over something this
   size it would spend most of its length invisible, so it is pushed down to
   sit in the bottom quarter and the photo stays a photo until then. */
.hero--full::after {
  background: linear-gradient(
    180deg,
    rgba(10, 13, 20, 0.25) 0%,
    rgba(10, 13, 20, 0) 12%,
    rgba(10, 13, 20, 0) 68%,
    rgba(10, 13, 20, 0.72) 88%,
    var(--background) 100%
  );
}

@media (min-width: 48rem) {
  /* Anchored near the top of the frame: on a wide crop, a larger offset
     slides the window down and slices heads off. */
  .hero { background-image: var(--cover-wide); background-position: center 8%; }
  .hero--cinematic { max-height: 46svh; }
  /* A wide screen is shorter in proportion, so the same fraction reads as more
     of the page. Centred rather than anchored high: at this height there is
     room for the whole subject, and the top-anchoring that saves a cinematic
     crop from slicing heads off would strand this one against the ceiling. */
  .hero--full { height: 82svh; background-position: center; }

  /* The hero keeps its full height and the page scrolls if it must. An
     earlier version let it shrink to absorb overflow, which quietly stole
     a third of the photo from any page with a lot of content. */
}

/* ---------- layout ---------- */

.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 1.5rem 2rem;
  /* Lift the content up so it sits over the photo's fade rather than under
     it. Measured in vw here because on phones the hero's height comes from
     the image's own width — a vh-based lift would swallow most of the photo
     on a tall screen. The wide breakpoint switches to vh, where the hero is
     capped by svh instead. */
  margin-top: clamp(-6.5rem, -20vw, -3rem);
}

/* Must live after the base .page rule, not up with the other wide-screen
   hero rules: same specificity, so whichever comes last in the file wins. */
@media (min-width: 48rem) {
  .page { margin-top: clamp(-13rem, -19vh, -6rem); }
}

.avatar {
  display: block;
  width: clamp(5.5rem, 22vw, 7.5rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--edge-strong);
  box-shadow: 0 0.75rem 2rem var(--shadow);
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.identity {
  text-align: center;
  margin-top: 1.125rem;
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.name {
  margin: 0;
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-shadow: 0 0.25rem 1.25rem var(--shadow);
}

/* A wordmark carries the identity on its own, so the h1 becomes a frame for
   the image and gives up its own type styling. */
.name--logo {
  text-shadow: none;
  line-height: 0;
}

.logo {
  display: block;
  /* The vw half stays under 86vw: .page adds 1.5rem of side padding, so past
     that the padding is what limits the wordmark and the cap stops meaning
     anything. */
  width: min(23rem, 80vw);
  height: auto;
  /* The h1 is as wide as the widest thing in .identity, which is the tagline
     as soon as one runs long — and a block box with a width of its own does
     not follow the centring .identity sets for its text. */
  margin-inline: auto;
  filter: drop-shadow(0 0.5rem 1.5rem rgba(0, 0, 0, 0.55));
}

.tagline {
  margin: 0.625rem 0 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
}

.bio {
  max-width: var(--measure);
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--dim);
  white-space: pre-line;
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* ---------- social icons ---------- */

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1rem;
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.social {
  display: grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 50%;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.social:hover,
.social:focus-visible {
  color: var(--primary);
  background: var(--primary-glow);
  transform: translateY(-2px);
  outline: none;
}

.social:focus-visible { box-shadow: 0 0 0 2px var(--primary-soft); }

/* ---------- links ---------- */

.links {
  display: flex;
  flex-direction: column;
  gap: 0.8125rem;
  width: 100%;
  max-width: var(--buttons);
  /* Grows a little on tall screens, but never enough to strand the links away
     from the name; the footer's auto margin absorbs the rest.

     This has to supply the whole gap, so it is set for a wordmark trimmed to
     its ink — how much air a logo carries is the owner's decision, not
     something to guess at by measuring their file. A logo with its own
     transparent margin will simply sit further from the buttons. */
  margin-top: clamp(1.75rem, 6vh, 4rem);
}

.link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease,
              background-color 0.22s ease, box-shadow 0.22s ease;
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.18s + var(--i, 0) * 0.07s);
}

.link {
  border: 1px solid var(--edge);
  background: rgba(20, 26, 38, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.link:hover, .link:focus-visible { background: rgba(33, 51, 86, 0.75); }

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--primary-soft);
  box-shadow: 0 0.625rem 1.75rem var(--shadow);
  outline: none;
}

/* Hover tints the border, but keyboard focus needs something unmissable. */
.link:focus-visible {
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--primary);
}

.link:active { transform: translateY(0); }

.link-icon {
  display: grid;
  place-items: center;
  flex: 0 0 1.375rem;
  color: var(--accent);
  transition: color 0.22s ease;
}

.link-icon svg { display: block; }

.link:hover .link-icon,
.link:focus-visible .link-icon { color: var(--primary); }

.link-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
}

.label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sublabel {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--faint);
}

.arrow {
  display: grid;
  place-items: center;
  flex: 0 0 1rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-0.375rem);
  transition: opacity 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.arrow svg { display: block; }

.link:hover .arrow,
.link:focus-visible .arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary);
}

/* ---------- product ---------- */

/* A word about whether you can have it, sized like a badge rather than like a
   heading: it is a status, and a status that shouts competes with the buy
   button it sits above.

   Carries its own top margin because it stands alone between the bio and the
   socials — it is not inside .product, which now holds only the brand. */
.product-availability {
  display: inline-block;
  margin: clamp(1rem, 3vh, 1.5rem) 0 0;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--edge-strong);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
/* The three you can act on take the page's colour. The other two are
   information; these are an invitation. */
.product-availability--preorder,
.product-availability--available,
.product-availability--hire {
  border-color: var(--primary);
  color: var(--primary);
}

/* Over rather than merely not yet. Dimmer than the others, because a thing
   nobody can have again should not be the brightest word on the page. */
.product-availability--discontinued {
  color: var(--faint);
  border-color: var(--edge);
}

/* Under the tagline, in the identity block: a credit line, sized below the
   tagline so the order of importance down the page stays name, what it is,
   who made it. */
.product-brand {
  margin: 0.375rem 0 0;
  font-size: 0.75rem;
  color: var(--faint);
}
.product-brand a {
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid var(--edge-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.product-brand a:hover, .product-brand a:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
}

/* ---------- place, contact and hours ---------- */

/* Reference rather than invitation: somebody reads these after they have
   decided, so they take the page's quieter text and none of the link buttons'
   weight. Both sit on the same rhythm as .bio, which is the other block of
   words on the page. */
.place, .hours, .contact {
  margin-top: clamp(1.25rem, 3.5vh, 2rem);
  width: 100%;
  text-align: center;
}

.place-name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.place-address {
  margin: 0.25rem 0 0;
  /* <address> is italic by default in every browser, and this is a postal
     address rather than an aside. */
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--dim);
}

/* Each part on its own line — street, then postcode and town, then region and
   country. How an address is written, and it removes the wrap that was landing
   in the middle of a town name on a phone. Block rather than <br> so the break
   stays a layout decision and not a character in the content. */
.place-address span { display: block; }

.place-phone {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
}
.place-phone a {
  color: var(--primary);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.2s ease;
}
.place-phone a:hover, .place-phone a:focus-visible { opacity: 0.75; }

/* The summary is a pin on its own — no words, no chevron. font-size stays
   because .maps-list below has none of its own and takes it from here. */
.maps {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
}

.maps summary {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  /* The text colour, not the accent. The pin is the one thing in this block
     that names what the block is, and in --primary it read as a third link
     sitting under the address and the number rather than as a heading for
     them. The hover below is what says it is pressable. */
  color: var(--text);
  /* Both are needed to drop the native triangle: the pseudo-element is
     WebKit's and list-style is everyone else's. */
  list-style: none;
  transition: opacity 0.2s ease;
}
.maps summary::-webkit-details-marker { display: none; }
/* Block, like every other inline icon here: an inline svg sits on the text
   baseline and leaves a gap under it that nothing in this row needs. */
.maps summary svg { display: block; }
.maps summary:hover, .maps summary:focus-visible { opacity: 0.75; }

.maps-list {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.375rem;
}
.maps-list a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.maps-list a:hover, .maps-list a:focus-visible { color: var(--primary); }

.hours-title, .contact-title {
  margin: 0 0 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

.hours-list {
  margin: 0;
  /* A definition list, because that is what a day and its times are. The rows
     are the grid items rather than the dt/dd themselves, so a long day name
     cannot push the times out of alignment with the row above it. */
  display: grid;
  gap: 0.25rem;
  max-width: 18rem;
  margin-inline: auto;
  font-size: 0.8125rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--edge);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row dt { color: var(--dim); }
.hours-row dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; }

/* Today. Added by the script at the foot of the page, so this rule matches
   nothing until it runs — which is the intended failure: with JavaScript off
   the table is unhighlighted rather than wrong, and a stale highlight baked
   into a file published last Tuesday would be exactly wrong. */
.hours-row.is-today dt,
.hours-row.is-today dd { color: var(--primary); font-weight: 600; }

.hours-zone {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* The person, then the ways to reach them. The name takes the weight .place-name
   has — it is the same kind of line, a thing being named — and the address and
   number under it are links of the same colour as the one in .place-phone, so
   a page does not end up with two different-looking phone numbers on it. */
.contact-name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.contact-line {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
}
.contact-line a {
  /* The quieter text, with the accent kept for the hover — the same way the
     map links above read. Three accent-coloured lines under a name was the
     block shouting louder than the address above it, and an address, a number
     and a profile link are reference material rather than calls to action. */
  color: var(--dim);
  text-decoration: none;
  /* The number and the address both. Neither has to line up with anything, but
     a proportional font sets some digits narrow and it reads as a typo. */
  font-variant-numeric: tabular-nums;
  /* An email address and a URL are each one long unbreakable word to a layout
     engine, and a narrow phone is where that runs off the side of the card. */
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.contact-line a:hover, .contact-line a:focus-visible { color: var(--primary); }

/* ---------- languages ---------- */

/* Near the bottom, with the footer rather than the content: somebody who wants
   another language looks for it once, and putting it above the links would
   have every visitor step over a choice most of them have already made. */
.langs {
  margin-top: clamp(1.25rem, 3.5vh, 2rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.75rem;
}
.lang {
  color: var(--faint);
  text-decoration: none;
  transition: color 0.2s ease;
}
.lang:hover, .lang:focus-visible { color: var(--primary); }
/* The one you are reading is shown but not offered — a link to here is a link
   that does nothing, and it is a <span> in the markup for the same reason. */
.lang--current { color: var(--dim); }

/* ---------- footer ---------- */

/* Quiet on purpose — it has to be findable without competing with the page.
   report--alone carries the auto margin when there is no footer above it. */
.report {
  margin: 0;
  padding-top: 0.75rem;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.report--alone { margin-top: auto; padding-top: clamp(1.25rem, 3.5vh, 2rem); }
/* Inherits size, spacing and casing from .report, so the line reads as one
   run of small print rather than two things that happen to be adjacent. Only
   the link inside it is picked out, and it is picked out the same way the
   report link is. */
.promo { color: var(--faint); opacity: 0.65; }
.report a { color: var(--faint); opacity: 0.65; text-decoration: none;
            transition: color 0.2s ease, opacity 0.2s ease; }
.report a:hover, .report a:focus-visible { color: var(--primary); opacity: 1; }

/* The save button — the one control on the page that belongs to this site
   rather than to whoever owns the page. Built to disappear into their type: it
   borrows the report link's size, weight, colour and hover outright, and
   inherits the rest from .report, so what is added is a control that reads as
   the line it sits on rather than as a platform putting its oar in.

   Its sibling <a> needs no rules — swapped in for the button when there is no
   session, it lands inside .report and picks those up. */
.save { display: inline-flex; align-items: center; gap: 0.5em; }
.save > span { color: var(--faint); opacity: 0.4; }

.save button {
  padding: 0;
  border: 0;
  background: none;
  /* All five, because a button inherits none of them from the paragraph. */
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--faint);
  opacity: 0.65;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.save button:hover, .save button:focus-visible { color: var(--primary); opacity: 1; }
/* Saved, and mid-save. Both are settled states rather than disabled-looking
   ones: dimming the word "Saved" would read as the save not having taken. */
.save button[disabled] { color: var(--primary); opacity: 1; cursor: default; }

.foot {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: auto;
  padding-top: clamp(1.25rem, 3.5vh, 2rem);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
}

.mark { color: var(--primary); opacity: 0.75; font-size: 0.6875rem; letter-spacing: 0; }

@keyframes rise {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- responsive / a11y ---------- */

@media (max-width: 26rem) {
  .label { letter-spacing: 0.1em; }
  .foot  { letter-spacing: 0.22em; }
}

/* Short viewports (laptops in landscape, small phones): tighten everything so
   the page stays close to one screen. A link page that scrolls has failed. */
@media (max-height: 48rem) {
  .hero--cinematic { max-height: 34svh; }
  .hero--banner    { max-height: 24svh; }
  /* On a short screen 78svh is a few hundred pixels, and everything below it
     is off the fold. Given up to two thirds here, which is still the largest
     of the four. */
  .hero--full      { height: 66svh; }
  .avatar   { width: clamp(4.5rem, 18vw, 6rem); }
  .logo     { width: min(15rem, 60vw); }
  .identity { margin-top: 0.875rem; }
  .links    { margin-top: clamp(1rem, 3vh, 2rem); gap: 0.625rem; }
  .link     { padding: 0.8125rem 1rem; }
  .socials  { margin-top: 1rem; }
  .foot     { padding-top: 1.25rem; }
  .page     { padding-bottom: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .avatar, .identity, .bio, .socials, .link { animation: none; }
  .link { transition: border-color 0.2s ease, background-color 0.2s ease; }
  .link:hover, .link:focus-visible, .social:hover, .social:focus-visible {
    transform: none;
  }
}

@media print {
  .hero { display: none; }
  body  { background: #fff; color: #000; }
}