:root {
  --ink: #14213d;
  --ink-2: #1b2a4a;
  --paper: #edeff1;
  --paper-2: #e3e6e9;
  --brass: #a9812e;
  --brass-light: #c9a24e;
  --oxblood: #7a2331;
  --text: #181b20;
  --muted: #585d66;
  --white: #fcfbf9;
  --rule: rgba(20, 33, 61, 0.14);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}
p {
  margin: 0 0 12px 0;
}
p:last-child {
  margin-bottom: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  color: var(--ink);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.mono {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes stamp-in {
  0% {
    transform: scale(1.6) rotate(-8deg);
    opacity: 0;
  }
  70% {
    transform: scale(0.97) rotate(1deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-1.2%, -1%);
  }
}

/* ---------- Letterhead / Nav ---------- */
.letterhead {
  background: var(--ink);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease;
}
.letterhead.scrolled {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}
.letterhead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  transition: padding 0.25s ease;
}
.letterhead.scrolled .wrap {
  padding-top: 11px;
  padding-bottom: 11px;
}
.brand {
  font-family: "Fraunces", serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--white);
}
.brand small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--brass-light);
  margin-top: 3px;
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.15s ease;
  position: relative;
}
nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--brass-light);
  transition: width 0.2s ease;
}
nav a:not(.btn):hover::after {
  width: 100%;
}
nav a:hover {
  color: var(--white);
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 32px 22px;
}
.mobile-menu a:not(.btn) {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}
.mobile-menu .btn {
  margin-top: 14px;
  justify-content: center;
}
.mobile-menu.open {
  display: flex;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-brass {
  background: var(--brass);
  color: var(--ink);
}
.btn-brass:hover {
  background: var(--brass-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(169, 129, 46, 0.35);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  border-color: rgba(20, 33, 61, 0.35);
  color: var(--ink);
}
.btn-outline-dark:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: -6%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.skyline-light {
  animation: pulse 3.4s ease-in-out infinite;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 26, 48, 0.93) 0%,
    rgba(16, 26, 48, 0.86) 45%,
    rgba(12, 19, 36, 0.97) 100%
  );
}
.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 34px
  );
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
}
.hero-copy {
  max-width: 640px;
}
.ref-tag {
  font-size: 11px;
  color: var(--brass-light);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.7s ease both;
}
.ref-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass-light);
  display: inline-block;
  animation: pulse 2.2s ease-in-out infinite;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.14;
  max-width: 16ch;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero p.lede {
  margin-top: 24px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.3s both;
}

/* ---------- Docket / stats strip ---------- */
.docket {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
/* .docket .wrap{ display:grid; grid-template-columns:repeat(4,1fr); } */
.docket .wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.docket-item {
  padding: 30px 28px;
  border-left: 1px solid var(--rule);
}
.docket-item:first-child {
  border-left: none;
  padding-left: 0;
}
.docket-num {
  font-family: "Fraunces", serif;
  font-size: 32px;
  color: var(--ink);
  font-weight: 600;
}
.docket-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ---------- Section shell ---------- */
section {
  padding: 72px 0;
  border-top: 1px solid var(--rule);
}
section:first-of-type {
  border-top: none;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--oxblood);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--oxblood);
  display: inline-block;
}
.section-head {
  max-width: 640px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 40px;
  align-items: start;
}
.about-copy p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 44ch;
}
.credentials {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.credential {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
}
.credential .mark {
  color: var(--brass);
  font-family: "Fraunces", serif;
  font-weight: 700;
  flex-shrink: 0;
}

.about-media {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 28px;
}
.about-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.6s ease;
}
.about-media:hover img {
  transform: scale(1.06);
}
.about-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(16, 26, 48, 0.88), transparent);
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 16px;
}

.register {
  background: var(--ink);
  color: var(--white);
  padding: 36px;
  border-radius: var(--radius);
}
.register h3 {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 18px;
}
.register-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}
.register-row:last-child {
  border-bottom: none;
}
.register-row span:first-child {
  color: rgba(255, 255, 255, 0.65);
}
.register-row span:last-child {
  font-family: "IBM Plex Mono", monospace;
  color: var(--brass-light);
}

/* ---------- Practice areas (Articles) ---------- */
.practice {
  background: var(--white);
}
.practice-banner {
  margin-top: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 190px;
}
.practice-banner img,
.practice-banner svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.practice-banner:hover img,
.practice-banner:hover svg {
  transform: scale(1.04);
}
.practice-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(16, 26, 48, 0.82) 0%,
    rgba(16, 26, 48, 0.35) 70%
  );
  color: var(--white);
  padding: 0 40px;
  font-family: "Fraunces", serif;
  font-size: 20px;
  max-width: 26ch;
}
.articles {
  margin-top: 16px;
  border-top: 1px solid var(--rule);
}
.article-row {
  display: grid;
  grid-template-columns: 110px 1fr 1.4fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition:
    background 0.25s ease,
    padding-left 0.25s ease;
}
.article-row:hover {
  background: rgba(169, 129, 46, 0.06);
  padding-left: 10px;
}
.article-no {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 0.05em;
}
.article-row h3 {
  font-size: 20px;
}
.article-row p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Workflow ---------- */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  position: relative;
}
.workflow-item {
  padding: 0 26px 0 0;
  position: relative;
}
.workflow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -2px;
  width: 100%;
  border-top: 1px dashed var(--rule);
}
.workflow-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--white);
  background: var(--ink);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.workflow-item:hover .workflow-num {
  background: var(--brass);
  color: var(--ink);
  transform: scale(1.08);
}
.workflow-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.workflow-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- Calculator ---------- */
.calculator {
  background: var(--paper-2);
}
.calc-card {
  margin-top: 36px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calc-inputs label {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.03em;
}
.calc-inputs input {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.calc-inputs input:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(169, 129, 46, 0.15);
  outline: none;
}
.calc-result {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.3s ease;
}
.calc-result-empty {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}
.calc-total {
  font-family: "Fraunces", serif;
  font-size: 38px;
  color: var(--brass-light);
  animation: fadeUp 0.5s ease both;
}
.calc-breakdown {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}
.calc-disclaimer {
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--muted);
  max-width: 90ch;
  line-height: 1.6;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--ink);
  color: var(--white);
}
.testimonials .eyebrow {
  color: var(--brass-light);
}
.testimonials .eyebrow::before {
  background: var(--brass-light);
}
.testimonials .section-head h2 {
  color: var(--white);
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}
.t-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.t-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.07);
}
.t-quote {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
}
.t-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--brass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 13px;
  color: var(--brass-light);
  flex-shrink: 0;
}
.t-name {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}
.t-role {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: var(--white);
}
.cta-strip-bg {
  position: absolute;
  inset: -6%;
}
.cta-strip-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cta-strip-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(16, 26, 48, 0.94),
    rgba(122, 35, 49, 0.72)
  );
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  color: var(--white);
  font-size: 26px;
  max-width: 16ch;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
}
.footer-grid p,
.footer-grid a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-grid a:hover {
  color: var(--white);
}
.footer-brand {
  font-family: "Fraunces", serif;
  color: var(--white);
  font-size: 18px;
  margin-bottom: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.disclaimer-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  max-width: 640px;
  margin-top: 6px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.social-links a:hover {
  border-color: var(--brass-light);
  color: var(--brass-light);
  transform: translateY(-2px);
}
.social-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.social-links svg.icon-instagram {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .docket .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .docket-item:nth-child(2) {
    border-left: 1px solid var(--rule);
  }
  .docket-item:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-media img {
    height: 180px;
  }
  .practice-banner {
    height: 150px;
  }
  .practice-banner-text {
    font-size: 17px;
    padding: 0 24px;
  }
  .article-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .workflow-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
  .workflow-item:nth-child(2)::after {
    display: none;
  }
  .calc-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .t-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .brand {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .brand img {
    height: 36px !important;
  }
}

/* ---------- Consultation Modal ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 19, 36, 0.72);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  animation: fadeUp 0.3s ease both;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.modal-close:hover {
  color: var(--ink);
}
.modal-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
  padding-right: 24px;
}
.modal-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 22px;
}
.form-field {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
}
.form-field span {
  display: block;
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
}
.form-field textarea {
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}
#consultForm .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
#consultForm .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.form-status {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
}
.form-status.success {
  color: #2e7d32;
}
.form-status.error {
  color: var(--oxblood);
}

/* ==========================================================================
   Standalone SEO landing pages (e.g. gratuity-calculator-uae.php)
   New, additive component classes only — nothing above this block is
   touched, so the homepage is unaffected.
   ========================================================================== */

/* ---------- Page intro (no dark hero image, just letterhead copy) ---------- */
.page-intro {
  background: var(--white);
  padding-top: 56px;
}
.page-intro .section-head {
  max-width: 720px;
}
.page-intro p.lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}
.page-intro .hero-actions {
  margin-top: 30px;
  animation: none;
}

/* ---------- Data table ---------- */
.data-table-wrap {
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: var(--white);
}
table.data-table th,
table.data-table td {
  text-align: left;
  padding: 14px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--rule);
}
table.data-table th {
  background: var(--ink);
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
table.data-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}
table.data-table td:last-child {
  color: var(--muted);
}
table.data-table tr:last-child td {
  border-bottom: none;
}
table.data-table tbody tr:hover {
  background: rgba(169, 129, 46, 0.06);
}

/* ---------- Workflow grid variant for a 5-step process ---------- */
.workflow-grid.workflow-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 0 20px;
}
.workflow-grid.workflow-grid-5 .workflow-item {
  padding-right: 16px;
}

/* ---------- Inline text links inside body copy ---------- */
.copy-block a,
.article-row p a,
.faq-answer-inner a {
  color: var(--brass);
  text-decoration: underline;
  text-decoration-color: rgba(169, 129, 46, 0.4);
  text-underline-offset: 2px;
}
.copy-block a:hover,
.article-row p a:hover,
.faq-answer-inner a:hover {
  text-decoration-color: var(--brass);
}

/* ---------- Small note under a CTA button ---------- */
.cta-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.cta-strip .cta-note {
  color: rgba(255, 255, 255, 0.55);
}
.cta-inner-copy p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  max-width: 42ch;
}
.cta-inner-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media (max-width: 900px) {
  .cta-inner-action {
    align-items: flex-start;
  }
}

/* ---------- Page intro (text + side image) ---------- */
.page-intro .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.page-intro-media {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.page-intro-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.6s ease;
}
.page-intro-media:hover img {
  transform: scale(1.06);
}

/* ---------- Simple horizontal process/flow diagram ---------- */
.flow-diagram {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px;
  background: var(--paper-2);
  border-radius: var(--radius);
}
.flow-step {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.flow-step:last-child {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.flow-arrow {
  color: var(--brass);
  font-size: 15px;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .flow-diagram {
    flex-direction: column;
    align-items: stretch;
  }
  .flow-step {
    text-align: center;
    white-space: normal;
  }
  .flow-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
}

/* ---------- Trust grid (4-up "Why choose us" cards) ---------- */
.trust-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.trust-card .trust-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(169, 129, 46, 0.1);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.trust-card .trust-mark svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.trust-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
}

/* ---------- Inline / mid-page CTA banner ---------- */
.inline-cta {
  margin-top: 40px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.inline-cta h3 {
  color: var(--white);
  font-size: 21px;
  margin-bottom: 6px;
}
.inline-cta p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  max-width: 46ch;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: "Fraunces", serif;
  font-size: 16.5px;
  color: var(--ink);
  cursor: pointer;
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--brass);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 74ch;
}

/* ---------- Documents checklist ---------- */
.doc-checklist {
  margin-top: 28px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.doc-checklist li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14.5px;
  color: var(--text);
}
.doc-checklist li .mark {
  color: var(--brass);
  font-family: "Fraunces", serif;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Body copy sections shared on landing pages ---------- */
.copy-block p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 74ch;
}
.copy-block ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  max-width: 74ch;
}
.copy-block ul li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.copy-block ul li .mark {
  color: var(--brass);
  font-family: "Fraunces", serif;
  font-weight: 700;
  flex-shrink: 0;
}
.dateline {
  margin-top: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .doc-checklist {
    grid-template-columns: 1fr;
  }
  .inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  /* Landing pages (gratuity-calculator-uae.php etc.) only — scoped to
     body.landing-page so the homepage's own mobile layout is untouched. */
  .page-intro .wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .page-intro-media img {
    height: 200px;
  }
  body.landing-page .workflow-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  body.landing-page .workflow-item:not(:last-child)::after {
    display: none;
  }
  body.landing-page h1,
  body.landing-page h2,
  body.landing-page h3 {
    line-height: 1.3;
    margin-bottom: 12px;
  }
}
@media (max-width: 560px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
