/* ========================================================================== 
   ShkiraDerm — Philosophy page
   Clean responsive stylesheet: desktop / tablet / mobile
   Scoped to .shkira-ph-page
   ========================================================================== */

/* ========================================================================== 
   01. TOKENS / BASE / SHARED CONTAINER
   ========================================================================== */

.shkira-ph-page {
  --ph-ink: var(--wp--preset--color--ink, #10201b);
  --ph-green: var(--wp--preset--color--deep-forest, #023c31);
  --ph-muted: var(--wp--preset--color--muted, #64716c);
  --ph-line: var(--wp--preset--color--line, #dce4de);
  --ph-paper: var(--wp--preset--color--paper, #fffefb);
  --ph-ivory: var(--wp--preset--color--ivory, #f7f5f0);
  --ph-gold: var(--wp--preset--color--gold, #c0971b);

  /* One horizontal grid for hero, visual strip, priorities and CTA. */
  --ph-wide: var(--wp--style--global--wide-size, 1440px);
  --ph-gutter: clamp(20px, 4vw, 64px);
  --ph-container: min(
    var(--ph-wide),
    calc(100% - (var(--ph-gutter) * 2))
  );

  color: var(--ph-ink);
  background: var(--ph-ivory);
  overflow: clip;
}

.shkira-ph-page,
.shkira-ph-page * {
  box-sizing: border-box;
}

.shkira-ph-page :where(h1, h2, h3, p, figure, blockquote) {
  margin-top: 0;
}

.shkira-ph-page a {
  text-underline-offset: .18em;
}

/* Gutenberg alignwide is intentionally normalised for this page. */
.shkira-ph-hero__inner,
.shkira-ph-visual-strip,
.shkira-ph-priorities,
.shkira-ph-cta {
  width: var(--ph-container) !important;
  max-width: var(--ph-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


.shkira-ph-cta::before{
    content: "";
    position: absolute;
    z-index: 0;
    bottom: -62px;
    width: clamp(230px, 24vw, 360px);
    height: clamp(230px, 24vw, 360px);
    background-image: url(../images/elements/leaf-sprig-small.webp);
    background-repeat: no-repeat;
    background-size: contain;
    filter: saturate(.62) brightness(1.08);
    pointer-events: none;
        left: -34px;
    background-position: left bottom;
    opacity: .18;
    transform: rotate(-8deg);
    transform-origin: left bottom;
}


/* ========================================================================== 
   02. HERO
   ========================================================================== */

.shkira-ph-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 48vw, 690px);
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(3rem, 5vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 50%, rgba(255, 254, 251, .84), transparent 24%),
    linear-gradient(105deg, #fffefb 0%, #f7f5f0 58%, #eaf0eb 100%);
}

.shkira-ph-hero__inner {
  position: relative;
  z-index: 3;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.shkira-ph-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 clamp(2rem, 4vw, 4rem) !important;
  color: var(--ph-muted);
  font-size: .8125rem;
  line-height: 1.45;
}

.shkira-ph-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.shkira-ph-hero__grid {
  display: flex;
  align-items: flex-end;
  gap: clamp(2rem, 5vw, 6rem);
  margin: 0 !important;
}

.shkira-ph-hero__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.shkira-ph-kicker {
  margin-bottom: .9rem !important;
  color: var(--ph-green);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.shkira-ph-title {
  max-width: 9ch;
  margin: 0 0 1.35rem !important;
  color: var(--ph-green);
  font-family: var(--wp--preset--font-family--brygada-1918, "Brygada 1918", serif);
  font-size: clamp(3.7rem, 6vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .9;
  text-wrap: balance;
}

.shkira-ph-subtitle {
  margin-bottom: 1.2rem !important;
  color: var(--ph-green);
  font-family: var(--wp--preset--font-family--brygada-1918, "Brygada 1918", serif);
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
}

.shkira-ph-lead {
  max-width: 54ch;
  margin: 0 0 1.8rem !important;
  color: #10201b;
  line-height: 1.65;
}

.shkira-ph-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem !important;
  margin: 0 !important;
}

.shkira-ph-actions .wp-block-button {
  width: auto !important;
  flex: 0 0 auto;
}

.shkira-ph-actions .wp-block-button__link {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
  min-width: 0 !important;
  align-items: center;
   gap: 1.5rem;
  white-space: normal;
}

.shkira-ph-hero__manifesto {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.shkira-ph-quote {
  width: min(100%, 360px);
  margin: 0 0 0 auto !important;
  padding: clamp(1.5rem, 2.4vw, 2.6rem);
  border: 1px solid rgba(255, 254, 251, .62);
  border-radius: 22px;
  background: rgba(255, 254, 251, .78);
  box-shadow: 0 22px 70px rgba(2, 60, 49, .05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.shkira-ph-quote p {
  margin: 0 0 1.25rem !important;
  color: var(--ph-green);
  font-family: var(--wp--preset--font-family--brygada-1918, "Brygada 1918", serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.18;
}

.shkira-ph-quote p::before {
  display: block;
  content: "“";
  margin-bottom: .25rem;
  color: var(--ph-gold);
  font-size: 3.4rem;
  line-height: .65;
}

.shkira-ph-quote cite {
  color: var(--ph-muted);
  font-size: .8125rem;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Decorative assets stay full-bleed, while all actual content stays in container. */
.shkira-ph-decor {
  position: absolute;
  z-index: 1;
  margin: 0 !important;
  pointer-events: none;
}

.shkira-ph-decor img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shkira-ph-decor--silk {
  top: 4%;
  right: -5%;
  width: min(62vw, 900px);
  opacity: .92;
}

.shkira-ph-decor--pearl {
  top: 26%;
  left: 48%;
  width: clamp(100px, 13vw, 190px);
}

.shkira-ph-decor--leaf {
  right: -7%;
  bottom: -20%;
  width: clamp(250px, 32vw, 470px);
  opacity: .52;
}


/* ========================================================================== 
   03. VISUAL STRIP
   ========================================================================== */

.shkira-ph-visual-strip {
  position: relative;
  z-index: 4;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 !important;
  margin-top: clamp(-1.5rem, -2vw, -2.4rem) !important;
  margin-bottom: 1rem !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ph-paper);
}

.shkira-ph-visual-strip__item {
  min-width: 0;
  min-height: clamp(180px, 16vw, 225px) !important;
  border-radius: 0;
}

.shkira-ph-visual-strip__item .wp-block-cover__image-background {
  filter: saturate(.7) contrast(.9);
}

.shkira-ph-visual-strip__item .wp-block-cover__inner-container {
  align-self: flex-end;
  padding: clamp(1rem, 2vw, 1.75rem);
}

.shkira-ph-visual-strip__item p {
  max-width: 16ch;
  margin: 0 !important;
  color: #fffefb;
  font-size: .8125rem !important;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.45;
}


/* ========================================================================== 
   04. OPTIONAL TRUST BLOCK
   ========================================================================== */

.shkira-ph-trust {
  gap: 0 !important;
  margin-top: 1rem !important;
  margin-bottom: clamp(3rem, 5vw, 5.5rem) !important;
  border: 1px solid rgba(16, 32, 27, .08);
  border-radius: 16px;
  background: rgba(255, 254, 251, .72);
}

.shkira-ph-trust__item {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  grid-template-rows: auto auto;
  column-gap: .85rem;
  padding: 1.2rem clamp(1rem,1.6vw,1.6rem);
  border-left: 1px solid rgba(16, 32, 27, .08);
}

.shkira-ph-trust__item:first-child { border-left: 0; }

.shkira-ph-trust__icon {
  display: grid;
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(2, 60, 49, .18);
  border-radius: 50%;
  color: var(--ph-green);
  font-size: 1.2rem;
}

.shkira-ph-trust__item h3 {
  margin: 0 0 .25rem !important;
  font-size: .9375rem;
  font-weight: 600;
}

.shkira-ph-trust__item > p:last-child {
  margin: 0 !important;
  color: var(--ph-muted);
  font-size: .8125rem;
  line-height: 1.45;
}


/* ========================================================================== 
   05. PRIORITIES
   ========================================================================== */

.shkira-ph-priorities {
  padding: 0 0 clamp(3rem,5vw,5.5rem) !important;
}

.shkira-ph-section-head {
  align-items: flex-end;
  gap: 1rem 2rem;
  margin-bottom: 1.4rem !important;
}

.shkira-ph-section-head h2 {
  max-width: 30ch;
  margin: 0 !important;
  font-family: var(--wp--preset--font-family--brygada-1918, "Brygada 1918", serif);
  font-size: clamp(2rem,3.1vw,3.55rem);
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}

.shkira-ph-section-head > p {
  max-width: 24ch;
  margin: 0 !important;
  color: #afc1b5;
  font-size: .8125rem;
  letter-spacing: .18em;
  line-height: 1.5;
}

.shkira-ph-priority {
  display: grid !important;
  grid-template-columns: 120px minmax(0,1fr) minmax(330px,39%);
  align-items: stretch;
  gap: clamp(1.25rem,2.3vw,2.5rem);
  width: 100%;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 27, .09);
  border-radius: 18px;
  background: rgba(255, 254, 251, .62);
}

.shkira-ph-priority__number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  margin: 0 !important;
  padding: clamp(1.4rem,2.4vw,2.3rem) .8rem !important;
  border-right: 1px solid rgba(16, 32, 27, .08);
}

/* One typography rule for 01 / 02 / 03 / 04, regardless of Gutenberg inline classes. */
.shkira-ph-priority__number > p,
.shkira-ph-priority__number > p:first-child,
.shkira-ph-priority__number > p.has-display-font-size,
.shkira-ph-priority__number > p.has-large-font-size {
  margin: 0 !important;
  color: #afc1b5;
  font-family: var(--wp--preset--font-family--brygada-1918, "Brygada 1918", serif);
  font-size: clamp(3.1rem,4.2vw,4.5rem) !important;
  font-weight: 400 !important;
  letter-spacing: -.035em;
  line-height: .9 !important;
}

.shkira-ph-priority__content {
  min-width: 0;
  margin: 0 !important;
  padding: clamp(1.4rem,2.4vw,2.3rem) 0 !important;
}

.shkira-ph-priority__content h3 {
  max-width: 31ch;
  margin: 0 0 .9rem !important;
  font-family: var(--wp--preset--font-family--brygada-1918, "Brygada 1918", serif);
  font-size: clamp(1.4rem,1.8vw,1.85rem);
  font-weight: 500;
  line-height: 1.12;
}

.shkira-ph-priority__content > p:not(.shkira-ph-point) {
  max-width: 70ch;
  margin: 0 0 .9rem !important;
  color: #10201b;
  font-size: .9375rem;
  line-height: 1.58;
}

.shkira-ph-point {
  position: relative;
  max-width: 76ch;
  margin: .55rem 0 0 !important;
  padding-left: 1.8rem;
  color: #10201b;
  font-size: .875rem;
  line-height: 1.55;
}

.shkira-ph-point::before {
  position: absolute;
  top: .12rem;
  left: 0;
  display: grid;
  width: 1rem;
  height: 1rem;
  content: "✓";
  place-items: center;
  border-radius: 50%;
  background: var(--ph-green);
  color: #fffefb;
  font-size: .7rem;
  font-weight: 700;
}

.shkira-ph-priority__media {
  min-width: 0;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #dce4de;
}

.shkira-ph-priority__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.shkira-ph-priority__media--contain {
  padding: 1.4rem !important;
  background: linear-gradient(145deg,#eaf0eb,#f7f5f0);
}

.shkira-ph-priority__media--contain img {
  object-fit: contain;
}


/* ========================================================================== 
   06. CTA — shared ShkiraDerm CTA system
   Desktop: copy left / button right
   Tablet: centred stack
   Mobile: compact centred stack
   ========================================================================== */

.shkira-ph-cta {
  position: relative;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  min-height: clamp(300px, 24vw, 360px);
  margin-top: clamp(1.5rem, 3vw, 3rem) !important;
  margin-bottom: clamp(2rem, 4vw, 4rem) !important;
  padding: clamp(3rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem) !important;
  overflow: hidden;
  border: 0;
  border-radius: clamp(24px, 2vw, 32px);
  background: var(--ph-green);
  color: var(--ph-paper);
}

.shkira-ph-cta__copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

/* Optional editable eyebrow paragraph placed before H2. */
.shkira-ph-cta__eyebrow {
  margin: 0 0 .8rem !important;
  color: var(--ph-gold) !important;
  font-size: clamp(.75rem, .9vw, .875rem) !important;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.shkira-ph-cta__copy h2 {
  max-width: 18ch;
  font-size: 48px!important;
  margin: 0 0 1rem !important;
  color: var(--ph-paper) !important;
  font-size: clamp(2.7rem, 4vw, 4.5rem);
  font-weight: inherit;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.shkira-ph-cta__copy > p:not(.shkira-ph-cta__eyebrow) {
  max-width: 66ch;
  margin: 0 !important;
  color: rgba(255, 254, 251, .82) !important;
  font-size: clamp(.95rem, 1.2vw, 1.125rem);
  line-height: 1.55;
}

.shkira-ph-cta > .wp-block-buttons {
  position: relative;
  z-index: 4;
  display: flex !important;
  width: auto !important;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  margin: 0 !important;
}

.shkira-ph-cta > .wp-block-buttons .wp-block-button {
  width: auto !important;
  margin: 0 !important;
}

/* Colours/typography stay in the global button system; CTA controls geometry only. */
.shkira-ph-cta > .wp-block-buttons .wp-block-button__link {
  display: inline-flex !important;
  width: auto !important;
  min-width: clamp(280px, 25vw, 390px);
  max-width: 100%;
  min-height: 64px;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
}

.shkira-ph-cta__leaf {
  position: absolute;
  z-index: 1;
  left: -3%;
  bottom: -30%;
  width: clamp(280px, 31vw, 480px);
  margin: 0 !important;
  opacity: .19;
  pointer-events: none;
}

.shkira-ph-cta__leaf img {
  display: block;
  width: 100%;
  height: auto;
}

.shkira-ph-cta::after {
  position: absolute;
  z-index: 0;
  right: -12%;
  bottom: -55%;
  width: 42%;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 254, 251, .035), transparent 68%);
  pointer-events: none;
}


/* ========================================================================== 
   07. TABLET / SMALL DESKTOP — 783–1180px
   ========================================================================== */

@media (max-width: 1180px) and (min-width: 783px) {
  .shkira-ph-page {
    --ph-gutter: clamp(24px,3.5vw,42px);
  }

  .shkira-ph-hero {
    min-height: 540px;
    padding-top: 2.4rem;
    padding-bottom: 3.4rem;
  }

  .shkira-ph-breadcrumb {
    margin-bottom: 2.4rem !important;
  }

  .shkira-ph-hero__grid {
    gap: clamp(2rem,4vw,3.5rem);
  }

  .shkira-ph-title {
    max-width: 8.5ch;
    font-size: clamp(3.6rem,7vw,5.2rem);
  }

  .shkira-ph-lead {
    max-width: 46ch;
    font-size: .9375rem;
  }

  .shkira-ph-quote {
    width: min(100%,330px);
    padding: 1.6rem;
  }

  .shkira-ph-decor--silk {
    top: 9%;
    right: -15%;
    width: min(72vw,780px);
    opacity: .72;
  }

  .shkira-ph-decor--pearl {
    top: 31%;
    right: 30%;
    left: auto;
    width: 130px;
  }

  .shkira-ph-decor--leaf {
    right: -12%;
    bottom: -17%;
    width: 340px;
    opacity: .4;
  }

  .shkira-ph-visual-strip__item {
    min-height: 185px !important;
  }

  .shkira-ph-priority {
    grid-template-columns: 88px minmax(0,1fr) minmax(250px,34%);
    gap: 1.25rem;
  }

  .shkira-ph-priority__number > p,
  .shkira-ph-priority__number > p:first-child,
  .shkira-ph-priority__number > p.has-display-font-size,
  .shkira-ph-priority__number > p.has-large-font-size {
    font-size: 3.3rem !important;
  }

  .shkira-ph-priority__content h3 {
    font-size: 1.4rem;
  }

  .shkira-ph-priority__content > p:not(.shkira-ph-point),
  .shkira-ph-point {
    font-size: .875rem;
  }

  /* ---------------- CTA ---------------- */
  .shkira-ph-cta {
    display: flex !important;
    min-height: 430px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem clamp(2.5rem, 6vw, 5rem) !important;
    text-align: center;
  }

  .shkira-ph-cta__copy {
    max-width: 820px;
    margin-inline: auto !important;
  }

  .shkira-ph-cta__eyebrow {
    margin-bottom: .75rem !important;
  }

  .shkira-ph-cta__copy h2 {
    max-width: 18ch;
    margin: 0 auto 1rem !important;
    font-size: clamp(3rem, 6vw, 4.15rem);
    text-align: center;
  }

  .shkira-ph-cta__copy > p:not(.shkira-ph-cta__eyebrow) {
    max-width: 62ch;
    margin-inline: auto !important;
    text-align: center;
  }

  .shkira-ph-cta > .wp-block-buttons {
    width: auto !important;
    justify-content: center;
    margin-inline: auto !important;
  }

  .shkira-ph-cta > .wp-block-buttons .wp-block-button__link {
    min-width: 340px;
  }

  .shkira-ph-cta__leaf {
    left: -4%;
    bottom: -33%;
    width: clamp(320px, 42vw, 440px);
    opacity: .18;
  }
}


/* ========================================================================== 
   08. PORTRAIT TABLET / MOBILE — ≤782px
   Hero and every section use the SAME container gutter.
   Priority cards become PHOTO-FIRST.
   ========================================================================== */

@media (max-width: 782px) {
  .shkira-ph-page {
    --ph-gutter: 16px;
    --ph-container: calc(100% - 32px);
  }

  /* ---------------- HERO ---------------- */
  .shkira-ph-hero {
    min-height: auto;
    padding: 1.6rem 0 2.4rem;
  }

  .shkira-ph-hero__inner,
  .shkira-ph-visual-strip,
  .shkira-ph-priorities,
  .shkira-ph-cta {
    width: var(--ph-container) !important;
    max-width: var(--ph-container) !important;
  }

  .shkira-ph-breadcrumb {
    margin-bottom: 1.9rem !important;
    font-size: .8125rem;
  }

  .shkira-ph-hero__grid {
    display: block !important;
  }

  .shkira-ph-hero__copy,
  .shkira-ph-hero__manifesto {
    width: 100% !important;
  }

  .shkira-ph-kicker {
    margin-bottom: .9rem !important;
    font-size: .8125rem;
    letter-spacing: .16em;
  }

  .shkira-ph-title {
    max-width: 8.5ch;
    margin-bottom: 1.25rem !important;
    font-size: clamp(3rem,12.5vw,3.85rem);
    line-height: .92;
  }

  .shkira-ph-lead {
    max-width: 40ch;
    margin-bottom: 1.45rem !important;
    font-size: .9375rem !important;
    line-height: 1.58;
  }

  /* Compact buttons: no forced 100% width. */
  .shkira-ph-actions {
    display: flex !important;
    width: 100%;
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: .7rem !important;
  }

  .shkira-ph-actions .wp-block-button {
    width: auto !important;
    max-width: 100%;
  }

  .shkira-ph-actions .wp-block-button__link {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100%;
    min-width: 0 !important;
    min-height: 50px;
    gap: 1.35rem;
    padding: .8rem 1.15rem !important;
    font-size: .8125rem !important;
    text-align: left;
  }

  .shkira-ph-hero__manifesto {
    margin-top: 1.6rem;
  }

  .shkira-ph-quote {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 1.35rem 1.45rem;
    border-radius: 20px;
  }

  .shkira-ph-quote p {
    font-size: clamp(1.3rem,5.8vw,1.6rem);
  }

  .shkira-ph-decor--silk {
    top: 30%;
    right: -60%;
    width: 145vw;
    opacity: .48;
  }

  .shkira-ph-decor--pearl {
    top: 43%;
    right: 1%;
    left: auto;
    width: 100px;
    opacity: .72;
  }

  .shkira-ph-decor--leaf {
    right: -42%;
    bottom: 1%;
    width: 245px;
    opacity: .2;
  }

  /* ---------------- VISUAL STRIP ---------------- */
  .shkira-ph-visual-strip {
    display: flex !important;
    gap: 0 !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .shkira-ph-visual-strip::-webkit-scrollbar { display: none; }

  .shkira-ph-visual-strip__item {
    flex: 0 0 84%;
    min-width: 84%;
    min-height: 180px !important;
    scroll-snap-align: start;
  }

  .shkira-ph-visual-strip__item .wp-block-cover__inner-container {
    padding: 1.15rem;
  }

  .shkira-ph-visual-strip__item p {
    max-width: 15ch;
    font-size: .8125rem !important;
    letter-spacing: .12em;
  }

  /* ---------------- OPTIONAL TRUST ---------------- */
  .shkira-ph-trust {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    margin-bottom: 3.5rem !important;
  }

  .shkira-ph-trust__item {
    display: block;
    padding: 1rem;
    border-top: 1px solid rgba(16, 32, 27, .08);
  }

  .shkira-ph-trust__item:nth-child(-n/**/+2) { border-top: 0; }
  .shkira-ph-trust__item:nth-child(odd) { border-left: 0; }

  .shkira-ph-trust__icon {
    width: 38px;
    height: 38px;
    margin-bottom: .65rem;
  }

  .shkira-ph-trust__item h3,
  .shkira-ph-trust__item > p:last-child {
    font-size: .8125rem;
    line-height: 1.4;
  }

  /* ---------------- PRIORITIES ---------------- */
  .shkira-ph-priorities {
    margin-top: 3rem !important;
    padding-bottom: 3.5rem !important;
  }

  .shkira-ph-section-head {
    display: block !important;
    margin-bottom: 1.5rem !important;
  }

  .shkira-ph-section-head h2 {
    max-width: 15ch;
    margin-bottom: 0 !important;
    font-size: clamp(2.15rem,9vw,2.8rem);
    line-height: 1.02;
  }

  .shkira-ph-section-head > p { display: none; }

  /* Card: row 1 = photo, row 2 = number + content. */
  .shkira-ph-priority {
    grid-template-columns: 68px minmax(0,1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 0 !important;
    width: 100%;
    margin: 0 0 1rem !important;
    border-radius: 16px;
  }

  .shkira-ph-priority__media,
  .shkira-ph-priority__media--contain {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: clamp(220px,60vw,310px) !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-bottom: 1px solid rgba(16, 32, 27, .08);
    background: #dce4de;
  }

  .shkira-ph-priority__media img,
  .shkira-ph-priority__media--contain img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .shkira-ph-priority__number {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: stretch;
    justify-content: center;
    margin: 0 !important;
    padding: 1.25rem .4rem !important;
    border-right: 1px solid rgba(16, 32, 27, .08);
  }

  .shkira-ph-priority__number > p,
  .shkira-ph-priority__number > p:first-child,
  .shkira-ph-priority__number > p.has-display-font-size,
  .shkira-ph-priority__number > p.has-large-font-size {
    font-size: 2.65rem !important;
    line-height: .9 !important;
  }

  .shkira-ph-priority__content {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0;
    padding: 1.25rem 1rem 1.35rem !important;
  }

  .shkira-ph-priority__content h3 {
    max-width: none;
    margin-bottom: .8rem !important;
    font-size: 1.3rem !important;
    line-height: 1.15;
    text-wrap: balance;
  }

  .shkira-ph-priority__content > p:not(.shkira-ph-point),
  .shkira-ph-point {
    font-size: .875rem !important;
    line-height: 1.55;
  }

  .shkira-ph-point {
    padding-left: 1.65rem;
  }

  /* ---------------- CTA ---------------- */
  .shkira-ph-cta {
    display: flex !important;
    min-height: 0;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 1.75rem;
    padding: clamp(2.8rem, 10vw, 3.8rem) clamp(1.3rem, 6vw, 2.2rem) clamp(3rem, 11vw, 4.2rem) !important;
    border-radius: 24px;
    text-align: center;
  }

  .shkira-ph-cta__copy {
    width: 100%;
    max-width: 520px;
    margin: 0 auto !important;
  }

  .shkira-ph-cta__eyebrow {
    margin-bottom: .65rem !important;
    font-size: .75rem !important;
    letter-spacing: .2em;
  }

  .shkira-ph-cta__copy h2 {
   font-size: 34px!important;
    margin: 0 auto 1rem !important;
    text-align: center;
  }

  .shkira-ph-cta__copy > p:not(.shkira-ph-cta__eyebrow) {
    max-width: 34ch;
    margin-inline: auto !important;
    font-size: 1rem;
    line-height: 1.55;
    text-align: center;
  }

  .shkira-ph-cta > .wp-block-buttons {
    display: flex !important;
    width: min(100%, 460px) !important;
    justify-content: center;
    margin: 0 auto !important;
  }

  .shkira-ph-cta > .wp-block-buttons .wp-block-button {
    width: 100% !important;
  }

  .shkira-ph-cta > .wp-block-buttons .wp-block-button__link {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    min-height: 60px;
    padding-inline: clamp(1.4rem, 6vw, 2rem) !important;
  }

  .shkira-ph-cta__leaf {
    left: -15%;
    bottom: -14%;
    width: clamp(250px, 78vw, 370px);
    opacity: .18;
  }
}


/* ========================================================================== 
   09. SMALL MOBILE — ≤480px
   ========================================================================== */

@media (max-width: 480px) {
  .shkira-ph-page {
    --ph-gutter: 14px;
    --ph-container: calc(100% - 28px);
  }

  .shkira-ph-hero {
    padding-top: 1.35rem;
    padding-bottom: 2.1rem;
  }

  .shkira-ph-breadcrumb {
    margin-bottom: 1.7rem !important;
  }

  .shkira-ph-title {
    max-width: 8ch;
    font-size: clamp(2.85rem,13vw,3.55rem);
  }

  .shkira-ph-lead {
    font-size: .9375rem !important;
  }

  .shkira-ph-actions .wp-block-button__link {
    min-height: 48px;
    padding: .75rem 1rem !important;
    font-size: .8125rem !important;
  }

  .shkira-ph-quote {
    padding: 1.2rem;
  }

  .shkira-ph-visual-strip__item {
    flex-basis: 86%;
    min-width: 86%;
  }

  .shkira-ph-section-head h2 {
    font-size: clamp(2.05rem,9.5vw,2.55rem);
  }

  .shkira-ph-priority {
    grid-template-columns: 58px minmax(0,1fr) !important;
  }

  .shkira-ph-priority__media,
  .shkira-ph-priority__media--contain {
    height: clamp(205px,61vw,260px) !important;
  }

  .shkira-ph-priority__number {
    padding: 1.1rem .3rem !important;
  }

  .shkira-ph-priority__number > p,
  .shkira-ph-priority__number > p:first-child,
  .shkira-ph-priority__number > p.has-display-font-size,
  .shkira-ph-priority__number > p.has-large-font-size {
    font-size: 2.25rem !important;
  }

  .shkira-ph-priority__content {
    padding: 1.1rem .9rem 1.2rem !important;
  }

  .shkira-ph-priority__content h3 {
    font-size: 1.18rem !important;
    line-height: 1.18;
  }

  .shkira-ph-priority__content > p:not(.shkira-ph-point),
  .shkira-ph-point {
    font-size: .875rem !important;
    line-height: 1.52;
  }

  .shkira-ph-point {
    padding-left: 1.55rem;
  }

  .shkira-ph-cta {
    padding: 2.8rem 1.15rem 3.2rem !important;
    border-radius: 22px;
  }

  .shkira-ph-cta__copy > p:not(.shkira-ph-cta__eyebrow) {
    font-size: .9375rem;
  }

  .shkira-ph-cta > .wp-block-buttons .wp-block-button__link {
    min-height: 58px;
  }
}

/* ========================================================================== 
   10. PHILOSOPHY HERO — SERVICE-PAGE COMPOSITION (1.7.16)
   Keeps the existing philosophy page content compatible after a theme update,
   while matching the geometry of the universal service hero.
   ========================================================================== */

.shkira-ph-page .shkira-ph-hero {
  min-height: 0;
  padding-block: clamp(38px, 5vw, 72px);
  overflow: visible;
  background: linear-gradient(
    135deg,
    var(--wp--preset--color--paper, #fffefb),
    var(--wp--preset--color--ivory, #f7f5f0)
  );
}

/* Service pages use a deliberately tighter hero shell than the long-form sections. */
.shkira-ph-page .shkira-ph-hero__inner {
  width: min(calc(100% - 30px), 1300px) !important;
  max-width: 1300px !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

/* The service hero has no breadcrumb or ornamental floating assets. */
.shkira-ph-page .shkira-ph-breadcrumb,
.shkira-ph-page .shkira-ph-decor {
  display: none !important;
}

.shkira-ph-page .shkira-ph-hero__grid {
  display: grid !important;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: stretch !important;
  gap: clamp(30px, 4.5vw, 68px) !important;
  margin: 0 !important;
}

.shkira-ph-page .shkira-ph-hero__copy {
  display: flex;
  min-width: 0;
  padding-block: clamp(12px, 2vw, 28px);
  flex-direction: column;
  justify-content: center;
}

.shkira-ph-page .shkira-ph-kicker {
  margin: 0 0 12px !important;
  color: var(--wp--preset--color--forest, var(--ph-green));
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.shkira-ph-page .shkira-ph-title {
  max-width: 8ch;
  margin: 0 0 22px !important;
  color: var(--ph-ink);
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

/* The old pattern contained a separate editorial subtitle. In the service-style
   first screen the hierarchy is kicker -> H1 -> lead, so keep old saved pages tidy. */
.shkira-ph-page .shkira-ph-subtitle {
  display: none !important;
}

.shkira-ph-page .shkira-ph-lead {
  max-width: 720px;
  margin: 0 0 28px !important;
  color: var(--wp--preset--color--muted, var(--ph-muted));
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.68;
}

.shkira-ph-page .shkira-ph-actions {
  display: flex !important;
  width: auto;
  margin: 0 0 32px !important;
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: .8rem !important;
}

/* Match service pages: one clear primary action in the first screen. */
.shkira-ph-page .shkira-ph-actions .wp-block-button:nth-child(n + 2) {
  display: none !important;
}

.shkira-ph-page .shkira-ph-actions .wp-block-button,
.shkira-ph-page .shkira-ph-actions .wp-block-button__link {
  width: auto !important;
}

.shkira-ph-page .shkira-ph-hero__manifesto {
  position: relative;
  display: flex !important;
  min-width: 0;
  min-height: clamp(500px, 48vw, 690px);
  padding: 24px;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 26px;
  background-color: var(--wp--preset--color--mist, #eaf0eb);
  background-image: url("../images/hero-portrait-clean.jpg");
  background-repeat: no-repeat;
  background-position: center 28%;
  background-size: cover;
}

/* The original manifesto quote becomes the same translucent note used on service heroes. */
.shkira-ph-page .shkira-ph-quote {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 260px;
  margin: 0 !important;
  padding: 18px 20px;
  border: 1px solid rgba(255, 254, 251, .8);
  border-radius: 18px;
  background: rgba(255, 254, 251, .9);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.shkira-ph-page .shkira-ph-quote p {
  margin: 0 !important;
  color: var(--ph-ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}

.shkira-ph-page .shkira-ph-quote p::before,
.shkira-ph-page .shkira-ph-quote cite {
  display: none !important;
}

@media (max-width: 1100px) and (min-width: 821px) {
  .shkira-ph-page .shkira-ph-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 34px !important;
  }

  .shkira-ph-page .shkira-ph-title {
    font-size: clamp(3rem, 6.2vw, 4.8rem);
  }
}

@media (max-width: 820px) {
  .shkira-ph-page .shkira-ph-hero {
    padding-block: 30px 54px;
  }

  .shkira-ph-page .shkira-ph-hero__inner {
    width: min(calc(100% - 24px), 1300px) !important;
    max-width: min(calc(100% - 24px), 1300px) !important;
  }

  .shkira-ph-page .shkira-ph-hero__grid {
    grid-template-columns: 1fr;
    gap: 30px !important;
  }

  .shkira-ph-page .shkira-ph-hero__copy,
  .shkira-ph-page .shkira-ph-hero__manifesto {
    width: 100% !important;
  }

  .shkira-ph-page .shkira-ph-title {
    max-width: 9ch;
    font-size: clamp(2.8rem, 9vw, 4.6rem);
  }

  .shkira-ph-page .shkira-ph-actions {
    margin-bottom: 0 !important;
  }

  .shkira-ph-page .shkira-ph-hero__manifesto {
    min-height: 500px;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .shkira-ph-page .shkira-ph-hero {
    padding-block: 30px 54px;
  }

  .shkira-ph-page .shkira-ph-title {
    max-width: 8.5ch;
    margin-bottom: 20px !important;
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .shkira-ph-page .shkira-ph-lead {
    margin-bottom: 24px !important;
    font-size: 1rem !important;
  }

  .shkira-ph-page .shkira-ph-actions {
    display: flex !important;
    width: 100%;
    align-items: flex-start !important;
    flex-direction: row !important;
  }

  .shkira-ph-page .shkira-ph-actions .wp-block-button__link {
    min-height: 50px;
    padding: .8rem 1.15rem !important;
    white-space: normal;
  }

  .shkira-ph-page .shkira-ph-hero__manifesto {
    min-height: 390px;
    padding: 14px;
    border-radius: 18px;
    background-position: center 24%;
  }

  .shkira-ph-page .shkira-ph-quote {
    width: auto;
    max-width: calc(100% - 28px);
    padding: 16px 18px;
    border-radius: 16px;
  }

  .shkira-ph-page .shkira-ph-quote p {
    font-size: .95rem;
  }
}


/* ==========================================================================
   11. PHILOSOPHY HERO — SHARED SERVICE HERO MARKUP
   Uses the same block/class structure as shkira_service hero.
   ========================================================================== */

.shkira-ph-page .shk-service-page {
  --service-shell: 1300px;
  --service-radius-md: 18px;
  --service-radius-lg: 26px;
}

.shkira-ph-page .shk-service-page,
.shkira-ph-page .shk-service-page * {
  box-sizing: border-box;
}

.shkira-ph-page .shk-service-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.shkira-ph-page .shk-service-page :where(h1, p) {
  margin-top: 0;
}

.shkira-ph-page .shk-service-shell {
  width: min(calc(100% - 30px), var(--service-shell));
  margin-inline: auto;
}

.shkira-ph-page .shk-service-hero {
  padding-block: clamp(38px, 5vw, 72px);
  
}

.shkira-ph-page .shk-service-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  gap: clamp(30px, 4.5vw, 68px);
}

.shkira-ph-page .shk-service-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-block: clamp(12px, 2vw, 28px);
}

.shkira-ph-page .shk-service-hero__title {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: .98;
}

.shkira-ph-page .shk-service-hero__lead {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.68;
  color: var(--wp--preset--color--muted);
}

.shkira-ph-page .shk-service-hero__actions {
  margin-bottom: 32px;
}

.shkira-ph-page .shk-service-hero__media {
  position: relative;
  min-height: clamp(500px, 48vw, 690px);
  overflow: hidden;
  border-radius: var(--service-radius-lg);
  background: var(--wp--preset--color--mist);
}

.shkira-ph-page .shk-service-hero__media .wp-block-image {
  width: 100%;
  height: 100%;
  margin: 0;
}

.shkira-ph-page .shk-service-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.shkira-ph-page .shk-service-hero__note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 260px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--paper) 80%, transparent);
  border-radius: var(--service-radius-md);
  background: color-mix(in srgb, var(--wp--preset--color--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.shkira-ph-page .shk-service-hero__note p {
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .shkira-ph-page .shk-service-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 34px;
  }
}

@media (max-width: 820px) {
  .shkira-ph-page .shk-service-shell {
    width: min(calc(100% - 24px), var(--service-shell));
  }

  .shkira-ph-page .shk-service-hero__grid {
    grid-template-columns: 1fr;
  }

  .shkira-ph-page .shk-service-hero__media {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .shkira-ph-page .shk-service-hero {
    padding-block: 30px 54px;
  }

  .shkira-ph-page .shk-service-hero__title {
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .shkira-ph-page .shk-service-hero__media {
    min-height: 390px;
    border-radius: 18px;
  }

  .shkira-ph-page .shk-service-hero__note {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }

  .shkira-ph-page .shk-service-hero__actions,
  .shkira-ph-page .shk-service-hero__actions .wp-block-button,
  .shkira-ph-page .shk-service-hero__actions .wp-block-button__link {
    width: 100%;
  }

  .shkira-ph-page .shk-service-hero__actions .wp-block-button__link {
    min-width: 0;
    text-align: center;
  }
}
