/* =====================================================================
   GENERATED FILE -- DO NOT EDIT.

   Built from _source/work/site/assets/components/field.css by _dev/generate/theme-assets.mjs. Edit the
   snapshot and regenerate; a hand edit here fails the gate at commit
   rather than surviving to contradict its source. The snapshot is frozen:
   it has been the design of record since 2026-10-10 (frozenOn in its
   source.json), so it is edited in place and never re-synced.

     node _dev/generate/theme-assets.mjs rentex   rebuild this file

   The file below is the static site's stylesheet verbatim, comments and
   all, with one mechanical change: the office photograph is read
   from '../../../../source/photography/', out of the design project's
   work/site/assets/components/, and this copy reads it from the
   theme's '../images/'.

   NOTHING WORDPRESS-SPECIFIC GOES IN THIS FILE. Adapter rules that map
   block markup onto these components live in native-adapters.css, which
   is hand-written and loads after this one. Keeping them apart is what
   lets this copy stay diffable against the original.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Header field. The office photograph runs full-bleed behind the fixed
   masthead and the hero together, then gets pushed back far enough that
   the headline still carries the screen: desaturated, dimmed, and laid
   under a purple scrim that is heaviest on the left where the type is.

   The purple-black background colour sits underneath, so if the
   photograph is missing or slow the field degrades to plain Bloom
   rather than to a white flash.
   ------------------------------------------------------------------ */
.c-field {
  /* Header photo treatment. These are the mute knobs: turn them
     up or down in one place to make the office read stronger or
     quieter behind the headline.

     The photograph is the client's own office, the Baribeau Bldg on
     Pleasant Street. It runs unfiltered: the only veil on it is the
     masthead fade at the top and the ease into the band at the foot. */
  --photo-src:   url('../images/office-frontage-baribeau.webp');
  --photo-bright: 100%;
  --photo-desat:  0%;
  /* biased just above centre, which keeps the dormers and the lettering
     across the front in frame on a wide screen */
  --photo-focus:  50% 46%;

  position: relative;
  isolation: isolate;
  padding-top: var(--bar-h);
  background: var(--purple-black);
}
.c-field .field-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--photo-src);
  background-size: cover;
  background-position: var(--photo-focus);
  filter: grayscale(var(--photo-desat)) brightness(var(--photo-bright)) contrast(1.06);
}
.c-field .field-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* Set on variations/home/hero-fade-tuner.html, 2026-10-09.
       A faint lean in from the left, gone by 60% across. */
    linear-gradient(90deg,
      rgba(26, 10, 52, .11) 0%,
      rgba(26, 10, 52, 0) 60%),
    /* The masthead. The bar has no ground until it folds, so this is
       solid purple through the top of the wordmark, still dense behind
       the nav, and fades to nothing 216px past the bar. The stops follow
       --bar-h, so they track the wordmark as it scales. The bottom stop
       eases the field into the purple band beneath it. */
    linear-gradient(180deg,
      rgba(26, 10, 52, 1) 0px,
      rgba(26, 10, 52, 1) calc(var(--bar-h) * .39),
      rgba(26, 10, 52, .74) calc(var(--bar-h) * .81),
      rgba(26, 10, 52, 0) calc(var(--bar-h) + 216px),
      rgba(26, 10, 52, 0) 80%,
      rgba(51, 25, 92, .92) 100%);
}
/* the kicker is the one piece of small green type sitting on the
   photograph rather than on a purple ground. See --green-on-field. */
.c-field .kicker { color: var(--green-on-field); }
.c-field .pill { --focus: var(--green); }

/* ---------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.c-field .hero {
  position: relative;
  display: grid;
  /* one column, holding the panel alone */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px) var(--gutter) clamp(64px, 8vw, 104px);
}
/* The panel. Shelf's structural move, taken from the reference site:
   the captions sit on a translucent overlay instead of reading off the
   picture. The panel carries the contrast, which is what buys the
   photograph its brightness back. */
.c-field .hero-panel {
  position: relative;
  z-index: 1;
  justify-self: start;
  max-width: min(760px, 100%);
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 44px) clamp(28px, 3.4vw, 46px);
  border-radius: 18px;
  background: rgba(22, 8, 44, .90);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px rgba(8, 2, 22, .50);
}
/* the full-width headline cannot keep its size once it has a box round it */
/* .hero h1 further down sets the open-field size at the same weight of
   selector, so this one carries .hero to win wherever it sits */
.c-field .hero .hero-panel h1 { font-size: clamp(40px, 5.4vw, 96px); }
.c-field .hero-panel .hero-lede { max-width: none; }

/* Entrance. rentex.nz fades each caption layer up from below, one after
   another; this keeps the shape and compresses the timing. --stagger is
   the only knob, and each slot names itself rather than keying off its
   position. Reduced motion switches it off at the foot of the file. */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.c-field .hero-panel :is(.kicker, h1, .hero-lede, .pill, .hero-open) {
  animation: hero-rise var(--rise-dur) var(--ease-rise) both;
}
.c-field .hero-panel .kicker    { animation-delay: calc(var(--stagger) * 1); }
.c-field .hero-panel h1         { animation-delay: calc(var(--stagger) * 2); }
.c-field .hero-panel .hero-lede { animation-delay: calc(var(--stagger) * 3); }
.c-field .hero-panel .pill      { animation-delay: calc(var(--stagger) * 4); }
.c-field .hero-panel .hero-open { animation-delay: calc(var(--stagger) * 5); }

/* The hero prose is the serif, which the page already uses on listing
   captions and section leads; carrying it up to the headline is what
   makes the field read as a masthead rather than as an app screen.

   Weight is 700 rather than the 800 the sans carried, because every face
   in --font-serif stops at bold and asking for 800 buys a synthesised
   one, which smears at 150px. Tracking opens from -.05em to -.025em and
   the leading from .86 to .9 for the same reason: serifs need the room
   the sans did not. */
/* Sized off the viewport width alone now that the line is not broken by
   hand. The old cap was min(11vw, 15vh): the vh half kept three stacked
   lines from eating a short window, and one line does not need it.
   If a platform's serif runs wider than this assumes the line wraps to
   two rather than overflowing, which is why there is no nowrap here. */
.c-field .hero h1 {
  margin-top: 18px;
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(52px, 11.5vw, 215px);
  line-height: .95;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(12, 3, 28, .55);
}
/* Widened, but not to the full measure. At this size the field is about
   134 characters across, and a line that long is roughly double what
   stays readable, so the lede stops at a long measure instead. */
.c-field .hero-lede {
  margin-top: 26px;
  max-width: 78ch;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--on-field-soft);
  text-wrap: pretty;
}

.c-field .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(8, 2, 22, .5);
}
.c-field .pill-field { display: flex; flex-direction: column; padding: 2px 12px 2px 0; }
.c-field .pill-field { min-height: 44px; justify-content: center; }
.c-field .pill-field > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5C5568;
}
.c-field .pill-field select { border: 0; background: transparent; font-size: 15px; font-weight: 600; padding: 2px 0; }
.c-field .pill-div { width: 1px; align-self: stretch; margin: 6px 4px; background: #E3DEEC; }
.c-field .pill-go {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 19px;
  transition: background-color .18s ease, transform .18s ease;
}
.c-field .pill-go:hover { background: var(--green-deep); transform: translateX(2px); }
.c-field .pill-go:active { background: var(--green-deep); transform: none; }
.c-field .hero-open {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-field-soft);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1080px) {
  .c-field .hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .c-field .pill { flex-wrap: wrap; width: 100%; padding: 14px; border-radius: 18px; }
  .c-field .pill-div { display: none; }
  .c-field .pill-field { flex: 1 1 40%; }
  .c-field .pill-go { margin-left: auto; }
}
@media (max-width: 520px) {
  .c-field .hero h1 { font-size: clamp(50px, 17vw, 84px); }
}
@media (prefers-reduced-motion: reduce) {
  /* The rule above would crush the entrance to a flash of its opening
     frame. Switched off instead, so the copy is simply there. */
  .c-field .hero-panel :is(.kicker, h1, .hero-lede, .pill, .hero-open) {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
@media print {
  .c-field .field-photo, .c-field .field-veil { display: none !important; }
  .c-field { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .c-field .hero { padding-top: 0; }
  .c-field .hero h1 { font-size: 42pt; text-shadow: none; }
}
