:root {
  --sfd-bg: #F7F7F4;
  --sfd-surface: #FFFFFF;
  --sfd-soft: #EFEFEB;
  --sfd-text: #202524;
  --sfd-muted: #6F7471;
  --sfd-accent: #617C76;
  --sfd-accent-dark: #526B66;
  --sfd-accent-soft: #E8EEEB;
  --sfd-border: #D8DAD6;
  --sfd-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--sfd-bg);
  color: var(--sfd-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--sfd-accent); outline-offset: 3px; }

.sfd-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(216,218,214,.72);
  background: rgba(247,247,244,.92);
  backdrop-filter: blur(14px);
}
.sfd-header { min-height: 76px; padding-inline: 16px; }
.sfd-brand { gap: 0 !important; }
.sfd-logo a,
.sfd-logo {
  margin: 0;
  font-size: 24px !important;
  font-weight: 300 !important;
  letter-spacing: .22em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}
.sfd-tagline {
  margin: 7px 0 0;
  color: var(--sfd-muted);
  font-size: 8px !important;
  letter-spacing: .08em;
  line-height: 1.35;
  white-space: nowrap;
}
.sfd-nav .wp-block-navigation-item__content {
  text-decoration: none;
  white-space: nowrap;
}
.sfd-nav-cta .wp-block-navigation-item__content {
  border-radius: 999px;
  background: var(--sfd-accent);
  color: white !important;
  padding: 11px 18px !important;
}
.sfd-nav .wp-block-navigation-submenu .wp-block-navigation__submenu-container {
  min-width: auto !important;
  width: max-content !important;
}


.sfd-main { min-height: 50vh; }

.sfd-home-hero {
  overflow: hidden;
  min-height: min(720px, calc(100svh - 76px));
  display: grid;
  align-items: center;
  padding: 28px 16px 42px;
  background:
    radial-gradient(circle at 87% 26%, rgba(97,124,118,.10), transparent 30%),
    linear-gradient(180deg, #F7F7F4 0%, #F4F4F0 100%);
}
.sfd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  width: min(100%, 1120px);
}
.sfd-hero-copy {
  max-width: 560px;
  padding-top: 8px;
}
.sfd-eyebrow,
.sfd-section-label {
  color: var(--sfd-muted);
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.sfd-home-hero h1 {
  margin: 10px 0 18px;
  line-height: 1.08;
  letter-spacing: -.06em;
  max-width: 4.4em;
  font-size: clamp(56px, 7.2vw, 84px) !important;
}
.sfd-hero-lead {
  max-width: 500px;
  margin-bottom: 6px;
  font-size: clamp(17px, 1.9vw, 21px) !important;
  line-height: 1.72 !important;
}
.sfd-hero-copy > p:not(.sfd-eyebrow):not(.sfd-hero-lead) {
  max-width: 560px;
  font-size: 16px;
}
.sfd-hero-actions {
  margin-top: 26px;
  gap: 12px !important;
}

.sfd-hero-art {
  position: relative;
  min-height: 460px;
  border-radius: 36px;
  isolation: isolate;
}
.sfd-hero-orbit {
  position: absolute;
  inset: 13% 8% 7% 12%;
  border-radius: 45% 55% 57% 43% / 42% 58% 42% 58%;
  background: linear-gradient(145deg, rgba(232,238,235,.9), rgba(216,218,214,.22));
  transform: rotate(-8deg);
}
.sfd-hero-art::before {
  content: '';
  position: absolute;
  right: 13%;
  bottom: 10%;
  width: 46%;
  height: 66%;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 500'%3E%3Cg fill='none' stroke='%237b8380' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M154 68c19-2 36 7 45 24 11 20 10 50-2 67-16 24-43 31-66 18-19-10-29-30-28-53 1-22 8-39 20-47 10-6 20-9 31-9z'/%3E%3Cpath d='M136 156c-13 26-26 64-28 106-3 55 9 106 29 145 7 15 16 29 22 42'/%3E%3Cpath d='M183 158c18 34 37 82 40 143 2 45-4 85-16 117-5 13-13 26-20 35'/%3E%3Cpath d='M117 224c22 8 44 8 66 1'/%3E%3Cpath d='M97 283c26 16 52 18 86 8'/%3E%3Cpath d='M145 103c14-7 29-7 43 0'/%3E%3Cpath d='M171 177c-3 27-3 58 1 96'/%3E%3Cpath d='M109 212c-32 19-50 46-60 78' opacity='.65'/%3E%3Cpath d='M210 212c26 16 43 39 56 71' opacity='.65'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .64;
}
.sfd-hero-figure {
  position: absolute;
  right: 16%;
  top: 17%;
  width: 43%;
  height: 66%;
  border: 1.5px solid rgba(32,37,36,.36);
  border-radius: 46% 54% 42% 58% / 30% 34% 66% 70%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(12deg);
  opacity: .8;
}
.sfd-hero-figure::before,
.sfd-hero-figure::after {
  content: '';
  position: absolute;
  border: 1.4px solid rgba(32,37,36,.24);
  border-radius: 50%;
}
.sfd-hero-figure::before { width: 38%; height: 22%; right: 15%; top: -8%; transform: rotate(-16deg); }
.sfd-hero-figure::after { width: 80%; height: 45%; right: -20%; bottom: -6%; border-left-color: transparent; border-bottom-color: transparent; }
.sfd-hero-script {
  position: absolute;
  left: 7%;
  bottom: 5%;
  color: rgba(110,116,113,.78);
  font-family: Georgia, serif;
  font-size: clamp(24px, 2.3vw, 32px);
  font-style: italic;
  line-height: 1.08;
  transform: rotate(-7deg);
}
.sfd-hero-vertical {
  position: absolute;
  right: 0;
  top: 14%;
  color: var(--sfd-muted);
  font-size: 12px;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
}

.sfd-reassurance,
.sfd-final-cta {
  margin-block: 56px;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--sfd-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 100%, rgba(97,124,118,.11), transparent 28%),
    var(--sfd-soft);
}
.sfd-reassurance h2,
.sfd-final-cta h2 {
  max-width: 780px;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.32;
}
.sfd-reassurance p,
.sfd-final-cta p {
  max-width: 720px;
  color: #474D4A;
  font-size: 17px;
}

.sfd-section { padding-block: 18px 56px; }
.sfd-area-section { padding-top: 4px; }
.sfd-feature-grid,
.sfd-area-grid { gap: 18px; }
.sfd-card,
.sfd-area-card {
  height: 100%;
  border: 1px solid var(--sfd-border);
  border-radius: var(--sfd-radius);
  background: rgba(255,255,255,.8);
  padding: 24px;
}
.sfd-card-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sfd-accent);
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .18em;
}
.sfd-card-icon::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(97,124,118,.42);
  background: radial-gradient(circle at 35% 35%, rgba(97,124,118,.18), transparent 62%);
}
.sfd-card h3,
.sfd-area-card h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}
.sfd-card p,
.sfd-area-card p { color: var(--sfd-muted); }
.sfd-card p:last-child,
.sfd-area-card p:last-child { margin-top: 20px; }
.sfd-card p:last-child a,
.sfd-area-card p:last-child a {
  color: var(--sfd-text);
  font-weight: 600;
  text-decoration: none;
}
.sfd-area-card {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(232,238,235,.95)),
    radial-gradient(circle at 82% 18%, rgba(97,124,118,.18), transparent 36%),
    #fff;
}
.sfd-area-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .38;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.sfd-area-grid .wp-block-column:nth-child(1) .sfd-area-card::before {
  background-image: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.02)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 520'%3E%3Crect width='800' height='520' fill='%23edf1ef'/%3E%3Cg stroke='%2393a39d' stroke-opacity='.45' stroke-width='2' fill='none'%3E%3Cpath d='M74 372h646'/%3E%3Cpath d='M115 372V235h118v137'/%3E%3Cpath d='M170 235v-42h10v42'/%3E%3Cpath d='M276 372V182h114v190'/%3E%3Cpath d='M333 182V122h10v60'/%3E%3Cpath d='M436 372V216h132v156'/%3E%3Cpath d='M485 216v-34h11v34'/%3E%3Cpath d='M612 372V252h89v120'/%3E%3C/g%3E%3C/svg%3E");
}
.sfd-area-grid .wp-block-column:nth-child(2) .sfd-area-card::before {
  background-image: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.02)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 520'%3E%3Crect width='800' height='520' fill='%23edf1ef'/%3E%3Cg stroke='%2393a39d' stroke-opacity='.45' stroke-width='2' fill='none'%3E%3Cpath d='M70 372h660'/%3E%3Cpath d='M138 372V258h94v114'/%3E%3Cpath d='M274 372V194h130v178'/%3E%3Cpath d='M336 194V120h8v74'/%3E%3Cpath d='M454 372V240h102v132'/%3E%3Cpath d='M597 372V170h76v202'/%3E%3Cpath d='M635 170V126h10v44'/%3E%3C/g%3E%3C/svg%3E");
}
.sfd-area-grid .wp-block-column:nth-child(3) .sfd-area-card::before {
  background-image: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.02)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 520'%3E%3Crect width='800' height='520' fill='%23edf1ef'/%3E%3Cg stroke='%2393a39d' stroke-opacity='.45' stroke-width='2' fill='none'%3E%3Cpath d='M70 372h660'/%3E%3Cpath d='M138 372V245h106v127'/%3E%3Cpath d='M286 372V176h144v196'/%3E%3Cpath d='M358 176V130h8v46'/%3E%3Cpath d='M478 372V218h116v154'/%3E%3Cpath d='M630 372V270h84v102'/%3E%3C/g%3E%3C/svg%3E");
}
.sfd-area-card > * { position: relative; z-index: 1; }
.sfd-area-card h3 {
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: .08em;
  font-weight: 400;
}

.sfd-page-shell,
.sfd-article-shell {
  padding: 56px 16px 110px;
}
.sfd-page-title { margin-bottom: 36px; }
.sfd-article-shell { max-width: 760px; }

.sfd-contact-content { max-width: 680px; }
.sfd-contact-content > p { margin: 0 0 10px; line-height: 1.8; }
.sfd-contact-content .wpcf7 { margin-top: 28px; }
.sfd-contact-form > p,
.sfd-contact-submit > p { margin: 0; }
.sfd-contact-field {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.sfd-contact-field br { display: none; }
.sfd-contact-field .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.sfd-contact-field input,
.sfd-contact-field select,
.sfd-contact-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--sfd-border);
  border-radius: 4px;
  background: #fff;
  color: var(--sfd-text);
  font: inherit;
  font-weight: 400;
}
.sfd-contact-field textarea { min-height: 160px; resize: vertical; }
.sfd-contact-required { margin-left: 6px; color: var(--sfd-muted); font-size: 11px; font-weight: 400; }
.sfd-contact-submit .wpcf7-submit {
  min-width: 200px;
  min-height: 48px;
  padding: 10px 24px;
  border: 0;
  border-radius: 4px;
  background: var(--sfd-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.sfd-contact-submit .wpcf7-submit:hover { background: var(--sfd-accent-dark); }
.sfd-contact-content .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; }
.sfd-contact-content .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 14px !important; font-size: 14px; }

.wp-block-button.is-style-outline .wp-block-button__link {
  border: 1px solid var(--sfd-text) !important;
  background: transparent !important;
  color: var(--sfd-text) !important;
}
.wp-block-button .wp-block-button__link {
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-1px);
  background: var(--sfd-accent-dark);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--sfd-accent-soft) !important;
}

.sfd-footer-wrap {
  margin-top: 32px;
  padding: 28px 24px 30px;
  border-top: 1px solid var(--sfd-border);
  background: #EEEFEA;
}
.sfd-footer .wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
.sfd-footer .wp-block-column {
  min-width: 0;
  margin: 0;
  flex-basis: auto !important;
}
.sfd-footer-logo a,
.sfd-footer-logo { margin: 0; text-decoration: none; font-size: 20px !important; font-weight: 300 !important; letter-spacing: .20em; }
.sfd-footer-copy-stack { margin: 0; }
.sfd-footer-copy { margin: 8px 0 0; color: var(--sfd-muted); font-size: 12px !important; }
.sfd-footer-subcopy { margin: 3px 0 0; color: #7f8784; font-size: 10px !important; line-height: 1.5; }
.sfd-footer-heading { margin: 0 0 8px; font-size: 10px !important; font-weight: 700; letter-spacing: .18em; color: var(--sfd-muted); }
.sfd-footer-links { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 1.4; }
.sfd-footer-links li { margin: 0 0 5px; }
.sfd-footer-links a { text-decoration: none; }
.sfd-copyright { margin: 16px 0 0; color: var(--sfd-muted); font-size: 11px !important; text-align: center; }

.sfd-fixed-cta {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  right: 0;
  bottom: 0;
  gap: 10px;
  padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  border-top: 1px solid rgba(216,218,214,.95);
  background: rgba(247,247,244,.96);
  backdrop-filter: blur(14px);
}
.sfd-fixed-cta a {
  display: flex;
  min-height: 48px;
  flex: 1;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.sfd-fixed-secondary { border: 1px solid var(--sfd-border); color: var(--sfd-text); background: #fff; }
.sfd-fixed-primary { color: #fff; background: var(--sfd-accent); }

@media (min-width: 782px) {
  .sfd-hero-copy > p:not(.sfd-eyebrow):not(.sfd-hero-lead) { margin-bottom: 0; }
  .sfd-feature-grid > .wp-block-column,
  .sfd-area-grid > .wp-block-column { min-width: 0 !important; }
}

@media (max-width: 781px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .sfd-header-wrap {
    z-index: 1200;
    background: var(--sfd-bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .sfd-nav .wp-block-navigation__responsive-container.is-menu-open {
    height: 100dvh;
    overflow-y: auto;
    background: var(--sfd-bg);
  }
  .sfd-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: stretch;
    padding: 56px 28px 32px;
  }
  .sfd-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
  .sfd-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
    align-items: stretch;
    gap: 0;
  }
  .sfd-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: block;
    width: 100%;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--sfd-border);
    font-size: 18px;
  }
  .sfd-nav .wp-block-navigation__responsive-container.is-menu-open .sfd-nav-cta .wp-block-navigation-item__content {
    margin-top: 22px;
    padding: 14px 20px !important;
    border: 0;
    border-radius: 4px;
    text-align: center;
  }
  .sfd-nav .wp-block-navigation__responsive-container-close {
    right: 24px;
    top: 16px;
  }
  body.admin-bar .sfd-nav .wp-block-navigation__responsive-container.is-menu-open {
    top: 46px;
    height: calc(100dvh - 46px);
  }
  .sfd-header { min-height: 72px; }
  .sfd-logo a, .sfd-logo { font-size: 20px !important; }
  .sfd-tagline { font-size: 7px !important; }
  .sfd-home-hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 24px;
  }
  .sfd-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sfd-home-hero h1 {
    max-width: 4.3em;
    font-size: clamp(44px, 13vw, 60px) !important;
  }
  .sfd-hero-lead { font-size: 18px !important; }
  .sfd-hero-art {
    min-height: 260px;
    margin-top: 4px;
  }
  .sfd-hero-orbit { inset: 12% 6% 10% 10%; }
  .sfd-hero-art::before {
    right: 19%;
    bottom: 10%;
    width: 42%;
    height: 64%;
  }
  .sfd-hero-figure {
    right: 18%;
    top: 12%;
    width: 44%;
    height: 62%;
  }
  .sfd-hero-script {
    left: 4%;
    bottom: 4%;
    font-size: 18px;
  }
  .sfd-hero-vertical {
    right: -1%;
    top: 18%;
    font-size: 10px;
  }
  .sfd-reassurance,
  .sfd-final-cta {
    margin-block: 38px;
    padding: 30px 22px;
    border-radius: 20px;
  }
  .sfd-reassurance h2,
  .sfd-final-cta h2 { font-size: clamp(26px, 8vw, 36px); }
  .sfd-reassurance p,
  .sfd-final-cta p { font-size: 16px; }
  .sfd-section { padding-block: 12px 38px; }
  .sfd-feature-grid,
  .sfd-area-grid { gap: 12px; }
  .sfd-card,
  .sfd-area-card { padding: 22px; }
  .sfd-area-card { min-height: 172px; }
  .sfd-footer-wrap { padding: 22px 12px 16px; }
  .sfd-footer .wp-block-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
  .sfd-footer .wp-block-column:first-child { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
  .sfd-footer-logo { font-size: 18px !important; }
  .sfd-footer-copy { margin: 0; font-size: 11px !important; }
  .sfd-footer-subcopy { margin-top: 2px; font-size: 9px !important; }
  .sfd-footer-heading { margin-bottom: 6px; }
  .sfd-footer-links { font-size: 12px; line-height: 1.35; }
  .sfd-footer-links li { margin-bottom: 6px; }
  .sfd-copyright { margin-top: 12px; }
  .sfd-fixed-cta { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* v1.2 desktop composition refinements */
@media (min-width: 782px) {
  .sfd-home-hero {
    min-height: 620px;
    padding: 24px 0 30px;
  }

  .sfd-hero-grid {
    width: min(calc(100% - 64px), 1320px) !important;
    max-width: 1320px !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, .96fr) minmax(440px, .84fr);
    gap: clamp(28px, 4vw, 64px);
  }

  .sfd-hero-copy {
    max-width: 650px;
    padding-top: 0;
  }

  .sfd-home-hero h1 {
    max-width: 650px;
    margin: 8px 0 16px;
    font-size: clamp(58px, 5.2vw, 72px) !important;
    line-height: 1.10;
  }

  .sfd-hero-lead {
    max-width: 620px;
    font-size: clamp(18px, 1.55vw, 22px) !important;
    line-height: 1.65 !important;
  }

  .sfd-hero-actions {
    margin-top: 22px;
  }

  .sfd-hero-art {
    min-height: 420px;
    background: url('../images/hero-slim-line.png') center / contain no-repeat;
  }

  .sfd-hero-orbit,
  .sfd-hero-figure,
  .sfd-hero-art::before {
    display: none !important;
  }

  .sfd-hero-script {
    left: 8%;
    bottom: 0;
    font-size: clamp(22px, 2vw, 30px);
  }

  .sfd-hero-vertical {
    right: 1%;
    top: 15%;
  }

  .sfd-reassurance.alignwide,
  .sfd-section.alignwide,
  .sfd-final-cta.alignwide {
    width: min(calc(100% - 64px), 1320px) !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .sfd-reassurance {
    margin-block: 42px;
    padding: 48px 72px;
  }

  .sfd-section {
    padding-block: 8px 44px;
  }

  .sfd-feature-grid,
  .sfd-area-grid {
    gap: 20px;
  }

  .sfd-card {
    min-height: 285px;
    padding: 28px;
  }

  .sfd-area-card {
    min-height: 230px;
    padding: 28px;
  }

  .sfd-final-cta {
    margin-top: 36px;
    margin-bottom: 54px;
    padding: 52px 72px;
  }
}

@media (min-width: 1500px) {
  .sfd-home-hero h1 {
    font-size: 70px !important;
  }
}

@media (max-width: 781px) {
  .sfd-hero-art {
    background: url('../images/hero-slim-line.png') center / contain no-repeat;
  }
  .sfd-hero-orbit,
  .sfd-hero-figure,
  .sfd-hero-art::before {
    display: none !important;
  }
  .sfd-reassurance.alignwide,
  .sfd-section.alignwide,
  .sfd-final-cta.alignwide {
    width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Profile page v1.3 */
.sfd-profile-page { overflow: hidden; }
.sfd-profile-hero {
  padding: 54px 16px 30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(97,124,118,.09), transparent 30%),
    linear-gradient(180deg, #F7F7F4 0%, #F5F5F1 100%);
}
.sfd-profile-hero-grid {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(360px,1.08fr);
  align-items: center;
  gap: clamp(36px,6vw,84px);
}
.sfd-profile-copy { max-width: 520px; }
.sfd-profile-headline {
  margin: 10px 0 12px;
  font-size: clamp(42px,5vw,68px) !important;
  line-height: 1.16;
  letter-spacing: -.05em;
}
.sfd-profile-lead {
  max-width: 440px;
  color: #39403D;
  font-size: clamp(18px,2vw,22px) !important;
  line-height: 1.7 !important;
}
.sfd-profile-rule {
  width: 44px !important;
  margin: 24px 0 26px !important;
  border-top-width: 2px !important;
  border-color: var(--sfd-text) !important;
}
.sfd-profile-name {
  margin: 0 0 10px;
  font-size: clamp(34px,4vw,52px) !important;
  font-weight: 300 !important;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.sfd-profile-short { color: #3F4643; }
.sfd-profile-photo-placeholder {
  aspect-ratio: 4 / 5;
  min-height: 470px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--sfd-border);
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.95), transparent 30%),
    linear-gradient(145deg, #EBEFEC, #DCE5E1);
  color: var(--sfd-muted);
  text-align: center;
  letter-spacing: .08em;
}
.sfd-profile-photo-placeholder p { margin: 0; }
.sfd-profile-photo-placeholder small { font-size: 11px; letter-spacing: .04em; }
.sfd-profile-stats {
  width: min(100% - 32px, 1120px);
  margin: -18px auto 0 !important;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--sfd-border);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 40px rgba(32,37,36,.06);
}
.sfd-profile-stats > .wp-block-group {
  margin-block-start: 0;
  padding: 18px 22px;
  text-align: center;
  border-right: 1px solid var(--sfd-border);
}
.sfd-profile-stats > .wp-block-group:last-child { border-right: 0; }
.sfd-stat-label {
  margin: 0 0 3px !important;
  color: var(--sfd-muted);
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .17em;
}
.sfd-stat-value {
  margin: 0 !important;
  font-size: clamp(21px,2.3vw,30px) !important;
  line-height: 1.2 !important;
  font-weight: 400;
}
.sfd-profile-intro {
  width: min(100% - 32px, 1060px);
  margin: 28px auto 0 !important;
  text-align: center;
}
.sfd-profile-intro p { margin: 0; font-size: 17px; }
.sfd-profile-reassurance,
.sfd-profile-final {
  width: min(100% - 32px, 1120px);
  margin: 54px auto !important;
  padding: clamp(34px,5vw,62px);
  border: 1px solid var(--sfd-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 100%, rgba(97,124,118,.10), transparent 30%),
    var(--sfd-soft);
}
.sfd-profile-reassurance h2,
.sfd-profile-final h2 { margin: 0 0 16px; }
.sfd-profile-reassurance p,
.sfd-profile-final p { max-width: 760px; color: #474D4A; }
.sfd-profile-section {
  width: min(100% - 32px, 1120px);
  margin: 0 auto !important;
  padding: 12px 0 44px;
}
.sfd-profile-section > h2 { margin-bottom: 22px; }
.sfd-profile-benefits { gap: 14px; }
.sfd-profile-benefit {
  height: 100%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--sfd-border);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  text-align: center;
}
.sfd-profile-benefit .sfd-card-icon { justify-content: center; }
.sfd-profile-benefit p:last-child { margin-bottom: 0; }
.sfd-profile-final { margin-bottom: 20px !important; }

@media (max-width: 781px) {
  .sfd-profile-hero { padding: 34px 16px 20px; }
  .sfd-profile-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .sfd-profile-headline { font-size: clamp(40px,12vw,58px) !important; }
  .sfd-profile-photo-placeholder { min-height: 0; width: 100%; }
  .sfd-profile-stats {
    margin-top: 16px !important;
    grid-template-columns: repeat(2, 1fr);
  }
  .sfd-profile-stats > .wp-block-group:nth-child(2) { border-right: 0; }
  .sfd-profile-stats > .wp-block-group:nth-child(-n+2) { border-bottom: 1px solid var(--sfd-border); }
  .sfd-profile-intro { margin-top: 22px !important; text-align: left; }
  .sfd-profile-reassurance,
  .sfd-profile-final { margin-block: 38px !important; padding: 30px 22px; border-radius: 20px; }
  .sfd-profile-section { padding-bottom: 32px; }
}

/* v1.3.3: keep the primary TOP actions visible on short desktop screens. */
@media (min-width: 782px) and (max-height: 700px) {
  .sfd-home-hero {
    min-height: 0;
    padding-block: 16px 24px;
  }
  .sfd-hero-art { min-height: min(420px, calc(100svh - 165px)); }
  .sfd-home-hero h1 { font-size: clamp(54px, 5vw, 68px) !important; }
  .sfd-hero-actions { margin-top: 18px; }
}

.sfd-profile-hero-grid {
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
}
.sfd-profile-headline {
  max-width: 9em;
  font-size: clamp(42px, 4.4vw, 60px) !important;
  letter-spacing: 0;
}
.sfd-profile-photo {
  width: 100%;
  height: min(610px, calc(100svh - 150px));
  min-height: 400px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--sfd-border);
  border-radius: 8px;
  background: #e8eeeb;
}
.sfd-profile-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.sfd-profile-photo--empty {
  display: grid;
  place-items: center;
  color: var(--sfd-muted);
  font-size: 13px;
  background: linear-gradient(145deg, #ebefec, #dce5e1);
}

@media (max-width: 781px) {
  .sfd-profile-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .sfd-home-hero h1 {
    max-width: none;
    font-size: clamp(34px, 10vw, 50px) !important;
  }
  .sfd-profile-headline {
    max-width: none;
    font-size: clamp(24px, 8vw, 36px) !important;
    white-space: nowrap;
  }
  .sfd-profile-photo { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .sfd-profile-reassurance h2 {
    font-size: clamp(18px, 5vw, 22px) !important;
    word-break: keep-all;
  }
}

/* Profile composition v1.4.0 */
.sfd-profile-page {
  background: #fff;
  overflow: clip;
}
.sfd-profile-hero {
  position: relative;
  padding: 0 !important;
  background: #f9fbfa;
}
.sfd-profile-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  min-height: 560px;
  gap: 0;
  align-items: stretch;
  position: relative;
}
.sfd-profile-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 64px 28px 76px clamp(32px, 5vw, 72px);
  background: linear-gradient(90deg, #fff 70%, rgba(255,255,255,.82));
}
.sfd-profile-headline {
  max-width: none;
  margin: 12px 0 16px;
  font-size: clamp(38px, 4vw, 56px) !important;
  font-weight: 400;
  line-height: 1.2;
}
.sfd-profile-lead {
  max-width: 410px;
  font-size: clamp(17px, 1.6vw, 21px) !important;
  line-height: 1.65 !important;
}
.sfd-profile-rule { margin: 20px 0 24px !important; }
.sfd-profile-name {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0;
}
.sfd-profile-name::before {
  content: 'SHIN';
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: .16em;
}
.sfd-profile-short {
  max-width: 390px;
  font-size: 16px;
  line-height: 1.65;
}
.sfd-profile-photo {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  border-radius: 0;
  background: #f6f8f7;
}
.sfd-profile-photo-image { object-position: center 25%; }
.sfd-profile-photo--empty {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 18px;
  background: url('../images/hero-slim-line.png') right center / cover no-repeat;
}
.sfd-profile-photo--empty span {
  padding: 5px 9px;
  border: 1px solid rgba(97,124,118,.4);
  border-radius: 3px;
  background: rgba(255,255,255,.85);
  font-size: 11px;
  letter-spacing: 0;
}
.sfd-profile-stats {
  width: min(calc(100% - 48px), 1100px) !important;
  margin: -36px auto 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(32,37,36,.05);
}
.sfd-profile-stats > .wp-block-group { padding: 18px 10px; }
.sfd-stat-value { white-space: nowrap; }
.sfd-profile-intro {
  width: min(calc(100% - 48px), 1050px) !important;
  margin: 22px auto 0 !important;
  text-align: center;
}
.sfd-profile-intro p { line-height: 1.75; }
.sfd-profile-reassurance {
  width: min(calc(100% - 48px), 1100px) !important;
  margin: 28px auto 36px !important;
  padding: 28px 24px;
  border: 0;
  border-radius: 8px;
  background: #f3f7f5;
  text-align: center;
}
.sfd-profile-reassurance h2 {
  margin-bottom: 12px;
  font-size: clamp(25px, 2.6vw, 36px) !important;
  font-weight: 400;
  line-height: 1.4;
  word-break: keep-all;
}
.sfd-profile-reassurance p {
  max-width: none;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}
.sfd-profile-section {
  width: min(calc(100% - 48px), 1100px) !important;
  padding: 0 0 28px;
}
.sfd-profile-section > h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 16px;
  font-size: clamp(25px, 2.8vw, 34px) !important;
  font-weight: 400;
}
.sfd-profile-section > h2::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--sfd-muted);
}
.sfd-profile-benefits,
.sfd-profile-section .sfd-area-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
}
.sfd-profile-benefits > .wp-block-column,
.sfd-profile-section .sfd-area-grid > .wp-block-column {
  min-width: 0;
  flex-basis: auto !important;
  margin: 0 !important;
}
.sfd-profile-benefit {
  min-height: 142px;
  padding: 18px 12px;
  border-radius: 8px;
  background: #fff;
}
.sfd-profile-benefit .sfd-card-icon {
  margin-bottom: 10px;
  color: #476666;
  font-size: 0 !important;
  min-height: 32px;
  justify-content: center;
}
.sfd-profile-benefit .sfd-card-icon::before {
  display: block;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: #476666;
  -webkit-mask: url('../images/profile-user.svg') center / contain no-repeat;
  mask: url('../images/profile-user.svg') center / contain no-repeat;
}
.sfd-profile-benefits > .wp-block-column:nth-child(2) .sfd-card-icon::before {
  -webkit-mask-image: url('../images/profile-heart.svg');
  mask-image: url('../images/profile-heart.svg');
}
.sfd-profile-benefits > .wp-block-column:nth-child(3) .sfd-card-icon::before {
  -webkit-mask-image: url('../images/profile-pin.svg');
  mask-image: url('../images/profile-pin.svg');
}
.sfd-profile-benefit p:last-child { font-size: 15px; line-height: 1.5; }
.sfd-profile-section .sfd-area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 190px;
  padding: 18px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #dce7eb;
  background-image: linear-gradient(180deg,rgba(255,255,255,.38),transparent 70%),url('../images/profile-cities.png');
  background-size: 100% 100%, 300% auto;
  background-position: center, left center;
  background-repeat: no-repeat;
}
.sfd-profile-section .sfd-area-grid > .wp-block-column:nth-child(2) .sfd-area-card { background-position: center, center center; }
.sfd-profile-section .sfd-area-grid > .wp-block-column:nth-child(3) .sfd-area-card { background-position: center, right center; }
.sfd-profile-section .sfd-area-card h3 {
  margin: 0 0 6px;
  color: #202524;
  font-size: clamp(20px, 2vw, 29px) !important;
  font-weight: 400;
}
.sfd-profile-section .sfd-area-card p { margin: 0; }
.sfd-profile-section .sfd-area-card p:nth-of-type(1) {
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  font-size: 12px;
}
.sfd-profile-section .sfd-area-card a {
  position: absolute;
  inset: 0;
  overflow: hidden;
  text-indent: -9999px;
}
.sfd-profile-section .sfd-area-card a:focus-visible {
  outline: 3px solid #476666;
  outline-offset: -4px;
}
.sfd-profile-final {
  width: 100% !important;
  min-height: 390px;
  margin: 8px 0 0 !important;
  padding: 42px max(32px,calc((100% - 1100px) / 2));
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-template-rows: 1fr auto auto;
  align-items: end;
  column-gap: 24px;
  border: 0;
  border-radius: 0;
  background-color: #eef3f1;
  background-image: linear-gradient(90deg,transparent 34%,rgba(255,255,255,.42) 55%,rgba(255,255,255,.84) 100%),url('../images/profile-room.png');
  background-position: center,left center;
  background-size: 100% 100%,cover;
  background-repeat: no-repeat;
}
.sfd-profile-final h2,
.sfd-profile-final > p { grid-column: 2; }
.sfd-profile-final h2 {
  margin: 0 0 10px;
  font-size: clamp(27px,3vw,40px) !important;
  font-weight: 400;
}
.sfd-profile-final > p {
  margin: 0 0 22px;
  font-size: 11px;
  letter-spacing: .18em;
}
.sfd-profile-final .wp-block-buttons {
  grid-column: 1 / -1;
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100%;
  gap: 12px;
}
.sfd-profile-final .wp-block-button { flex: 1; }
.sfd-profile-final .wp-block-button__link {
  width: 100%;
  border-radius: 5px;
  text-align: center;
}
.sfd-profile-final .is-style-outline .wp-block-button__link {
  background: #fff !important;
  color: #202524 !important;
  border-color: #617c76 !important;
}

@media (max-width: 781px) {
  .sfd-profile-hero-grid {
    display: block;
    min-height: 470px;
  }
  .sfd-profile-copy {
    width: 100%;
    min-height: 470px;
    padding: 36px 16px 70px;
    background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 28%,rgba(255,255,255,.72) 53%,rgba(255,255,255,.04) 100%);
  }
  .sfd-profile-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
  .sfd-profile-photo-image { object-position: 65% center; }
  .sfd-profile-photo--empty { background-position: 58% center; }
  .sfd-profile-headline {
    margin: 10px 0 14px;
    font-size: clamp(26px, 8vw, 36px) !important;
    white-space: nowrap;
  }
  .sfd-profile-lead {
    max-width: 240px;
    font-size: 15px !important;
  }
  .sfd-profile-name { font-size: 13px !important; }
  .sfd-profile-name::before { font-size: clamp(39px, 11vw, 48px); }
  .sfd-profile-short {
    max-width: 230px;
    font-size: 14px;
  }
  .sfd-profile-stats {
    width: calc(100% - 24px) !important;
    margin-top: -28px !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .sfd-profile-stats > .wp-block-group { padding: 13px 4px; border-bottom: 0 !important; }
  .sfd-profile-stats > .wp-block-group:nth-child(2) { border-right: 1px solid var(--sfd-border); }
  .sfd-stat-label { font-size: 8px !important; letter-spacing: .08em; }
  .sfd-stat-value { font-size: clamp(16px, 4.3vw, 21px) !important; }
  .sfd-profile-intro {
    width: calc(100% - 32px) !important;
    margin-top: 18px !important;
    text-align: left;
  }
  .sfd-profile-intro p { font-size: 14px; }
  .sfd-profile-reassurance {
    width: calc(100% - 24px) !important;
    margin: 22px auto 28px !important;
    padding: 20px 14px;
    border-radius: 8px;
  }
  .sfd-profile-reassurance h2 { font-size: clamp(18px, 5vw, 22px) !important; }
  .sfd-profile-reassurance p { font-size: 13px; }
  .sfd-profile-section { width: calc(100% - 24px) !important; padding-bottom: 24px; }
  .sfd-profile-section > h2 { font-size: 24px !important; }
  .sfd-profile-benefits,
  .sfd-profile-section .sfd-area-grid { gap: 6px !important; }
  .sfd-profile-benefit {
    min-height: 112px;
    padding: 10px 4px;
  }
  .sfd-profile-benefit .sfd-card-icon { margin-bottom: 8px; }
  .sfd-profile-benefit p:last-child { font-size: clamp(10px, 2.8vw, 13px); }
  .sfd-profile-section .sfd-area-card {
    min-height: 116px;
    padding: 9px 7px;
    background-size: 100% 100%, auto 100%;
  }
  .sfd-profile-section .sfd-area-card h3 { font-size: clamp(15px, 4vw, 19px) !important; }
  .sfd-profile-section .sfd-area-card p:nth-of-type(1) { padding: 2px 6px; font-size: 10px; }
  .sfd-profile-final {
    min-height: 265px;
    margin: 0 !important;
    padding: 28px 12px 18px;
    column-gap: 10px;
    background-size: 100% 100%,auto 100%;
    background-position: center,left center;
  }
  .sfd-profile-final h2 { font-size: clamp(15px, 4.5vw, 22px) !important; }
  .sfd-profile-final > p { margin-bottom: 18px; font-size: 9px; }
  .sfd-profile-final .wp-block-buttons { gap: 8px; }
  .sfd-profile-final .wp-block-button__link { padding: 11px 8px; font-size: 14px; }
}

/* TOP composition v1.5.5 */
.home { background: #fff; }
.home .sfd-header-wrap { background: rgba(255,255,255,.96); }
.home .sfd-footer-wrap { margin-top: 0; }
.sfd-home-hero {
  position: relative;
  min-height: 580px;
  padding: 38px 24px;
  overflow: hidden;
  background-color: #fff;
  background-image:
    linear-gradient(90deg,#fff 0%,#fff 22%,rgba(255,255,255,.91) 37%,rgba(255,255,255,.28) 63%,rgba(255,255,255,.02) 100%),
    url('../images/home-hero-slim-b.png');
  background-position: center,right top;
  background-size: 100% 100%,auto 125%;
  background-repeat: no-repeat;
}
.sfd-hero-grid {
  display: block;
  width: min(calc(100% - 32px),1200px) !important;
  max-width: 1200px !important;
  margin-inline: auto !important;
}
.sfd-hero-copy {
  position: relative;
  z-index: 2;
  width: min(66%,760px);
  max-width: none;
  padding-top: 0;
}
.sfd-home-hero .sfd-eyebrow { display: none; }
.sfd-home-hero h1 {
  max-width: none;
  margin: 0 0 18px;
  font-size: 64px !important;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}
.sfd-home-hero h1 br { display: none; }
.sfd-hero-lead {
  max-width: 630px;
  margin: 0 0 22px;
  font-size: 23px !important;
  line-height: 1.5 !important;
}
.sfd-hero-copy > p:not(.sfd-eyebrow):not(.sfd-hero-lead) {
  max-width: 570px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}
.sfd-hero-actions { margin-top: 28px; gap: 12px !important; }
.sfd-hero-actions .wp-block-button { min-width: 184px; }
.sfd-hero-actions .wp-block-button__link {
  width: 100%;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 15px;
}
.sfd-hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  background: none;
  pointer-events: none;
}
.sfd-hero-mobile-image { display: none; }
.sfd-hero-script { left: auto; right: 17%; bottom: 5%; color: #596d68; }
.sfd-hero-vertical { right: 0; top: 14%; color: #2c3c38; }

.sfd-reassurance.alignwide {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 42px max(24px,calc((100% - 1100px) / 2));
  border: 0;
  border-radius: 0;
  background-color: #f6f8f7;
  background-image: linear-gradient(90deg,rgba(255,255,255,.5),rgba(255,255,255,.89)),url('../images/home-linen.png');
  background-position: center,left center;
  background-size: 100% 100%,cover;
  background-repeat: no-repeat;
  text-align: center;
}
.sfd-reassurance h2 {
  max-width: none;
  margin: 0 0 14px;
  font-size: 36px !important;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}
.sfd-reassurance p {
  max-width: 950px;
  margin: 0 auto;
  color: #39423f;
  font-size: 16px;
  line-height: 1.8;
}
.sfd-section.alignwide {
  width: min(calc(100% - 48px),1100px) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 32px 0 22px;
}
.sfd-feature-grid,
.sfd-area-grid {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px !important;
}
.sfd-feature-grid > .wp-block-column,
.sfd-area-grid > .wp-block-column {
  min-width: 0;
  flex-basis: auto !important;
  margin: 0 !important;
}
.sfd-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 265px;
  padding: 24px 18px 18px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}
.sfd-card .sfd-card-icon {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  color: #476666;
  font-size: 0 !important;
}
.sfd-card .sfd-card-icon::before {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent url('../images/home-icon-send.png') center / 155% no-repeat;
  -webkit-mask: none;
  mask: none;
}
.sfd-feature-grid > .wp-block-column:nth-child(2) .sfd-card-icon::before {
  background-image: url('../images/home-icon-slim.png');
}
.sfd-feature-grid > .wp-block-column:nth-child(3) .sfd-card-icon::before {
  background-image: url('../images/home-icon-tokyo.png');
}
.sfd-card h3 {
  margin: 12px 0 7px;
  font-size: 24px !important;
  font-weight: 400;
  line-height: 1.4;
}
.sfd-card p { margin: 0; font-size: 15px; line-height: 1.6; }
.sfd-card p:last-child { width: 100%; margin: auto 0 0; padding-top: 16px; }
.sfd-card p:last-child a {
  display: block;
  width: 100%;
  padding: 7px 5px;
  border: 1px solid #84938e;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.35;
}
.sfd-card p:last-child a:hover { background: #e8eeeb; }

.sfd-area-section { padding-top: 8px !important; padding-bottom: 34px !important; }
.sfd-area-section > .sfd-section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 16px;
  color: #202524;
  font-size: 23px !important;
  font-weight: 400;
  letter-spacing: .12em;
}
.sfd-area-section > .sfd-section-label::before,
.sfd-area-section > .sfd-section-label::after {
  content: '';
  width: 56px;
  height: 1px;
  background: #82918c;
}
.sfd-area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 210px;
  padding: 18px;
  border: 0;
  border-radius: 8px;
  background-color: #dce7eb;
  background-image: linear-gradient(180deg,rgba(255,255,255,.38),transparent 75%),url('../images/profile-cities.png');
  background-size: 100% 100%,300% auto;
  background-position: center,left center;
  background-repeat: no-repeat;
}
.sfd-area-card::before { display: none; }
.sfd-area-grid > .wp-block-column:nth-child(2) .sfd-area-card { background-position: center,center center; }
.sfd-area-grid > .wp-block-column:nth-child(3) .sfd-area-card { background-position: center,right center; }
.sfd-area-card h3 {
  margin: 0 0 6px;
  color: #202524;
  font-size: 28px !important;
  font-weight: 400;
  letter-spacing: .08em;
}
.sfd-area-card p { margin: 0; }
.sfd-area-card p:nth-of-type(1) {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #202524;
  font-size: 12px;
}
.sfd-area-card a {
  position: absolute;
  inset: 0;
  overflow: hidden;
  text-indent: -9999px;
}
.sfd-area-card a:focus-visible { outline: 3px solid #476666; outline-offset: -4px; }

.sfd-home-massage-band {
  overflow: hidden;
  padding: clamp(28px,4.5vw,64px) 0;
  background: #f7f7f4;
}
.sfd-home-massage-frame {
  box-sizing: border-box;
  width: min(100%,1280px);
  margin: 0 auto;
  padding: 0 clamp(12px,3vw,32px);
}
.sfd-home-massage-frame img {
  display: block;
  width: 100%;
  height: clamp(320px,38vw,520px);
  border: 0;
  object-fit: cover;
  object-position: center;
}

.sfd-final-cta.alignwide {
  width: 100% !important;
  max-width: none !important;
  min-height: 310px;
  margin: 0 !important;
  padding: 48px 24px;
  border: 0;
  border-radius: 0;
  background-color: #f5f8f7;
  background-image: linear-gradient(90deg,rgba(255,255,255,.3),rgba(255,255,255,.68),rgba(255,255,255,.42)),url('../images/home-linen.png');
  background-position: center,center;
  background-size: 100% 100%,cover;
  background-repeat: no-repeat;
  text-align: center;
}
.sfd-final-cta h2 {
  max-width: none;
  margin: 0 0 10px;
  font-size: 36px !important;
  font-weight: 400;
  line-height: 1.4;
}
.sfd-final-cta h2 br { display: none; }
.sfd-final-cta p { max-width: 760px; margin: 0 auto 22px; font-size: 16px; line-height: 1.7; }
.sfd-final-cta .wp-block-buttons { justify-content: center; gap: 12px; }
.sfd-final-cta .wp-block-button { width: min(210px,45%); }
.sfd-final-cta .wp-block-button__link { width: 100%; border-radius: 4px; font-size: 15px; }
.home .sfd-fixed-cta a { border-radius: 5px; }

@media (min-width: 1024px) {
  .sfd-home-hero {
    background-position:
      center,
      calc(100% + clamp(-120px,calc(32px - (100vw - 1024px) * .365),32px)) top;
    background-size: 100% 100%,auto 145%;
  }
  .sfd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,55fr) minmax(0,45fr);
    column-gap: clamp(32px,3vw,48px);
    width: min(calc(100% - 96px),1280px) !important;
    max-width: 1280px !important;
  }
  .sfd-hero-copy {
    grid-column: 1;
    width: 100%;
    max-width: 700px;
  }
  .sfd-hero-script {
    right: calc(17% - clamp(-120px,calc(32px - (100vw - 1024px) * .365),32px));
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .sfd-home-hero h1 { font-size: clamp(50px,4.5vw,54px) !important; }
  .sfd-hero-lead { font-size: 20px !important; }
}

@media (min-width: 782px) and (max-height: 700px) {
  .sfd-home-hero { min-height: 0; padding-block: 38px; }
  .sfd-home-hero h1 { font-size: 54px !important; }
  .sfd-hero-lead { font-size: 20px !important; }
}

@media (max-width: 781px) {
  .sfd-home-hero {
    min-height: 0;
    padding: 34px 16px 0;
    align-items: start;
    background-image: none;
  }
  .sfd-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100% !important;
  }
  .sfd-hero-copy { width: 100%; padding-top: 0; }
  .sfd-home-hero h1 { margin: 0 0 14px; font-size: 34px !important; white-space: nowrap; }
  .sfd-hero-lead { max-width: none; margin-bottom: 16px; font-size: 16px !important; line-height: 1.5 !important; }
  .sfd-hero-copy > p:not(.sfd-eyebrow):not(.sfd-hero-lead) { max-width: none; font-size: 13px; line-height: 1.65; }
  .sfd-hero-actions { display: flex !important; flex-wrap: nowrap !important; margin-top: 24px; gap: 8px !important; }
  .sfd-hero-actions .wp-block-button { min-width: 0; width: 50%; }
  .sfd-hero-actions .wp-block-button__link { padding: 10px 4px; font-size: 12px; white-space: nowrap; }
  .sfd-hero-art {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    margin: 0;
  }
  .sfd-hero-mobile-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: clamp(360px,110vw,440px);
    object-fit: contain;
    object-position: center bottom;
  }
  .sfd-hero-orbit,
  .sfd-hero-figure,
  .sfd-hero-art::before,
  .sfd-hero-vertical { display: none; }
  .sfd-hero-script { left: auto; right: 6%; bottom: 5%; font-size: 14px; }
  .sfd-reassurance.alignwide { padding: 28px 16px; }
  .sfd-reassurance h2 { margin-bottom: 12px; font-size: 22px !important; }
  .sfd-reassurance p { font-size: 13px; line-height: 1.7; }
  .sfd-section.alignwide { width: calc(100% - 24px) !important; padding: 18px 0 14px; }
  .sfd-feature-grid,
  .sfd-area-grid { gap: 6px !important; }
  .sfd-card { min-height: 220px; padding: 12px 5px 9px; }
  .sfd-card .sfd-card-icon { min-height: 36px; }
  .sfd-card .sfd-card-icon::before { width: 36px; height: 36px; }
  .sfd-card h3 { margin: 8px 0 5px; font-size: 15px !important; }
  .sfd-card p { font-size: 11px; line-height: 1.45; }
  .sfd-card p:last-child { padding-top: 8px; }
  .sfd-card p:last-child a { display: flex; min-height: 34px; align-items: center; justify-content: center; padding: 5px 2px; font-size: 10px; }
  .sfd-area-section { padding-top: 0 !important; padding-bottom: 22px !important; }
  .sfd-area-section > .sfd-section-label { gap: 16px; margin-bottom: 12px; font-size: 17px !important; }
  .sfd-area-section > .sfd-section-label::before,
  .sfd-area-section > .sfd-section-label::after { width: 38px; }
  .sfd-area-card { min-height: 122px; padding: 8px 6px; background-size: 100% 100%,auto 100%; }
  .sfd-area-card h3 { margin-bottom: 4px; font-size: 14px !important; }
  .sfd-area-card p:nth-of-type(1) { padding: 2px 5px; font-size: 10px; }
  .sfd-final-cta.alignwide { min-height: 250px; padding: 28px 14px 22px; }
  .sfd-final-cta h2 { font-size: 22px !important; }
  .sfd-final-cta p { max-width: 350px; margin-bottom: 18px; font-size: 12px; }
  .sfd-final-cta .wp-block-buttons { display: flex !important; flex-wrap: nowrap !important; gap: 8px; }
  .sfd-final-cta .wp-block-button { width: min(50%,180px); }
  .sfd-final-cta .wp-block-button__link { padding: 10px 4px; font-size: 12px; }
}

@media (max-width: 640px) {
  .sfd-home-massage-band { padding: 24px 0; }
  .sfd-home-massage-frame { padding: 0 10px; }
  .sfd-home-massage-frame img { height: 270px; object-position: 52% center; }
}

@media (max-width: 359px) {
  .sfd-home-hero h1 { font-size: 29px !important; }
  .sfd-hero-lead { max-width: 245px; font-size: 15px !important; }
  .sfd-home-hero { min-height: 0; }
  .sfd-reassurance h2 { font-size: 19px !important; }
  .sfd-card h3 { font-size: 13px !important; }
  .sfd-card p { font-size: 10px; }
  .sfd-card p:last-child a { min-height: 40px; font-size: 9px; }
  .sfd-area-card h3 { font-size: 12px !important; }
  .sfd-area-card p:nth-of-type(1) { font-size: 9px; }
}


/* Therapist profile photo grid v1.5.0 */
.sfd-profile-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  align-self: stretch;
  padding: 10px;
  background: #f6f8f7;
}

.sfd-profile-photo-grid .sfd-profile-photo {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #eef1ef;
}

.sfd-profile-photo-grid .sfd-profile-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 781px) {
  .sfd-profile-photo-grid {
    gap: 6px;
    padding: 6px;
  }

  .sfd-profile-photo-grid .sfd-profile-photo {
    aspect-ratio: 4 / 5;
  }
}


/* Therapist profile gallery shortcode v1.5.1 */
.sfd-profile-hero-grid .gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 10px;
  align-self: stretch;
  background: #f6f8f7;
}

.sfd-profile-hero-grid .gallery::before,
.sfd-profile-hero-grid .gallery::after {
  display: none;
  content: none;
}

.sfd-profile-hero-grid .gallery .gallery-item {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.sfd-profile-hero-grid .gallery .gallery-icon {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eef1ef;
}

.sfd-profile-hero-grid .gallery img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border: 0;
}

@media (max-width: 781px) {
  .sfd-profile-hero-grid .gallery {
    gap: 6px;
    padding: 6px;
  }
}


/* Therapist profile image save deterrence v1.5.2 */
.sfd-profile-hero-grid .gallery .gallery-icon,
.sfd-profile-photo {
  position: relative;
}

.sfd-profile-hero-grid .gallery .gallery-icon::after,
.sfd-profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}

.sfd-profile-hero-grid .gallery img,
.sfd-profile-photo img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* Column archive card grid ([sford_columns] shortcode output) */
.sfd-columns-archive {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 16px 110px;
}
.sfd-columns-header {
  margin-bottom: 36px;
}
.sfd-columns-header > p:first-child {
  margin: 0 0 10px;
  color: var(--sfd-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.sfd-columns-header h1 {
  margin: 0 0 14px;
}
.sfd-columns-header > p:last-child {
  margin: 0;
  max-width: 560px;
  color: var(--sfd-muted);
  font-size: 15px;
  line-height: 1.7;
}
.sfd-columns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.sfd-column-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--sfd-border);
  border-radius: var(--sfd-radius);
  background: var(--sfd-surface);
  padding: 24px;
  color: var(--sfd-text);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sfd-column-card:hover,
.sfd-column-card:focus-visible {
  border-color: var(--sfd-accent);
  box-shadow: 0 12px 28px rgba(32,37,36,.08);
  transform: translateY(-2px);
}
.sfd-col-date {
  margin: 0 0 10px;
  color: var(--sfd-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.sfd-column-card h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.4;
  color: var(--sfd-text);
}
.sfd-column-card > p:not(.sfd-col-date) {
  margin: 0;
  color: var(--sfd-muted);
  font-size: 14px;
  line-height: 1.7;
}
