/* =========================================================
   John Frieda Mayfair — main stylesheet
   Framework-free. Mobile breakpoint: 980px (tablet/mobile).
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: "Branch"; src: url("../fonts/branch-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("../fonts/notosans-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("../fonts/notosans-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-pro-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-pro-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-pro-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-pro-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --c-black: #000;
  --c-white: #fff;
  --c-grey: #ebebeb;
  --c-grey-light: #f5f5f5;
  --c-accent: #994462;
  --c-text: #000;
  --f-display: "Branch", "Times New Roman", serif;
  --f-body: "Noto Sans", Helvetica, Arial, sans-serif;
  --f-alt: "Cormorant Garamond", Georgia, serif;
  --f-source: "Source Sans Pro", Helvetica, Arial, sans-serif;
  --container: 1080px;
  --gutter: 5.5%;
  --section-y: 54px;
  --header-h: 50px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-white); color: var(--c-text); font: 400 14px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; font-weight: 300; font-size: 16px; line-height: 1.8; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; font-weight: 400; line-height: 1.2; }
h1 { font: 400 58px/1.2 var(--f-display); text-transform: uppercase; }
h2 { font: 400 52px/1 var(--f-display); text-transform: uppercase; }
h3 { font: 400 25px/1.4 var(--f-body); }
h4 { font: 300 14px/1.5 var(--f-body); text-transform: uppercase; letter-spacing: 1px; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; font-weight: 300; font-size: 16px; line-height: 1.8; }
strong { font-weight: 700; }
address { font-style: normal; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.u-center { text-align: center; --ta: center; }
.u-right { text-align: right; --ta: right; }

/* ---------- Layout ----------
   Section  : .section            --spt/--spb (padding), -m variants for ≤980px
   Row      : .row                --rw (width), --rmax (max-width), --rpt/--rpb, --rpx
              .row--cols          columns side by side (desktop), --gap
              .row--cols-m        columns side by side also on mobile, --gap-m
              (stacked rows use --vgap-m between columns)
   Column   : .col                --cw / --cw-m (width), --cp / --cp-m (padding), --cbg
   Block    : any child of .col   --mb / --mb-m (space below)
*/
@property --mb { syntax: "*"; inherits: false; }
@property --mb-m { syntax: "*"; inherits: false; }
@property --mt { syntax: "*"; inherits: false; }
@property --mt-m { syntax: "*"; inherits: false; }
@property --mw { syntax: "*"; inherits: false; }
@property --rw { syntax: "*"; inherits: false; }
@property --rmax { syntax: "*"; inherits: false; }
@property --rpt { syntax: "*"; inherits: false; }
@property --rpb { syntax: "*"; inherits: false; }
@property --rpx { syntax: "*"; inherits: false; }
@property --rpt-m { syntax: "*"; inherits: false; }
@property --rpb-m { syntax: "*"; inherits: false; }
@property --gap { syntax: "*"; inherits: false; }
@property --gap-m { syntax: "*"; inherits: false; }
@property --vgap-m { syntax: "*"; inherits: false; }
@property --cw { syntax: "*"; inherits: false; }
@property --cw-m { syntax: "*"; inherits: false; }
@property --cp { syntax: "*"; inherits: false; }
@property --cp-m { syntax: "*"; inherits: false; }
@property --cbg { syntax: "*"; inherits: false; }
@property --cbgimg { syntax: "*"; inherits: false; }
@property --rbg { syntax: "*"; inherits: false; }
@property --rsh { syntax: "*"; inherits: false; }
@property --spt { syntax: "*"; inherits: false; }
@property --spb { syntax: "*"; inherits: false; }
@property --spt-m { syntax: "*"; inherits: false; }
@property --spb-m { syntax: "*"; inherits: false; }

.section { position: relative; padding: var(--spt, 54px) 0 var(--spb, 54px); }
.section--grey { background: var(--c-grey); }
.section--light { background: var(--c-grey-light); }
.section--dark { background: var(--c-black); color: var(--c-white); }
.row { width: var(--rw, 80%); max-width: var(--rmax, 1080px); margin: 0 auto; padding: var(--rpt, 27px) var(--rpx, 0px) var(--rpb, 27px); background: var(--rbg, transparent); box-shadow: var(--rsh, none); }
.col .row { width: var(--rw, 100%); }
.row--cols { display: flex; column-gap: var(--gap, 5.5%); align-items: flex-start; }
.row--cols > .col { flex: 0 0 var(--cw, auto); }
.row--equal { align-items: stretch; }
.col { min-width: 0; padding: var(--cp, 0px); background-color: var(--cbg, transparent); background-image: var(--cbgimg, none); }
.col > *, .block-link > *, .accordion > * { margin: var(--mt, 0px) 0 var(--mb, 0px); max-width: var(--mw, none); }
.col > .u-mx-auto { margin-inline: auto; }
.col > .u-ml-auto { margin-left: auto; }
.block-link { display: block; text-decoration: none; color: inherit; }

/* ---------- Content blocks ---------- */
.text > :last-child { margin-bottom: 0; }
.text h1, .text h2, .text h3, .text h4, .text h5, .text h6 { margin: 0; padding-bottom: 10px; }
.text p { margin: 0; padding-bottom: 1em; }
.text p:last-child { padding-bottom: 0; }
.text a { color: inherit; text-decoration: none; }
.text-link, .blurb-link { text-decoration: none; color: inherit; display: block; }
.media img { width: var(--img-w, 100%); box-shadow: var(--img-sh, none); border: var(--img-bd, 0); }
.media--center img { margin-inline: auto; }
.media--right img { margin-left: auto; }
.actions.u-center { text-align: center; --ta: center; }
.actions.u-right { text-align: right; --ta: right; }
.divider { border: 0; border-top: 1px solid currentColor; opacity: .3; margin: 0; }

/* ---------- Buttons (per-instance: --btn-fs, --btn-fw, --btn-lh, --btn-ls, --btn-pad, -m variants) ---------- */
.btn {
  display: inline-block; text-decoration: none; text-transform: uppercase; border: 1px solid var(--c-black); cursor: pointer;
  font-size: var(--btn-fs); font-weight: var(--btn-fw); line-height: var(--btn-lh); letter-spacing: var(--btn-ls, 2px); padding: var(--btn-pad, 16px 24px);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.btn--solid { --btn-fs: 12px; --btn-fw: 700; --btn-lh: 20.4px; background: var(--c-black); color: var(--c-white); font-family: var(--f-body); box-shadow: var(--btn-sh, none); }
.btn--solid:hover { background: #333; }
.btn--serif { --btn-fs: 24px; --btn-fw: 800; --btn-lh: 40.8px; background: var(--c-white); color: var(--c-black); font-family: var(--f-display); box-shadow: var(--btn-sh, 0 12px 18px -6px rgba(0,0,0,.3)); }
.btn--serif:hover { background: var(--c-grey); box-shadow: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: 0; z-index: 50; }
.nav-toggle {
  position: fixed; top: 0; left: 0; width: 53px; height: 53px; z-index: 60; padding: 0;
  background: var(--c-black); border: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px;
}
.nav-toggle span { display: block; width: 32px; height: 1px; background: var(--c-white); }
.header-bar {
  position: fixed; top: 0; right: 0; width: 550px; max-width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 50px 10px 32px; background: rgba(255,255,255,.5);
}
.header-bar__phone { display: flex; align-items: center; gap: 15px; text-decoration: none; color: var(--c-black); font: 700 18px/18px var(--f-body); }
.header-bar__phone .icon { width: 26px; height: 26px; }
.header-bar__cta { --btn-pad: 16px 30px; }
.header-call { display: none; }
.icon { display: inline-block; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; flex: none; }
.icon--phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 0 0-1.02.24l-2.2 2.2a15.07 15.07 0 0 1-6.59-6.59l2.2-2.21a.96.96 0 0 0 .25-1A11.36 11.36 0 0 1 8.5 4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1 17 17 0 0 0 17 17 1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z'/%3E%3C/svg%3E"); }
.icon--instagram { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2c3.2 0 3.6 0 4.8.1 3.3.1 4.8 1.7 4.9 4.9.1 1.3.1 1.6.1 4.8s0 3.6-.1 4.8c-.1 3.2-1.7 4.8-4.9 4.9-1.3.1-1.6.1-4.8.1s-3.6 0-4.8-.1c-3.3-.1-4.8-1.7-4.9-4.9C2.2 15.6 2.2 15.2 2.2 12s0-3.6.1-4.8C2.4 3.9 3.9 2.4 7.2 2.3c1.2-.1 1.6-.1 4.8-.1zM12 0C8.7 0 8.3 0 7.1.1 2.7.3.3 2.7.1 7.1 0 8.3 0 8.7 0 12s0 3.7.1 4.9c.2 4.4 2.6 6.8 7 7 1.2.1 1.6.1 4.9.1s3.7 0 4.9-.1c4.4-.2 6.8-2.6 7-7 .1-1.2.1-1.6.1-4.9s0-3.7-.1-4.9c-.2-4.4-2.6-6.8-7-7C15.7 0 15.3 0 12 0zm0 5.8a6.2 6.2 0 1 0 0 12.4 6.2 6.2 0 0 0 0-12.4zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.4-11.8a1.4 1.4 0 1 0 0 2.9 1.4 1.4 0 0 0 0-2.9z'/%3E%3C/svg%3E"); }

/* ---------- Off-canvas navigation ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: 225px; z-index: 70; background: var(--c-black); color: var(--c-white);
  display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .35s ease, box-shadow .35s;
}
.site-nav[hidden] { display: flex; visibility: hidden; }
.site-nav.is-open { transform: none; visibility: visible; box-shadow: 0 0 35px 3px rgba(0,0,0,.33); }
.site-nav__close { position: absolute; top: 14px; left: 16px; width: 22px; height: 22px; background: none; border: 0; cursor: pointer; }
.site-nav__close::before, .site-nav__close::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: #fff; transform: rotate(45deg); }
.site-nav__close::after { transform: rotate(-45deg); }
.site-nav__logo { position: absolute; top: 90px; left: 0; right: 0; padding: 0 16px; }
.site-nav__logo img { width: 193px; margin: 0 auto; }
.menu { list-style: none; margin: auto 0; padding: 0; }
.menu__item { position: relative; }
/* Producción (Superfly) declara 'Belleza' pero nunca la carga: lo que se ve es Helvetica (Mac/iOS) o Arial (Windows).
   Se copia esa pila tal cual se pinta, sin Belleza, para que lab122 se vea igual. */
.menu a { display: block; padding: 25px 0 25px 45px; color: #fff; text-decoration: none; font: 400 20px/20px Helvetica, Arial, Lucida, sans-serif; text-transform: capitalize; text-rendering: optimizeLegibility; }
.menu a:hover { opacity: .7; }
.menu__toggle { position: absolute; right: 0; top: 0; width: 42px; height: 70px; background: none; border: 0; cursor: pointer; }
.menu__toggle::before { content: ""; position: absolute; left: 15px; top: 29px; width: 7px; height: 7px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(45deg); transition: transform .2s; }
.menu__toggle[aria-expanded="true"]::before { transform: rotate(135deg); }
.menu__sub { list-style: none; padding: 0; margin: 0; display: none; }
.menu__sub.is-open { display: block; }
.menu__sub a { padding-left: 48px; }
@media (min-width: 981px) {
  .menu__toggle::before { transform: rotate(45deg); left: 13px; }
  .menu__toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
  .menu__sub { position: fixed; top: 0; bottom: 0; left: 225px; width: 247px; background: var(--c-black); flex-direction: column; justify-content: center; }
  .menu__sub.is-open { display: flex; }
  .menu__sub a { padding: 26px 0 26px 51px; }
}
.site-nav__social { position: absolute; left: 32px; bottom: 20px; color: #fff; display: flex; width: 45px; height: 45px; align-items: center; justify-content: center; }
.nav-overlay { position: fixed; inset: 0; z-index: 65; background: rgba(0,0,0,.35); }
.nav-overlay[hidden] { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 902px; overflow: hidden; background: #222; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__content { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; padding-bottom: 22px; }
.hero__logo { width: 520px; max-width: 80%; }
.hero--section { height: clamp(420px, 78vh, 760px); }

/* ---------- Tribute (homepage hero while active) ----------
   White strip ("In loving memory") · full-bleed band of photos in continuous motion · white strip with the name and
   dates ("John Frieda 1951–2026"), the progress line and the Pause button.
   Each copy of the strip moves -100% of its own width over --tribute-dur (set inline from the photos' ratios),
   so the loop is seamless and needs no measuring. svh = no jumps when the mobile address bar hides.
   Height = its content (no full-screen box): the name sits just under the fixed header and the press logos follow
   the band at normal section spacing, on every screen size. */
.tribute {
  --band-h: clamp(280px, 52vh, 560px);
  --band-h: clamp(280px, 52svh, 560px);
  --tribute-x: max(5.5%, 70px);
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--c-white); color: var(--c-black);
}
.tribute--photo { background: var(--c-white) var(--tribute-bg) center / cover no-repeat; }
.tribute--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-white); opacity: var(--tribute-veil, .8); }
.tribute__head { padding: 90px var(--tribute-x) clamp(18px, 3vh, 32px); }
/* 1.1.4: the top line («In Loving Memory») uses exactly the same type as the name below. */
.tribute__eyebrow, .tribute__name { margin: 0; font: 400 clamp(44px, 5.4vw, 80px)/.95 var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
.tribute__band { height: var(--band-h); overflow: hidden; }
.tribute__track { display: flex; height: 100%; width: max-content; }
.tribute__set {
  display: flex; flex: none; height: 100%; margin: 0; padding: 0; list-style: none;
  animation: tribute-scroll var(--tribute-dur, 180s) linear infinite;
  will-change: transform;
}
.tribute__item { flex: none; height: 100%; background: var(--c-grey-light); }
.tribute__img { display: block; height: 100%; width: auto; max-width: none; }
.tribute__foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; padding: clamp(18px, 3vh, 32px) var(--tribute-x) 24px; }
.tribute__caption { flex: 1 1 auto; min-width: 0; }
.tribute__note { margin: 10px 0 0; font: 300 12px/1.4 var(--f-body); letter-spacing: .24em; text-transform: uppercase; }
.tribute__controls { display: flex; align-items: center; gap: 18px; margin-left: auto; padding-bottom: .4em; }
.tribute__progress { position: relative; width: 120px; height: 1px; background: rgba(0,0,0,.18); overflow: hidden; }
.tribute__progress::after {
  content: ""; position: absolute; inset: 0; background: var(--c-black); transform-origin: left;
  animation: tribute-progress var(--tribute-dur, 180s) linear infinite;
}
.tribute__pause {
  margin-left: auto; padding: 6px 0; border: 0; background: none; color: inherit; cursor: pointer;
  font: 300 11px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; opacity: .6;
}
.tribute__pause:hover, .tribute__pause:focus-visible { opacity: 1; }
.tribute.is-paused .tribute__set, .tribute.is-paused .tribute__progress::after,
.tribute.is-offscreen .tribute__set, .tribute.is-offscreen .tribute__progress::after { animation-play-state: paused; }
@keyframes tribute-scroll { to { transform: translate3d(-100%, 0, 0); } }
@keyframes tribute-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  /* No motion: one still strip that can be scrolled by hand. */
  .tribute__band { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .tribute__set { animation: none; }
  .tribute__set[aria-hidden] { display: none; }
  .tribute__progress, .tribute__pause { display: none; }
}

/* ---------- People (team cards) ---------- */
.person { display: block; text-decoration: none; color: inherit; text-align: center; }
.person__media { overflow: hidden; }
.person__media img { width: 100%; transition: transform .4s; }
.person:hover .person__media img { transform: scale(1.03); }
.person__media { margin-bottom: var(--p-img-mb, 16px); }
.person__name { margin: 0 0 var(--p-name-mb, 4px); padding-bottom: 10px; font: 400 25px/1.4 var(--f-body); text-transform: none; letter-spacing: 0; }
.person__role { margin: 0; padding-bottom: 10px; color: var(--c-accent); font: 300 14px/1.5 var(--f-body); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Accordion (service lists) ---------- */
.acc { background: var(--c-white); border: 1px solid #999; padding: 20px; }
.acc__title { list-style: none; cursor: pointer; position: relative; padding-right: 50px; font: 400 36px/36px var(--f-display); letter-spacing: 1px; }
.acc__title::-webkit-details-marker { display: none; }
.acc__title::before { content: ""; position: absolute; right: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #000; }
.acc__title::after { content: ""; position: absolute; right: 3.5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; background: linear-gradient(#fff, #fff) center / 100% 1.2px no-repeat, linear-gradient(#fff, #fff) center / 1.2px 100% no-repeat; }
/* Como producción (Divi): ⊕ en las cerradas; la abierta no lleva icono. .is-closing (JS) lo muestra ya al empezar a cerrar. */
.acc[open]:not(.is-closing) > .acc__title::before, .acc[open]:not(.is-closing) > .acc__title::after { display: none; }
.acc__body { padding-top: 20px; }
.acc__body p { font: 300 16px/25.6px var(--f-body); margin: 0; padding-bottom: 1em; }
.acc__body p:last-child { padding-bottom: 0; }

/* ---------- Blurb ---------- */
.blurb { display: flex; align-items: flex-start; }
.blurb__body { padding-left: var(--bpad, 15px); }
.blurb--top { flex-direction: column; align-items: stretch; }
.blurb--top .blurb__body { padding-left: 0; }
.blurb__media { margin-bottom: var(--bimg-mb, 0px); text-align: center; }
.blurb__media img { width: var(--bimg-w, auto); margin: 0 auto; }
.blurb__title a { color: inherit; text-decoration: none; }

/* ---------- Carousel (generic) ----------
   data-per-view="desktop,mobile" sets --per-d / --per-m; --gap sets space between slides */
.carousel { --per: var(--per-d, 4); --cgap: 20px; position: relative; }
.carousel__track { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--cgap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--cgap)) / var(--per)); scroll-snap-align: start; }
.carousel__btn { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 0; background: var(--c-black); cursor: pointer; z-index: 2; }
.carousel__btn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -5px 0 0 -3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.carousel__btn--next::before { margin-left: -7px; transform: rotate(-135deg); }
.carousel__btn--prev { left: -25px; }
.carousel__btn--next { right: -25px; }

/* Press logos */
.logos { --cgap: 50px; }
.logos .carousel__slide { height: 135px; display: flex; align-items: center; justify-content: center; }
.logos img { width: 100%; height: auto; }

/* Team carousel */
.carousel--team .person__media img { aspect-ratio: 3 / 4; object-fit: cover; }
.carousel--team .person .person__media { margin-bottom: 25px; }
.carousel--team .person__name { font-size: 22px; line-height: 22px; padding-bottom: 16px; margin: 0; }
.carousel--team .person__role { font-weight: 300; line-height: 23.8px; letter-spacing: 0; padding: 0; }
.carousel--team .carousel__btn { top: calc(50% - 43px); }

/* Testimonial cards */
.carousel--quotes { --cgap: 14px; padding-bottom: 60px; }
.carousel--quotes .carousel__track { align-items: stretch; }
.quote { background: var(--c-white); color: var(--c-black); padding: 50px 20px 15px; height: 100%; }
.quote__logo { height: 60px; display: flex; justify-content: center; }
.quote__logo img { height: 60px; width: 100%; max-width: 500px; object-fit: contain; }
.quote__body { padding: 20px; }
.quote__source { margin: 0; padding-bottom: 10px; font: italic 400 16px/19.2px var(--f-body); }
.quote__text, .quote__text p { font: italic 300 18px/28.8px var(--f-body); margin: 0; }
.carousel--quotes .carousel__btn { width: 60px; height: 60px; margin-top: -30px; background: none; border-radius: 0; }
.carousel--quotes .carousel__btn::before { width: 14px; height: 14px; margin: -7px 0 0 -3px; border-width: 1px; }
.carousel--quotes .carousel__btn--next::before { margin-left: -11px; }
.carousel--quotes .carousel__btn--prev { left: -60px; }
.carousel--quotes .carousel__btn--next { right: -60px; }

/* ---------- Instagram + reviews ---------- */
.ig-feed { column-count: 3; column-gap: 12px; }
.ig-feed__item { break-inside: avoid; margin-bottom: 12px; }
.ig-feed .instagram-media { min-width: 0 !important; max-width: 100% !important; width: 100% !important; margin: 0 !important; }
.reviews { max-width: 960px; margin: 0 auto; }

/* ---------- Forms ---------- */
.form { display: flex; flex-wrap: wrap; gap: 14.5px 3%; }
.field { flex: 1 1 100%; }
.field--half { flex: 1 1 48.5%; }
.field input, .field textarea, .field select { width: 100%; display: block; color: #000; border-radius: 0; -webkit-appearance: none; appearance: none; }
.field textarea { height: 150px; resize: vertical; }
.form__actions { flex: 1 1 100%; text-align: right; }
.form__submit { cursor: pointer; background: #000; color: #fff; border: 2px solid #000; text-transform: uppercase; }
/* underlined variant (contact page) */
.form--line .field input, .form--line .field textarea { background: transparent; border: 0; border-bottom: 2px solid #000; padding: 16px 24px; font: 400 24px/1.2 var(--f-display); text-transform: uppercase; }
.form--line ::placeholder { color: #000; opacity: 1; }
.form--line .form__submit { margin-top: 10px; padding: 16px 24px; font: 400 14px/23.8px var(--f-body); letter-spacing: 2px; }
/* filled variant (join / hair model) */
.form--fill .field input, .form--fill .field textarea { background: #eee; border: 0; padding: 16px; font: 400 14px/1.4 var(--f-body); color: #999; }
.form--fill ::placeholder { color: #757575; }
.form--fill .form__submit { height: 51px; padding: 0 14px; font: 400 12px/1 var(--f-body); }
.form--white { row-gap: 16.5px; }
.form--white .field input, .form--white .field textarea { background: #fff; }
.form--white .field textarea { height: 184px; }
.form--white .form__actions { margin-top: 20px; }
.form--white .form__submit { height: auto; padding: 3.6px 12px; line-height: 20.4px; }
.map iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Blog list (articles) ---------- */
.blog-list__empty-title, .blog-list__empty-text { margin: 0; font: 400 14px/23.8px var(--f-body); }
.blog-list__empty-title { font-weight: 700; padding-bottom: 10px; }

/* ---------- Footer ---------- */
.container { width: 80%; max-width: var(--container); margin: 0 auto; }
.site-footer { background: var(--c-black); color: var(--c-white); padding: 54px 0; }
.site-footer__info { padding: 27px 0; }
.site-footer p, .site-footer address { font: 300 14px/22.4px var(--f-body); margin: 0 0 29.7px; }
.site-footer a { text-decoration: none; color: inherit; }
.site-footer .site-footer__brand { font-size: 18px; line-height: 28.8px; margin-bottom: 5px; }
.site-footer__phone { font-weight: 700; }
.site-footer .site-footer__email { margin-bottom: 10px; }
.site-footer .social { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; color: #fff; }
.site-footer .icon { width: 24px; height: 24px; }
.site-footer .site-footer__copy { border-top: 1px solid var(--c-white); padding: 27px 0; margin: 0; text-align: center; font: 400 16px/28.8px var(--f-source); }

/* ---------- Page specifics ---------- */

/* ---------- Text typography (per-instance overrides via --<tag>-<prop> custom properties) ---------- */
.text { font-family: var(--t-ff, var(--f-body)); font-size: var(--t-fs, 14px); font-weight: var(--t-fw, 400); line-height: var(--t-lh, 23.8px); letter-spacing: var(--t-ls, normal); text-transform: var(--t-tt, none); font-style: var(--t-fst, normal); color: var(--t-c, inherit); text-align: var(--ta, inherit); }
.text h1 { font-family: var(--h1-ff, var(--f-display)); font-size: var(--h1-fs, 58px); font-weight: var(--h1-fw, 400); line-height: var(--h1-lh, 69.6px); letter-spacing: var(--h1-ls, normal); text-transform: var(--h1-tt, uppercase); font-style: var(--h1-fst, normal); text-align: var(--h1-ta, inherit); color: var(--h1-c, inherit); }
.text h2 { font-family: var(--h2-ff, var(--f-display)); font-size: var(--h2-fs, 52px); font-weight: var(--h2-fw, 400); line-height: var(--h2-lh, 52px); letter-spacing: var(--h2-ls, normal); text-transform: var(--h2-tt, uppercase); font-style: var(--h2-fst, normal); text-align: var(--h2-ta, inherit); color: var(--h2-c, inherit); }
.text h3 { font-family: var(--h3-ff, var(--f-body)); font-size: var(--h3-fs, 25px); font-weight: var(--h3-fw, 400); line-height: var(--h3-lh, 35px); letter-spacing: var(--h3-ls, normal); text-transform: var(--h3-tt, none); font-style: var(--h3-fst, normal); text-align: var(--h3-ta, inherit); color: var(--h3-c, inherit); }
.text h4 { font-family: var(--h4-ff, var(--f-body)); font-size: var(--h4-fs, 14px); font-weight: var(--h4-fw, 300); line-height: var(--h4-lh, 21px); letter-spacing: var(--h4-ls, 1px); text-transform: var(--h4-tt, uppercase); font-style: var(--h4-fst, normal); text-align: var(--h4-ta, inherit); color: var(--h4-c, var(--c-accent)); }
.text h5 { font-family: var(--h5-ff, var(--f-body)); font-size: var(--h5-fs, 14px); font-weight: var(--h5-fw, 400); line-height: var(--h5-lh, 23.8px); letter-spacing: var(--h5-ls, normal); text-transform: var(--h5-tt, none); font-style: var(--h5-fst, normal); text-align: var(--h5-ta, inherit); color: var(--h5-c, inherit); }
.text h6 { font-family: var(--h6-ff, var(--f-body)); font-size: var(--h6-fs, 14px); font-weight: var(--h6-fw, 400); line-height: var(--h6-lh, 23.8px); letter-spacing: var(--h6-ls, normal); text-transform: var(--h6-tt, none); font-style: var(--h6-fst, normal); text-align: var(--h6-ta, inherit); color: var(--h6-c, inherit); }
.text p { font-family: var(--p-ff, var(--f-body)); font-size: var(--p-fs, 16px); font-weight: var(--p-fw, 300); line-height: var(--p-lh, 28.8px); letter-spacing: var(--p-ls, normal); text-transform: var(--p-tt, none); font-style: var(--p-fst, normal); text-align: var(--p-ta, inherit); color: var(--p-c, inherit); }
@media (max-width: 980px) {
  .text { font-size: var(--t-fs-m, var(--t-fs, 14px)); line-height: var(--t-lh-m, var(--t-lh, 23.8px)); letter-spacing: var(--t-ls-m, var(--t-ls, normal)); text-align: var(--ta-m, var(--ta, inherit)); }
  .text h1 { font-size: var(--h1-fs-m, var(--h1-fs, 58px)); line-height: var(--h1-lh-m, var(--h1-lh, 69.6px)); text-align: var(--h1-ta-m, var(--h1-ta, inherit)); letter-spacing: var(--h1-ls-m, var(--h1-ls, normal)); }
  .text h2 { font-size: var(--h2-fs-m, var(--h2-fs, 52px)); line-height: var(--h2-lh-m, var(--h2-lh, 52px)); text-align: var(--h2-ta-m, var(--h2-ta, inherit)); letter-spacing: var(--h2-ls-m, var(--h2-ls, normal)); }
  .text h3 { font-size: var(--h3-fs-m, var(--h3-fs, 25px)); line-height: var(--h3-lh-m, var(--h3-lh, 35px)); text-align: var(--h3-ta-m, var(--h3-ta, inherit)); letter-spacing: var(--h3-ls-m, var(--h3-ls, normal)); }
  .text h4 { font-size: var(--h4-fs-m, var(--h4-fs, 14px)); line-height: var(--h4-lh-m, var(--h4-lh, 21px)); text-align: var(--h4-ta-m, var(--h4-ta, inherit)); letter-spacing: var(--h4-ls-m, var(--h4-ls, 1px)); }
  .text h5 { font-size: var(--h5-fs-m, var(--h5-fs, 14px)); line-height: var(--h5-lh-m, var(--h5-lh, 23.8px)); text-align: var(--h5-ta-m, var(--h5-ta, inherit)); letter-spacing: var(--h5-ls-m, var(--h5-ls, normal)); }
  .text h6 { font-size: var(--h6-fs-m, var(--h6-fs, 14px)); line-height: var(--h6-lh-m, var(--h6-lh, 23.8px)); text-align: var(--h6-ta-m, var(--h6-ta, inherit)); letter-spacing: var(--h6-ls-m, var(--h6-ls, normal)); }
  .text p { font-size: var(--p-fs-m, var(--p-fs, 16px)); line-height: var(--p-lh-m, var(--p-lh, 28.8px)); text-align: var(--p-ta-m, var(--p-ta, inherit)); letter-spacing: var(--p-ls-m, var(--p-ls, normal)); }
}

/* ---------- Responsive visibility ---------- */
@media (min-width: 981px) { .u-hide-desktop { display: none !important; } }
@media (max-width: 980px) { .u-hide-mobile { display: none !important; } }

/* ---------- Testimonials grid ---------- */

/* ---------- Price list ---------- */

.price-list__row { display: flex; justify-content: space-between; gap: 16px; }
.price-list { margin: 0; padding: 9.7px 0 24.7px; }
.price-list dt { font: 700 14px/24px var(--f-body); text-transform: uppercase; }
.price-list dd { margin: 0; font: 300 14px/24px var(--f-body); text-align: right; }
/* Blurb used as a call button */
.blurb-link { display: inline-block; }
.blurb--btn { background: var(--c-black); color: var(--c-white); padding: 12px 24px; align-items: center; gap: 10px; }
.blurb--btn .blurb__body { padding-left: 0; }
.blurb--btn p { font: 700 12px/1.7 var(--f-body); text-transform: uppercase; letter-spacing: 2px; margin: 0; }
.blurb--btn .icon { width: 14px; height: 14px; }
.prices .row--cols { gap: 0; }
.prices .text { font: 400 15px/2 var(--f-body); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section { padding: var(--spt-m, 50px) 0 var(--spb-m, 50px); }
  .row { padding: var(--rpt-m, 30px) var(--rpx, 0px) var(--rpb-m, 30px); }
  .row--cols { display: flex; flex-direction: column; align-items: stretch; column-gap: 0; row-gap: var(--vgap-m, 30px); }
  .row--cols > .col { flex: none; width: 100%; }
  .row--cols-m { flex-direction: row; column-gap: var(--gap-m, 0px); row-gap: 0; }
  .row--cols-m > .col { flex: 0 0 var(--cw-m, auto); width: auto; }
  .col { padding: var(--cp-m, var(--cp, 0px)); }
  .col > *, .block-link > *, .accordion > * { margin-top: var(--mt-m, var(--mt, 0px)); margin-bottom: var(--mb-m, var(--mb, 0px)); }
  .media img { width: var(--img-w-m, var(--img-w, 100%)); }
  .btn { font-size: var(--btn-fs-m, var(--btn-fs)); line-height: var(--btn-lh-m, var(--btn-lh)); padding: var(--btn-pad-m, var(--btn-pad, 16px 24px)); }
  .header-bar { display: none; }
  .header-call { display: block; position: fixed; top: 0; right: 0; width: 60px; background: var(--c-white); }
  .header-call img { width: 60px; height: 59px; }
  .hero { height: calc(34vh + 114px); }
  .hero__content { padding: 0 0 18px; }
  .hero__logo { width: 80%; max-width: 312px; }
  .hero--section { height: calc(34vh + 114px); }
  .tribute { --band-h: clamp(220px, 44vh, 420px); --band-h: clamp(220px, 44svh, 420px); --tribute-x: 20px; }
  .tribute__head { padding-top: 76px; }
  .tribute__eyebrow, .tribute__name { font-size: clamp(28px, 8.4vw, 48px); }
  .tribute__foot { padding-top: 14px; }
  .tribute__progress { width: 80px; }
  .menu { margin: 30px 0 0; }
  .site-nav__logo { position: static; margin-top: 100px; }
  .site-nav__social { position: static; margin: 30px 0 0 16px; }
  .carousel { --per: var(--per-m, 1); }
  .carousel--team .carousel__btn { top: calc(50% - 55px); }
  .blurb__media img { width: var(--bimg-w-m, var(--bimg-w, auto)); }
  .quote__logo, .quote__logo img { height: 30px; }
  .quote__logo img { max-width: 250px; }
  .quote__text, .quote__text p { font-size: 17px; line-height: 27.2px; }
  .carousel--quotes .carousel__btn { width: 36px; height: 36px; margin-top: -18px; }
  .carousel--quotes .carousel__btn--prev { left: 0; }
  .carousel--quotes .carousel__btn--next { right: 0; }
  .carousel--quotes .carousel__btn::before { border-color: #000; }
  .field--half { flex-basis: 100%; }
  .site-footer { padding: 50px 0; }
  .site-footer__info { padding: 30px 0 60px; }
  .site-footer .site-footer__copy { padding: 30px 0; }
}

/* Plain text links built from blurbs (e.g. "Back to home") */
.blurb--back p { color: var(--c-accent); text-decoration: underline; font-size: 13px; }
.blurb__arrow { color: var(--c-accent); font-size: 22px; line-height: 1; }
.blurb--back { align-items: center; justify-content: center; }
.blurb--back .blurb__body { padding-left: 10px; }

/* Phones in landscape: everything must fit in the short screen. */
@media (max-height: 540px) and (orientation: landscape) {
  .tribute { --band-h: 48vh; --band-h: 48svh; }
  .tribute__head { padding-top: 58px; padding-bottom: 12px; }
  .tribute__eyebrow, .tribute__name { font-size: 30px; }
  .tribute__foot { padding-top: 10px; padding-bottom: 10px; }
}
