:root {
  color-scheme: light;
  --ink: #17263c;
  --muted: #667386;
  --wine: #17365d;
  --wine-dark: #102744;
  --paper: #f4f6f9;
  --line: #e0e5ec;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #6682a8;
  outline-offset: 4px;
}

.announcement {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 20px;
  color: #fff;
  background: var(--wine);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.announcement a {
  margin-left: 5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f3bc69;
  animation: announcement-pulse 2.4s ease-in-out infinite;
}

.site-header {
  z-index: 10;
  position: sticky;
  top: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1360px) / 2));
  border-bottom: 1px solid rgba(23, 38, 60, 0.08);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--wine);
}

.brand-logo {
  display: block;
  width: 108px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand:hover .brand-logo {
  transform: scale(1.03);
}

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  color: #46566d;
  font-size: 12px;
  font-weight: 600;
}

.navigation > a:not(.nav-cta):hover,
.footer-links a:hover {
  color: var(--wine);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 13px 17px;
  color: white;
  border-radius: 3px;
  background: var(--wine);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(16, 39, 68, 0.18);
}

.menu-toggle {
  display: none;
}

.section-shell {
  width: min(1360px, calc(100% - clamp(48px, 6.25vw, 96px)));
  margin-inline: auto;
}

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
  padding-top: 66px;
  padding-bottom: 72px;
}

.hero-copy {
  padding: 10px 0 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 21px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
}

.hero h1 {
  max-width: 570px;
  margin-bottom: 23px;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.09;
}

h1 em,
h2 em {
  color: var(--wine);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 450px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 19px;
  border: 0;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  color: #fff;
  background: var(--wine);
}

.text-link,
.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.text-link:hover,
.underlined-link:hover {
  color: var(--wine);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 37px;
}

.proof-avatars {
  display: flex;
  padding-left: 4px;
}

.proof-avatars span {
  width: 27px;
  height: 27px;
  display: grid;
  margin-left: -4px;
  place-items: center;
  color: #fff;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: #923a50;
  font-size: 8px;
  font-weight: 700;
}

.proof-avatars span:nth-child(2) {
  background: #d29b6f;
}

.proof-avatars span:nth-child(3) {
  background: #554755;
}

.hero-proof p {
  margin: 0;
  color: #82777a;
  font-size: 9px;
  line-height: 1.55;
}

.hero-proof strong {
  color: #332a2d;
  font-size: 10px;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.hero-image-wrap {
  position: absolute;
  inset: 0 22px 0 24px;
  overflow: hidden;
  border-radius: 46% 46% 4px 4px;
  background: #dfc7be;
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(45, 19, 27, 0.24));
}

.hero-image-wrap img,
.approach-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-image-wrap img {
  object-position: 50% 37%;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-image-wrap:hover img {
  transform: scale(1.035);
}

.visual-note {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
  padding: 12px 15px;
  border: 1px solid rgba(52, 28, 34, 0.06);
  border-radius: 3px;
  background: #fffdfa;
  box-shadow: 0 12px 30px rgba(53, 25, 31, 0.1);
  animation: note-drift 5s ease-in-out infinite;
}

.note-bottom {
  animation-delay: -2.5s;
}

.note-top {
  top: 66px;
  right: -7px;
}

.note-bottom {
  bottom: 41px;
  left: -32px;
}

.note-icon,
.note-check {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--wine);
  border-radius: 50%;
  background: #f5e6e8;
  font-size: 18px;
}

.note-check {
  color: #355746;
  background: #e8f0e7;
  font-size: 15px;
}

.visual-note span:last-child {
  display: grid;
  gap: 3px;
}

.visual-note strong {
  font-size: 10px;
}

.visual-note small {
  color: #857b7d;
  font-size: 8px;
}

.visual-spark {
  position: absolute;
  color: #d39942;
}

.spark-one {
  top: 10px;
  left: 4px;
  font-size: 31px;
}

.spark-two {
  right: 6px;
  bottom: 12px;
  color: var(--wine);
  font-size: 22px;
}

.reach-bar {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 6.5vw, 90px);
  padding: 16px 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffdfa;
}

.reach-bar p {
  margin: 0 6px 0 0;
  color: #8b7e80;
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
}

.reach-bar div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #473c3e;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.reach-symbol {
  color: var(--wine);
  font-size: 16px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  align-items: start;
  gap: 12%;
  padding-top: 113px;
  padding-bottom: 111px;
}

.section-heading h2,
.solutions-heading h2,
.approach-copy h2,
.contact h2 {
  max-width: 490px;
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 47px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.15;
}

.intro-copy {
  padding-top: 41px;
}

.intro-copy p,
.approach-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.intro-copy p + p {
  margin-top: 14px;
}

.underlined-link {
  margin-top: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #c5b5b7;
}

.solutions {
  padding-top: 70px;
  padding-bottom: 104px;
  border-top: 1px solid var(--line);
}

.solutions-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 39px;
}

.solutions-heading h2 {
  max-width: 555px;
}

.solutions-heading > p {
  max-width: 260px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fffdfa;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 24px 21px 21px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover {
  z-index: 1;
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 13px 28px rgba(53, 25, 31, 0.07);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
  border-radius: 50%;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-icon-pink {
  color: var(--wine);
  background: #f4e4e6;
}

.card-icon-yellow {
  color: #80571d;
  background: #f8edcf;
}

.card-icon-lilac {
  color: #594283;
  background: #eee8f5;
}

.card-icon-green {
  color: #315d4a;
  background: #e6eee4;
}

.card-number {
  position: absolute;
  top: 29px;
  right: 20px;
  color: #a99fa0;
  font-size: 9px;
}

.service-card h3 {
  margin-bottom: 9px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.service-card p {
  min-height: 55px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
}

.service-card a:hover {
  gap: 13px;
}

.approach {
  display: grid;
  grid-template-columns: 0.94fr 1fr;
  align-items: center;
  gap: clamp(45px, 8vw, 102px);
  padding-top: 40px;
  padding-bottom: 116px;
}

.approach-image {
  position: relative;
  height: 410px;
  overflow: hidden;
  background: #d8b4a4;
}

.approach-image img {
  object-position: center;
}

.image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(30, 14, 19, 0.66));
  font-family: var(--serif);
  font-size: 14px;
}

.image-caption span {
  color: #f0c378;
  font-size: 21px;
}

.approach-copy .eyebrow {
  margin-bottom: 18px;
}

.approach-copy h2 {
  margin-bottom: 17px;
}

.approach-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 19px;
}

.approach-list {
  display: grid;
  gap: 11px;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.approach-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #514749;
  font-size: 11px;
  font-weight: 600;
}

.approach-list li span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--wine);
  border-radius: 50%;
  background: #f1e3e5;
  font-size: 10px;
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-dark:hover {
  background: var(--wine);
  transform: translateY(-2px);
}

.panel-cta {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 51px clamp(32px, 7vw, 82px);
  color: #fff;
  background: var(--wine);
}

.panel-cta::before,
.panel-cta::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.panel-cta::before {
  width: 440px;
  height: 440px;
  top: -260px;
  right: 20%;
}

.panel-cta::after {
  width: 380px;
  height: 380px;
  right: 15%;
  bottom: -300px;
}

.panel-cta-content {
  position: relative;
  z-index: 1;
  max-width: 510px;
}

.eyebrow-light {
  color: #f1c5ce;
}

.panel-cta h2 {
  margin-bottom: 13px;
  font-size: clamp(32px, 4vw, 45px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.15;
}

.panel-cta-content > p:not(.eyebrow) {
  max-width: 440px;
  margin-bottom: 22px;
  color: #e2eaf3;
  font-size: 12px;
  line-height: 1.75;
}

.button-light {
  color: var(--wine);
  background: #fff9f6;
}

.button-light:hover {
  background: #f3e4e5;
  transform: translateY(-2px);
}

.panel-cta-stamp {
  width: 156px;
  height: 156px;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-right: 8%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #f5d9dd;
  transform: rotate(-12deg);
}

.panel-cta-stamp strong {
  color: #f2c17a;
  font-size: 39px;
  line-height: 1;
}

.panel-cta-stamp span {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.contact {
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 58px;
  padding-bottom: 58px;
}

.contact .eyebrow {
  margin-bottom: 12px;
}

.contact h2 {
  max-width: 630px;
  font-size: clamp(30px, 3.7vw, 42px);
}

.contact .button {
  flex: 0 0 auto;
}

.site-footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(32px, calc((100vw - 1360px) / 2));
  border-top: 1px solid var(--line);
  background: #fffdfa;
}

.site-footer > p {
  margin: 0;
  color: #807579;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: #5c5053;
  font-size: 10px;
  font-weight: 600;
}

.site-footer small {
  color: #94888a;
  font-size: 9px;
}

.inner-hero {
  padding-top: 112px;
  padding-bottom: 96px;
}

.inner-hero h1,
.contact-page-intro h1 {
  max-width: 780px;
  margin: 0 0 19px;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1.06;
}

.inner-hero > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.inner-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fffdfa;
}

.detail-card {
  min-height: 290px;
  padding: 37px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.detail-kicker {
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-card h2,
.about-story h2 {
  margin: 24px 0 12px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.detail-card p,
.about-story p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.detail-card p {
  max-width: 430px;
  min-height: 68px;
}

.detail-card .underlined-link {
  margin-top: 8px;
}

.inner-banner {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-top: 96px;
  margin-bottom: 88px;
  padding: 42px clamp(30px, 7vw, 80px);
  color: white;
  background: var(--wine);
}

.inner-banner h2 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(31px, 4.5vw, 47px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.14;
}

.about-story {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 11%;
  padding-top: 20px;
  padding-bottom: 74px;
}

.about-story h2 {
  max-width: 420px;
  margin-top: 0;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.15;
}

.about-story > div + div {
  padding-top: 37px;
}

.about-story > div + div p {
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fffdfa;
}

.values-grid article {
  min-height: 190px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.values-grid article:last-child {
  border-right: 0;
}

.values-grid article > span {
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
}

.values-grid h3 {
  margin: 23px 0 9px;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.04em;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.why-hero-copy {
  max-width: 650px;
}

.why-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 8%;
  padding-top: 91px;
  padding-bottom: 83px;
}

.why-hero-copy h1 {
  max-width: 660px;
  margin: 0 0 19px;
  font-size: clamp(48px, 6vw, 73px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1.06;
}

.why-hero-copy > p:not(.eyebrow) {
  max-width: 525px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.why-hero-art {
  display: grid;
  justify-items: center;
}

.why-hero-art > p {
  margin: 19px 0 0;
  color: #776a6d;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.why-art-circle {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f7e8e7 0 27%, transparent 27.5%), #f2eae4;
  animation: art-breathe 7s ease-in-out infinite;
}

.why-art-circle::before,
.why-art-circle::after,
.why-art-orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(128, 0, 32, 0.14);
  border-radius: 50%;
  content: "";
}

.why-art-circle::after {
  inset: 25%;
  border-color: rgba(128, 0, 32, 0.22);
}

.why-art-orbit.orbit-one {
  inset: 1%;
  border-style: dashed;
  border-color: rgba(128, 0, 32, 0.25);
  animation: orbit-turn 48s linear infinite;
}

.why-art-orbit.orbit-two {
  inset: 37%;
  border-color: rgba(128, 0, 32, 0.28);
  animation: orbit-turn 32s linear infinite reverse;
}

.why-art-center {
  z-index: 1;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 29px;
  letter-spacing: -0.12em;
}

.why-art-center span {
  font-weight: 700;
}

.why-art-label {
  position: absolute;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid rgba(55, 36, 38, 0.07);
  color: #514749;
  background: #fffdfa;
  box-shadow: 0 7px 20px rgba(53, 25, 31, 0.08);
  font-size: 9px;
  font-weight: 700;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.label-one {
  animation: label-float 5.8s ease-in-out infinite;
}

.label-two {
  animation: label-float 6.4s ease-in-out -2.8s infinite;
}

.label-three {
  animation: label-float 5.2s ease-in-out -1.4s infinite;
}

.why-art-circle:hover .why-art-label {
  box-shadow: 0 10px 24px rgba(53, 25, 31, 0.12);
  animation-play-state: paused;
}

.why-art-circle:hover .label-one {
  transform: translate(3px, -3px);
}

.why-art-circle:hover .label-two {
  transform: translate(-3px, 3px);
}

.label-one {
  top: 17%;
  right: -3%;
}

.label-two {
  bottom: 21%;
  left: -5%;
}

.label-three {
  right: 1%;
  bottom: 12%;
}

.why-proof {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 0.8fr 1.1fr;
  margin-top: 3px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffdfa;
}

.why-proof > div {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 17px 25px;
  border-right: 1px solid var(--line);
  transition: background 200ms ease, transform 200ms ease;
}

.why-proof > div:hover {
  z-index: 1;
  background: #f8efeb;
  transform: translateY(-3px);
}

.why-proof > div:last-child {
  border-right: 0;
}

.why-proof strong {
  color: var(--wine);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.why-proof > div:first-child strong {
  font-size: 30px;
}

.why-proof strong span {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
}

.why-proof > div > span {
  color: #776a6d;
  font-size: 9px;
}

.about-story {
  padding-top: 96px;
  padding-bottom: 90px;
}

.about-story .about-story-lede {
  max-width: 340px;
  margin-top: 17px;
  color: #534649;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
}

.why-differentiators {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  align-items: start;
  gap: 8%;
  padding-top: 72px;
  padding-bottom: 85px;
  border-top: 1px solid var(--line);
}

.why-section-heading h2,
.why-methods h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 45px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.14;
}

.why-section-heading > p:last-child,
.why-methods > div:first-child > p:not(.eyebrow) {
  max-width: 370px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.why-differentiators .values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-differentiators .values-grid article {
  min-height: 230px;
  padding: 23px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.why-differentiators .values-grid article:hover {
  z-index: 1;
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(53, 25, 31, 0.06);
}

.why-differentiators .values-grid article:nth-child(2n) {
  border-right: 0;
}

.why-differentiators .values-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.why-differentiators .values-grid article > span {
  color: #887b7d;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.why-differentiators .values-grid h3 {
  margin: 20px 0 9px;
  font-size: 14px;
}

.why-differentiators .values-grid p {
  min-height: 67px;
}

.why-differentiators .values-grid a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
}

.why-methods {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  align-items: center;
  gap: 10%;
  padding-top: 77px;
  padding-bottom: 90px;
  border-top: 1px solid var(--line);
}

.why-methods h2 {
  font-size: clamp(34px, 4vw, 43px);
}

.method-list {
  border-top: 1px solid var(--line);
}

.method-list > a {
  display: grid;
  grid-template-columns: 35px 1fr 18px;
  align-items: center;
  gap: 12px;
  min-height: 75px;
  border-bottom: 1px solid var(--line);
  transition: padding 200ms ease, color 200ms ease, background 200ms ease;
}

.method-list > a:hover {
  padding-inline: 9px;
  background: #fffdfa;
}

.method-list > a > span:first-child {
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
}

.method-list > a > div {
  display: grid;
  gap: 5px;
}

.method-list strong {
  font-family: var(--display);
  font-size: 11px;
}

.method-list small {
  color: var(--muted);
  font-size: 9px;
}

.method-arrow {
  color: var(--wine);
  font-size: 12px;
}

.method-list > a:hover strong {
  color: var(--wine);
}

.navigation-simple {
  margin-left: auto;
}

.account-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: start;
  gap: 8%;
  padding: 46px max(32px, calc((100vw - 1360px) / 2)) 56px;
  overflow-x: clip;
  color: #fff;
  background: var(--wine);
}

.account-intro {
  max-width: 490px;
}

.account-intro-photo {
  width: 100%;
  max-width: 430px;
  height: 190px;
  display: block;
  margin: 24px 0;
  object-fit: cover;
}

.account-intro h1 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(43px, 5vw, 63px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.07;
}

.account-intro h1 em {
  color: #f2c8d0;
  font-family: var(--serif);
  font-weight: 400;
}

.account-intro > p:not(.eyebrow) {
  max-width: 405px;
  color: #f1dce0;
  font-size: 13px;
  line-height: 1.8;
}

.account-points {
  display: grid;
  gap: 13px;
  margin-top: 29px;
  color: #fff2f2;
  font-size: 11px;
}

.account-panel,
.form-card,
.contact-form-card {
  padding: clamp(25px, 4vw, 39px);
  color: var(--ink);
  background: #fffdfa;
  box-shadow: 0 20px 70px rgba(23, 38, 60, 0.13);
}

.preview-notice {
  display: grid;
  gap: 3px;
  margin-bottom: 27px;
  padding: 11px 13px;
  border-left: 3px solid #6682a8;
  background: #edf1f6;
}

.preview-notice strong {
  color: #17365d;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preview-notice span {
  color: #58677b;
  font-size: 9px;
  line-height: 1.5;
}

.panel-access-link {
  width: fit-content;
  min-height: 38px;
  margin: 8px 0 0;
  padding: 0 13px;
  font-size: 9px;
}

.account-panel h2 {
  margin-bottom: 9px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.055em;
}

.account-panel > p:not(.account-footnote) {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.account-button {
  width: 100%;
  margin-bottom: 11px;
  cursor: pointer;
}

.button-outline {
  border: 1px solid #d8cbca;
  color: var(--wine);
  background: transparent;
}

.button-outline:hover {
  background: #f7eeee;
}

.account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: #9b9091;
  font-size: 9px;
}

.account-divider::before,
.account-divider::after {
  height: 1px;
  flex: 1;
  content: "";
  background: var(--line);
}

.account-text-link {
  display: block;
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
}

.account-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-footnote {
  margin: 20px 0 0;
  color: #8a7f81;
  font-size: 9px;
  line-height: 1.65;
}

.account-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(7vw, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
}

.back-link {
  color: #65595b;
  font-size: 11px;
  font-weight: 600;
}

.back-link:hover {
  color: var(--wine);
}

.form-page {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 22px 56px;
}

.form-card {
  width: min(100%, 470px);
}

.form-card .preview-notice {
  margin-bottom: 25px;
}

.form-card .eyebrow {
  margin-bottom: 10px;
}

.form-card h1 {
  margin: 0 0 9px;
  font-size: 33px;
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.15;
}

.form-lede {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.form-card form,
.contact-form-card form {
  display: grid;
  gap: 16px;
}

.form-card form > label,
.contact-form-card form > label,
.form-row > label {
  display: grid;
  gap: 7px;
  color: #403638;
  font-size: 10px;
  font-weight: 700;
}

.form-card input:not([type="checkbox"]):not([type="radio"]),
.contact-form-card input,
.form-card select,
.form-card textarea,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid #ddd2d1;
  border-radius: 2px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font: 400 11px var(--sans);
}

.form-card textarea,
.contact-form-card textarea {
  min-height: 104px;
  resize: vertical;
}

.form-card input:focus,
.contact-form-card input:focus,
.form-card select:focus,
.form-card textarea:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 2px rgba(128, 0, 32, 0.1);
}

.form-card label small {
  color: #8a7f81;
  font-size: 9px;
  font-weight: 400;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 8px !important;
  color: var(--muted) !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  line-height: 1.6;
}

.checkbox-label input {
  margin: 1px 0 0;
  accent-color: var(--wine);
}

.form-between {
  display: flex;
  justify-content: flex-end;
  margin-top: -7px;
}

.form-between a,
.form-switch a,
.form-switch + .account-text-link {
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
}

.form-switch {
  margin: 15px 0 12px;
  color: var(--muted);
  font-size: 10px;
}

.form-switch a {
  margin-left: 3px;
}

.form-status {
  margin: 0;
  color: #614713;
  font-size: 10px;
  line-height: 1.6;
}

.contact-page {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: center;
  gap: 10%;
  padding-top: 88px;
  padding-bottom: 92px;
}

.contact-page-intro h1 {
  font-size: clamp(43px, 5vw, 62px);
}

.contact-page-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  gap: 12px;
  margin-top: 31px;
}

.contact-detail > span {
  color: var(--wine);
  font-size: 19px;
}

.contact-detail strong {
  font-size: 10px;
}

.contact-detail p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.contact-form-card .preview-notice {
  margin-bottom: 20px;
}

.contact-form-card .account-button {
  margin: 0;
}

.dashboard {
  min-height: calc(100vh - 120px);
  padding-top: 32px;
  padding-bottom: 64px;
}

.dashboard-welcome {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 31px;
}

.dashboard-welcome .eyebrow {
  margin-bottom: 10px;
}

.dashboard-welcome h1 {
  margin: 0 0 6px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.065em;
}

.dashboard-welcome > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.demo-badge {
  padding: 8px 10px;
  color: #17365d;
  border: 1px solid #d6e2ef;
  background: #f0f5fa;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr) 245px;
  align-items: start;
  gap: 22px;
}

.dashboard-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 5px;
  padding: 16px 10px;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.dashboard-nav-label {
  margin: 0 0 8px;
  padding: 0 8px;
  color: #9b8e90;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.dashboard-nav-link {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: #65595b;
  font-size: 9px;
  font-weight: 600;
}

.dashboard-nav-link > span:first-child {
  width: 15px;
  color: #8e7b7f;
  font-size: 13px;
  text-align: center;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.is-current {
  color: #17365d;
  background: #f0f5fa;
}

.dashboard-nav-link.is-current > span:first-child {
  color: #17365d;
}

.nav-count {
  min-width: 18px;
  margin-left: auto;
  padding: 3px 4px;
  color: var(--wine);
  border-radius: 10px;
  background: #f2e5e7;
  font-size: 8px;
  text-align: center;
}

.dashboard-nav-help {
  margin: 14px 2px 0;
  padding: 13px 9px 5px;
  border-top: 1px solid var(--line);
}

.dashboard-nav-help strong {
  font-size: 9px;
}

.dashboard-nav-help p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.dashboard-nav-help a {
  color: var(--wine);
  font-size: 8px;
  font-weight: 700;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 24px;
}

.dashboard-stat {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 13px;
  border: 1px solid var(--line);
  background: #fffdfa;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-stat:hover {
  transform: translateY(-3px);
  border-color: #d8c4c4;
  box-shadow: 0 9px 20px rgba(53, 25, 31, 0.05);
}

.stat-label {
  color: #877a7d;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dashboard-stat > strong {
  color: #17365d;
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.dashboard-stat > strong small {
  font-size: 10px;
}

.stat-caption {
  color: #897e80;
  font-size: 8px;
}

.survey-card {
  padding: 27px;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.survey-card-primary {
  position: relative;
  overflow: hidden;
  color: white;
  border: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(125deg, #17365d, #142f52 72%, #102744);
}

.survey-card-primary.is-complete {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(125deg, #4d3940, #392f33 72%, #30272b);
}

.survey-card-primary > * {
  position: relative;
  z-index: 1;
}

.survey-card-primary > .survey-card-photo {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 38%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  mix-blend-mode: screen;
}

.survey-card-primary::before {
  position: absolute;
  z-index: 0;
  inset: -40% -25%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.1) 50%, transparent 58%);
  content: "";
  pointer-events: none;
  animation: card-sheen 9s ease-in-out infinite;
}

.survey-card-primary::after {
  z-index: 0;
  position: absolute;
  top: -57px;
  right: -43px;
  width: 155px;
  height: 155px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(255, 255, 255, 0.035), 0 0 0 36px rgba(255, 255, 255, 0.025);
  content: "";
  pointer-events: none;
  animation: orbit-turn 70s linear infinite;
}

.survey-card-top,
.survey-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.survey-tag {
  position: relative;
  z-index: 1;
  margin-left: 5px;
  padding: 4px 6px;
  color: var(--wine);
  border-radius: 2px;
  background: #edf1f6;
  font-size: 7px;
  animation: badge-glow 3s ease-in-out infinite;
}

.survey-type,
.survey-time {
  color: #d9e2ee;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.survey-time {
  letter-spacing: 0;
}

.survey-card h2,
.survey-card h3 {
  max-width: 520px;
  margin: 27px 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.survey-card > p {
  max-width: 520px;
  margin-bottom: 25px;
  color: #e2eaf3;
  font-size: 11px;
  line-height: 1.75;
}

.opportunities-section .dashboard-section-title {
  margin-top: 0;
}

.opportunities-section .dashboard-section-title .eyebrow,
.activity-section .dashboard-section-title .eyebrow {
  margin-bottom: 6px;
  font-size: 8px;
}

.opportunities-section .dashboard-section-title h2,
.activity-section .dashboard-section-title h2 {
  font-size: 17px;
}

.opportunities-section .dashboard-section-title > span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  color: #827679;
  background: #fffdfa;
  font-size: 8px;
}

.more-surveys-title {
  margin-top: 25px;
}

.more-surveys-title > div > p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.more-surveys-title > a,
.activity-section .dashboard-section-title > a {
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
}

.survey-card-bottom {
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #d9e2ee;
  font-size: 9px;
}

.survey-card-bottom strong {
  margin-left: 5px;
  color: white;
}

.survey-card-bottom .button {
  min-height: 40px;
  color: var(--wine);
  background: #fffdfa;
}

.survey-card-bottom .button:hover {
  background: #f3e4e5;
  box-shadow: 0 6px 16px rgba(30, 4, 14, 0.2);
}

.survey-card-bottom .is-complete-link,
.survey-row > .is-complete-link {
  cursor: default;
  opacity: 0.78;
  pointer-events: none;
}

.survey-card-bottom .is-complete-link:hover {
  background: #fffdfa;
  box-shadow: none;
  transform: none;
}

.survey-row.is-complete {
  background: #f5f1ed;
}

.survey-row.is-complete .survey-row-icon {
  color: #315d4a;
  background: #e6eee4;
}

.survey-row > .is-complete-link {
  color: #42634f;
}

.survey-card-bottom .button span,
.survey-row > a span,
.why-differentiators .values-grid a span,
.method-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.survey-card-bottom .button:hover span,
.survey-row > a:hover span,
.why-differentiators .values-grid a:hover span,
.method-list > a:hover .method-arrow {
  transform: translate(3px, -2px);
}

.dashboard-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 27px 0 11px;
}

.dashboard-section-title h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -0.04em;
}

.dashboard-section-title span {
  color: #8a7f81;
  font-size: 9px;
}

.survey-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fffdfa;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.survey-row:hover {
  transform: translateX(3px);
  border-color: #d9c8c7;
  box-shadow: 0 7px 17px rgba(53, 25, 31, 0.045);
}

.survey-row-info {
  min-width: 0;
}

.row-category {
  display: block;
  margin-bottom: 4px;
  color: #908386;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.survey-row-info h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: -0.02em;
}

.survey-row-info p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 8px;
}

.row-separator {
  padding-inline: 2px;
}

.survey-row + .survey-row {
  margin-top: 9px;
}

.survey-row-icon {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #514075;
  border-radius: 50%;
  background: #eee8f5;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.survey-row:hover .survey-row-icon {
  transform: rotate(-12deg) scale(1.08);
}

.row-icon-gold {
  color: #80571d;
  background: #f8edcf;
}

.survey-row h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: -0.02em;
}

.survey-row p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.survey-row > a {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
}

.profile-card {
  padding: 23px;
  border: 1px solid var(--line);
  background: #fffdfa;
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.profile-card:hover {
  border-color: #d9c8c7;
  box-shadow: 0 9px 20px rgba(53, 25, 31, 0.045);
}

.profile-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.profile-card-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 11px;
}

.profile-card-heading a {
  color: var(--wine);
  font-size: 8px;
  font-weight: 700;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  color: white;
  border-radius: 50%;
  background: var(--wine);
  font-family: var(--serif);
  font-size: 22px;
  animation: avatar-bob 4.8s ease-in-out infinite;
}

.profile-card h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 12px;
}

.profile-card > p {
  margin: 0;
  color: #8a7f81;
  font-size: 9px;
}

.profile-divider {
  height: 1px;
  margin: 17px 0 10px;
  background: var(--line);
}

.profile-stat {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--muted);
  font-size: 9px;
}

.profile-stat strong {
  color: var(--ink);
}

.profile-stat .profile-status {
  color: #8c671f;
  font-size: 8px;
}

.profile-status span {
  color: #c79734;
  font-size: 7px;
}

.profile-progress-label {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #7e7274;
  font-size: 8px;
}

.profile-progress-label strong {
  color: var(--wine);
}

.profile-progress {
  height: 4px;
  margin-top: 7px;
  background: #eee6e2;
}

.profile-progress span {
  width: 0;
  height: 100%;
  display: block;
  background: var(--wine);
}

.profile-card .profile-hint {
  margin: 9px 0 0;
  color: #8a7f81;
  font-size: 8px;
  line-height: 1.5;
  text-align: left;
}

.rewards-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 9px;
  margin-top: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.rewards-icon {
  width: 31px;
  height: 31px;
  display: grid;
  grid-row: span 2;
  place-items: center;
  color: #80571d;
  border-radius: 50%;
  background: #f8edcf;
  font-size: 17px;
}

.rewards-card .row-category {
  margin: 0 0 3px;
}

.rewards-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 11px;
}

.rewards-card > p,
.rewards-card > a {
  grid-column: 1 / -1;
}

.rewards-card > p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.65;
}

.rewards-card > p strong {
  color: var(--ink);
}

.rewards-card > a {
  color: var(--wine);
  font-size: 8px;
  font-weight: 700;
}

.withdrawal-status {
  margin: 0;
  color: #65595b;
  font-size: 9px;
  line-height: 1.6;
}

.withdrawal-center {
  width: 100%;
  margin-top: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  background: #fffdfa;
  scroll-margin-top: 30px;
}

.withdrawal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: #74686b;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

.withdrawal-back-link:hover {
  color: var(--wine);
}

.withdrawal-center-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
}

.withdrawal-center-heading .eyebrow {
  margin-bottom: 9px;
}

.withdrawal-center-heading h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.055em;
}

.withdrawal-center-heading > div:first-child > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.withdrawal-balance {
  min-width: 155px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  background: #f4f6f9;
}

.withdrawal-balance > span {
  display: block;
  margin-bottom: 7px;
  color: #877a7d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.withdrawal-balance strong {
  color: var(--wine);
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.05em;
}

.withdrawal-balance small {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
}

.withdrawal-preview-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  padding: 13px 15px;
  border: 1px solid #eadfc7;
  background: #fbf5e9;
}

.withdrawal-preview-banner > span {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #80571d;
  font-size: 10px;
  font-weight: 700;
}

.withdrawal-preview-banner p {
  margin: 0;
  color: #625b4d;
  font-size: 10px;
  line-height: 1.7;
}

.withdrawal-preview-banner strong {
  color: #413a2e;
}

.withdrawal-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 24px;
}

.withdrawal-methods {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.withdrawal-methods legend,
.withdrawal-details h3,
.withdrawal-review h3 {
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.withdrawal-methods legend > span,
.withdrawal-details h3 > span,
.withdrawal-review h3 > span {
  margin-right: 7px;
  color: var(--wine);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.withdrawal-method-options {
  display: grid;
  gap: 8px;
}

.withdrawal-method-option {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  min-height: 65px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.withdrawal-method-option:has(input:checked) {
  border-color: var(--wine);
  background: #fbf6f5;
}

.withdrawal-method-option:has(input:focus-visible) {
  outline: 3px solid rgba(128, 0, 32, 0.16);
  outline-offset: 2px;
}

.withdrawal-method-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.withdrawal-method-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--wine);
  background: #f5ebec;
  font-size: 16px;
}

.withdrawal-method-option strong,
.withdrawal-method-option small {
  display: block;
}

.withdrawal-method-option strong {
  margin-bottom: 4px;
  color: #383238;
  font-size: 10px;
}

.withdrawal-method-option small {
  color: #897e80;
  font-size: 8px;
}

.withdrawal-radio {
  width: 15px;
  height: 15px;
  border: 1px solid #bfb2b4;
  border-radius: 50%;
}

.withdrawal-method-option:has(input:checked) .withdrawal-radio {
  border: 5px solid var(--wine);
}

.withdrawal-details,
.withdrawal-review {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  background: #fbf9f6;
}

.withdrawal-details h3,
.withdrawal-review h3 {
  margin-top: 0;
}

.withdrawal-method-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 17px;
}

.withdrawal-method-fields[hidden],
.withdrawal-review[hidden],
.withdrawal-confirmation[hidden] {
  display: none;
}

.withdrawal-method-fields label,
.withdrawal-amount-label {
  display: grid;
  gap: 6px;
  color: #65595b;
  font-size: 9px;
  font-weight: 700;
}

.withdrawal-method-fields input,
.withdrawal-method-fields select,
.withdrawal-amount-control input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #d9cdce;
  border-radius: 2px;
  color: #383238;
  background: white;
  font: inherit;
  font-size: 10px;
}

.withdrawal-method-fields input:focus-visible,
.withdrawal-method-fields select:focus-visible,
.withdrawal-amount-control input:focus-visible {
  border-color: var(--wine);
  outline: 3px solid rgba(128, 0, 32, 0.14);
}

.withdrawal-field-wide {
  grid-column: 1 / -1;
}

.withdrawal-amount-label {
  margin-bottom: 6px;
}

.withdrawal-amount-control {
  display: flex;
  gap: 7px;
}

.withdrawal-amount-control input {
  flex: 1;
}

.withdrawal-max {
  padding: 0 10px;
  border: 1px solid #d9cdce;
  color: var(--wine);
  background: #fff;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.withdrawal-max:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.withdrawal-requirement {
  display: block;
  margin-top: 7px;
  color: #897e80;
  font-size: 8px;
}

.withdrawal-review-button {
  min-height: 38px;
  margin-top: 14px;
  padding: 0 14px;
  border: 0;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.withdrawal-review-button:disabled,
.withdrawal-review-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.withdrawal-review-summary {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.withdrawal-review-summary > div {
  display: grid;
  grid-template-columns: minmax(105px, 0.65fr) minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.withdrawal-review-summary dt {
  color: #817579;
  font-size: 9px;
}

.withdrawal-review-summary dd {
  margin: 0;
  color: #393137;
  font-size: 9px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.withdrawal-review-note {
  margin: 13px 0 0;
  color: #776d70;
  font-size: 9px;
  line-height: 1.7;
}

.withdrawal-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 15px;
}

.withdrawal-review-actions .button {
  min-height: 36px;
  padding: 0 12px;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.withdrawal-review-actions .button-outline {
  border: 1px solid var(--line);
  color: #62585b;
  background: #fff;
}

.withdrawal-confirmation {
  min-width: 0;
}

.withdrawal-receipt {
  padding: 25px;
  border: 1px solid #d5e2d9;
  background: #f4f8f4;
}

.withdrawal-receipt-icon {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #426c55;
  font-size: 15px;
}

.withdrawal-receipt h3 {
  margin: 0 0 7px;
  color: #283d31;
  font-size: 14px;
}

.withdrawal-receipt p {
  margin: 0 0 10px;
  color: #526258;
  font-size: 10px;
  line-height: 1.7;
}

.withdrawal-receipt small {
  color: #77857b;
  font-size: 8px;
}

.withdrawal-flow > .withdrawal-status {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 9px;
}

.dashboard-overview[hidden],
.withdrawal-center[hidden] {
  display: none;
}

.withdrawal-center:not([hidden]) {
  animation: dashboard-view-enter 180ms ease both;
}

@keyframes dashboard-view-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.withdrawal-history {
  display: grid;
  grid-template-columns: minmax(200px, 0.65fr) minmax(0, 1.35fr);
  gap: 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.withdrawal-history .eyebrow {
  margin-bottom: 7px;
}

.withdrawal-history h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -0.035em;
}

.withdrawal-history-list {
  display: grid;
  gap: 7px;
}

.withdrawal-history-empty {
  margin: 4px 0;
  color: #897e80;
  font-size: 9px;
}

.withdrawal-history-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.withdrawal-history-marker {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--wine);
  background: #f5ebec;
  font-size: 12px;
}

.withdrawal-history-item strong,
.withdrawal-history-item small {
  display: block;
}

.withdrawal-history-item strong {
  color: #393137;
  font-size: 9px;
}

.withdrawal-history-item small {
  margin-top: 4px;
  color: #897e80;
  font-size: 8px;
}

.withdrawal-history-status {
  padding: 5px 7px;
  color: #695019;
  background: #f8f0dc;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.aside-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  padding: 17px;
  background: #f2ece8;
}

.aside-note > span {
  width: 18px;
  height: 18px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--wine);
  border-radius: 50%;
  background: #fffdfa;
  font-size: 10px;
}

.aside-note h3 {
  margin: 2px 0 6px;
  font-family: var(--display);
  font-size: 9px;
}

.aside-note p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.7;
}

.activity-section {
  margin-top: 30px;
  scroll-margin-top: 100px;
}

.activity-section .dashboard-section-title {
  margin-top: 0;
}

.activity-empty {
  display: grid;
  justify-items: center;
  padding: 22px 12px;
  border: 1px dashed #d9cdca;
  background: rgba(255, 253, 250, 0.75);
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease;
}

.activity-empty[hidden],
.activity-list[hidden] {
  display: none;
}

.activity-list {
  display: grid;
  gap: 8px;
}

.activity-item {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.activity-item-check {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #315d4a;
  border-radius: 50%;
  background: #e6eee4;
  font-size: 11px;
}

.activity-item > div {
  display: grid;
  gap: 4px;
}

.activity-item strong {
  font-family: var(--display);
  font-size: 9px;
}

.activity-item small {
  color: #817679;
  font-size: 8px;
}

.activity-item-points {
  color: #315d4a;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.activity-empty:hover {
  border-color: #c9adad;
  background: #fffdfa;
}

.activity-empty > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--wine);
  border-radius: 50%;
  background: #f2e5e7;
}

.activity-empty p {
  margin: 0 0 4px;
  font-size: 9px;
  font-weight: 700;
}

.activity-empty small {
  color: var(--muted);
  font-size: 8px;
}

.dashboard-disclaimer {
  margin: 20px 0 0;
  color: #817679;
  font-size: 9px;
  line-height: 1.6;
}

.local-profile-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.local-profile-card[hidden] {
  display: none;
}

.local-profile-card h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 15px;
}

.local-profile-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.local-profile-card dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.local-profile-card dt {
  color: var(--muted);
  font-size: 10px;
}

.local-profile-card dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 10px;
  font-weight: 600;
}

.local-profile-card > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.panel-account-card {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 3px 9px;
  margin: 12px 2px 0;
  padding: 11px 8px;
  border: 1px solid #dfe7ef;
  background: #f7f9fc;
}

.panel-account-card[hidden] {
  display: none;
}

.panel-account-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  grid-row: span 3;
  place-items: center;
  color: #17365d;
  border-radius: 50%;
  background: #e3edf7;
  font-size: 10px;
  font-weight: 700;
}

.panel-account-name,
.panel-account-email,
.panel-account-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.panel-account-name {
  color: #263b52;
  font-size: 9px;
  font-weight: 700;
}

.panel-account-email {
  color: #6f7d8b;
  font-size: 8px;
}

.panel-account-label {
  color: #657f68;
  font-size: 7px;
}

.panel-account-card > a {
  grid-column: 1 / -1;
  margin-top: 6px;
  color: #17365d;
  font-size: 8px;
  font-weight: 700;
}

.local-profile-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.local-profile-heading h3 {
  margin-bottom: 5px;
}

.local-profile-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.local-profile-heading .profile-edit-button {
  min-height: 34px;
  flex: 0 0 auto;
  padding-inline: 12px;
  font-size: 9px;
}

.local-profile-card dl[hidden],
.profile-edit-form[hidden],
.profile-edit-button[hidden] {
  display: none;
}

.profile-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding-top: 4px;
}

.profile-edit-form label {
  display: grid;
  align-content: start;
  gap: 6px;
  color: #344255;
  font-size: 9px;
  font-weight: 600;
}

.profile-edit-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid #d8dfe7;
  border-radius: 3px;
  outline: none;
  background: #fff;
  font: inherit;
  font-size: 10px;
}

.profile-edit-form input:focus {
  border-color: #52749b;
  box-shadow: 0 0 0 3px rgba(23, 54, 93, 0.1);
}

.profile-edit-form input[aria-invalid="true"] {
  border-color: #b94b4b;
}

.profile-edit-form label small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.5;
}

.profile-edit-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 3px;
}

.profile-edit-actions .button {
  min-height: 39px;
  font-size: 9px;
}

.local-profile-card .profile-edit-status {
  grid-column: 1 / -1;
  margin: 0;
}

.local-profile-card .profile-edit-status[hidden] {
  display: none;
}

.local-profile-card .local-profile-note {
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.profile-progress span {
  background: #17365d;
  transition: width 220ms ease;
}

@media (max-width: 680px) {
  .profile-edit-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-edit-actions {
    grid-column: auto;
  }

  .local-profile-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .local-profile-heading .profile-edit-button {
    align-self: flex-start;
  }
}

.panel-notification-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 11px 12px;
  border: 1px solid #d5e2ef;
  background: #f2f7fc;
}

.panel-notification-status {
  width: 23px;
  height: 23px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #17365d;
  font-size: 11px;
  font-weight: 700;
}

.panel-notification-bar > p {
  flex: 1;
  margin: 0;
  color: #55687e;
  font-size: 9px;
  line-height: 1.6;
}

.panel-notification-bar > p strong {
  margin-right: 5px;
  color: #17365d;
}

.panel-notification-bar .notifications-toggle {
  width: 34px;
  height: 34px;
  color: #17365d;
}

.panel-notification-bar .notifications-dropdown[hidden] {
  display: none;
}

.panel-notification-bar .notifications-badge[hidden] {
  display: none;
}

.panel-notification-bar .notifications-view-all {
  display: block;
  padding: 10px 14px;
  color: #17365d;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
}

.dashboard-stats .dashboard-stat > strong[data-demo-available],
.dashboard-stats .dashboard-stat > strong[data-demo-completed],
.dashboard-stats .dashboard-stat > strong[data-demo-earned],
.dashboard-stats .dashboard-stat > strong[data-demo-redeemed] {
  color: #17365d;
}

.rewards-preview-stats {
  margin-top: 22px;
}

.rewards-center .withdrawal-preview-banner {
  margin: 0 0 18px;
}

.rewards-center .conversion-rates-section .button {
  margin-top: 12px;
}

.withdrawal-workspace .withdrawal-preview-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
}

.withdrawal-workspace .withdrawal-preview-form .withdrawal-amount-label {
  margin: 0 0 -7px;
}

.withdrawal-workspace .withdrawal-methods {
  margin-top: 8px;
}

.withdrawal-workspace .withdrawal-methods legend {
  margin-bottom: 12px;
}

.withdrawal-preview-status {
  min-height: 16px;
  margin: 0;
  color: #526258;
  font-size: 9px;
  line-height: 1.6;
}

.withdrawal-preview-status[data-state="error"] {
  color: #a63e39;
}

.withdrawal-preview-status[data-state="success"] {
  color: #315d4a;
}

.preview-withdrawal-review {
  display: grid;
  grid-template-columns: 1fr;
  padding: 12px 14px;
}

.preview-withdrawal-review[hidden] {
  display: none;
}

.withdrawal-preview-form .profile-edit-actions {
  padding-top: 0;
}

.withdrawal-preview-form .profile-edit-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.notifications-toggle[aria-expanded="true"] {
  border-color: #9fb3ca;
  background: #edf3fa;
}

.notifications-toggle:focus-visible,
.notifications-mark-read:focus-visible,
.notifications-view-all:focus-visible {
  outline: 3px solid rgba(23, 54, 93, 0.22);
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .panel-notification-bar {
    align-items: flex-start;
    gap: 9px;
    padding: 10px;
  }

  .panel-notification-bar > p {
    padding-top: 3px;
  }

  .panel-notification-bar .notifications-dropdown {
    right: -2px;
    width: min(340px, calc(100vw - 32px));
  }

  .withdrawal-preview-form .profile-edit-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.survey-page {
  min-height: calc(100vh - 80px);
}

.survey-form-card {
  width: min(100%, 610px);
}

.survey-progress-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: #7e7173;
  font-size: 8px;
  font-weight: 700;
}

.survey-progress-label span:first-child {
  color: var(--wine);
  letter-spacing: 0.08em;
}

.survey-progress {
  height: 4px;
  margin-bottom: 28px;
  background: #eee6e2;
}

.survey-progress span {
  width: 35%;
  height: 100%;
  display: block;
  background: var(--wine);
}

.question-fieldset {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.survey-question {
  display: grid;
  gap: 9px;
  color: #403638;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.question-number {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-right: 8px;
  color: var(--wine);
  border-radius: 50%;
  background: #f2e5e7;
  font-size: 8px;
  vertical-align: middle;
}

.survey-storage-note {
  margin: 0;
  color: #76634f;
  font-size: 9px;
}

.question-fieldset legend,
.question-label {
  display: block;
  margin-bottom: 10px;
  color: #403638;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.choice-label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  color: #514749;
  background: white;
  font-size: 10px;
  cursor: pointer;
}

.choice-label input {
  accent-color: var(--wine);
}

.survey-form-card form {
  gap: 16px;
}

.survey-form-card select,
.survey-form-card textarea {
  margin-top: -7px;
}

.survey-complete {
  padding: 23px 0 8px;
  text-align: center;
}

.complete-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  color: #315d4a;
  border-radius: 50%;
  background: #e6eee4;
  font-size: 20px;
}

.survey-complete h2 {
  margin: 0 0 9px;
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.05em;
}

.survey-complete p {
  max-width: 390px;
  margin: 0 auto 21px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.motion-reveal {
  opacity: 0;
}

.motion-reveal[data-motion="wipe"] {
  clip-path: inset(0 100% 0 0);
}

.motion-reveal.is-visible[data-motion="lift"] {
  animation: reveal-lift 720ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms) both;
}

.motion-reveal.is-visible[data-motion="from-left"] {
  animation: reveal-left 780ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms) both;
}

.motion-reveal.is-visible[data-motion="from-right"] {
  animation: reveal-right 780ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms) both;
}

.motion-reveal.is-visible[data-motion="zoom"] {
  animation: reveal-zoom 900ms cubic-bezier(0.16, 0.8, 0.25, 1) var(--reveal-delay, 0ms) both;
}

.motion-reveal.is-visible[data-motion="wipe"] {
  animation: reveal-wipe 850ms cubic-bezier(0.72, 0, 0.25, 1) var(--reveal-delay, 0ms) both;
}

.motion-reveal.is-visible[data-motion="pop"] {
  animation: reveal-pop 720ms cubic-bezier(0.2, 0.8, 0.25, 1) var(--reveal-delay, 0ms) both;
}

.motion-reveal.is-visible[data-motion="tilt"] {
  animation: reveal-tilt 750ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms) both;
}

@keyframes reveal-lift {
  from { opacity: 0; transform: translate3d(0, 25px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes reveal-left {
  from { opacity: 0; transform: translate3d(-34px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes reveal-right {
  from { opacity: 0; transform: translate3d(34px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes reveal-zoom {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes reveal-wipe {
  from { opacity: 0.45; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes reveal-pop {
  0% { opacity: 0; transform: scale(0.82); }
  72% { opacity: 1; transform: scale(1.035); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes reveal-tilt {
  from { opacity: 0; transform: perspective(500px) rotateX(12deg) translateY(18px); }
  to { opacity: 1; transform: perspective(500px) rotateX(0) translateY(0); }
}

@keyframes announcement-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(243, 188, 105, 0.42);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(243, 188, 105, 0);
  }
}

@keyframes note-drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}

@keyframes art-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.018);
  }
}

@keyframes orbit-turn {
  to {
    rotate: 360deg;
  }
}

@keyframes label-float {
  0%,
  100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@keyframes avatar-bob {
  0%,
  100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}

@keyframes card-sheen {
  0%,
  68% { transform: translateX(-58%); }
  100% { transform: translateX(58%); }
}

@keyframes badge-glow {
  0%,
  100% { box-shadow: 0 0 0 0 rgba(237, 241, 246, 0); }
  50% { box-shadow: 0 0 0 4px rgba(237, 241, 246, 0.12); }
}

@media (min-width: 1440px) {
  .hero {
    min-height: clamp(650px, 46vw, 780px);
    gap: clamp(90px, 8vw, 145px);
  }

  .hero h1 {
    font-size: clamp(68px, 5vw, 84px);
  }

  .dashboard {
    padding-top: 32px;
  }

  .dashboard-grid {
    grid-template-columns: 195px minmax(0, 1fr) 280px;
    gap: clamp(22px, 2vw, 32px);
  }

  .dashboard-welcome h1 {
    font-size: clamp(36px, 2.6vw, 44px);
  }

  .dashboard-welcome > div > p:last-child {
    font-size: 13px;
  }

  .dashboard-nav-link {
    font-size: 11px;
  }

  .stat-label {
    font-size: 8px;
  }

  .dashboard-stat > strong {
    font-size: 27px;
  }

  .stat-caption {
    font-size: 9px;
  }

  .survey-type,
  .survey-time {
    font-size: 9px;
  }

  .survey-card > p {
    font-size: 13px;
  }

  .opportunities-section .dashboard-section-title h2,
  .activity-section .dashboard-section-title h2 {
    font-size: 19px;
  }

  .survey-row-info h3 {
    font-size: 13px;
  }

  .survey-row-info p {
    font-size: 9px;
  }

  .dashboard-aside {
    font-size: 1.08em;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 32px;
  }

  .navigation {
    gap: 18px;
  }

  .navigation > a:not(.nav-cta) {
    font-size: 10px;
  }

  .hero {
    min-height: 530px;
    gap: 35px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    flex-wrap: wrap;
    padding-inline: 32px;
  }

  .account-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 5%;
    padding-inline: 5vw;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 230px;
    min-width: 0;
    gap: 17px;
  }

  .dashboard-nav {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    overflow-x: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
  }

  .dashboard-nav-label,
  .dashboard-nav-help {
    display: none;
  }

  .dashboard-nav-link {
    flex: 0 0 auto;
    padding-inline: 9px;
  }

  .detail-card {
    padding: 28px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 5rem;
  }

  .announcement {
    font-size: 9px;
  }

  .site-header {
    min-height: 68px;
    padding-inline: 22px;
  }

  .brand-logo {
    width: 96px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: transparent;
  }

  .menu-toggle span {
    width: 17px;
    height: 1.5px;
    background: var(--wine);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 9px 22px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 20px rgba(39, 21, 26, 0.06);
  }

  .navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .navigation > a:not(.nav-cta) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .nav-cta {
    justify-content: space-between;
    margin-top: 14px;
  }

  .section-shell {
    width: calc(100% - 44px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 55px;
    padding-bottom: 49px;
  }

  .hero h1 {
    max-width: 470px;
    font-size: clamp(42px, 12vw, 59px);
  }

  .hero-description {
    max-width: 480px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .hero-proof {
    margin-top: 24px;
  }

  .hero-visual {
    min-height: min(110vw, 440px);
  }

  .hero-image-wrap {
    inset: 0 14px 0 17px;
  }

  .note-top {
    top: 50px;
    right: -4px;
  }

  .note-bottom {
    bottom: 31px;
    left: -5px;
  }

  .reach-bar {
    justify-content: flex-start;
    gap: 19px 24px;
    flex-wrap: wrap;
    padding: 18px 22px;
  }

  .reach-bar p {
    width: 100%;
  }

  .reach-bar div {
    font-size: 9px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-top: 78px;
    padding-bottom: 77px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .section-heading h2,
  .solutions-heading h2,
  .approach-copy h2 {
    font-size: clamp(34px, 9vw, 43px);
  }

  .solutions {
    padding-top: 55px;
    padding-bottom: 68px;
  }

  .solutions-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 26px;
  }

  .solutions-heading > p {
    max-width: 330px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 216px;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .card-icon {
    margin-bottom: 15px;
  }

  .service-card p {
    min-height: 0;
  }

  .approach {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 0;
    padding-bottom: 73px;
  }

  .approach-image {
    height: min(82vw, 360px);
  }

  .panel-cta {
    min-height: 0;
    width: calc(100% - 30px);
    align-items: flex-start;
    padding: 39px 25px;
  }

  .panel-cta-stamp {
    position: absolute;
    right: 10px;
    bottom: 19px;
    width: 104px;
    height: 104px;
    margin: 0;
    opacity: 0.7;
  }

  .panel-cta-stamp strong {
    font-size: 26px;
  }

  .panel-cta-stamp span {
    font-size: 5px;
  }

  .panel-cta-content {
    max-width: calc(100% - 32px);
  }

  .panel-cta h2 {
    font-size: 35px;
  }

  .panel-cta-content > p:not(.eyebrow) {
    font-size: 11px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .contact h2 {
    font-size: 35px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 25px 22px;
  }

  .site-footer > p {
    margin-top: -7px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 4px;
  }

  .inner-hero {
    padding-top: 73px;
    padding-bottom: 64px;
  }

  .why-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 66px;
    padding-bottom: 55px;
  }

  .why-hero-copy h1 {
    font-size: clamp(46px, 12vw, 61px);
  }

  .why-hero-art {
    width: min(100%, 370px);
    margin-inline: auto;
  }

  .why-art-circle {
    width: min(300px, 82vw);
  }

  .why-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-proof > div {
    min-height: 78px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
  }

  .why-proof > div:nth-child(2n) {
    border-right: 0;
  }

  .why-proof > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .why-proof strong {
    font-size: 15px;
  }

  .about-story {
    padding-top: 65px;
  }

  .why-differentiators,
  .why-methods {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .why-differentiators .values-grid {
    grid-template-columns: 1fr;
  }

  .why-differentiators .values-grid article {
    min-height: 0;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .why-differentiators .values-grid article:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .why-differentiators .values-grid article:last-child {
    border-bottom: 0;
  }

  .why-differentiators .values-grid p {
    min-height: 0;
  }

  .inner-hero h1,
  .contact-page-intro h1 {
    font-size: clamp(42px, 12vw, 59px);
  }

  .inner-content,
  .about-story,
  .values-grid,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .detail-card {
    min-height: 0;
    padding: 27px 22px;
  }

  .detail-card p {
    min-height: 0;
  }

  .detail-card h2 {
    margin-top: 17px;
  }

  .inner-banner {
    min-height: 245px;
    margin-top: 62px;
    margin-bottom: 60px;
  }

  .about-story {
    gap: 8px;
    padding-top: 0;
    padding-bottom: 45px;
  }

  .about-story > div + div {
    padding-top: 0;
  }

  .values-grid article {
    min-height: 0;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .values-grid article:last-child {
    border-bottom: 0;
  }

  .values-grid h3 {
    margin-top: 14px;
  }

  .account-layout {
    grid-template-columns: 1fr;
    gap: 31px;
    padding: 34px 22px 42px;
  }

  .account-intro h1 {
    font-size: 44px;
  }

  .account-points {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 17px;
  }

  .account-panel {
    width: min(100%, 470px);
    margin-inline: auto;
    padding: 25px;
  }

  .account-header {
    min-height: 68px;
    padding-inline: 22px;
  }

  .form-page {
    min-height: calc(100vh - 68px);
    justify-content: flex-start;
    padding: 24px 15px 42px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .contact-page {
    gap: 30px;
    padding-top: 59px;
    padding-bottom: 62px;
  }

  .dashboard {
    padding-top: 24px;
    padding-bottom: 45px;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-nav {
    position: static;
    grid-column: auto;
    min-width: 0;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .dashboard-main {
    min-width: 0;
  }

  .dashboard-nav-link {
    min-height: 34px;
  }

  .dashboard-nav-link > span:first-child {
    display: none;
  }

  .dashboard-stats {
    gap: 6px;
  }

  .dashboard-stat {
    min-height: 82px;
    padding: 9px;
  }

  .stat-label {
    font-size: 6px;
    letter-spacing: 0.03em;
  }

  .dashboard-stat > strong {
    font-size: 21px;
  }

  .dashboard-welcome h1 {
    font-size: 30px;
  }

  .dashboard-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 10px;
  }

  .aside-note {
    margin: 0;
  }

  .survey-card {
    padding: 21px;
  }
}

@media (max-width: 390px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .dashboard-welcome {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .survey-card-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-aside {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-reveal {
    opacity: 1;
    transform: none;
  }
}

.agency-site {
  --ink: #17263c;
  --muted: #667386;
  --wine: #17365d;
  --wine-dark: #102744;
  --paper: #f4f6f9;
  --line: #e0e5ec;
  background: var(--paper);
  font-size: 15px;
}

.agency-site h1,
.agency-site h2,
.agency-site h3 {
  font-family: var(--display);
}

.agency-site h1 em,
.agency-site h2 em {
  color: var(--wine);
  font-family: "Playfair Display", var(--serif);
}

.agency-ribbon {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 24px;
  color: #f4f6f9;
  background: var(--wine-dark);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.agency-header {
  min-height: 82px;
  background: rgba(255, 255, 255, 0.97);
}

.agency-site .brand {
  color: var(--wine);
}

.agency-site .navigation {
  gap: clamp(18px, 2.2vw, 33px);
  color: #46566d;
  font-size: 12px;
}

.agency-site .navigation > a:not(.nav-cta):hover,
.agency-site .footer-links a:hover {
  color: var(--wine);
}

.agency-site .nav-cta,
.agency-site .button-primary {
  border-radius: 2px;
  background: var(--wine);
}

.agency-site .nav-cta:hover,
.agency-site .button-primary:hover {
  background: var(--wine-dark);
}

.agency-container {
  width: min(1200px, calc(100% - clamp(42px, 8vw, 144px)));
  margin-inline: auto;
}

.agency-hero {
  position: relative;
  width: min(1440px, 100%);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: start;
  gap: clamp(50px, 8vw, 130px);
  margin: 0 auto;
  padding: 42px max(7vw, calc((100vw - 1200px) / 2)) 58px;
  overflow: hidden;
}

.agency-hero-copy {
  position: relative;
  z-index: 1;
  padding: 0;
}

.agency-site .eyebrow {
  color: #17365d;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.agency-hero h1 {
  max-width: 720px;
  margin-bottom: 23px;
  font-size: clamp(50px, 5.5vw, 78px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.04;
}

.agency-hero-lede {
  max-width: 550px;
  margin-bottom: 30px;
  color: #58677b;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}

.agency-site .hero-actions {
  gap: 25px;
}

.agency-site .button {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 12px;
}

.agency-hero-note {
  max-width: 390px;
  margin: 32px 0 0;
  padding-left: 14px;
  border-left: 2px solid #8c9bb0;
  color: #627087;
  font-size: 11px;
  line-height: 1.7;
}

.agency-hero-image {
  position: relative;
  align-self: stretch;
  height: clamp(400px, 37vw, 520px);
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #e5eaf1;
}

.agency-hero-image::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(16, 39, 68, 0.75));
  content: "";
}

.agency-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 34%;
  transition: transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.agency-hero-image:hover img {
  transform: scale(1.025);
}

.image-index {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}

.image-index span:first-child {
  color: #d8e2ef;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.image-index span:last-child {
  font-family: "Playfair Display", var(--serif);
  font-size: 21px;
}

.agency-hero-index {
  position: absolute;
  right: max(28px, calc((100vw - 1384px) / 2));
  bottom: 31px;
  color: #778499;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.agency-intro {
  padding-top: 94px;
  padding-bottom: 106px;
  border-top: 1px solid var(--line);
}

.agency-intro-grid,
.agency-section-heading,
.agency-proof-grid,
.agency-contact-page,
.coverage-scoping-grid,
.agency-methods,
.about-principles,
.agency-credibility {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: start;
  gap: clamp(45px, 9vw, 130px);
}

.agency-intro .eyebrow {
  margin-bottom: 32px;
}

.agency-intro h2,
.agency-section-heading h2,
.agency-methods h2,
.agency-coverage h2,
.agency-proof h2,
.agency-contact h2,
.agency-page-hero h1,
.agency-process h2,
.about-principles h2,
.agency-credibility h2,
.agency-bottom-cta h2,
.legal-page h1 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.agency-intro-grid > div > p,
.agency-section-heading > p,
.agency-methods-copy > p:not(.eyebrow),
.agency-proof-grid > div > p:not(.eyebrow),
.agency-contact > div > p:not(.eyebrow),
.agency-page-hero > p:not(.eyebrow),
.agency-process-grid > div > p:not(.eyebrow),
.about-principles > div + div > p,
.agency-credibility > div > p:not(.eyebrow) {
  color: #647069;
  font-size: 14px;
  line-height: 1.85;
}

.agency-intro-grid > div > p {
  margin: 0 0 20px;
}

.intro-photo {
  width: 100%;
  max-width: 430px;
  height: 160px;
  display: block;
  margin-top: 24px;
  object-fit: cover;
}

.agency-site .underlined-link {
  font-size: 12px;
}

.agency-services {
  padding: 90px 0 96px;
  background: #eef2f7;
}

.agency-section-heading {
  align-items: end;
  gap: 60px;
  margin-bottom: 38px;
}

.agency-section-heading .eyebrow {
  margin-bottom: 17px;
}

.services-photo {
  width: min(100%, 250px);
  height: 126px;
  display: block;
  margin-top: 18px;
  object-fit: cover;
}

.agency-section-heading h2 {
  max-width: 660px;
}

.agency-section-heading > p {
  max-width: 410px;
  margin: 0 0 3px;
}

.agency-service-list {
  border-top: 1px solid #d6dee8;
}

.agency-service-row {
  min-height: 87px;
  display: grid;
  grid-template-columns: 56px minmax(220px, 1.05fr) minmax(180px, 0.85fr) 24px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid #d6dee8;
  transition: padding 200ms ease, background 200ms ease;
}

.agency-service-row:hover {
  padding-inline: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.agency-service-no,
.agency-service-arrow {
  color: #607da4;
  font-size: 11px;
  font-weight: 700;
}

.agency-service-name {
  font-family: var(--display);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.agency-service-detail {
  color: #667386;
  font-size: 12px;
}

.agency-service-arrow {
  justify-self: end;
  font-size: 17px;
  transition: transform 180ms ease;
}

.agency-service-row:hover .agency-service-arrow {
  transform: translate(3px, -3px);
}

.agency-all-services {
  margin-top: 27px;
}

.agency-methods {
  align-items: center;
  padding-top: 108px;
  padding-bottom: 110px;
}

.agency-methods-copy h2 {
  max-width: 570px;
  margin: 0 0 20px;
}

.agency-methods-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin-bottom: 25px;
}

.agency-site .button-outline-dark {
  color: var(--wine);
  border: 1px solid #c7d0dc;
  background: transparent;
}

.button-outline-dark:hover {
  background: #edf1f6;
}

.agency-steps {
  border-top: 1px solid var(--line);
}

.agency-steps article {
  display: grid;
  grid-template-columns: 42px 82px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.step-image {
  width: 82px;
  height: 66px;
  display: block;
  object-fit: cover;
}

.agency-steps article > span {
  color: var(--wine);
  font-family: "Playfair Display", var(--serif);
  font-size: 20px;
}

.agency-steps h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.agency-steps p {
  max-width: 430px;
  margin: 0;
  color: #69746d;
  font-size: 12px;
  line-height: 1.75;
}

.agency-coverage {
  position: relative;
  padding: 92px 0;
  color: white;
  background:
    radial-gradient(ellipse at 86% 13%, rgba(86, 122, 166, 0.22), transparent 35%),
    linear-gradient(118deg, #102744 0%, #17365d 58%, #1c416b 100%);
}

.agency-coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
}

.eyebrow-light {
  color: #d8e2ef !important;
}

.agency-coverage h2 {
  max-width: 580px;
  margin-bottom: 18px;
}

.agency-coverage-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin-bottom: 25px;
  color: #d9e2ee;
  font-size: 13px;
  line-height: 1.85;
}

.agency-coverage h2 em,
.agency-process h2 em,
.agency-bottom-cta h2 em {
  color: #d8e2ef;
}

.agency-process-grid > div > p:not(.eyebrow) {
  max-width: 520px;
  color: #d9e2ee;
  font-size: 13px;
  line-height: 1.85;
}

.agency-coverage .button-light,
.agency-process .button-light,
.agency-bottom-cta .button-light {
  color: #17365d;
  background: #f4f6f9;
}

.agency-process .button-light,
.agency-bottom-cta .button-light,
.agency-contact .button-light {
  color: var(--wine);
}

.coverage-overview {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 60px rgba(5, 20, 39, 0.18);
}

.coverage-overview-heading {
  display: grid;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.coverage-overview-heading > span {
  color: #c3d3e6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.coverage-overview-heading > strong {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.coverage-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 22px 0;
}

.coverage-region-grid > div {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.coverage-region-grid > div > span {
  width: 29px;
  height: 29px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #122c4b;
  background: #d8e5f3;
  font-size: 9px;
  font-weight: 700;
}

.coverage-region-grid > div > strong {
  color: #f5f8fc;
  font-size: 11px;
  font-weight: 600;
}

.coverage-overview > p {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #d1dceb;
  font-size: 10px;
  line-height: 1.6;
}

.agency-industries {
  padding-top: 104px;
  padding-bottom: 108px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #f8f9fb;
}

.industry-grid article {
  min-height: 175px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.industry-grid article:last-child {
  border-right: 0;
}

.industry-grid article > img {
  width: 100%;
  height: 92px;
  display: block;
  margin-bottom: 15px;
  object-fit: cover;
}

.industry-grid article > span {
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
}

.industry-grid h3 {
  margin: 12px 0 8px;
  font-size: 15px;
  letter-spacing: -0.035em;
}

.industry-grid p {
  margin: 0;
  color: #667386;
  font-size: 11px;
  line-height: 1.65;
}

.agency-proof {
  padding: 88px 0 95px;
  border-top: 1px solid var(--line);
}

.agency-proof-grid {
  align-items: center;
}

.agency-proof h2,
.agency-credibility h2 {
  margin-bottom: 17px;
}

.agency-proof-grid > div > p:not(.eyebrow),
.agency-credibility > div > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 0;
}

.proof-placeholder {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
  border: 1px dashed #b6c1d0;
  background: #f0f3f7;
}

.proof-placeholder > img {
  width: 100%;
  height: 132px;
  display: block;
  margin-bottom: 18px;
  object-fit: cover;
}

.proof-placeholder > span {
  color: #526782;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.proof-placeholder p {
  max-width: 390px;
  margin: 18px 0;
  color: #58677b;
  font-family: "Playfair Display", var(--serif);
  font-size: 20px;
  line-height: 1.4;
}

.proof-placeholder a {
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
}

.agency-contact {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 70px;
  padding: 55px clamp(28px, 6vw, 82px);
  overflow: hidden;
  color: white;
  background: var(--wine);
}

.agency-contact > *:not(.contact-photo) {
  position: relative;
  z-index: 1;
}

.contact-photo {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 35%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  mix-blend-mode: screen;
}

.agency-contact h2 {
  max-width: 660px;
  margin-bottom: 14px;
}

.agency-contact > div > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 0;
  color: #d9e2ee;
}

.agency-contact .button {
  flex: 0 0 auto;
}

.agency-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 19px 42px;
  padding: 36px max(32px, calc((100vw - 1200px) / 2));
  border-top: 1px solid var(--line);
  background: #edf1f6;
}

.agency-footer > p {
  margin: 0;
  color: #667386;
  font-family: "Playfair Display", var(--serif);
  font-size: 14px;
  font-style: italic;
}

.agency-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  grid-column: 1 / -1;
}

.agency-footer-links a {
  color: #46566d;
  font-size: 11px;
  font-weight: 600;
}

.agency-footer-links a:hover {
  color: var(--wine);
}

.agency-footer small {
  grid-column: 1 / -1;
  color: #68768a;
  font-size: 10px;
}

.agency-page-hero {
  padding-top: 50px;
  padding-bottom: 58px;
}

.agency-page-hero .eyebrow {
  margin-bottom: 19px;
}

.agency-page-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(48px, 6vw, 76px);
}

.agency-page-hero > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 26px;
}

.agency-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 95px;
}

.agency-capabilities article {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(25px, 3vw, 40px);
  border: 1px solid var(--line);
  background: #f8f9fb;
  scroll-margin-top: 105px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.agency-capabilities article:hover {
  transform: translateY(-3px);
  border-color: #c7d0dc;
  box-shadow: 0 14px 32px rgba(23, 38, 60, 0.07);
}

.capability-index {
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.agency-capabilities h2 {
  margin: 26px 0 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.agency-capabilities article > p {
  max-width: 540px;
  margin: 0 0 18px;
  color: #667386;
  font-size: 12px;
  line-height: 1.75;
}

.capability-outcome {
  display: grid;
  gap: 5px;
  margin-top: auto;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-left: 2px solid #8c9bb0;
  background: #f0f3f7;
}

.capability-outcome strong {
  color: #526782;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-outcome span {
  color: #46566d;
  font-size: 11px;
}

.agency-process {
  padding: 82px 0;
  color: white;
  background: var(--wine);
}

.agency-process-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 10%;
}

.agency-process h2 {
  max-width: 590px;
  margin-bottom: 17px;
}

.agency-process-grid ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.agency-process-grid li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.agency-process-grid li > span {
  color: #d8e2ef;
  font-family: "Playfair Display", var(--serif);
  font-size: 18px;
}

.agency-process-grid li strong {
  font-size: 14px;
}

.agency-process-grid li p {
  margin: 5px 0 0;
  color: #d9e2ee;
  font-size: 11px;
  line-height: 1.65;
}

.process-photo {
  width: min(100%, 360px);
  height: 150px;
  display: block;
  margin: 20px 0 24px;
  object-fit: cover;
}

.agency-bottom-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 34px;
}

.agency-bottom-link p {
  margin: 0;
  color: #58677b;
  font-size: 12px;
}

.coverage-disclaimer {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 30px;
  padding: 20px 22px;
  border: 1px solid #d3dce8;
  background: #f0f3f7;
}

.coverage-disclaimer > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: #17365d;
  font-size: 12px;
}

.coverage-disclaimer p {
  margin: 0;
  color: #58677b;
  font-size: 12px;
  line-height: 1.65;
}

.coverage-disclaimer strong {
  color: #17263c;
}

.coverage-regions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 92px;
}

.coverage-regions article {
  min-height: 185px;
  padding: 25px;
  border: 1px solid var(--line);
  background: #f8f9fb;
}

.coverage-regions article:last-child {
  grid-column: 1 / -1;
}

.region-code {
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.coverage-regions h2 {
  margin: 18px 0 3px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.coverage-regions article > p {
  margin-bottom: 15px;
  color: #68768a;
  font-size: 10px;
}

.country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.country-tags span {
  padding: 6px 9px;
  color: #46566d;
  border: 1px solid #d6dee8;
  background: #f0f3f7;
  font-size: 10px;
}

.coverage-scoping {
  padding: 82px 0;
  color: white;
  background: var(--wine);
}

.coverage-scoping h2 {
  max-width: 630px;
  margin-bottom: 16px;
  font-size: clamp(35px, 4.5vw, 54px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.coverage-scoping h2 em {
  color: #d8e2ef;
}

.coverage-scoping-grid > div > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 23px;
  color: #d9e2ee;
  font-size: 12px;
  line-height: 1.8;
}

.coverage-scoping-grid ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.coverage-scoping-visual {
  display: grid;
  align-content: center;
  gap: 16px;
}

.coverage-photo {
  width: 100%;
  max-height: 210px;
  display: block;
  object-fit: cover;
}

.coverage-scoping-grid li {
  padding: 17px 0 17px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: #edf2f8;
  font-size: 12px;
}

.coverage-scoping-grid li::before {
  content: "—";
  margin-left: -25px;
  padding-right: 12px;
  color: #d8e2ef;
}



.about-principles {
  padding-top: 24px;
  padding-bottom: 95px;
}

.about-principles h2,
.agency-credibility h2 {
  max-width: 570px;
}

.about-principles > div + div > p:first-child {
  margin-top: 27px;
}

.agency-principle-band {
  padding: 75px 0;
  color: white;
  background: var(--wine);
}

.principle-band-grid {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 10%;
}

.principle-band-grid > .eyebrow {
  align-self: start;
}

.principle-list {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.principle-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.principle-list article > span {
  color: #d8e2ef;
  font-family: "Playfair Display", var(--serif);
  font-size: 18px;
}

.principle-list h2 {
  margin: 0 0 6px;
  font-size: 17px;
}

.principle-list p {
  max-width: 520px;
  margin: 0;
  color: #d9e2ee;
  font-size: 11px;
  line-height: 1.7;
}

.agency-credibility {
  align-items: center;
  padding-top: 90px;
  padding-bottom: 100px;
}

.agency-bottom-cta {
  padding: 58px 0;
  color: white;
  background: var(--wine);
}

.agency-bottom-cta > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.agency-bottom-cta h2 {
  max-width: 760px;
}

.agency-bottom-cta .button {
  flex: 0 0 auto;
}

.agency-contact-page {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
  padding-top: 48px;
  padding-bottom: 100px;
}

.agency-contact-intro h1 {
  max-width: 600px;
  margin: 0 0 17px;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.08;
}

.agency-contact-intro > p:not(.eyebrow) {
  color: #647069;
  font-size: 13px;
  line-height: 1.8;
}

.contact-prompt {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-prompt > span {
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
}

.contact-prompt strong {
  font-size: 12px;
}

.contact-prompt p {
  margin: 6px 0 0;
  color: #6a756e;
  font-size: 11px;
  line-height: 1.7;
}

.agency-contact-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: #fbfaf6;
  box-shadow: 0 16px 50px rgba(30, 51, 41, 0.06);
}

.agency-contact-form .preview-notice {
  margin-bottom: 22px;
}

.agency-contact-form form {
  display: grid;
  gap: 16px;
}

.agency-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.agency-contact-form label {
  display: grid;
  gap: 7px;
  color: #303b35;
  font-size: 11px;
  font-weight: 700;
}

.agency-contact-form label > span {
  display: inline;
  color: #778078;
  font-weight: 400;
}

.agency-contact-form input,
.agency-contact-form select,
.agency-contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd2c9;
  border-radius: 2px;
  color: #28342e;
  background: white;
  font: inherit;
  font-size: 12px;
}

.agency-contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.agency-contact-form input:focus,
.agency-contact-form select:focus,
.agency-contact-form textarea:focus {
  border-color: var(--wine);
  outline: 3px solid rgba(128, 0, 32, 0.12);
}

.agency-contact-form input::placeholder,
.agency-contact-form textarea::placeholder {
  color: #929a92;
}

.agency-submit {
  justify-self: start;
}

.agency-form-status {
  margin: 0;
  color: var(--wine-dark);
  font-size: 12px;
  line-height: 1.7;
}

.legal-page {
  max-width: 900px;
  padding-top: 48px;
  padding-bottom: 100px;
}

.legal-page h1 {
  margin-bottom: 25px;
  font-size: clamp(46px, 6vw, 68px);
}

.legal-draft {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid #d3c6ae;
  background: #f0ebe0;
}

.faq-preview-note > img {
  width: 100%;
  height: 132px;
  grid-column: 1 / -1;
  display: block;
  object-fit: cover;
}

.legal-draft strong {
  color: #4c503f;
  font-size: 11px;
}

.legal-draft p {
  margin: 7px 0 0;
  color: #60655c;
  font-size: 11px;
  line-height: 1.7;
}

.legal-updated {
  margin-bottom: 38px;
  color: #737d74;
  font-size: 10px;
}

.legal-page section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.legal-page section h2 {
  margin: 0 0 9px;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.legal-page section p {
  max-width: 780px;
  margin: 0;
  color: #5f6b63;
  font-size: 12px;
  line-height: 1.85;
}

.legal-page > .underlined-link {
  margin-top: 22px;
}

.faq-page {
  width: min(1120px, calc(100% - 96px));
  padding-top: 54px;
  padding-bottom: 100px;
}

.faq-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.72fr);
  align-items: end;
  gap: clamp(40px, 8vw, 110px);
  padding-bottom: 40px;
}

.faq-intro h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.faq-lede {
  max-width: 580px;
  margin: 0;
  color: #647069;
  font-size: 15px;
  line-height: 1.8;
}

.faq-preview-note {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 13px;
  padding: 22px;
  border: 1px solid #d3c6ae;
  background: #f0ebe0;
}

.faq-note-mark {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--wine);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.faq-preview-note strong {
  display: block;
  margin: 2px 0 7px;
  color: #353d35;
  font-size: 13px;
}

.faq-preview-note p {
  margin: 0;
  color: #60655c;
  font-size: 12px;
  line-height: 1.75;
}

.faq-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-topics a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: #38433c;
  background: #fbfaf6;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.faq-topics a span {
  color: var(--wine);
}

.faq-topics a:hover {
  transform: translateY(-2px);
  border-color: var(--wine);
  color: var(--wine);
}

.faq-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: clamp(35px, 7vw, 90px);
  padding-top: 30px;
}

.faq-group {
  scroll-margin-top: 30px;
  padding: 27px 0 30px;
  border-bottom: 1px solid var(--line);
}

.faq-group:first-child {
  padding-top: 0;
}

.faq-group-heading {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 17px;
}

.faq-group-heading > span {
  padding-top: 5px;
  color: var(--wine);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.faq-group-heading .eyebrow {
  margin-bottom: 7px;
}

.faq-group-heading h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 30px);
  letter-spacing: -0.045em;
}

.faq-group details {
  border-top: 1px solid rgba(36, 50, 42, 0.1);
}

.faq-group details:last-child {
  border-bottom: 1px solid rgba(36, 50, 42, 0.1);
}

.faq-group summary {
  position: relative;
  padding: 17px 38px 17px 0;
  color: #303b35;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  list-style: none;
}

.faq-group summary::-webkit-details-marker {
  display: none;
}

.faq-group summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
  content: "+";
  font-size: 16px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-group details[open] summary::after {
  content: "−";
}

.faq-group summary:focus-visible,
.faq-topics a:focus-visible,
.faq-side-link:focus-visible {
  outline: 3px solid rgba(128, 0, 32, 0.35);
  outline-offset: 3px;
}

.faq-group details > p {
  max-width: 760px;
  margin: -2px 34px 18px 0;
  color: #5f6b63;
  font-size: 12px;
  line-height: 1.85;
}

.faq-group details > p a {
  color: var(--wine-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.faq-group details > .underlined-link {
  margin: -2px 0 20px;
}

.faq-side-note {
  position: sticky;
  top: 24px;
  margin-top: 8px;
  padding: 25px;
  border: 1px solid var(--line);
  background: #fbfaf6;
}

.faq-side-note .eyebrow {
  margin-bottom: 16px;
}

.faq-side-note h2 {
  margin: 0 0 12px;
  font-size: 25px;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.faq-side-note > p:not(.eyebrow) {
  margin: 0 0 21px;
  color: #647069;
  font-size: 12px;
  line-height: 1.8;
}

.faq-side-note .button {
  width: 100%;
  justify-content: center;
  padding-right: 12px;
  padding-left: 12px;
}

.faq-side-link {
  display: inline-block;
  margin-top: 17px;
  color: var(--wine-dark);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 1600px) {
  .agency-hero {
    min-height: 0;
  }

  .agency-hero h1 {
    font-size: 82px;
  }

  .agency-container {
    width: min(1280px, calc(100% - 160px));
  }
}

@media (max-width: 900px) {
  .withdrawal-flow {
    grid-template-columns: 1fr;
  }

  .withdrawal-method-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .withdrawal-method-option {
    grid-template-columns: 30px minmax(0, 1fr) 16px;
    gap: 7px;
    padding: 9px;
  }

  .withdrawal-history {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .agency-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    align-items: start;
    gap: 35px;
    padding: 38px 5vw 48px;
  }

  .agency-hero h1 {
    font-size: clamp(46px, 6.5vw, 62px);
  }

  .agency-hero-image {
    height: clamp(350px, 48vw, 450px);
    min-height: 0;
  }

  .agency-container {
    width: calc(100% - 64px);
  }

  .agency-contact-page {
    gap: 34px;
  }

  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-grid article:nth-child(2) {
    border-right: 0;
  }

  .industry-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .withdrawal-center {
    margin-top: 22px;
    padding: 18px 14px;
  }

  .withdrawal-center-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .withdrawal-balance {
    min-width: 0;
  }

  .withdrawal-method-options {
    grid-template-columns: 1fr;
  }

  .withdrawal-method-option {
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    min-height: 58px;
    padding: 9px 12px;
  }

  .withdrawal-method-fields {
    grid-template-columns: 1fr;
  }

  .withdrawal-field-wide {
    grid-column: auto;
  }

  .withdrawal-history-item {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .withdrawal-history-status {
    grid-column: 2;
    justify-self: start;
  }

  .withdrawal-review-actions {
    flex-direction: column-reverse;
  }

  .withdrawal-review-actions .button {
    justify-content: center;
  }

  .agency-ribbon {
    min-height: 31px;
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .agency-header {
    min-height: 68px;
  }

  .agency-site .navigation {
    gap: 0;
  }

  .agency-site .navigation > a:not(.nav-cta) {
    font-size: 12px;
  }

  .agency-container {
    width: calc(100% - 44px);
  }

  .agency-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 22px 42px;
  }

  .agency-hero h1 {
    max-width: 570px;
    font-size: clamp(46px, 11.5vw, 64px);
  }

  .agency-hero-lede {
    font-size: 15px;
  }

  .agency-hero .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .agency-hero-image {
    height: min(105vw, 460px);
    min-height: 300px;
    margin: 0;
  }

  .agency-hero-index {
    display: none;
  }

  .agency-intro,
  .agency-industries {
    padding-top: 67px;
    padding-bottom: 72px;
  }

  .agency-intro-grid,
  .agency-section-heading,
  .agency-proof-grid,
  .agency-methods,
  .agency-coverage-grid,
  .coverage-scoping-grid,
  .about-principles,
  .agency-credibility,
  .agency-process-grid,
  .agency-contact-page {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .agency-intro .eyebrow {
    margin-bottom: 22px;
  }

  .agency-intro h2,
  .agency-section-heading h2,
  .agency-methods h2,
  .agency-coverage h2,
  .agency-proof h2,
  .agency-contact h2,
  .agency-page-hero h1,
  .agency-process h2,
  .about-principles h2,
  .agency-credibility h2,
  .agency-bottom-cta h2 {
    font-size: clamp(36px, 9vw, 48px);
  }

  .agency-section-heading {
    margin-bottom: 27px;
  }

  .agency-section-heading > p {
    margin: 0;
  }

  .agency-services {
    padding: 67px 0 72px;
  }

  .agency-service-row {
    min-height: auto;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 18px 0;
  }

  .agency-service-name {
    font-size: 15px;
  }

  .agency-service-detail {
    grid-column: 2;
    font-size: 11px;
  }

  .agency-service-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .agency-methods {
    padding-top: 73px;
    padding-bottom: 75px;
  }

  .agency-coverage,
  .agency-process,
  .coverage-scoping {
    padding: 66px 0;
  }

  .agency-coverage {
    padding: 66px 0;
  }

  .coverage-region-grid {
    gap: 8px;
  }

  .coverage-region-grid > div {
    gap: 9px;
    padding: 10px;
  }

  .industry-grid article {
    min-height: 150px;
    padding: 17px;
  }

  .industry-grid h3 {
    margin-top: 12px;
    font-size: 13px;
  }

  .industry-grid article > img {
    height: 76px;
  }

  .step-image {
    width: 64px;
    height: 54px;
  }

  .agency-steps article {
    grid-template-columns: 32px 64px minmax(0, 1fr);
    gap: 10px;
  }

  .intro-photo {
    height: 130px;
  }

  .services-photo {
    height: 105px;
  }

  .agency-proof {
    padding: 67px 0;
  }

  .proof-placeholder {
    min-height: 175px;
    padding: 23px;
  }

  .agency-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 48px;
    padding: 34px 24px;
  }

  .agency-footer {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 27px 22px;
  }

  .agency-footer-links,
  .agency-footer small {
    grid-column: auto;
  }

  .agency-footer-links {
    gap: 12px 18px;
  }

  .agency-page-hero {
    padding-top: 36px;
    padding-bottom: 37px;
  }

  .agency-capabilities {
    grid-template-columns: 1fr;
    gap: 11px;
    padding-bottom: 68px;
  }

  .agency-capabilities article {
    min-height: 270px;
    padding: 25px;
  }

  .agency-bottom-link,
  .agency-bottom-cta > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .coverage-disclaimer {
    margin-bottom: 19px;
    padding: 16px;
  }

  .coverage-regions {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 67px;
  }

  .coverage-regions article,
  .coverage-regions article:last-child {
    min-height: 170px;
    grid-column: auto;
    padding: 21px;
  }

  .about-principles {
    padding-top: 8px;
    padding-bottom: 67px;
  }

  .about-principles > div + div > p:first-child {
    margin-top: 0;
  }

  .agency-principle-band {
    padding: 58px 0;
  }

  .principle-band-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .agency-credibility {
    padding-top: 65px;
    padding-bottom: 70px;
  }

  .agency-bottom-cta {
    padding: 42px 0;
  }

  .agency-contact-page {
    padding-top: 36px;
    padding-bottom: 70px;
  }

  .agency-contact-form {
    padding: 22px 18px;
  }

  .agency-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .legal-page {
    padding-top: 36px;
    padding-bottom: 70px;
  }

  .faq-page {
    padding-top: 36px;
    padding-bottom: 70px;
  }

  .faq-intro,
  .faq-content {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    gap: 24px;
    align-items: start;
    padding-bottom: 26px;
  }

  .faq-intro h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .faq-lede {
    font-size: 13px;
  }

  .faq-content {
    gap: 25px;
    padding-top: 22px;
  }

  .faq-side-note {
    position: static;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agency-hero-image img {
    transition: none;
  }
}


/* ==========================================================================
   BOET PANEL - FIELD AGENT & INTERNATIONAL FRONTEND ENHANCEMENTS
   ========================================================================== */

/* 1. Password Field & Visibility Toggle */
.password-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-field-wrapper input {
  width: 100%;
  padding-right: 44px !important;
}

.password-toggle-btn,
.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  color: #7b8798;
  cursor: pointer;
  border-radius: 3px;
  transition: color 150ms ease, background-color 150ms ease;
}

.password-toggle {
  width: auto;
  min-width: 42px;
  padding-inline: 5px;
  color: #53647a;
  font: 600 9px var(--sans);
}

.password-toggle-btn:hover,
.password-toggle:hover {
  color: var(--wine);
  background: rgba(23, 54, 93, 0.08);
}

.password-toggle-btn:focus-visible,
.password-toggle:focus-visible {
  outline: 2px solid var(--wine);
}

.password-toggle-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.form-card input[aria-invalid="true"],
.form-card select[aria-invalid="true"],
.form-card textarea[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.12);
}

.auth-form-status[hidden] {
  display: none;
}

.auth-form-status[data-state="error"] {
  margin: 3px 0 0;
  padding: 11px 13px;
  border-left: 3px solid #b42318;
  color: #7a271a;
  background: #fef3f2;
  font-size: 10px;
  line-height: 1.6;
}

.auth-form-status[data-state="success"] {
  margin: 3px 0 0;
  padding: 11px 13px;
  border-left: 3px solid #28734e;
  color: #205a3d;
  background: #eef8f1;
  font-size: 10px;
  line-height: 1.6;
}

/* 2. International Phone Input */
.intl-phone-wrapper {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
}

.phone-dial-select {
  width: 100%;
  min-height: 43px;
  padding: 10px 8px;
  border: 1px solid #ddd2d1;
  border-radius: 2px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font: 500 11px var(--sans);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-dial-select:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 2px rgba(23, 54, 93, 0.15);
}

/* 3. FAQ Live Search Component */
.faq-search-wrapper {
  position: relative;
  margin: 22px 0 34px;
  width: 100%;
  max-width: 680px;
}

.faq-search-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 42px 12px 44px;
  border: 1px solid #d2dbe5;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: 500 12px var(--sans);
  box-shadow: 0 2px 8px rgba(23, 38, 60, 0.04);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(23, 54, 93, 0.12);
}

.faq-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #7d8c9f;
  pointer-events: none;
  font-size: 14px;
}

.faq-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: #e8edf3;
  color: #4b5869;
  font-size: 11px;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.faq-search-clear:hover {
  background: var(--wine);
  color: #fff;
}

.faq-no-results {
  padding: 38px 24px;
  text-align: center;
  background: #fffdfa;
  border: 1px dashed #d5dce4;
  border-radius: 4px;
  margin-top: 20px;
}

.faq-no-results h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.faq-no-results p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}

/* 4. Dashboard Notifications System */
.notifications-wrapper {
  position: relative;
  display: inline-block;
}

.notifications-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  color: #4b596d;
  cursor: pointer;
  font-size: 15px;
  transition: all 200ms ease;
}

.notifications-toggle:hover {
  color: var(--wine);
  border-color: #c4d1e0;
  background: #f7f9fc;
}

.notifications-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #c33b28;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border: 2px solid #fff;
}

.notifications-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 14px 40px rgba(23, 38, 60, 0.16);
  z-index: 100;
  animation: dropdownFade 180ms ease forwards;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.notifications-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfbf9;
}

.notifications-header strong {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notifications-mark-read {
  border: none;
  background: transparent;
  color: var(--wine);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.notifications-mark-read:hover {
  text-decoration: underline;
}

.notifications-list {
  max-height: 310px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.notification-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f3f6;
  font-size: 11px;
  color: #3b4756;
  transition: background-color 150ms ease;
  text-align: left;
}

.notification-item:hover {
  background: #f7f9fc;
}

.notification-item.is-unread {
  background: #edf3fa;
}

.notification-icon {
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.notification-body {
  flex: 1;
}

.notification-body strong {
  display: block;
  font-size: 11px;
  color: var(--ink);
  margin-bottom: 2px;
}

.notification-body p {
  margin: 0 0 4px;
  color: #556274;
  font-size: 10px;
  line-height: 1.45;
}

.notification-body small {
  display: block;
  font-size: 9px;
  color: #8c9ba9;
}

.notifications-empty {
  padding: 24px 14px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

/* 5. Dashboard Survey Filters Bar */
.survey-filters-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.survey-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #d7e0ea;
  border-radius: 20px;
  background: #fff;
  color: #586577;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 180ms ease;
}

.survey-filter-pill:hover {
  border-color: var(--wine);
  color: var(--wine);
  background: #f4f7fb;
}

.survey-filter-pill.is-active {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

.survey-filter-pill .pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  font-size: 9px;
  background: rgba(0, 0, 0, 0.08);
}

.survey-filter-pill.is-active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* 6. Agent Profile & Credentials View */
.agent-profile-center {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.agent-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.agent-profile-header h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.agent-profile-header p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.agent-credential-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #17365d 0%, #102744 100%);
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(23, 54, 93, 0.16);
}

.agent-badge-details {
  display: flex;
  align-items: center;
  gap: 16px;
}

.agent-avatar-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f3bc69;
  color: #17365d;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.agent-badge-info h3 {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.agent-badge-info p {
  margin: 0;
  font-size: 11px;
  color: #b7cbdf;
}

.agent-badge-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.agent-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(49, 140, 92, 0.35);
  color: #72e0a4;
  border: 1px solid rgba(114, 224, 164, 0.4);
}

.agent-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(243, 188, 105, 0.25);
  color: #f3bc69;
  border: 1px solid rgba(243, 188, 105, 0.4);
}

.agent-form-section {
  padding: 22px;
  background: #fffdfa;
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
}

.agent-form-section h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid #f0f3f6;
  padding-bottom: 8px;
}

.agent-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.agent-form-grid label {
  display: grid;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #403638;
}

.agent-form-grid input,
.agent-form-grid select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #ddd2d1;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  font: 400 11px var(--sans);
}

.agent-form-grid input:focus,
.agent-form-grid select:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 2px rgba(23, 54, 93, 0.15);
  outline: none;
}

.agent-save-feedback {
  padding: 10px 14px;
  background: #e7f5ec;
  border-left: 3px solid #2e7d32;
  color: #1b5e20;
  font-size: 11px;
  font-weight: 600;
  animation: dropdownFade 180ms ease forwards;
}

/* 7. Dedicated Rewards & Commission Center */
.rewards-center {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.rewards-center-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.rewards-center-header h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.rewards-center-header p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.rewards-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.reward-stat-box {
  padding: 16px;
  background: #fffdfa;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reward-stat-box span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7f8d9f;
  text-transform: uppercase;
}

.reward-stat-box strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--wine);
}

.reward-stat-box small {
  font-size: 10px;
  color: var(--muted);
}

.conversion-rates-section {
  padding: 22px;
  background: #fffdfa;
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.conversion-rates-section h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rates-table-wrapper {
  overflow-x: auto;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.rates-table th,
.rates-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #eef2f6;
}

.rates-table th {
  background: #f7f9fc;
  color: #4b5869;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rates-table td strong {
  color: var(--wine);
}

.payout-methods-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.payout-method-card {
  padding: 16px;
  background: #fffdfa;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 2px;
}

.payout-method-card strong {
  font-size: 12px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.payout-method-card p {
  margin: 0;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

/* 8. Additional Survey Question Types & States */
/* Checkbox Multi-Select */
.choice-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  margin-bottom: 7px;
  border: 1px solid #e2dbd9;
  background: #fff;
  font-size: 11px;
  color: #3b3133;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.choice-checkbox-label:hover {
  border-color: var(--wine);
  background: #fbf9f9;
}

.choice-checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--wine);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Rating Scale (1-5) */
.rating-scale-group {
  display: flex;
  gap: 8px;
  margin: 8px 0 16px;
}

.rating-pill-btn {
  flex: 1;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid #d5dde6;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #364456;
  transition: all 180ms ease;
}

.rating-pill-btn:hover {
  border-color: var(--wine);
  background: #f3f6fa;
  color: var(--wine);
}

.rating-pill-btn.is-selected {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

.rating-pill-btn small {
  font-size: 8px;
  font-weight: 500;
  opacity: 0.8;
}

/* Likert Scale (5 points) */
.likert-scale-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 8px 0 16px;
}

.likert-pill-btn {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 4px;
  border: 1px solid #d5dde6;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
  color: #3a4758;
  line-height: 1.25;
  transition: all 180ms ease;
}

.likert-pill-btn:hover {
  border-color: var(--wine);
  background: #f3f6fa;
  color: var(--wine);
}

.likert-pill-btn.is-selected {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

/* NPS Scale (0-10) */
.nps-scale-wrapper {
  margin: 8px 0 16px;
}

.nps-scale-group {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 4px;
}

.nps-pill-btn {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #d5dde6;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  color: #364456;
  transition: all 180ms ease;
}

.nps-pill-btn:hover {
  border-color: var(--wine);
  background: #f3f6fa;
  color: var(--wine);
}

.nps-pill-btn.is-selected {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

.nps-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 9px;
  color: #7b8899;
}

/* Disqualified / Screen-out Screen */
.survey-screenout {
  padding: 24px 0 8px;
  text-align: center;
}

.screenout-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #92541b;
  border-radius: 50%;
  background: #faeedb;
  font-size: 24px;
}

.survey-screenout h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.survey-screenout p {
  margin: 0 auto 18px;
  max-width: 440px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.screenout-points-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #f2e9dc;
  color: #6d4715;
  font-size: 11px;
  font-weight: 700;
}

.screenout-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Enhanced Survey Completion Screen */
.survey-agent-receipt {
  padding: 16px 0 8px;
}

.receipt-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #1e643b;
  border-radius: 50%;
  background: #e3f2e8;
  font-size: 24px;
}

.receipt-card {
  margin: 20px 0 24px;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid #e1e7ee;
  border-radius: 3px;
  text-align: left;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #edf1f5;
  font-size: 11px;
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-row span {
  color: #647385;
}

.receipt-row strong {
  color: var(--ink);
}

.receipt-row strong.receipt-commission {
  color: #1e643b;
  font-size: 13px;
}

.receipt-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 9. Responsive layout adjustments */
@media (max-width: 768px) {
  .intl-phone-wrapper {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .likert-scale-group {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .likert-pill-btn {
    min-height: 38px;
    padding: 8px 12px;
    justify-content: flex-start;
  }

  .nps-scale-group {
    gap: 2px;
  }

  .nps-pill-btn {
    min-height: 36px;
    font-size: 10px;
  }

  .agent-credential-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .agent-form-grid {
    grid-template-columns: 1fr;
  }

  .rewards-summary-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   MULTI-PAGE DASHBOARD WORKSPACES & IMAGE FITTING ENHANCEMENTS
   ========================================================================== */

/* Enhanced Image Fitting Across All Pages */
.intro-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  margin-top: 24px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(23, 38, 60, 0.08);
}

.agency-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 38px;
}

.agency-section-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agency-section-side p {
  margin: 0;
  color: #58677b;
  font-size: 13px;
  line-height: 1.65;
}

.services-photo {
  width: min(100%, 340px);
  height: auto;
  aspect-ratio: 16 / 7;
  display: block;
  margin-top: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(23, 38, 60, 0.08);
}

.step-image {
  width: 100%;
  max-width: 88px;
  height: auto;
  aspect-ratio: 11 / 9;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.industry-grid article > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  display: block;
  margin-bottom: 15px;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
}

.proof-placeholder > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  margin-bottom: 18px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}

.contact-photo {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 40%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.25;
  mix-blend-mode: screen;
}

.intro-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.process-photo,
.coverage-photo,
.faq-preview-note > img,
.account-intro-photo {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.coverage-photo {
  max-height: none;
}

.faq-preview-note > img {
  max-width: 100%;
}

.account-intro-photo {
  max-width: 100%;
}

.dashboard-grid > *,
.dashboard-main,
.dashboard-aside,
.dashboard .profile-card {
  min-width: 0;
}

.dashboard .profile-card > .section-photo,
.survey-form-card > .section-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* Preserve the full subject in portrait-oriented photos placed in landscape slots. */
.intro-photo {
  aspect-ratio: 5 / 4;
  object-position: center 42%;
}

.services-photo {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #e9edf3;
}

.industry-grid article > img[src$="community-perspectives.jpg"],
.proof-placeholder > img[src$="community-participants.jpg"] {
  object-fit: contain;
  object-position: center;
  background: #e9edf3;
}

.proof-placeholder > img[src$="panel-perspectives.jpg"] {
  aspect-ratio: 13 / 10;
}

@media (max-width: 680px) {
  .agency-section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .services-photo {
    width: 100%;
    max-width: 100%;
  }
}

/* Use consistent photo framing while matching unusually shaped assets to their slots. */
img:not(.brand-logo) {
  object-fit: cover;
  object-position: center;
}

.agency-hero-image {
  align-self: center;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #e9edf3;
}

.agency-hero-image img {
  object-position: center;
  object-fit: contain !important;
  transition: opacity 180ms ease, transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.agency-hero-image img.is-transitioning {
  opacity: 0;
  transform: scale(1.015);
}

.dashboard .profile-card > .section-photo[src$="gift-choice.jpg"] {
  aspect-ratio: 1;
}

.dashboard .profile-card > .section-photo[src$="reward-coins.jpg"] {
  aspect-ratio: 18 / 7;
  object-fit: contain;
  background: #f3f5f8;
}

.dashboard .profile-card > .section-photo[src$="participant-support.jpg"] {
  aspect-ratio: 4 / 3;
  object-position: center 35%;
}

@media (prefers-reduced-motion: reduce) {
  .agency-hero-image img {
    transition: none;
  }
}

/* Give the homepage hero image enough room without crowding its copy. */
.agency-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4vw, 60px);
  padding-inline: max(5vw, calc((100vw - 1200px) / 2));
}

.agency-hero-image {
  align-self: start;
  width: 100%;
  max-width: none;
}

@media (max-width: 900px) {
  .agency-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(22px, 3vw, 34px);
    padding: 22px 5vw 34px;
  }

  .agency-hero-image {
    width: 100%;
    justify-self: stretch;
  }

  .agency-hero h1 {
    font-size: clamp(40px, 5.2vw, 48px);
  }

  .agency-hero-note {
    margin-top: 20px;
  }
}

@media (max-width: 680px) {
  .agency-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px 22px 26px;
  }

  .agency-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(38px, 9.5vw, 48px);
  }

  .agency-hero-lede {
    margin-bottom: 16px;
  }

  .agency-hero-note {
    margin-top: 14px;
    line-height: 1.45;
  }
}

@media (max-width: 400px) {
  .agency-hero {
    gap: 8px;
    padding-top: 6px;
  }

  .agency-hero .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
  }

  .agency-hero .hero-actions .button {
    min-height: 46px;
    padding-inline: 16px;
  }

  .agency-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(34px, 8.5vw, 38px);
  }

  .agency-hero-note {
    margin-top: 12px;
    font-size: 10px;
    line-height: 1.4;
  }
}

@media (max-width: 360px) and (max-height: 700px) {
  .agency-hero .eyebrow {
    margin-bottom: 12px;
  }

  .agency-hero h1 {
    margin-bottom: 8px;
    font-size: 31px;
  }

  .agency-hero-lede {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.4;
  }

  .agency-hero .hero-actions .button {
    min-height: 38px;
  }

  .agency-hero-note {
    margin-top: 8px;
    font-size: 9px;
    line-height: 1.3;
  }
}

.notifications-page-filters {
  display: flex;
  gap: 8px;
}

.notifications-page-filters button {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: #536176;
  font: 600 10px var(--sans);
  cursor: pointer;
}

.notifications-page-filters button.is-current {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

.notification-full-card,
.notification-item {
  display: block;
  padding: 0;
  overflow: hidden;
}

.notification-full-card summary,
.notification-item summary {
  display: grid;
  list-style: none;
  cursor: pointer;
}

.notification-full-card summary::-webkit-details-marker,
.notification-item summary::-webkit-details-marker {
  display: none;
}

.notification-full-summary {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
}

.notification-full-summary > strong {
  color: var(--ink);
  font-size: 13px;
}

.notification-full-meta {
  color: #78889a;
  font-size: 10px;
}

.notification-full-card[open] .notification-full-summary {
  border-bottom: 1px solid var(--line);
}

.notification-full-card .notification-full-body {
  padding: 15px 20px 19px 70px;
}

.notification-full-body p {
  margin: 0 0 8px;
  color: #556274;
  font-size: 12px;
  line-height: 1.65;
}

.notification-full-body small,
.notification-item-body small {
  display: block;
  margin-bottom: 10px;
  color: #78889a;
  font-size: 10px;
}

.notification-action {
  display: inline-flex;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
}

.notification-item-summary {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 3px 9px;
  padding: 11px 13px;
}

.notification-item-summary .notification-icon {
  grid-row: span 2;
}

.notification-item-summary > strong {
  color: var(--ink);
  font-size: 10px;
}

.notification-item-meta {
  grid-column: 2;
  color: #78889a;
  font-size: 9px;
}

.notification-item-body {
  padding: 0 13px 12px 40px;
}

.notification-item-body p {
  margin: 0 0 7px;
  color: #556274;
  font-size: 10px;
  line-height: 1.5;
}

.notification-item-body .notification-action {
  font-size: 10px;
}

.notifications-page-status[data-state="error"] {
  color: #a52e28;
}

.notifications-page-status:empty {
  display: none;
}

@media (max-width: 680px) {
  .notifications-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .notification-full-summary {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 14px;
  }

  .notification-full-summary .notification-full-icon {
    grid-row: span 2;
  }

  .notification-full-summary > strong {
    font-size: 12px;
  }

  .notification-full-meta {
    grid-column: 2;
  }

  .notification-full-card .notification-full-body {
    padding: 13px 14px 16px 58px;
  }
}

/* Dedicated Logged Interviews Workspace Page */
.logged-interviews-center {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.interviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.interviews-header h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.interviews-header p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.interviews-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.interviews-metric-box {
  padding: 16px;
  background: #fffdfa;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.interviews-metric-box span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7f8d9f;
  text-transform: uppercase;
}

.interviews-metric-box strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--wine);
}

.interviews-metric-box small {
  font-size: 10px;
  color: var(--muted);
}

.interviews-search-bar {
  display: flex;
  gap: 10px;
  align-items: center;
}

.interviews-search-input {
  flex: 1;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #d5dde6;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: 500 11px var(--sans);
}

.interviews-search-input:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 2px rgba(23, 54, 93, 0.15);
}

/* Dedicated Notifications Workspace Page */
.notifications-page-center {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.notifications-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.notifications-page-header h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.notifications-page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.notifications-full-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification-full-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: all 180ms ease;
}

.notification-full-card:hover {
  border-color: #c4d1e0;
  box-shadow: 0 4px 14px rgba(23, 38, 60, 0.05);
}

.notification-full-card.is-unread {
  background: #f4f8fd;
  border-left: 3px solid var(--wine);
}

.notification-full-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #edf2f8;
  color: var(--wine);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}

.notification-full-body {
  flex: 1;
}

.notification-full-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.notification-full-top strong {
  font-size: 13px;
  color: var(--ink);
}

.notification-full-top span {
  font-size: 10px;
  color: #8c9ba9;
}

.notification-full-body p {
  margin: 0 0 8px;
  color: #556274;
  font-size: 11px;
  line-height: 1.5;
}

.notification-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: #e8eef6;
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Dedicated Field Studies Workspace Page */
.studies-page-center {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.studies-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.studies-page-header h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.studies-page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

/* ==========================================================================
   CRITICAL: Dashboard panel visibility — overrides panel display:flex/grid
   ========================================================================== */
[data-dashboard-panel][hidden] {
  display: none !important;
}

.image-placeholder{min-height:240px;background:#e9eef5;border:1px dashed #9fb3c8;border-radius:8px;margin:1.5rem 0;display:flex;align-items:center;justify-content:center;color:#5b6b7f;font-size:.9rem;}

.agency-methods .agency-process-grid li > span,.agency-methods .agency-process-grid li strong,.agency-methods .agency-process-grid li p{color:#17365d;}

.agency-capabilities article{min-height:0;background:#f2f3f5;}

.agency-methods{padding-top:40px;padding-bottom:60px;}

/* ==========================================================================
   SESSION GATING
   Participant pages hide their content until panel-session.js resolves the
   Supabase session (signed in → reveal; signed out → redirect to sign-in).
   ========================================================================== */
body[data-requires-auth]:not(.session-ready) .dashboard-welcome,
body[data-requires-auth]:not(.session-ready) .dashboard-grid,
body[data-requires-auth]:not(.session-ready) .dashboard-disclaimer {
  visibility: hidden;
}

/* ==========================================================================
   MILESTONE 2 — LIVE BACKEND COMPONENTS
   Survey feed states, registration banner, runner helpers, withdrawal
   details grid, profile editor, status chips and ledger history accents.
   ========================================================================== */

.survey-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-loading {
  padding: 24px 16px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.status-chip {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #3d4a5c;
  background: #edf1f6;
}

.status-chip.chip-approved,
.status-chip.chip-paid {
  color: #1d5c34;
  background: #e2f2e8;
}

.status-chip.chip-review,
.status-chip.chip-submitted,
.status-chip.chip-pending,
.status-chip.chip-in_progress {
  color: #695019;
  background: #f8f0dc;
}

.status-chip.chip-rejected,
.status-chip.chip-expired_locked,
.status-chip.chip-expired {
  color: #7c2d2d;
  background: #f7e4e4;
}

.status-chip.chip-muted,
.status-chip.chip-completed,
.status-chip.chip-not_eligible {
  color: #5b6472;
  background: #eceff4;
}

.registration-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  padding: 13px 16px;
  border: 1px solid #ecd9a8;
  border-radius: 10px;
  background: #fdf7e7;
}

.registration-banner span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8c86a;
  color: #4a3a10;
  font-size: 11px;
  font-weight: 800;
}

.registration-banner p {
  margin: 0;
  color: #5d4d1c;
  font-size: 10.5px;
  line-height: 1.55;
}

.registration-banner a {
  color: #4a3a10;
  font-weight: 700;
}

.survey-timer {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.survey-timer.is-warning {
  color: #a5432a;
}

.survey-question-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.question-save-state {
  min-height: 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.question-save-state[data-save-state="saved"] {
  color: #1d5c34;
}

.question-save-state[data-save-state="saving"] {
  color: #695019;
}

.question-save-state[data-save-state="error"] {
  color: #a5432a;
}

.rating-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.rating-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
}

.withdrawal-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 12px 0 4px;
}

.withdrawal-detail-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}

.withdrawal-detail-field input,
.withdrawal-detail-field select {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
}

.withdrawal-detail-field input:focus,
.withdrawal-detail-field select:focus {
  outline: 2px solid rgba(23, 54, 93, 0.35);
  outline-offset: 1px;
}

.withdrawal-rejection-reason {
  margin-top: 4px;
  color: #7c2d2d;
  font-size: 8.5px;
}

.withdrawal-history-status.chip-pending {
  color: #695019;
  background: #f8f0dc;
}

.withdrawal-history-status.chip-approved {
  color: #274a75;
  background: #e3ecf7;
}

.withdrawal-history-status.chip-rejected {
  color: #7c2d2d;
  background: #f7e4e4;
}

.withdrawal-history-status.chip-paid {
  color: #1d5c34;
  background: #e2f2e8;
}

.activity-item-points.is-positive {
  color: #1d5c34;
}

.activity-item-points.is-negative {
  color: #7c2d2d;
}

.activity-resume-link {
  align-self: center;
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.notifications-empty {
  padding: 14px 10px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.profile-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.profile-status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-status-note {
  margin: 0;
  color: #5d4d1c;
  font-size: 10px;
  line-height: 1.55;
}

.profile-edit {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.profile-edit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-edit-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 14px;
  color: var(--ink);
}

.profile-edit-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.profile-edit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.profile-edit-form fieldset {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.profile-edit-form legend {
  padding: 0 6px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-edit-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}

.profile-edit-form input,
.profile-edit-form select,
.profile-edit-form textarea {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
}

.profile-edit-form small {
  display: block;
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 9px;
}

.profile-edit-status {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
}

.profile-edit-status[data-state="success"] {
  color: #1d5c34;
}

.profile-edit-status[data-state="error"] {
  color: #a5432a;
}

/* ==========================================================================
   M3 — ADMINISTRATOR CONSOLE
   Reuses the panel design system (cream cards, hairline borders, Manrope
   display type). Layout: .dashboard-grid > .dashboard-nav + .dashboard-main,
   with admin-only components below.
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-shell {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.admin-shell[hidden],
.admin-unauthorized[hidden],
.admin-section[hidden],
[data-participant-detail][hidden],
[data-survey-editor][hidden] {
  display: none;
}

.nav-badge {
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #a2414c;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.admin-unauthorized {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px;
  border: 1px solid #e0c2c2;
  background: #fdf6f3;
}

.admin-unauthorized h2 {
  color: #17365d;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.04em;
  margin: 0;
}

.admin-unauthorized p {
  color: #6d6266;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.admin-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.admin-stats {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.dashboard-stat.is-link {
  cursor: pointer;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-toolbar input[type="search"] {
  flex: 1 1 240px;
}

.admin-shell input[type="search"],
.admin-shell input[type="text"],
.admin-shell input[type="email"],
.admin-shell input[type="number"],
.admin-shell input[type="datetime-local"],
.admin-shell select,
.admin-shell textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: #3a3236;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.4;
}

.admin-shell input:focus-visible,
.admin-shell select:focus-visible,
.admin-shell textarea:focus-visible,
.admin-shell button:focus-visible,
.admin-shell a:focus-visible {
  outline: 2px solid #17365d;
  outline-offset: 2px;
}

.admin-shell textarea {
  resize: vertical;
}

.admin-shell label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #877a7d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 1 1 180px;
}

.admin-shell label.admin-check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 12px;
  color: #3a3236;
}

.admin-shell label.admin-check input {
  width: auto;
}

.admin-group-label {
  flex-direction: row !important;
  align-items: center;
  gap: 6px !important;
  flex: 0 0 auto !important;
  font-size: 9px;
}

.admin-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.admin-table th {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  color: #877a7d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #f0e7e4;
  color: #3a3236;
  vertical-align: middle;
}

.admin-table td strong {
  color: #17365d;
}

.admin-table td small {
  color: #877a7d;
  font-size: 10px;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-empty-cell {
  color: #877a7d !important;
  font-style: italic;
  padding: 22px 10px !important;
}

.admin-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 18px;
  margin: 12px 0 0;
}

.admin-field-grid > div {
  border-left: 2px solid #f0e7e4;
  padding-left: 10px;
}

.admin-field-grid dt {
  color: #877a7d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-field-grid dd {
  margin: 3px 0 0;
  color: #3a3236;
  font-size: 12px;
  font-weight: 600;
}

.admin-detail-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #f0e7e4;
}

.admin-detail-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.admin-detail-block h4 {
  margin: 0;
  color: #17365d;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: -0.02em;
}

.admin-note {
  margin: 0;
  color: #877a7d;
  font-size: 11px;
  line-height: 1.6;
}

.admin-balance-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}

.admin-balance-line strong {
  color: #17365d;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.05em;
}

.admin-balance-line span {
  color: #877a7d;
  font-size: 11px;
}

.admin-sublist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-subrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-subrow > div {
  min-width: 0;
  flex: 1 1 220px;
}

.admin-subrow strong {
  display: block;
  color: #17365d;
  font-size: 12px;
}

.admin-subrow small {
  display: block;
  margin-top: 2px;
  color: #877a7d;
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-shell .is-positive {
  color: #1f7a4d;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.admin-shell .is-negative {
  color: #b3261e;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.admin-inline-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px dashed #d9c8c4;
  background: #fdfaf7;
}

.admin-inline-form .admin-form-row {
  align-items: flex-end;
}

.admin-inline-status {
  min-height: 14px;
  margin: 0;
  color: #6d6266;
  font-size: 11px;
  line-height: 1.5;
}

.admin-inline-status[data-state="error"] {
  color: #b3261e;
  font-weight: 600;
}

.admin-inline-status[data-state="success"] {
  color: #1f7a4d;
  font-weight: 600;
}

.admin-survey-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-survey-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 160ms ease;
}

.admin-survey-row:hover {
  border-color: #d8c4c4;
}

.admin-survey-row.is-selected {
  border-color: #17365d;
  background: #fbf7f2;
}

.admin-survey-row > div {
  min-width: 0;
  flex: 1 1 240px;
}

.admin-survey-row strong {
  display: block;
  color: #17365d;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.admin-survey-row small {
  display: block;
  margin-top: 3px;
  color: #877a7d;
  font-size: 10px;
}

.admin-editor-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fdfaf7;
}

.admin-editor-form h4 {
  margin: 0;
  color: #17365d;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: -0.02em;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.admin-row-button {
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.04em;
  min-height: 0;
}

.admin-row-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.button.is-danger {
  border-color: #c98d90;
  color: #a2414c;
}

.button-primary.is-danger {
  background: #a2414c;
  border-color: #a2414c;
  color: #fff;
}

.button-primary.is-danger:hover {
  background: #8c3640;
}

.admin-rule-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-rule-row select,
.admin-rule-row input[type="text"] {
  flex: 1 1 140px;
}

.admin-rule-row input[type="number"] {
  width: 70px;
  flex: 0 0 auto;
}

.admin-question-row .admin-row-actions {
  flex: 0 0 auto;
}

.admin-submission-list,
.admin-queue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-submission-card,
.admin-queue-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-submission-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.admin-submission-head > div {
  min-width: 0;
  flex: 1 1 240px;
}

.admin-submission-head strong {
  display: block;
  color: #17365d;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.admin-submission-head small {
  display: block;
  margin-top: 3px;
  color: #877a7d;
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-answers-list {
  margin: 0;
}

.admin-answers {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.admin-answer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px solid #f0e7e4;
}

.admin-answer-row:last-child {
  border-bottom: 0;
}

.admin-answer-row dt {
  color: #877a7d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.admin-answer-row dd {
  margin: 0;
  color: #3a3236;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-tabs {
  margin-bottom: 4px;
}

@media (max-width: 720px) {
  .admin-section {
    padding: 16px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-shell label,
  .admin-group-label {
    flex: 1 1 auto !important;
  }

  .admin-field-grid {
    grid-template-columns: 1fr;
  }

  .admin-answer-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .admin-submission-head > div,
  .admin-survey-row > div,
  .admin-subrow > div {
    flex: 1 1 100%;
  }

  .admin-row-actions {
    width: 100%;
  }
}
