/* ============================================================================
   site.css — the multipage shell.

   Concept A was drawn as one long page. The site is now seven pages, and a
   multipage site needs three things the artboard never had to draw:

     1. a brand mark that is a link home (on one page there is nowhere to go)
     2. a current-page marker in the masthead nav
     3. a breadcrumb, so a visitor landing from a search result knows where
        they are and can get up a level

   Everything below is built from Concept A's own tokens, type sizes and rules.
   No new colours, no new type families, no new spacing scale.
   ============================================================================ */

/* ---------- 1. the brand mark, now a link home ---------- */
.brand-link {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
}
.brand-link:hover .brand-name,
.brand-link:focus-visible .brand-name { color: var(--burgundy); }
.brand-link:focus-visible { outline: 2px solid var(--gold-rule); outline-offset: 6px; }

/* ---------- 2. current page in the nav ----------
   .nav a.on already exists in Concept A (burgundy, underlined) — it was drawn
   for the scroll-spy state of the one-page build. It carries over unchanged;
   the only thing added here is the aria-current hook so the marker is not
   colour-only. */
.nav a[aria-current="page"] { color: var(--burgundy); border-bottom-color: var(--burgundy); }

/* ---------- 3. breadcrumb ----------
   The crumb lands directly beneath the masthead's action bar, and it is the
   same kind of object: one thin line of small caps, full width. Given its own
   paper band and its own rule it read as a second menu stacked on the first —
   part of why the top of the page felt like a stack of strips. It keeps its
   markup and its structured data and gives up the band, sitting on whatever
   ground the page opens on. */
.crumb {
  background: var(--cream);
  font-family: 'Jost', Arial, sans-serif;
}
.crumb ol {
  list-style: none; margin: 0; padding: 13px 0 15px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.crumb li { display: flex; align-items: center; gap: 10px; }
.crumb li + li::before {
  content: ""; width: 4px; height: 4px; background: var(--gold);
  transform: rotate(45deg); flex: 0 0 4px;
}
.crumb a { color: var(--navy); text-decoration: none; border-bottom: 1px solid transparent; }
.crumb a:hover, .crumb a:focus-visible { color: var(--burgundy); border-bottom-color: var(--burgundy); }
.crumb [aria-current="page"] { color: var(--gold-ink); }

/* ---------- 3b. section headings that are now the page's H1 ----------
   CARRY THIS INTO THE LAUNCH BUILD.
   Concept A sets the heading colour on the dark grounds by element, not by
   class: `.shead--d h2 { color: var(--cream) }` and `.loc h2 { ... }`. On the
   one-page build every section heading was an <h2>, so that held. Each page now
   promotes its opening heading to the page's single <h1> — which drops straight
   out of both selectors and inherits the page's ink, i.e. navy text on a navy
   ground. Caught on /custom-clothing/ and /contact/, where the heading was
   invisible. Same failure as the prose-on-navy bug fixed on 2026-09-27. */
.shead--d h1, .loc h1 { color: var(--cream); }

/* ---------- 3c. the closing band has lost its own vertical padding ----------
   CARRY THIS INTO THE LAUNCH BUILD.
   Concept A draws the band's inner row as `.band-in { ... padding: 58px 0 62px }`.
   review.css then makes the 1440px artboard resizable with
   `.wrap { width: auto; max-width: 1200px; padding: 0 28px }` — same specificity,
   later in the cascade, and a shorthand, so it does not add a gutter to
   .band-in: it REPLACES the whole declaration. The band is the only element on
   the site carrying both classes, so it is the only one affected, and the
   result is a closing section whose headline sits flush against its own top
   edge and whose request form is flush against the bottom one. Measured:
   computed padding on /2026/ was `0px 28px`, not `58px 28px 62px`.
   Both values restored, with the gutter review.css was adding kept.
   Still here because the ten review versions render the original band; the
   site's own closing section is 3d below, and sets its padding the same way. */
.band-in { padding: 58px 28px 62px; }

/* ---------- 3d. THE CLOSING SECTION — "Three Doors" ----------
   CARRY THIS INTO THE LAUNCH BUILD.
   The board asked for five arrangements of this section on 2026-09-29 and
   chose Three Doors, less the appointment door: the ways of reaching him are
   equal panels you can click, and the request form leaves the band for its own
   section on paper below, which is what makes the burgundy short and emphatic
   instead of tall.

   Everything below is Concept A's own tokens, type ladder and .req modifier
   hooks. No new colour, no new type family, no new spacing scale. Same
   `padding` note as 3c: the value is stated with the 28px gutter in it because
   review.css's .wrap shorthand would otherwise replace it outright. */
.band--doors .band-doors-in {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 20px; padding: 70px 28px 74px;
}
.band--doors h3 { color: var(--paper); max-width: 940px; }
/* `.band p` (0,1,1) sets 12px micro-caps, which outranks any single class on
   the element itself. The sub-line is a sentence and is drawn as one. */
.band--doors .band-sub {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 26px; line-height: 1.35; letter-spacing: normal; text-transform: none;
  color: var(--gold-pale);
}
/* two doors, not three. The pair is held to 820px rather than spread across the
   full 1200px measure: at 1440px two panels on the wrap are 590px each, and a
   590px panel holding one phone number reads as a banner, not a door. */
.band--doors .doors {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  width: 100%; max-width: 820px; margin-top: 14px;
}
/* A GRID, NOT A STACK, and this is the point of it: "Call or Text —
   Appointments are Encouraged" is two lines and "Email Steve" is one, so
   stacked centring left the two icons 10px apart and the phone number 10px
   below the email address. Three rows — icon, label, value — with the label
   row taking the slack means the icons share a line and the two values share a
   line, whatever the labels do. Measured, not eyeballed: closing.py fails the
   build if the pair ever disagrees by more than a pixel. */
.band--doors .door {
  display: grid; grid-template-rows: auto 1fr auto; justify-items: center;
  gap: 13px; padding: 30px 22px 32px; min-height: 100%;
  background: rgba(0,0,0,.12); border: 1px solid rgba(251,246,236,.5);
  border-radius: 2px; color: var(--paper); text-decoration: none;
}
.band--doors .door-k { align-self: center; }
.band--doors .door:hover, .band--doors .door:focus-visible {
  background: var(--cream); color: var(--burgundy-deep);
  border-color: var(--cream); text-decoration: none;
}
.band--doors .door svg { color: var(--gold-pale); }
.band--doors .door:hover svg { color: var(--burgundy-deep); }
.band--doors .door-k {
  font-size: var(--t-micro); font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; line-height: 1.7;
}
.band--doors .door-v {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 25px; line-height: 1.2;
}
.band--doors .band-hours {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap; width: 100%; margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(251,246,236,.34);
}
.band--doors .band-hours p { color: #EDD2CC; }
.band--doors .band-hours i {
  display: block; width: 5px; height: 5px; flex: none;
  background: var(--gold); transform: rotate(45deg);
}

/* the form's own section, on paper, below the band */
.band-req { background: var(--paper-deep); padding: 72px 28px 80px; }
.band-req-in { width: 880px; max-width: 100%; margin: 0 auto; }
.band-req .req--oncream { padding: 44px 52px 48px; }
/* .eyebrow--c is #EDD2CC — drawn for the burgundy ground, because Concept A
   only ever placed this panel on one. On cream it is barely visible against its
   own background. The .req component expresses ground as a modifier; its
   eyebrow did not. */
.band-req .eyebrow--c { color: var(--gold-ink); }

@media (max-width: 940px) {
  .band--doors .doors { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .band--doors .band-doors-in { padding: 54px 22px 56px; }
  .band-req { padding: 46px 22px 54px; }
  .band-req .req--oncream { padding: 28px 22px 30px; }
  .band--doors .band-hours { flex-direction: column; gap: 8px; }
  .band--doors .band-hours i { display: none; }
  /* Concept A's .req-grid is `1fr 1fr` with no breakpoint — it was drawn at
     1440px, where the panel is wide. On a 390px screen the two columns are
     about 140px each and the Phone field's placeholder is cut off mid-word
     ("Where we can rea"). One column below 620px. */
  .band-req .req-grid { grid-template-columns: 1fr; }
}

/* ---------- 4. a page that opens on a section, not on the hero ----------
   On the one-page build every section arrived after the hero, which supplied
   the eye's entry point. Six of the seven pages now open straight into their
   own section directly under the masthead, so the first one gets a little more
   room above its eyebrow.

   The hairline that used to sit here as well is gone: the masthead's action
   bar now draws its own lower edge, and on every page but the home page the
   breadcrumb sits between the two, so a third rule only added to the stack of
   strips this redesign set out to remove. */
.sec--first { padding-top: 64px; }

/* ---------- 5. the page-foot navigator ----------
   The one thing a multipage site owes a reader that a single page does not:
   somewhere to go next at the bottom of what they just read. Labels are the
   nav's own labels; no sentence is written here. */
.next {
  background: var(--cream); border-top: 1px solid var(--rule);
  padding: 30px 0 34px;
}
.next-in { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px 26px; }
.next-lbl {
  font-size: var(--t-micro); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-ink); white-space: nowrap;
}
.next-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.next-list a {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px;
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--rule); padding-bottom: 2px;
}
.next-list a:hover, .next-list a:focus-visible {
  color: var(--burgundy); border-bottom-color: var(--burgundy);
}

@media (max-width: 700px) {
  .crumb ol { padding: 11px 0; }
  .next-in { flex-direction: column; gap: 12px; }
}

/* ---------- 6. THE PRODUCT LIST — "The Ledger" ----------
   The board reviewed five arrangements of this list on 2026-09-29 at
   /2026/prod-1..5/ and chose 2, The Ledger, with one instruction: "make the
   icons 40% larger, make the text 25% larger". Both numbers are applied here
   off the sizes they reviewed, exactly:

       icon   30px -> 42px     (x1.40)
       name   30px -> 37.5px   (x1.25)

   and every narrower step carries the same 1.25 on the type.

   WHAT THIS REPLACES. review.css draws `.plist` as Concept A drew it: a 3x4
   hairline grid of paper tiles, each item a 5px gold diamond and the name in
   13px Jost — var(--t-small), the size of an eyebrow and SMALLER than body
   copy at 17px. The twelve things he actually sells were the smallest type on
   the page, and the only place in the design where the subject matter of the
   shop was set in the interface sans. Those rules stay where they are and are
   overridden here rather than deleted: review.css is Concept A's own
   stylesheet, and this is the site's decision about it.

   The boxes go and the rules stay: two columns of six, each name on its own
   ruled line with the icon in the margin, the way a tailor's order book is
   ruled. Nothing new is invented — the hairline is var(--rule), the family is
   the Cormorant Garamond the design already gives its headline, its four
   appointment steps, its two closing doors and its page-foot links, and the
   icons are currentColor line drawings in Concept A's own 24px idiom.
   ========================================================================= */
.plist.plist--ledger {
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px;
  background: none; border: 0; border-top: 1px solid var(--rule);
  margin-top: 42px;
}
.plist--ledger .pitem {
  background: none; padding: 21px 2px 22px; gap: 20px;
  border-bottom: 1px solid var(--rule);
}
.plist--ledger .pico {
  flex: 0 0 auto; display: inline-flex; width: 42px; height: 42px;
  color: var(--gold-ink);
}
.plist--ledger .pico svg { display: block; width: 100%; height: 100%; }
.plist--ledger .pname {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 37.5px;
  color: var(--navy); line-height: 1.16;
}
/* The section is cream and is meant to stay cream. These two rules are here
   anyway because the list had NO dark variant at all — it had only ever been
   drawn on one ground — and that is the same hole that put navy prose on a
   navy band (27th) and two invisible H1s on two pages (28th). If the section
   ever moves, it moves readable. */
.sec--night .plist--ledger .pico, .sec--navy .plist--ledger .pico { color: var(--gold); }
.sec--night .plist--ledger .pname, .sec--navy .plist--ledger .pname { color: var(--gold-pale); }
.sec--night .pnote, .sec--navy .pnote { color: var(--sky); }

/* Narrower windows, and this is where the board's two numbers actually cost
   something. A ledger line is only a ledger line while the name sits on ONE
   line; a two-column ledger carrying 25% more type runs out of room a long way
   above the phone.

   Measured at 17 widths rather than guessed (prodcheck.py). Two columns hold
   "Casual and luxury sportswear" and "Dress and casual trousers" on one line
   each down to 1041px and no further: at 1040 the column is 470px, the name
   needs about 380 of it, and the gap is already as tight as it can be without
   the two columns reading as one. So below 1041 the list becomes a single
   column — which is the same object, one column of ruled lines instead of two
   — and the type steps to 32.5px, still 25% up on the 26px the board reviewed
   at this width. Dropping to two cramped columns instead would have meant
   setting the names SMALLER than the round started at, which is the one thing
   this change was asked not to do.

   review.css already forces `.plist` to one column at 700px and below with
   !important, so the phone follows the same shape and only the type comes down
   with it. There, and only there, the two longest names take two lines: 28
   characters of serif at 28.75px do not fit a 304px window column at any size
   worth setting. The reviewed option wrapped them too. */
@media (max-width: 1160px) { .plist.plist--ledger { gap: 0 44px; } }
@media (max-width: 1040px) {
  .plist.plist--ledger { grid-template-columns: 1fr; gap: 0; }
  .plist--ledger .pname { font-size: 32.5px; }
}
@media (max-width: 700px) {
  .plist--ledger .pitem { gap: 17px; padding: 18px 0 19px; }
  .plist--ledger .pname { font-size: 28.75px; }
}

/* ---------- 7. THE GALLERY PLATES, AND THE VIEWER BEHIND THEM (PCT-717) ----
   The board asked for three things on this page: five more photographs, "a
   subtle mouseover effect", and a click that opens the photograph "into a
   viewer for higher resolution viewing".

   This section is in site.css and not in review.css because none of it exists
   on the ten copy versions under /2026/review/. There a gallery plate is a
   plate; here it is a control. build.py's GALLERY_VIEWER draws the markup for
   one and not the other.

   NO SCRIPT RUNS ANY OF IT. The plate is a link to #photo-N and the viewer is
   #photo-N:target, so opening, closing and stepping through are the browser's
   own address bar and its own Back button. A phone on a bad connection cannot
   get a half-loaded viewer, because there is nothing to load. (One four-line
   script adds Esc, which :target has no way to express. With it switched off
   the Close control, the surround and Back all still close the viewer.) */

/* ---------- 7a. the mouseover ----------
   Not a new gesture: this is the same movement Concept A already gives the
   wardrobe cards on the Products page -- the cream mat takes a gold edge, the
   plate lifts 3px and casts the same shadow at the same .18s. It is reused
   rather than invented so that a plate on this page answers the pointer the
   way every other picture on the site already does.

   The photograph itself also comes up a shade (the plate's standing grade is
   saturate(.62) sepia(.22) brightness(.98), warmed down towards the paper).
   Easing towards the true photograph is what says "there is more of this to
   see" -- which is exactly what the click then does.

   :focus-visible carries the same movement, so arriving by keyboard shows the
   same thing arriving by pointer does; the focus ring itself is Concept A's
   own 2px navy, inherited, not redrawn here. */
.gplate { display: block; cursor: zoom-in; }
.gplate .frame {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.gplate .ph--img > img { transition: filter .18s ease; }
.gplate:hover .frame, .gplate:focus-visible .frame {
  border-color: var(--gold); box-shadow: 0 10px 26px rgba(20,32,58,.20); transform: translateY(-3px);
}
.gplate:hover .ph--img > img, .gplate:focus-visible .ph--img > img {
  filter: saturate(.78) contrast(1.06) sepia(.12) brightness(1.02);
}
/* A reader who has asked their system for less motion keeps the gold edge --
   it is the part that says the plate is a control -- and loses the travel. */
@media (prefers-reduced-motion: reduce) {
  .gplate .frame, .gplate .ph--img > img { transition: none; }
  .gplate:hover .frame, .gplate:focus-visible .frame { transform: none; }
}

/* ---------- 7b. the viewer ----------
   Closed, each viewer is display:none, so it is out of the page and out of the
   accessibility tree, and its <img loading="lazy"> is never fetched. It is the
   SAME file the plate above it already drew, so opening one downloads nothing
   and shows instantly -- the grid holds it in cache.

   "Higher resolution" here is literal and is the reason the stage is sized the
   way it is. A plate in the grid is about 372px across; these files are 760 to
   1200px. The image is given max-width/max-height and auto dimensions and is
   never stretched past its own pixels, so each photograph opens as large as it
   genuinely is and no larger -- an 820px flat-lay is shown at 820px rather
   than blown up to the window and made soft. */
.lbox {
  display: none;
  position: fixed; inset: 0; z-index: 90;
  padding: 28px;
  background: rgba(11,19,34,.93);
}
.lbox:target { display: flex; align-items: center; justify-content: center; }
/* the whole surround is the close control, so a click anywhere off the
   photograph does what a click off a picture is expected to do */
.lbox-veil { position: absolute; inset: 0; cursor: zoom-out; }
.lbox-stage { position: relative; max-width: 100%; max-height: 100%; line-height: 0; }
/* the same cream mat and gold hairline every photograph on the site sits in,
   at the one size it is worth drawing at */
.lbox-img {
  display: block; width: auto; height: auto;
  max-width: min(100%, 92vw); max-height: 86vh;
  background: var(--navy-deep);
  padding: 10px; border: 1px solid var(--line-navy);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}

/* The three controls. They sit on the photograph rather than beside it so the
   stage never has to leave room for them, and each is drawn on its own ground
   because a corner of a photograph can be any colour at all. */
.lbox-x, .lbox-go {
  position: absolute; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); background: rgba(11,19,34,.72);
  border: 1px solid rgba(247,243,234,.3);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.lbox-x { top: 10px; right: 10px; width: 42px; height: 42px; }
.lbox-go { top: 50%; width: 44px; height: 56px; margin-top: -28px; }
.lbox-go--p { left: 10px; }
.lbox-go--n { right: 10px; }
.lbox-x:hover, .lbox-go:hover, .lbox-x:focus-visible, .lbox-go:focus-visible {
  background: var(--navy); border-color: var(--gold); color: var(--gold-lit);
}
.lbox a:focus-visible { outline-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .lbox-x, .lbox-go { transition: none; } }

/* On a phone the stage is the window, and the two step controls move off the
   photograph's middle -- a thumb reaching for "next" there covers the face it
   is looking at -- and sit along the bottom instead. */
@media (max-width: 700px) {
  .lbox { padding: 12px; }
  .lbox-img { max-width: 100%; max-height: 74vh; padding: 7px; }
  .lbox-go { top: auto; bottom: 10px; margin-top: 0; height: 48px; }
}

/* ---------- 7. masthead submenus (PCT-810) ----------
   Products moves under Custom Clothing, Tailoring moves under Services. Both
   stay real pages with their own URL; the submenu is a hover/focus reveal off
   the parent nav link, styled from the same tokens as the rest of the masthead
   rather than a new component. */
.navdd { position: relative; }
.navdd > a { padding-right: 16px; }
.navdd > a::after {
  content: ""; position: absolute; right: 1px; top: 50%;
  width: 5px; height: 5px; margin-top: -4px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.navdd-menu {
  position: absolute; top: 100%; left: 0; margin-top: 12px; z-index: 70;
  min-width: 170px; padding: 8px 0;
  background: var(--cream); border: 1px solid var(--line-cream);
  box-shadow: 0 12px 28px rgba(20,32,58,.16);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.navdd-menu a {
  display: block; padding: 9px 18px; border-bottom: 0; white-space: nowrap;
}
.navdd-menu a:hover, .navdd-menu a:focus-visible {
  color: var(--burgundy); background: rgba(200,162,92,.1);
}
.navdd:hover .navdd-menu, .navdd:focus-within .navdd-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
