/* =========================
   FONTS (self-hosted, SIL Open Font License, see /fonts/)
========================= */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/inter-var.woff') format('woff');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-var.woff') format('woff');
}

:root {

  --navy-dark: #021c4a;
  --navy: #00367a;
  --navy-light: #0f58b3;

  --gold: #d4af37;
  --gold-light: #f3d36f;

  --green: #16733a;

  --white: #ffffff;
  --off-white: #f6f8fb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #233446;
  background: var(--off-white);
  line-height: 1.8;
}

/* =========================
   NAVIGATION
========================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 7%;
  background: rgba(2, 28, 74, 0.96);
  backdrop-filter: blur(10px);
  z-index: 999;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-circle {
  width: 52px;
  height: 52px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold);
}

.firm-name-small {
  color: white;
  font-weight: 600;
}

.firm-subtitle-small {
  color: #c9d2e0;
  font-size: 0.8rem;
}

.menu {
  list-style: none;
  display: flex;
  gap: 40px;
}

.menu a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.menu a:hover {
  color: var(--gold);
}

/* =========================
   HERO SECTION
========================= */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;

  background:
    radial-gradient(
      circle at center,
      rgba(20, 90, 180, 0.35) 0%,
      transparent 40%
    ),
    linear-gradient(
      135deg,
      #021c4a 0%,
      #00367a 55%,
      #021c4a 100%
    );
}

.hero-content {
  max-width: 950px;
  padding: 40px;
  position: relative;
  z-index: 10;
}

.eyebrow {
  letter-spacing: 4px;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  margin-bottom: 10px;
}

.tagline {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 30px;
  font-weight: 500;
}

.divider {
  width: 220px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 30px;
}

.hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 500;
  margin-bottom: 25px;
}

.hero p {
  max-width: 750px;
  margin: auto;
  color: #e4ebf7;
  font-size: 1.15rem;
}

.hero-buttons {
  margin-top: 45px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* =========================
   BUTTONS
========================= */

.btn-gold,
.btn-outline {
  padding: 16px 30px;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-gold {
  background: var(--gold);
  color: #021c4a;
  font-weight: 600;
}

.btn-gold:hover {
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: #021c4a;
}

/* =========================
   DECORATIVE CURVES
========================= */

.gold-curve-top {
  position: absolute;
  top: -250px;
  left: -300px;
  width: 1100px;
  height: 500px;
  border: 8px solid var(--gold);
  border-radius: 50%;
  transform: rotate(-12deg);
  opacity: 0.6;
}

.gold-curve-bottom {
  position: absolute;
  bottom: -260px;
  right: -300px;
  width: 1200px;
  height: 550px;
  border: 8px solid var(--green);
  border-radius: 50%;
  transform: rotate(12deg);
  opacity: 0.5;
}

/* =========================
   MOUNTAINS
========================= */

.mountains {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 300px;
}

.mountain {
  position: absolute;
  bottom: 0;

  clip-path: polygon(
    50% 0,
    100% 100%,
    0 100%
  );
}

.m1 {
  width: 600px;
  height: 240px;
  left: -50px;
  background: rgba(255, 255, 255, 0.05);
}

.m2 {
  width: 900px;
  height: 330px;
  left: 20%;
  background: rgba(255, 255, 255, 0.09);
}

.m3 {
  width: 650px;
  height: 260px;
  right: -80px;
  background: rgba(255, 255, 255, 0.06);
}

/* =========================
   GENERAL SECTION STYLES
========================= */

.section{
  padding:
    clamp(60px,8vw,120px)
    clamp(20px,5vw,80px);
}

.container{
  width:min(1200px,92%);
  margin:0 auto;
}

.narrow {
  max-width: 850px;
  text-align: center;
}

.section-title {
  text-align: center;
  color: var(--navy-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.3rem;
  margin-bottom: 20px;
}

.section-title.light {
  color: white;
}

.title-line {
  width: 130px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 50px;
}

/* =========================
   SERVICE CARDS
========================= */

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.card {
  background:
    linear-gradient(
      180deg,
      #013984,
      #021c4a
    );

  color: white;
  padding: 40px;
  border-radius: 18px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--gold-light);
}

.card ul {
  padding-left: 20px;
}

.card li {
  margin-bottom: 10px;
}

/* =========================
   DARK SECTION
========================= */

.dark-section {
  background:
    linear-gradient(
      135deg,
      #021c4a,
      #00367a
    );

  color: white;
}

/* =========================
   FORM
========================= */

form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input,
textarea,
select {
  padding: 16px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

select {
  background: white;
  color: #233446;
}

button {
  background: var(--gold);
  color: #021c4a;
  border: none;
  padding: 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.form-disclaimer {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d7dfef;
  text-align: center;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #011332;
  color: white;
  text-align: center;
  padding: 70px 20px;
}

.footer-line {
  width: 150px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 25px;
}

footer h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 15px;
}

footer p {
  margin-bottom: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .firm-subtitle-small {
    display: none;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .gold-curve-top,
  .gold-curve-bottom {
    display: none;
  }
}

/* =========================
   MULTI-PAGE ADDITIONS
========================= */

a.logo {
  text-decoration: none;
}

.menu {
  align-items: center;
}

.menu a.active {
  color: var(--gold);
}

.portal-link {
  border: 1px solid var(--gold);
  padding: 8px 16px;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: white;
}

.menu-toggle:hover {
  transform: none;
}

/* Inner page header */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 20px 80px;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at center, rgba(20, 90, 180, 0.35) 0%, transparent 50%),
    linear-gradient(135deg, #021c4a 0%, #00367a 55%, #021c4a 100%);
}

.page-hero .gold-curve-top {
  opacity: 0.35;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-hero p {
  color: #e4ebf7;
  font-size: 1.1rem;
}

.page-hero .eyebrow a {
  color: inherit;
  text-decoration: none;
}

.post-meta {
  color: #c9d2e0;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.prose-center p {
  font-size: 1.1rem;
  margin-bottom: 1.2em;
}

/* Cards as links */

.card-link {
  display: block;
  text-decoration: none;
}

.card-summary {
  margin-bottom: 20px;
  color: #dbe4f2;
}

.read-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.read-more.light {
  color: var(--gold-light);
}

.read-more:hover {
  text-decoration: underline;
}

.center-link {
  text-align: center;
  margin-top: 50px;
}

.cta-band {
  background: linear-gradient(135deg, #021c4a, #00367a);
  color: white;
}

/* =========================
   BLOG
========================= */

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 50px;
  align-items: start;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.post-card {
  background: white;
  padding: 32px 36px;
  border-radius: 14px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 12px 34px rgba(2, 28, 74, 0.08);
}

.post-card time {
  font-size: 0.85rem;
  color: #566679;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.post-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 6px 0 12px;
}

.post-card h3 a {
  color: var(--navy-dark);
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--navy-light);
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-list.centered {
  justify-content: center;
}

.tag-list.large .tag {
  font-size: 1rem;
  padding: 8px 18px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e8eef8;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s;
}

.tag span {
  opacity: 0.6;
  margin-left: 4px;
}

.tag:hover,
.tag.active {
  background: var(--navy);
  color: white;
}

.page-hero .tag {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.page-hero .tag:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.blog-sidebar {
  background: white;
  padding: 28px;
  border-radius: 14px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 12px 34px rgba(2, 28, 74, 0.08);
  position: sticky;
  top: 110px;
}

.blog-sidebar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--navy-dark);
}

.blog-sidebar .read-more {
  margin-top: 10px;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.pagination a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.empty-note {
  text-align: center;
  font-size: 1.1rem;
  color: #566679;
}

/* Single post */

.prose {
  max-width: 760px;
  font-size: 1.08rem;
}

.prose h2,
.prose h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy-dark);
  line-height: 1.2;
  margin: 1.6em 0 0.5em;
}

.prose h2 {
  font-size: 2.2rem;
}

.prose h3 {
  font-size: 1.7rem;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote {
  margin-bottom: 1.2em;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose a {
  color: var(--navy-light);
}

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 20px;
  color: #45566b;
  font-style: italic;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.post-disclaimer {
  margin-top: 50px;
  padding: 20px 24px;
  background: #e8eef8;
  border-radius: 10px;
  font-size: 0.92rem;
  color: #45566b;
}

.draft-note {
  padding: 12px 18px;
  background: #fff4cc;
  border: 1px solid var(--gold);
  border-radius: 8px;
  font-size: 0.92rem;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #dde4ee;
}

.post-nav a {
  display: block;
  max-width: 48%;
  color: var(--navy-dark);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  line-height: 1.3;
}

.post-nav a span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #566679;
}

.post-nav-newer {
  text-align: right;
  margin-left: auto;
}

/* Footer links */

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 25px 0;
}

.footer-links a {
  color: #c9d2e0;
  text-decoration: none;
}

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

.footer-small {
  font-size: 0.8rem;
  color: #8e9bb0;
  max-width: 640px;
  margin: 20px auto 0;
}

@media (max-width: 900px) {

  .menu-toggle {
    display: flex;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px 7% 24px;
    background: rgba(2, 28, 74, 0.98);
  }

  .menu.open {
    display: flex;
  }

  .menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu a {
    display: block;
    padding: 14px 0;
  }

  .menu .portal-link {
    border: none;
    padding: 14px 0;
  }

  .page-hero {
    padding: 130px 20px 60px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .post-card {
    padding: 26px;
  }
}

.hidden {
  display: none;
}

/* =========================
   FEE TABLE
========================= */

.fee-table-wrap {
  overflow-x: auto;
  width: fit-content;
  max-width: 100%;
  margin: 10px auto 24px;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(2, 28, 74, 0.12);
  border-top: 4px solid var(--gold);
  background: var(--white);
}

.fee-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
}

.fee-table thead th {
  background: var(--navy-dark);
  color: var(--gold-light);
  padding: 14px 18px;
  font-weight: 600;
}

.fee-table tbody th,
.fee-table td {
  padding: 14px 18px;
  vertical-align: top;
  border-bottom: 1px solid #e3e9f2;
}

.fee-table tbody th {
  width: 26%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--navy-dark);
  background: var(--off-white);
  border-right: 1px solid #e3e9f2;
}

.fee-table td.fee {
  white-space: nowrap;
  font-weight: 600;
  color: var(--navy);
}

.fee-table tbody:last-of-type tr:last-child th,
.fee-table tbody:last-of-type tr:last-child td {
  border-bottom: none;
}

.fee-note {
  font-size: 0.95rem !important;
  color: #4a5c70;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.section.pt-tight {
  padding-top: clamp(16px, 2.5vw, 32px);
}

.section.pb-tight {
  padding-bottom: clamp(16px, 2.5vw, 32px);
}

.prose-left {
  text-align: left;
}

/* Left-align body text (v10). Headings, gold rules and buttons stay centred. */
.narrow p {
  text-align: left;
}

/* Keep the one-line "Ready to Talk?" call to action centred */
.cta-band .narrow p {
  text-align: center;
}

/* =========================
   ABOUT PORTRAIT
========================= */

.about-layout {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.about-text {
  flex: 1;
  min-width: 0;
}

.about-portrait {
  flex: 0 0 170px;
  margin: 0.3rem 0 0;
}

@media (max-width: 700px) {
  .about-layout {
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.5rem;
  }
  .about-portrait {
    flex-basis: auto;
    width: 140px;
  }
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 6px 18px rgba(2, 28, 74, 0.18);
}


/* =========================================================
   v19: ACCESSIBILITY, STEPS, DARK MODE
========================================================= */

:root { color-scheme: light dark; }

html { scroll-padding-top: 100px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  outline: 3px solid #fff;
  box-shadow: 0 0 0 6px var(--navy-dark);
}

main:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--navy-light);
  outline-offset: 3px;
}

.navbar :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.dark-section :focus-visible,
.cta-band :focus-visible,
.card :focus-visible,
footer :focus-visible {
  outline-color: var(--gold-light);
}

/* Form fields stay light in every colour scheme */
input,
textarea {
  background: #fff;
  color: #233446;
}

/* Numbered steps (How It Works, EI appeals) */

.steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 850px;
  margin: 30px auto 0;
  padding: 0;
}

.step {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 28px 32px 28px 88px;
  box-shadow: 0 12px 34px rgba(2, 28, 74, 0.08);
  text-align: left;
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 26px;
  top: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.step p { margin-bottom: 0.8em; }
.step p:last-child { margin-bottom: 0; }

.callout {
  margin-top: 30px;
  padding: 20px 24px;
  background: #e8eef8;
  border-radius: 10px;
  font-size: 0.98rem;
  color: #45566b;
}

@media (max-width: 600px) {
  .step { padding: 24px 22px; }
  .step::before { position: static; margin-bottom: 12px; }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn-gold:hover,
  .card:hover,
  button:hover {
    transform: none;
  }
}

/* Dark mode */

@media (prefers-color-scheme: dark) {
  body { background: #08121f; color: #d4deea; }

  .section-title { color: #f3f6fb; }

  .post-card,
  .blog-sidebar,
  .fee-table-wrap,
  .step {
    background: #0f1f35;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  }

  .post-card h3 a,
  .blog-sidebar h3,
  .prose h2,
  .prose h3,
  .post-nav a,
  .step h3,
  .fee-table tbody th { color: #f3f6fb; }

  .post-card h3 a:hover { color: var(--gold-light); }

  .post-card time,
  .empty-note,
  .post-nav a span { color: #9fb0c5; }

  .tag { background: #1a2d49; color: #d4deea; }
  .tag:hover,
  .tag.active { background: var(--gold); color: var(--navy-dark); }

  .read-more,
  .pagination a { color: var(--gold-light); }

  .prose a { color: #8fb8f0; }
  .prose blockquote { color: #b5c3d6; }

  .post-disclaimer,
  .callout { background: #12243d; color: #b5c3d6; }

  .draft-note { background: #3a3110; color: #f3e3a3; }

  .post-nav { border-top-color: #22344d; }

  .fee-table tbody th { background: #0c1a2d; border-right-color: #22344d; }
  .fee-table tbody th,
  .fee-table td { border-bottom-color: #22344d; }
  .fee-table td.fee { color: var(--gold-light); }
  .fee-note { color: #a9b9cd; }
}

.narrow p.center-link { text-align: center; }

/* Bulleted lists inside narrow content sections (CPP-D page) */
.page-list {
  text-align: left;
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

.page-list li {
  margin-bottom: 0.4em;
}


/* =========================================================
   v23: T2201 INTAKE FORM
========================================================= */

[hidden] { display: none !important; }

.t2201-form { gap: 28px; margin-top: 10px; text-align: left; }
.t2201-form fieldset {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 24px 24px 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.t2201-form legend { padding: 0 10px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; color: var(--gold-light); }
.t2201-form .fieldset-note { margin: 0; color: #d7dfef; font-size: 0.95rem; }
.t2201-form .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.t2201-form .field > span { font-size: 0.95rem; font-weight: 600; }
.t2201-form .field em { font-weight: 400; font-style: normal; color: #c3cfe6; }
.t2201-form .field small { color: #c3cfe6; font-size: 0.82rem; line-height: 1.5; }
.t2201-form .req { color: var(--gold-light); font-style: normal; }
.t2201-form .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.t2201-form .field-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t2201-form textarea { min-height: 120px; }
.t2201-form [aria-invalid="true"] { outline: 3px solid #ffb4b4; outline-offset: 1px; }

.t2201-form .choice { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; line-height: 1.5; }
.t2201-form .choice input { width: 20px; height: 20px; padding: 0; margin: 2px 0 0; flex: none; accent-color: var(--gold); }

.t2201-form .field-error { margin: 2px 0 0; color: #ffd1d1; font-size: 0.88rem; font-weight: 600; }
.t2201-form .field-error::before { content: "\26A0\00a0"; }
.form-status { padding: 14px 18px; border-radius: 8px; background: #fff3cd; color: #4a3b00; font-weight: 600; }
.form-status:focus { outline: 3px solid var(--gold-light); }

.t2201-form .practitioner { border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 16px; background: rgba(255, 255, 255, 0.04); margin-bottom: 14px; }
.t2201-form .practitioner-head { display: flex; justify-content: space-between; align-items: center; }
.t2201-form .practitioner-title { margin: 0; font-size: 1.05rem; color: var(--gold-light); }
.t2201-form .link-btn { background: none; border: none; padding: 4px 8px; color: #fff; text-decoration: underline; font-weight: 400; }
.t2201-form .link-btn:hover { transform: none; }
.t2201-form .secondary-btn { align-self: flex-start; background: transparent; color: var(--gold-light); border: 1px solid var(--gold); padding: 12px 18px; }

.t2201-form .privacy { background: rgba(255, 255, 255, 0.07); border-radius: 8px; padding: 12px 16px; }
.t2201-form .privacy summary { cursor: pointer; font-weight: 600; }
.t2201-form .privacy div p { font-size: 0.92rem; line-height: 1.65; margin: 10px 0 0; color: #e4eaf6; }
.t2201-form .privacy a { color: var(--gold-light); }

/* Honeypot: off-screen, not display:none (some bots skip display:none fields) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ref-line { font-size: 1.1rem; }

@media (max-width: 700px) {
  .t2201-form fieldset { padding: 18px 16px 20px; }
  .t2201-form .field-row, .t2201-form .field-row.three { grid-template-columns: 1fr; }
}

/* T2201: follow-up question under a ticked area */
.area-detail { margin: 4px 0 14px 28px; padding-left: 14px; border-left: 3px solid var(--gold, #d4af37); }
.area-detail .field { margin-top: 0; }
