/* ==========================================================================
   Hannah Fraher Interiors — Fig design system
   Palette sampled from the printed leaflet; Fig accent chosen Oct 2026.
   The brand is deliberately near-colourless: colour comes from photography
   and material swatches, never from the chrome.
   ========================================================================== */

:root {
  /* grounds */
  --hfi-bone:      #F0E6DA;
  --hfi-bone-2:    #F7F0E7;
  --hfi-bone-3:    #E8DCCC;

  /* ink */
  --hfi-ink:       #2B2721;
  --hfi-ink-soft:  #4A433A;
  --hfi-muted:     #6A6154;   /* was #7D7263 — 3.49:1 on bone-3, below AA */
  --hfi-taupe:     #705F4E;   /* was #A08C77 — 2.39:1 on bone-3, well below AA */
  --hfi-rule:      #D9CCBC;

  /* accent — Fig */
  --hfi-accent:      #4E2E3B;
  --hfi-accent-deep: #3A212A;
  --hfi-accent-tint: #E8DCDF;
  --hfi-on-accent:   #F6EFEA;

  /* type */
  --hfi-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --hfi-text:    "EB Garamond", Georgia, "Times New Roman", serif;

  /* scale */
  --hfi-step--1: 0.9375rem;
  --hfi-step-0:  1.125rem;
  --hfi-step-1:  1.3125rem;
  --hfi-step-2:  1.6875rem;
  --hfi-step-3:  2.1875rem;
  --hfi-step-4:  2.75rem;
  --hfi-step-5:  3.75rem;
}

/* ==========================================================================
   Reset
   --------------------------------------------------------------------------
   This stylesheet was written against hello-elementor's reset.css, which the
   WordPress site loaded first and the static build does not load at all. The
   rules it was relying on therefore live here now.

   box-sizing is the one that matters: every padded, width-constrained block
   below assumes border-box, and under the browser default the whole layout
   drifts — a 100%-wide input with padding overflows its panel, and a
   max-width section becomes wider than its max width.

   body margin:0 is why full-bleed bands reached the viewport edge on the
   WordPress site and stopped doing so here.
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body { margin: 0; }

img { max-width: 100%; border-style: none; }

/* Visually hidden, still read aloud. Also came from the parent reset, which is
   why the nav toggle's "Menu" label was rendering on screen, in Arial. */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Skip link. Hidden until focused, then lands on #content. */
.hfi-skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1.25rem; background: var(--hfi-accent); color: var(--hfi-on-accent);
  font-family: var(--hfi-display); font-size: .8125rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: top .15s ease;
}
.hfi-skip:focus { top: 1rem; color: var(--hfi-on-accent); }

body {
  background: var(--hfi-bone);
  color: var(--hfi-ink);
  font-family: var(--hfi-text);
  font-size: var(--hfi-step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hfi-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--hfi-ink);
  text-wrap: balance;
}
h1 { font-size: var(--hfi-step-5); }
h2 { font-size: var(--hfi-step-4); }
h3 { font-size: var(--hfi-step-2); }
h4 { font-size: var(--hfi-step-1); }

p { text-wrap: pretty; }
p, li { max-width: 68ch; }

a { color: var(--hfi-ink); text-decoration: none; }
a:hover, a:focus-visible { color: var(--hfi-accent); }
:focus-visible { outline: 2px solid var(--hfi-taupe); outline-offset: 3px; }

/* --- the wordmark lockup ------------------------------------------------ */
.hfi-wordmark {
  font-family: var(--hfi-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  padding-left: 0.26em; /* optical: cancels the trailing tracking space */
  line-height: 1;
}
.hfi-wordmark__sub {
  font-family: var(--hfi-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  text-transform: uppercase;
  color: var(--hfi-ink-soft);
  line-height: 1;
}

/* --- letterspaced caps label -------------------------------------------- */
.hfi-caps {
  font-family: var(--hfi-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--hfi-muted);
}
.hfi-caps--accent { color: var(--hfi-accent); }

/* --- hairline rule ------------------------------------------------------ */
.hfi-rule { height: 1px; background: var(--hfi-rule); border: 0; margin: 0; }

/* --- buttons ------------------------------------------------------------ */
.hfi-btn,
.elementor-button.hfi-btn {
  display: inline-block;
  font-family: var(--hfi-display);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--hfi-accent);
  border-radius: 0;
  color: var(--hfi-accent);
  background: transparent;
  transition: background-color .2s ease, color .2s ease;
}
.hfi-btn:hover { background: var(--hfi-accent); color: var(--hfi-on-accent); }
.hfi-btn--solid { background: var(--hfi-accent); color: var(--hfi-on-accent); }
.hfi-btn--solid:hover { background: var(--hfi-accent-deep); border-color: var(--hfi-accent-deep); color: var(--hfi-on-accent); }

/* --- strapline ---------------------------------------------------------- */
.hfi-strapline {
  font-family: var(--hfi-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 2.05;
  color: var(--hfi-ink-soft);
}

/* --- bands -------------------------------------------------------------- */
.hfi-band--accent { background: var(--hfi-accent); color: var(--hfi-on-accent); }
.hfi-band--accent h1, .hfi-band--accent h2, .hfi-band--accent h3 { color: var(--hfi-on-accent); }
.hfi-band--tint   { background: var(--hfi-accent-tint); }
.hfi-band--deep   { background: var(--hfi-accent-deep); color: var(--hfi-on-accent); }

/* --- reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- responsive type ---------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --hfi-step-5: 3rem; --hfi-step-4: 2.25rem; --hfi-step-3: 1.875rem; }
}
@media (max-width: 767px) {
  :root { --hfi-step-5: 2.375rem; --hfi-step-4: 1.875rem; --hfi-step-3: 1.625rem; --hfi-step-0: 1.0625rem; }
  .hfi-wordmark { letter-spacing: 0.18em; padding-left: 0.18em; }
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.hfi-main { background: var(--hfi-bone); }
.hfi-section { max-width: 1280px; margin: 0 auto; padding: 5rem 6rem; }
.hfi-section--flush { padding-top: 4.75rem; padding-bottom: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.hfi-header { background: var(--hfi-bone); border-bottom: 1px solid var(--hfi-rule); position: relative; }
.hfi-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 1.125rem 3.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
/* live-text lockup: centred, and the small line sized in px so it never
   drops below a legible size the way a scaled SVG does */
.hfi-header__brand { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.hfi-header__brand .hfi-wordmark { font-size: 1.5rem; }
.hfi-header__brand .hfi-wordmark__sub { font-size: 11px; letter-spacing: .34em; padding-left: .34em; color: var(--hfi-ink-soft); }

.hfi-nav { display: flex; align-items: center; gap: 2rem; }
.hfi-nav__list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.hfi-nav__list > li { max-width: none; position: relative; }
.hfi-nav__list a { font-family: var(--hfi-text); font-size: 1.0625rem; color: var(--hfi-ink-soft); white-space: nowrap; }
.hfi-nav__list > li > a { display: block; padding: .25rem 0; }
.hfi-nav__list .current-menu-item > a,
.hfi-nav__list a:hover { color: var(--hfi-accent); }

/* submenus become dropdowns — inline they doubled the header height */
.hfi-nav__list .sub-menu {
  position: absolute; top: 100%; left: -1rem; min-width: 12rem;
  list-style: none; margin: 0; padding: .75rem 1rem;
  background: var(--hfi-bone-2); border: 1px solid var(--hfi-rule);
  display: flex; flex-direction: column; gap: .625rem;
  opacity: 0; visibility: hidden; transition: opacity .15s ease;
  z-index: 60;
}
.hfi-nav__list > li:hover > .sub-menu,
.hfi-nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.hfi-nav__list .sub-menu li { max-width: none; }

.hfi-btn--sm { padding: .6875rem 1.375rem; font-size: .8125rem; }

.hfi-navtoggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer;
  color: var(--hfi-ink); -webkit-tap-highlight-color: transparent; }
.hfi-navtoggle:focus-visible { outline: 2px solid var(--hfi-taupe); outline-offset: 2px; }
.hfi-navtoggle__box { display: block; width: 24px; }
.hfi-navtoggle__box span { display: block; height: 1px; background: currentColor; margin: 6px 0; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hfi-hero { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 560px; align-items: stretch; }
.hfi-hero__text { display: flex; flex-direction: column; justify-content: flex-start; gap: 1.5rem; padding: 4.25rem 4.5rem 2.3125rem; }
.hfi-hero__title { margin: 0; font-size: var(--hfi-step-5); line-height: 1.0; }
.hfi-hero__title--sm { font-size: 3.5rem; line-height: 1.04; }
.hfi-hero__rule { width: 120px; height: 1px; background: var(--hfi-accent); }
.hfi-hero__lede { margin: 0; max-width: 32rem; font-size: 1.375rem; line-height: 1.5; color: var(--hfi-ink-soft); }
.hfi-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; padding-top: .75rem; }
.hfi-hero__reassure { margin: 0; font-size: .9375rem; color: var(--hfi-muted); font-style: italic; }
/* The image height and the text column's vertical padding are set together so
   the image fills the section exactly: 4.25rem + 2.3125rem of padding puts the
   column at 760px against the image's 760px, nothing left over.

   The bottom value was 3rem while hello-elementor's stylesheets were also
   loading; without them the column measures 11px taller, hence 2.3125rem.
   Giving the image height:100% instead feeds its 1830px intrinsic height back
   into the row and the hero balloons, so these two numbers stay paired by
   hand — change the hero copy and they need rechecking. */
.hfi-hero__img { width: 560px; height: 760px; object-fit: cover; object-position: center 20%; display: block; }
.hfi-hero--arch { grid-template-columns: 1fr 480px; }
.hfi-hero__img--arch { width: 480px; height: 600px; }

/* ==========================================================================
   Service bar
   ========================================================================== */
.hfi-servicebar { background: var(--hfi-accent); color: var(--hfi-on-accent); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.hfi-servicebar__item {
  display: flex; flex-direction: column; align-items: center; gap: .4375rem;
  padding: 1.875rem 1.75rem; color: var(--hfi-on-accent); text-align: center;
  border-right: 1px solid rgba(255,255,255,.18);
}
.hfi-servicebar__item:last-child { border-right: 0; }
.hfi-servicebar__item:hover { background: var(--hfi-accent-deep); color: var(--hfi-on-accent); }
.hfi-servicebar__name { font-family: var(--hfi-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.hfi-servicebar__note { font-size: .9375rem; opacity: .76; }

/* ==========================================================================
   Mosaic + statement
   ========================================================================== */
/* The lead slot was 850x482 against a 1000x1000 source, so object-fit was
   throwing away 43% of the photograph's height. It is now square and shows all
   of it.

   Every track is proportional so the square holds at any width. A fixed side
   column cannot work: the lead is fluid, so the row height it needs changes
   with the viewport and no constant can express it. With a column-gap in
   percent the whole grid scales together — 1fr + 0.716fr either side of a 1.5%
   gap leaves the lead 57.4% of the width, and aspect-ratio 1.742 makes the
   container that tall, so lead width and height resolve to the same number.
   Measured square to the pixel at 1440, 1280, 1100 and 1030.

   min-height:0 matters. Without it the side images' intrinsic height inflates
   the 1fr rows and the mosaic blows out to 1130px. */
.hfi-mosaic {
  display: grid;
  grid-template-columns: 1fr 0.716fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 1.5%;
  row-gap: 1.125rem;
  aspect-ratio: 1.742;
}
.hfi-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.hfi-mosaic__lead { grid-row: span 2; }
.hfi-statement { display: flex; flex-direction: column; align-items: center; gap: 1.375rem; padding: 3.5rem 7.5rem 0; text-align: center; }
.hfi-statement h2 { margin: 0; font-size: 3.125rem; line-height: 1.16; }
.hfi-statement h2 em { font-style: italic; }
.hfi-statement p { margin: 0; max-width: 42.5rem; font-size: 1.25rem; line-height: 1.65; color: var(--hfi-ink-soft); }

/* ==========================================================================
   Services
   ========================================================================== */
.hfi-services { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.hfi-service { display: flex; flex-direction: column; gap: .875rem; padding: 2.75rem; border-right: 1px solid var(--hfi-rule); }
.hfi-service:first-child { padding-left: 0; }
.hfi-service:last-child { padding-right: 0; border-right: 0; }
.hfi-service h3 { margin: 0; font-size: 1.875rem; }
.hfi-service p { margin: 0; font-size: 1.0625rem; color: var(--hfi-ink-soft); }
.hfi-service__price { margin-top: auto; padding-top: 1.375rem; }
.hfi-service__more { font-size: 1.0625rem; color: var(--hfi-accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.hfi-service__more:hover, .hfi-service__more:focus-visible { color: var(--hfi-accent-deep); text-decoration-thickness: 2px; }

.hfi-midcta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem; padding: 2.125rem 0 0; }
.hfi-midcta__q { font-family: var(--hfi-display); font-size: 1.625rem; font-style: italic; color: var(--hfi-ink-soft); }

/* ==========================================================================
   Selected work
   ========================================================================== */
.hfi-work { display: grid; grid-template-columns: 1fr 520px; gap: 5rem; align-items: center; }
.hfi-work__text h2 { margin: .75rem 0 1.875rem; font-size: 2.75rem; }
.hfi-work__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hfi-rule); }
.hfi-work__list li { max-width: none; border-bottom: 1px solid var(--hfi-rule); }
.hfi-work__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; }
.hfi-work__name { font-family: var(--hfi-display); font-size: 1.875rem; }
.hfi-work__img { width: 520px; height: 560px; object-fit: cover; display: block; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.hfi-testimonials { background: var(--hfi-accent-tint); }
.hfi-testimonials { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4.5rem; max-width: 1280px; margin: 0 auto; padding: 4.5rem 6rem; }
.hfi-quote { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.hfi-quote__rule { width: 40px; height: 1px; background: var(--hfi-accent); }
.hfi-quote blockquote { margin: 0; }
.hfi-quote blockquote p { margin: 0; font-family: var(--hfi-display); font-size: 1.875rem; line-height: 1.38; font-style: italic; max-width: none; }

/* ==========================================================================
   Contact
   ========================================================================== */
.hfi-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.hfi-contact__title { margin: 0 0 1rem; font-size: 2.75rem; font-style: italic; }
.hfi-contact__text p { margin: 0 0 1.5rem; font-size: 1.125rem; color: var(--hfi-ink-soft); max-width: 26rem; }
.hfi-contact__list { list-style: none; margin: 0; padding: 0 0 0 5rem; border-left: 1px solid var(--hfi-rule); display: flex; flex-direction: column; gap: 1.25rem; }
.hfi-contact__list li { max-width: none; display: flex; align-items: center; gap: 1rem; font-size: 1.125rem; }
.hfi-contact__list svg { color: var(--hfi-accent); flex: none; }

/* ==========================================================================
   For architects
   ========================================================================== */
.hfi-credbar { background: var(--hfi-accent); color: var(--hfi-on-accent); display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; padding: 1.25rem 3.5rem; }
.hfi-credbar span { font-family: var(--hfi-display); font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

.hfi-case { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.hfi-case__title { margin: 0; font-size: 2.625rem; line-height: 1.14; }
.hfi-case__body { display: flex; flex-direction: column; gap: 1.125rem; }
.hfi-case__body p { margin: 0; font-size: 1.125rem; line-height: 1.62; color: var(--hfi-ink-soft); }

.hfi-spec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.625rem; }
.hfi-spec__head h2 { margin: 0; font-size: 2.375rem; }
.hfi-recent__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.375rem; }
.hfi-recent__grid figure { margin: 0; display: flex; flex-direction: column; gap: .6875rem; }
.hfi-recent__grid img { width: 100%; height: 290px; object-fit: cover; display: block; }
.hfi-recent__grid figcaption { display: flex; flex-direction: column; gap: .375rem; }
.hfi-recent__name { font-family: var(--hfi-display); font-size: 1.5rem; }
.hfi-recent__note { margin: 1.375rem 0 0; font-size: 1rem; color: var(--hfi-muted); font-style: italic; }

.hfi-archcta { background: var(--hfi-accent); color: var(--hfi-on-accent); padding: 4.5rem 6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.hfi-archcta h2 { margin: 0 0 1rem; font-size: 2.625rem; line-height: 1.12; color: var(--hfi-on-accent); }
.hfi-archcta p { margin: 0; font-size: 1.125rem; opacity: .82; max-width: 27rem; }
.hfi-archcta__btns { display: flex; flex-wrap: wrap; gap: .875rem; }
.hfi-btn--onaccent { background: var(--hfi-on-accent); color: var(--hfi-accent); border-color: var(--hfi-on-accent); }
.hfi-btn--onaccent:hover { background: #fff; color: var(--hfi-accent); }
.hfi-btn--ghost { border-color: rgba(255,255,255,.45); color: var(--hfi-on-accent); }
.hfi-btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--hfi-on-accent); }
.hfi-archcta__rule { height: 1px; background: rgba(255,255,255,.2); border: 0; margin: 1.25rem 0; }
.hfi-archcta__meta { font-size: 1.0625rem; opacity: .82; }

/* ==========================================================================
   Footer
   ========================================================================== */
.hfi-footer { background: var(--hfi-accent-deep); color: var(--hfi-on-accent); }
.hfi-footer__inner { max-width: 1280px; margin: 0 auto; padding: 3.75rem 3.5rem 2.75rem; display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 4rem; }
.hfi-footer__lockup { display: block; line-height: 0; }
.hfi-footer__lockup img { width: 240px; height: auto; display: block; }
.hfi-footer__blurb { margin: 1.125rem 0 0; font-size: 1rem; opacity: .76; max-width: 19rem; }
.hfi-footer__strapline { margin: 1.125rem 0 0; color: var(--hfi-on-accent); opacity: .9; }
.hfi-footer__head { font-family: var(--hfi-display); font-size: .75rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; opacity: .6; color: var(--hfi-on-accent); margin: 0 0 .75rem; }
.hfi-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6875rem; }
.hfi-footer__list li { max-width: none; }
.hfi-footer__list a { color: var(--hfi-on-accent); opacity: .86; font-size: 1rem; }
.hfi-footer__list a:hover { opacity: 1; color: var(--hfi-on-accent); text-decoration: underline; }
.hfi-footer__area { margin: .75rem 0 0; font-size: .9375rem; opacity: .68; max-width: 19rem; }
.hfi-footer__bar { max-width: 1280px; margin: 0 auto; padding: 1.25rem 3.5rem 1.625rem; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; opacity: .6; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hfi-section { padding: 3.5rem 1.5rem; }
  .hfi-header__inner { padding: .875rem 1.5rem; }
  .hfi-header__brand .hfi-wordmark { font-size: 1.125rem; letter-spacing: .2em; padding-left: .2em; }
  .hfi-header__brand .hfi-wordmark__sub { font-size: 10px; letter-spacing: .28em; padding-left: .28em; }
  .hfi-navtoggle { display: block; }
  .hfi-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start;
    gap: 1rem; background: var(--hfi-bone); border-bottom: 1px solid var(--hfi-rule); padding: 1.5rem; display: none; z-index: 50; }
  .hfi-header.is-open .hfi-nav { display: flex; }
  .hfi-nav__list { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hfi-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; border: 0; background: none; padding: .5rem 0 0 1rem; }
  .hfi-hero, .hfi-hero--arch { grid-template-columns: 1fr; }
  .hfi-hero__text { padding: 2.5rem 1.5rem; }
  .hfi-hero__img { width: 100%; height: 620px; object-position: center 38%; }
  .hfi-hero__img--arch { width: 100%; height: 420px; }
  .hfi-servicebar { grid-template-columns: 1fr; }
  .hfi-servicebar__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .hfi-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; aspect-ratio: auto; column-gap: 1.125rem; }
  .hfi-mosaic__lead { grid-row: auto; }
  .hfi-mosaic img { height: 240px; }
  .hfi-statement { padding: 2.5rem 0 0; }
  .hfi-services { grid-template-columns: 1fr; }
  .hfi-service { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--hfi-rule); }
  .hfi-work, .hfi-contact, .hfi-case, .hfi-terms, .hfi-archcta { grid-template-columns: 1fr; gap: 2.5rem; }
  .hfi-work__img { width: 100%; height: 360px; }
  .hfi-contact__list { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--hfi-rule); }
  .hfi-testimonials { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem; }
  .hfi-modes__grid, .hfi-faq__grid, .hfi-recent__grid, .hfi-terms__grid { grid-template-columns: 1fr; }
  .hfi-footer__inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.75rem 1.5rem 2rem; }
  .hfi-footer__bar { flex-direction: column; padding: 1.25rem 1.5rem 1.5rem; }
  .hfi-archcta { padding: 3rem 1.5rem; }
}

/* ==========================================================================
   Specificity guard
   Elementor emits `.elementor-kit-### a { color: ... }` (0,1,1), which outranks
   a bare component class. These selectors match that weight; fig.css loads
   after the kit stylesheet, so the later rule wins. Keep the `a.` prefixes.
   ========================================================================== */
a.hfi-btn                                   { color: var(--hfi-accent); text-decoration: none; }
a.hfi-btn:hover                             { color: var(--hfi-on-accent); }
a.hfi-btn--solid,
a.hfi-btn--solid:hover                      { color: var(--hfi-on-accent); }
a.hfi-btn--onaccent,
a.hfi-btn--onaccent:hover                   { color: var(--hfi-accent); }
a.hfi-btn--ghost,
a.hfi-btn--ghost:hover                      { color: var(--hfi-on-accent); }

a.hfi-servicebar__item,
a.hfi-servicebar__item:hover                { color: var(--hfi-on-accent); text-decoration: none; }

.hfi-nav__list a                            { color: var(--hfi-ink-soft); text-decoration: none; }
.hfi-nav__list a:hover,
.hfi-nav__list .current-menu-item > a       { color: var(--hfi-accent); }

.hfi-work__list a                           { color: var(--hfi-ink); text-decoration: none; }
.hfi-work__list a:hover .hfi-work__name     { color: var(--hfi-accent); }

.hfi-footer a                               { color: var(--hfi-on-accent); text-decoration: none; }
.hfi-footer a:hover                         { color: var(--hfi-on-accent); text-decoration: underline; }
.hfi-archcta a.hfi-btn--onaccent            { color: var(--hfi-accent); }

/* ==========================================================================
   Page head
   ========================================================================== */
.hfi-pagehead { max-width: 1280px; margin: 0 auto; padding: 4.5rem 6rem 0; display: flex; flex-direction: column; gap: .75rem; }
.hfi-pagehead h1 { margin: 0; font-size: 3.5rem; line-height: 1.06; }
.hfi-pagehead p { margin: .5rem 0 0; font-size: 1.25rem; color: var(--hfi-ink-soft); max-width: 44rem; }

/* ==========================================================================
   Services packages
   ========================================================================== */
.hfi-pkg { display: grid; grid-template-columns: 420px 1fr; gap: 4rem; padding: 2.75rem 0; align-items: start; }
.hfi-pkg__head { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.hfi-pkg__head h2 { margin: 0; font-size: 2.5rem; }
.hfi-pkg__lede { margin: 0; font-size: 1.125rem; color: var(--hfi-ink-soft); }
.hfi-pkg__price { margin-top: .25rem; }
.hfi-pkg__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .875rem; }
.hfi-pkg__list li { position: relative; padding-left: 1.5rem; font-size: 1.0625rem; color: var(--hfi-ink-soft); max-width: 42rem; }
.hfi-pkg__list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: var(--hfi-accent); }
.hfi-pkg__tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* Contextual links into the work, under each package's list. A third grid
   child, so it is placed in the list column explicitly; the mobile query below
   returns it to column 1 when .hfi-pkg collapses to one. */
/* Arriving from /services/#room-design puts the section's top edge flush
   against the viewport, which reads as a page that has been cut off. The
   header scrolls away rather than sticking, so this is breathing room rather
   than clearance. */
.hfi-pkg[id] { scroll-margin-top: 2.5rem; }

.hfi-pkg__see { grid-column: 2; margin: 0; font-size: 1.0625rem; color: var(--hfi-ink-soft); }
.hfi-pkg__see a { color: var(--hfi-accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.hfi-pkg__see a:hover, .hfi-pkg__see a:focus-visible { color: var(--hfi-accent-deep); text-decoration-thickness: 2px; }
.hfi-tier { background: var(--hfi-bone-2); border: 1px solid var(--hfi-rule); padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.hfi-tier h3 { margin: 0; font-size: 1.75rem; }
.hfi-tier__note { margin: 0; font-size: 1rem; color: var(--hfi-muted); font-style: italic; }
.hfi-tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .625rem; }
.hfi-tier li { position: relative; padding-left: 1.25rem; font-size: 1rem; color: var(--hfi-ink-soft); }
.hfi-tier li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--hfi-accent); }
.hfi-tier > .hfi-caps { margin-top: auto; padding-top: .5rem; }
.hfi-note { padding-top: 0; }
.hfi-note p { margin: 0; font-size: 1.125rem; color: var(--hfi-ink-soft); border-left: 2px solid var(--hfi-accent); padding-left: 1.5rem; max-width: 46rem; }

/* ==========================================================================
   About
   ========================================================================== */
.hfi-about { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 460px; align-items: stretch; }
.hfi-about__text { display: flex; flex-direction: column; gap: 1.125rem; justify-content: center; padding: 4rem 4.5rem; }
.hfi-about__text h1 { margin: .25rem 0 .75rem; font-size: 2.875rem; line-height: 1.12; }
.hfi-about__text p { margin: 0; font-size: 1.125rem; color: var(--hfi-ink-soft); }
.hfi-about__img { width: 460px; height: 100%; max-height: 760px; object-fit: cover; display: block; }

.hfi-howwork__head { display: flex; flex-direction: column; gap: .5rem; padding-bottom: 2rem; }
.hfi-howwork__head h2 { margin: 0; font-size: 2.5rem; }
.hfi-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; }
.hfi-steps li { max-width: none; display: flex; flex-direction: column; gap: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--hfi-rule); }
.hfi-steps h3 { margin: 0; font-size: 1.5rem; }
.hfi-steps p { margin: 0; font-size: 1rem; color: var(--hfi-ink-soft); }
.hfi-steps a { color: var(--hfi-accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.hfi-steps a:hover, .hfi-steps a:focus-visible { color: var(--hfi-accent-deep); text-decoration-thickness: 2px; }
.hfi-howwork__more { margin: 2.25rem 0 0; font-size: 1.0625rem; }
.hfi-howwork__more a { color: var(--hfi-accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.hfi-howwork__more a:hover, .hfi-howwork__more a:focus-visible { color: var(--hfi-accent-deep); text-decoration-thickness: 2px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.hfi-faqlist { max-width: 980px; }
.hfi-faqitem { border-top: 1px solid var(--hfi-rule); }
.hfi-faqlist .hfi-faqitem:last-child { border-bottom: 1px solid var(--hfi-rule); }
.hfi-faqitem summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding: 1.375rem 0; }
.hfi-faqitem summary::-webkit-details-marker { display: none; }
.hfi-faqitem__q { font-family: var(--hfi-display); font-size: 1.625rem; color: var(--hfi-ink); }
.hfi-faqitem[open] .hfi-faqitem__q { color: var(--hfi-accent); }
.hfi-faqitem__mark { position: relative; width: 14px; height: 14px; flex: none; }
.hfi-faqitem__mark::before, .hfi-faqitem__mark::after { content: ""; position: absolute; background: var(--hfi-accent); }
.hfi-faqitem__mark::before { left: 0; top: 6px; width: 14px; height: 1px; }
.hfi-faqitem__mark::after { left: 6px; top: 0; width: 1px; height: 14px; transition: opacity .15s ease; }
.hfi-faqitem[open] .hfi-faqitem__mark::after { opacity: 0; }
.hfi-faqitem p { margin: 0 0 1.5rem; font-size: 1.0625rem; color: var(--hfi-ink-soft); max-width: 46rem; }
.hfi-faqitem a { color: var(--hfi-accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.hfi-faqitem a:hover, .hfi-faqitem a:focus-visible { color: var(--hfi-accent-deep); text-decoration-thickness: 2px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.hfi-contactpage { max-width: 1280px; margin: 0 auto; padding: 4.5rem 6rem 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.hfi-contactpage__intro h1 { margin: .5rem 0 1rem; font-size: 3rem; }
.hfi-contactpage__intro > p { margin: 0 0 2rem; font-size: 1.125rem; color: var(--hfi-ink-soft); max-width: 28rem; }
.hfi-contact__list--plain { padding: 0; border-left: 0; }
.hfi-contactpage__area { margin: 2rem 0 0; font-size: 1rem; color: var(--hfi-muted); max-width: 26rem; }
.hfi-contactpage__form { background: var(--hfi-bone-2); border: 1px solid var(--hfi-rule); padding: 2.5rem; }

/* Gravity Forms, in Fig */
/* The contact form. These rules replace ~30 lines that existed only to style
   Gravity Forms markup, including an !important override fighting the old
   Contact page's navy button. The form is now plain HTML posting to the shared
   backend, so the styling is ours and there is nothing to out-specify. */
.hfi-form__row { display: flex; flex-direction: column; gap: .4375rem; margin-bottom: 1.25rem; }
.hfi-form__row label {
  font-family: var(--hfi-display); font-size: .8125rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--hfi-muted);
}
.hfi-form__opt { letter-spacing: .06em; text-transform: none; font-weight: 400; font-style: italic; }
.hfi-form input[type="text"],
.hfi-form input[type="email"],
.hfi-form input[type="tel"],
.hfi-form textarea {
  width: 100%; padding: .8125rem .9375rem; font-family: var(--hfi-text); font-size: 1.0625rem;
  color: var(--hfi-ink); background: #fff; border: 1px solid var(--hfi-rule); border-radius: 0;
}
.hfi-form textarea { resize: vertical; min-height: 7rem; }
.hfi-form input:focus, .hfi-form textarea:focus { outline: 2px solid var(--hfi-taupe); outline-offset: 1px; }
.hfi-form input:user-invalid, .hfi-form textarea:user-invalid { border-color: var(--hfi-accent); }
/* honeypot: off-screen rather than display:none, which some bots skip */
.hfi-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hfi-form button[type="submit"] { margin-top: .25rem; cursor: pointer; }
.hfi-form button[type="submit"]:disabled { opacity: .55; cursor: wait; }
.hfi-form__msg { margin: 1rem 0 0; font-size: 1rem; min-height: 1.5rem; color: var(--hfi-ink-soft); }
.hfi-form__msg.is-ok  { color: var(--hfi-accent); }
.hfi-form__msg.is-err { color: #9A3324; }

/* ==========================================================================
   Projects
   ========================================================================== */
.hfi-projgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem; }
.hfi-projcard { display: flex; flex-direction: column; gap: .75rem; }
.hfi-projcard img { width: 100%; height: 420px; object-fit: cover; display: block; }
.hfi-projcard__swatches { display: flex; gap: 0; }
.hfi-projcard__swatches span { width: 34px; height: 10px; display: block; }
.hfi-projcard__name { margin: 0; font-size: 1.875rem; }
.hfi-projcard:hover .hfi-projcard__name { color: var(--hfi-accent); }

.hfi-projhero { position: relative; }
.hfi-projhero img { width: 100%; height: 540px; object-fit: cover; display: block; }
.hfi-projhero__caption { position: absolute; left: 0; bottom: 0; background: var(--hfi-bone); padding: 1.75rem 2.5rem; display: flex; flex-direction: column; gap: .375rem; }
.hfi-projhero__caption h1 { margin: 0; font-size: 2.75rem; }

.hfi-projbody { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; }
.hfi-projbody__col { display: flex; flex-direction: column; gap: .75rem; }
.hfi-projbody__col p { margin: 0; font-size: 1.125rem; line-height: 1.62; color: var(--hfi-ink-soft); }

.hfi-palette { background: var(--hfi-bone-3); padding: 4rem 6rem; }
.hfi-palette__head { display: flex; flex-direction: column; gap: .5rem; padding-bottom: 2rem; max-width: 1160px; margin: 0 auto; }
.hfi-palette__head h2 { margin: 0; font-size: 2.25rem; max-width: 40rem; }
.hfi-palette__row { list-style: none; margin: 0 auto; padding: 0; max-width: 1160px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; }
.hfi-palette__row li { max-width: none; display: flex; flex-direction: column; gap: .5rem; }
.hfi-palette__chip { display: block; height: 120px; border: 1px solid rgba(0,0,0,.08); }
.hfi-palette__name { font-family: var(--hfi-display); font-size: 1.375rem; }
.hfi-palette__note { max-width: 1160px; margin: 1.75rem auto 0; font-size: 1rem; color: var(--hfi-muted); font-style: italic; }

.hfi-projquote { max-width: 860px; margin: 0 auto; padding: 4rem 6rem; text-align: center; }
.hfi-projquote .hfi-quote { align-items: center; }
.hfi-projquote blockquote p { font-size: 2rem; }

.hfi-projservice { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.hfi-projservice h2 { margin: 0 0 .75rem; font-size: 2.25rem; }

.hfi-nextproj { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; max-width: 1280px; margin: 0 auto; padding: 2.5rem 6rem 4rem; border-top: 1px solid var(--hfi-rule); }
.hfi-nextproj__name { font-family: var(--hfi-display); font-size: 2.25rem; }
.hfi-nextproj:hover .hfi-nextproj__name { color: var(--hfi-accent); }

@media (max-width: 1024px) {
  .hfi-pkg__see { grid-column: 1; }
  .hfi-pagehead { padding: 2.5rem 1.5rem 0; }
  .hfi-pagehead h1 { font-size: 2.25rem; }
  .hfi-pkg, .hfi-pkg__tiers, .hfi-about, .hfi-projbody, .hfi-contactpage, .hfi-projgrid { grid-template-columns: 1fr; gap: 2rem; }
  .hfi-about__text { padding: 2.5rem 1.5rem; }
  .hfi-about__img { width: 100%; height: 420px; }
  .hfi-steps { grid-template-columns: 1fr 1fr; }
  .hfi-palette { padding: 3rem 1.5rem; }
  .hfi-palette__row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hfi-projhero img { height: 340px; }
  .hfi-projhero__caption { position: static; padding: 1.25rem 1.5rem; }
  .hfi-projquote { padding: 2.5rem 1.5rem; }
  .hfi-projquote blockquote p { font-size: 1.5rem; }
  .hfi-nextproj { padding: 2rem 1.5rem 3rem; }
  .hfi-contactpage { padding: 2.5rem 1.5rem 3rem; }
  .hfi-contactpage__form { padding: 1.5rem; }
}
@media (max-width: 600px) { .hfi-steps { grid-template-columns: 1fr; } }
a.hfi-nextproj, a.hfi-nextproj:hover   { color: var(--hfi-ink); text-decoration: none; }
a.hfi-projcard, a.hfi-projcard:hover   { color: var(--hfi-ink); text-decoration: none; }
.hfi-contactpage__intro a              { color: var(--hfi-accent); text-decoration: none; }
.hfi-contactpage__intro a:hover        { text-decoration: underline; }


/* ==========================================================================
   Portrait + authority badge
   ========================================================================== */
.hfi-about__portrait { width: 460px; height: 100%; max-height: 760px; object-fit: cover; object-position: center 22%; display: block; }
.hfi-footer__badge { margin-top: 1.5rem; display: block; }
.hfi-footer__badge img { width: 96px; height: 96px; display: block; }
@media (max-width: 1024px) { .hfi-about__portrait { width: 100%; height: 420px; } }

/* ==========================================================================
   Container normalisation
   The page had four different content widths (1088 / 1160 / 1168 / full bleed),
   so body text did not line up between pages or with the header lockup.
   One measure now: --hfi-content, centred, with full-bleed bands keeping their
   background edge-to-edge via the max() padding trick.
   ========================================================================== */
:root { --hfi-max: 1280px; --hfi-gutter: 3.5rem; --hfi-content: 1168px; }

.hfi-header__inner,
.hfi-footer__inner,
.hfi-footer__bar,
.hfi-section,
.hfi-pagehead,
.hfi-testimonials,
.hfi-contactpage,
.hfi-nextproj,
.hfi-projquote,
.hfi-credbar,
.hfi-modes,
.hfi-faq,
.hfi-palette,
.hfi-archcta {
  max-width: none;
  margin-inline: 0;
  padding-inline: max(var(--hfi-gutter), calc((100% - var(--hfi-content)) / 2));
}

/* inner wrappers already centred inside those bands no longer need their own cap */
.hfi-modes__head, .hfi-modes__grid,
.hfi-faq h2, .hfi-faq__grid,
.hfi-palette__head, .hfi-palette__row, .hfi-palette__note { max-width: none; margin-inline: 0; }

/* hero and about keep their image flush to the container edge, but their text
   column aligns to the same gutter as everything else */
.hfi-hero, .hfi-about { max-width: var(--hfi-max); margin-inline: auto; }
.hfi-hero__text, .hfi-about__text { padding-inline: var(--hfi-gutter); }
.hfi-projhero__caption { padding-inline: var(--hfi-gutter); }

@media (max-width: 1024px) {
  :root { --hfi-gutter: 1.5rem; }
  .hfi-hero__text, .hfi-about__text { padding-inline: var(--hfi-gutter); }
}

/* Testimonial band: the signed-off Fig tint (#E8DCDF) read as a washed-out pink
   against warm bone at full page scale. Moved to the warm bone step already in
   the palette, which keeps the brand near-colourless and leaves colour to the
   photography. Swap --hfi-accent-tint back if a pink band is wanted. */
.hfi-testimonials { background: var(--hfi-bone-3); }

/* Footer lockup as live text, centred — same legibility reasoning as the header */
.hfi-footer__lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; line-height: 1; }
.hfi-footer__lockup .hfi-wordmark { font-size: 1.375rem; color: var(--hfi-on-accent); }
.hfi-footer__lockup .hfi-wordmark__sub { font-size: 11px; letter-spacing: .34em; padding-left: .34em; color: var(--hfi-on-accent); opacity: .72; }

/* The project-management note was butting up against the CTA band below it */
.hfi-note { padding-block: 0.5rem 6rem; }
@media (max-width: 1024px) { .hfi-note { padding-block: 0.5rem 3.5rem; } }

/* The lockup is a link, so it was picking up link underlines — including from
   the footer's own hover rule. Never underline the wordmark. */
a.hfi-header__brand,
a.hfi-header__brand:hover,
a.hfi-header__brand:focus,
.hfi-footer a.hfi-footer__lockup,
.hfi-footer a.hfi-footer__lockup:hover,
.hfi-footer a.hfi-footer__lockup:focus { text-decoration: none; }
.hfi-header__brand .hfi-wordmark,
.hfi-header__brand .hfi-wordmark__sub,
.hfi-footer__lockup .hfi-wordmark,
.hfi-footer__lockup .hfi-wordmark__sub { text-decoration: none; border-bottom: 0; }

/* ==========================================================================
   Nav hover
   A jump to plum was too abrupt for a serif brand built on hairline rules.
   The rule itself is the brand motif, so hover draws one in from the left and
   the text only deepens from ink-soft to ink.
   ========================================================================== */
.hfi-nav__list > li > a { position: relative; }
.hfi-nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--hfi-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s cubic-bezier(.4, 0, .2, 1);
}
.hfi-nav__list > li > a:hover,
.hfi-nav__list > li > a:focus-visible { color: var(--hfi-ink); }
.hfi-nav__list > li > a:hover::after,
.hfi-nav__list > li > a:focus-visible::after { transform: scaleX(1); }

/* current page keeps the rule drawn, no border-bottom doubling it up */
.hfi-nav__list .current-menu-item > a,
.hfi-nav__list .current_page_item > a { color: var(--hfi-ink); border-bottom: 0; padding-bottom: .25rem; }
.hfi-nav__list .current-menu-item > a::after,
.hfi-nav__list .current_page_item > a::after { transform: scaleX(1); }

/* dropdown items: same idea, no transform needed */
.hfi-nav__list .sub-menu a:hover { color: var(--hfi-accent); }

@media (prefers-reduced-motion: reduce) {
  .hfi-nav__list > li > a::after { transition: none; }
}
@media (max-width: 1024px) {
  .hfi-nav__list > li > a::after { display: none; }
  .hfi-nav__list > li > a:hover { color: var(--hfi-accent); }
}

/* Footer lockup: centre INTERIORS under the wordmark, as in the header.
   inline-flex so the block shrinks to the wordmark width and still sits left
   in the footer column rather than centring across it. */
.hfi-footer__lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   Project gallery
   Scroll-snap rather than a carousel library: it works without JS, keeps
   keyboard and touch scrolling native, and adds nothing to the page weight.
   ========================================================================== */
.hfi-gallery { padding-block: 4rem; padding-inline: max(var(--hfi-gutter), calc((100% - var(--hfi-content)) / 2)); }
.hfi-gallery__head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.25rem; }
.hfi-gallery__nav { display: flex; gap: .5rem; }
.hfi-gallery__btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--hfi-rule); color: var(--hfi-ink);
  cursor: pointer; border-radius: 0; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hfi-gallery__btn:hover { background: var(--hfi-accent); border-color: var(--hfi-accent); color: var(--hfi-on-accent); }
.hfi-gallery__btn:focus-visible { outline: 2px solid var(--hfi-taupe); outline-offset: 2px; }

.hfi-gallery__track {
  list-style: none; margin: 0; padding: 0 0 .75rem;
  display: flex; gap: 1.125rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--hfi-rule) transparent;
  overscroll-behavior-x: contain;
}
.hfi-gallery__track li { flex: 0 0 auto; max-width: none; scroll-snap-align: start; }
.hfi-gallery__track img { display: block; width: 560px; height: 420px; object-fit: cover; }
.hfi-gallery__track::-webkit-scrollbar { height: 6px; }
.hfi-gallery__track::-webkit-scrollbar-thumb { background: var(--hfi-rule); }

@media (max-width: 1024px) {
  .hfi-gallery { padding-block: 2.5rem; }
  .hfi-gallery__track img { width: 78vw; height: 58vw; }
}

/* A project with one board shows it full width rather than as a one-item slider */
.hfi-gallery--single .hfi-gallery__track { overflow: visible; scroll-snap-type: none; }
.hfi-gallery--single .hfi-gallery__track li { flex: 1 1 auto; }
.hfi-gallery--single .hfi-gallery__track img { width: 100%; height: auto; max-height: 620px; object-fit: contain; }

/* The reassurance line under the hero buttons was 15px italic in muted taupe —
   too small, too light and too slanted to read on bone. */
.hfi-hero__reassure {
  font-size: 1.0625rem;
  font-style: normal;
  color: var(--hfi-ink-soft);
  display: flex;
  align-items: center;
  gap: .625rem;
}
.hfi-hero__reassure::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--hfi-accent);
  flex: none;
}

/* ==========================================================================
   Nav hover, take three.
   A plum rule sliding in read as a web flourish against a brand built on
   static hairlines. Now: the rule fades rather than slides, sits in taupe
   rather than accent, and the text simply deepens. Nothing moves.
   ========================================================================== */
.hfi-nav__list > li > a::after {
  background: var(--hfi-taupe);
  transform: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.hfi-nav__list > li > a:hover::after,
.hfi-nav__list > li > a:focus-visible::after { transform: none; opacity: 1; }
.hfi-nav__list > li > a:hover,
.hfi-nav__list > li > a:focus-visible { color: var(--hfi-ink); }

/* current page: the rule stays, in accent, so it reads as location not hover */
.hfi-nav__list .current-menu-item > a::after,
.hfi-nav__list .current_page_item > a::after,
.hfi-nav__list .current-menu-parent > a::after,
.hfi-nav__list .current-page-ancestor > a::after {
  transform: none;
  opacity: 1;
  background: var(--hfi-accent);
}
@media (prefers-reduced-motion: reduce) {
  .hfi-nav__list > li > a::after { transition: none; }
}

/* ==========================================================================
   Dropdown panel
   Was a generic bordered box, oversized for a single short item. Now it sizes
   to its content, drops the hard border for a hairline in accent plus a soft
   shadow, and the items read as menu items rather than loose links.
   ========================================================================== */
.hfi-nav__list .sub-menu {
  left: -1.125rem;
  min-width: max-content;
  padding: .5rem 0;
  background: var(--hfi-bone-2);
  border: 0;
  border-top: 1px solid var(--hfi-accent);
  box-shadow: 0 12px 28px -12px rgba(43, 39, 33, .28);
  gap: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.hfi-nav__list > li:hover > .sub-menu,
.hfi-nav__list > li:focus-within > .sub-menu { transform: translateY(0); }

.hfi-nav__list .sub-menu li { display: block; }
.hfi-nav__list .sub-menu a {
  display: block;
  padding: .5rem 1.125rem;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--hfi-ink-soft);
  transition: background-color .15s ease, color .15s ease;
}
.hfi-nav__list .sub-menu a:hover,
.hfi-nav__list .sub-menu a:focus-visible {
  background: var(--hfi-bone-3);
  color: var(--hfi-accent);
}
/* the parent keeps its rule lit while the panel is open */
.hfi-nav__list > li:hover > a::after,
.hfi-nav__list > li:focus-within > a::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hfi-nav__list .sub-menu { transition: none; transform: none; }
}
@media (max-width: 1024px) {
  .hfi-nav__list .sub-menu {
    border-top: 0; box-shadow: none; background: none;
    transform: none; padding: .25rem 0 0 1rem;
  }
  .hfi-nav__list .sub-menu a { padding: .375rem 0; }
  .hfi-nav__list .sub-menu a:hover { background: none; }
}

.hfi-work__lede { margin: 0 0 1.75rem; font-size: 1.125rem; color: var(--hfi-ink-soft); max-width: 34rem; }

/* Selected work rows: the project name should never break, and the descriptor
   was blowing out at 0.26em tracking. */
.hfi-work__name { white-space: nowrap; flex: none; }
.hfi-work__list .hfi-caps { letter-spacing: .14em; text-align: right; }

/* ==========================================================================
   Dropdown, take three.
   A shadowed panel is a software idiom; nothing else in this brand floats or
   casts a shadow. Instead the header band simply continues downward beneath
   the item, closed by the same hairline the header already uses. It needs an
   opaque ground only because it overlays the page beneath it.
   ========================================================================== */
.hfi-nav__list .sub-menu {
  left: 0;
  min-width: max-content;
  padding: .125rem 0 .625rem;
  background: var(--hfi-bone);
  border: 0;
  border-bottom: 1px solid var(--hfi-rule);
  box-shadow: none;
  transform: none;
}
.hfi-nav__list > li:hover > .sub-menu,
.hfi-nav__list > li:focus-within > .sub-menu { transform: none; }

.hfi-nav__list .sub-menu a {
  padding: .5rem 0;
  font-size: 1.0625rem;
  color: var(--hfi-muted);
  background: none;
}
.hfi-nav__list .sub-menu a:hover,
.hfi-nav__list .sub-menu a:focus-visible { background: none; color: var(--hfi-accent); }
/* Dropdown sizing and weight.
   width:max-content with min-width:100% gives the larger of the two, so the
   panel is never narrower than the term it hangs from, but still grows for a
   longer child. Text matches the nav rather than the muted tone it had. */
.hfi-nav__list .sub-menu {
  width: max-content;
  min-width: 100%;
}
.hfi-nav__list .sub-menu a {
  color: var(--hfi-ink-soft);
  font-size: 1.0625rem;
}
.hfi-nav__list .sub-menu a:hover,
.hfi-nav__list .sub-menu a:focus-visible { color: var(--hfi-accent); }

/* ==========================================================================
   Dropdown: solid Fig.
   The brand already uses solid accent bands (services bar, CTA band), so the
   dropdown reads as part of that language rather than a pale panel trying to
   blend into the header.
   ========================================================================== */
.hfi-nav__list .sub-menu {
  background: var(--hfi-accent);
  border: 0;
  border-bottom: 0;
  box-shadow: none;
  padding: .375rem 0;
}
.hfi-nav__list .sub-menu a {
  color: var(--hfi-on-accent);
  padding: .5rem 1rem;
  display: block;
}
.hfi-nav__list .sub-menu a:hover,
.hfi-nav__list .sub-menu a:focus-visible {
  background: var(--hfi-accent-deep);
  color: var(--hfi-on-accent);
}
/* the panel sits flush under the term it belongs to */
.hfi-nav__list .sub-menu { left: -1rem; }
.hfi-nav__list .sub-menu { min-width: calc(100% + 2rem); }

/* tighter dropdown */
.hfi-nav__list .sub-menu { padding: .125rem 0; }
.hfi-nav__list .sub-menu a { padding: .375rem 1rem; }

/* services: the short sub-heading above each package lede */
.hfi-pkg__sub { margin: 0; font-family: var(--hfi-display); font-size: 1.375rem; color: var(--hfi-accent); }

/* about: the testimonials block now carries its own heading */
.hfi-testimonials { display: block; }
.hfi-testimonials__head { display: flex; flex-direction: column; gap: .5rem; padding-bottom: 2rem; }
.hfi-testimonials__head h2 { margin: 0; font-size: 2.5rem; }
.hfi-testimonials__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4.5rem; }
@media (max-width: 1024px) { .hfi-testimonials__grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* architects: the how-I-can-help list */
.hfi-help__head { display: flex; flex-direction: column; gap: .5rem; padding-bottom: 1.5rem; }
.hfi-help__head h2 { margin: 0; font-size: 2.5rem; }
.hfi-help__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.hfi-help__list li { position: relative; padding-left: 1.5rem; font-size: 1.125rem; color: var(--hfi-ink-soft); max-width: 46rem; }
.hfi-help__list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--hfi-accent); }
.hfi-help__list strong { color: var(--hfi-ink); font-weight: 600; }
.hfi-help__note { margin: 1.75rem 0 0; font-size: 1.0625rem; color: var(--hfi-muted); font-style: italic; max-width: 46rem; }
.hfi-hero__lede--sm { font-size: 1.125rem; }

/* contact: form heading */
.hfi-contactpage__formhead { margin: 0 0 .5rem; font-size: 1.875rem; }
.hfi-contactpage__formnote { margin: 0 0 1.5rem; font-size: 1.0625rem; color: var(--hfi-ink-soft); }

/* Architects: the recent-work band lifts to the lighter bone so it reads as its
   own section between the bullets above and the Fig CTA below. It previously
   relied on the FAQ band underneath for that contrast; that band has gone. */
.hfi-recent { background: var(--hfi-bone-2); }

/* architects: the selected-projects intro sits under the heading, not beside it */
.hfi-recent__lede { margin: .75rem 0 0; font-size: 1.125rem; color: var(--hfi-ink-soft); max-width: 42rem; }

/* Home hero: the text column is top-aligned, so it ran out of content partway
   down the image and left a long run of empty bone. Two changes close it — the
   service area block below, and the image trimmed from 1100px to 950px (950 is
   the floor: shorter and the crop loses the top of the door frame and the
   chequerboard floor). The towns are the same list as the footer and contact
   page. margin-top:auto anchors the block to the foot of the column, so what
   space remains reads as an interval rather than a shortfall. */
.hfi-heroareas {
  margin-top: auto;
  padding-top: 2.25rem;
  border-top: 1px solid var(--hfi-rule);
  max-width: 32rem;
}
.hfi-heroareas__label {
  margin: 0 0 .625rem;
  font-family: var(--hfi-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--hfi-taupe);
}
.hfi-heroareas__list {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--hfi-ink-soft);
}
.hfi-heroareas__note {
  margin: .25rem 0 0;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--hfi-muted);
}

@media (max-width: 1024px) {
  /* stacked: there is no tall image holding the column open, so the block sits
     directly under the strapline and only needs its own breathing room */
  .hfi-heroareas { margin-top: 0; padding-top: 1.75rem; }
}

/* ==========================================================================
   Cookie choice
   --------------------------------------------------------------------------
   Pattern follows fraherdigital.com; the styling is Fig's. Ink ground rather
   than bone, because it has to read as chrome rather than as another band of
   the page — the pages below it are all bone and bone-2.

   Both buttons are given equal weight on purpose. A prominent Allow beside a
   grey No is a dark pattern, and the honest version is cheap to build.
   ========================================================================== */
.hfi-consent {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  background: var(--hfi-ink); color: var(--hfi-on-accent);
  border-top: 2px solid var(--hfi-accent);
}
.hfi-consent[hidden] { display: none; }
/* Set in the head by a script that reads the stored choice, so a visitor who
   has already answered never paints the banner at all. The banner itself is
   visible in the markup, so for everyone else it paints with the first render
   rather than waiting for a script at the end of the body. */
:root[data-consent="done"] .hfi-consent { display: none; }
.hfi-consent__inner {
  max-width: var(--hfi-content); margin: 0 auto;
  padding: 1.125rem var(--hfi-gutter);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
}
.hfi-consent__text {
  margin: 0; max-width: 62ch; font-size: .9375rem; line-height: 1.55;
  color: rgba(246,239,234,.82);
}
/* "What is collected" inherited `a { color: var(--hfi-ink) }`, which is the
   banner's own background: 1.00:1, an invisible link in the one place a
   visitor is being asked to make an informed choice. Found by the desk review
   of #34, pre-existing on main. 13.04:1, and underlined so it does not rely on
   colour alone. */
.hfi-consent__text a {
  color: var(--hfi-on-accent);
  text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px;
}
.hfi-consent__text a:hover, .hfi-consent__text a:focus-visible { text-decoration-thickness: 2px; }
.hfi-consent__actions { display: flex; gap: .625rem; }
.hfi-consent__btn {
  font-family: var(--hfi-display); font-size: .8125rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .75rem 1.375rem; cursor: pointer; border-radius: 0;
  background: transparent; color: var(--hfi-on-accent);
  border: 1px solid rgba(246,239,234,.45);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hfi-consent__btn:hover { background: rgba(246,239,234,.12); }
.hfi-consent__btn:focus-visible { outline: 2px solid var(--hfi-taupe); outline-offset: 2px; }

/* Allow in the Fig accent, on Peter's call.
   It keeps the light border. Fig #4E2E3B against the banner's ink ground is
   1.26:1 — as a filled shape the button would be almost invisible, even though
   the word on it reads at 10.38:1. The border carries the edge at 13.04:1, so
   the colour is brand rather than the only thing holding the button together.
   Padding, type and size stay identical to No thanks: the two answers differ
   in colour, not in how hard they are to find. */
.hfi-consent__btn--brand {
  background: var(--hfi-accent);
  border-color: rgba(246,239,234,.72);
}
.hfi-consent__btn--brand:hover { background: var(--hfi-accent-deep); }

@media (max-width: 1024px) {
  .hfi-consent__inner { padding: 1rem var(--hfi-gutter); }
  .hfi-consent__actions { width: 100%; }
  .hfi-consent__btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Legal pages
   --------------------------------------------------------------------------
   One column, measure-constrained. A privacy notice is read, not scanned, so
   it gets the body face at body size rather than being shrunk into small print
   — small print is how you signal that something is not meant to be read.
   ========================================================================== */
.hfi-legal { max-width: 46rem; }
.hfi-legal h2 {
  margin: 2.75rem 0 .875rem; font-size: 1.625rem; line-height: 1.25;
}
.hfi-legal h2:first-child { margin-top: 0; }
.hfi-legal p { margin: 0 0 1rem; font-size: 1.0625rem; line-height: 1.68; color: var(--hfi-ink-soft); }
.hfi-legal ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.hfi-legal li { margin: 0 0 .5rem; font-size: 1.0625rem; line-height: 1.68; color: var(--hfi-ink-soft); }
.hfi-legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9375em; background: var(--hfi-bone-2);
  padding: .0625rem .3125rem; border: 1px solid var(--hfi-rule);
}
.hfi-legal__stamp { font-style: italic; color: var(--hfi-muted); }
.hfi-legal__table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; }
.hfi-legal__table th,
.hfi-legal__table td {
  text-align: left; vertical-align: top; padding: .75rem 1rem .75rem 0;
  border-bottom: 1px solid var(--hfi-rule); font-size: 1rem; line-height: 1.6;
  color: var(--hfi-ink-soft);
}
.hfi-legal__table th {
  font-family: var(--hfi-display); font-size: .8125rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--hfi-muted);
}
@media (max-width: 1024px) {
  .hfi-legal__table, .hfi-legal__table tbody, .hfi-legal__table tr, .hfi-legal__table td { display: block; width: 100%; }
  .hfi-legal__table thead { display: none; }
  .hfi-legal__table tr { padding: .75rem 0; border-bottom: 1px solid var(--hfi-rule); }
  .hfi-legal__table td { border: 0; padding: 0 0 .25rem; }
  .hfi-legal__table td:last-child { font-style: italic; color: var(--hfi-muted); }
}

/* Inline field errors. Sit directly under the field they describe, tied to it
   with aria-describedby so a screen reader reads them as part of the field. */
.hfi-form__error {
  margin: .375rem 0 0; font-size: .9375rem; line-height: 1.5; color: #9A3324;
}
.hfi-form__error[hidden] { display: none; }
.hfi-form [aria-invalid="true"] { border-color: #9A3324; }

/* The front door on the contact page. Framed here rather than cropped into a
   separate file: the old WordPress upload URL 301s to this image, so it should
   stay the photograph Google indexed. object-fit takes the 375px the left
   column was leaving empty beside the form. */
.hfi-door {
  display: block; width: 100%; height: 375px;
  object-fit: cover; object-position: center 42%;
  margin-top: 2.25rem;
}
.hfi-door__cap { margin: .625rem 0 0; font-size: .9375rem; font-style: italic; color: var(--hfi-muted); }

@media (max-width: 1024px) {
  /* stacked, with no form beside it to match, so it keeps its own proportions */
  .hfi-door { height: auto; aspect-ratio: 1088 / 1333; }
}
