:root {
  --ink: #091521;
  --ink-2: #101f30;
  --ink-3: #172a3e;
  --paper: #f3efe7;
  --paper-2: #e9e2d7;
  --paper-3: #d8cdbd;
  --bronze: #79522e;
  --bronze-2: #c7a06a;
  --bronze-3: #ead7ba;
  --slate: #4d5b6d;
  --slate-light: #8e9baa;
  --white: #faf8f3;
  --line-dark: rgba(234, 215, 186, 0.18);
  --line-light: rgba(9, 21, 33, 0.13);
  --shadow: 0 16px 42px rgba(9, 21, 33, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --sans: "Pretendard Variable", Pretendard, "SUIT Variable", SUIT,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "KoPub Batang", "Noto Serif KR", "Nanum Myeongjo", Batang, serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e8b86f;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -120px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 18px;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(84px, 8vw, 112px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: clamp(48px, 6vw, 72px);
  align-items: end;
  margin-bottom: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.display-title,
.section-title,
.card-title,
.policy-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.24;
}

.section-intro {
  margin: 0;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.9;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--bronze-2);
  border-color: var(--bronze-2);
}

.button-primary:hover {
  background: var(--bronze-3);
  border-color: var(--bronze-3);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.34);
  background: transparent;
}

.button-outline:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  background: var(--ink-3);
  border-color: var(--ink-3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 80px;
  color: var(--white);
  background: rgba(9, 21, 33, 0.8);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: height 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(9, 21, 33, 0.95);
  border-color: var(--line-dark);
}

.header-inner {
  width: min(calc(100% - 48px), 1280px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-name {
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--bronze-2);
  border: 1px solid rgba(211, 174, 125, 0.72);
  font-family: var(--serif);
  font-size: 16px;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  color: #c1cad5;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--white);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  color: var(--ink);
  background: var(--bronze-2);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 23px;
  height: 1px;
  display: block;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.mobile-nav {
  position: fixed;
  inset: 78px 0 auto;
  z-index: 99;
  display: grid;
  grid-template-rows: 0fr;
  color: var(--white);
  background: rgba(8, 17, 31, 0.98);
  border-bottom: 1px solid var(--line-dark);
  visibility: hidden;
  transition: grid-template-rows 0.28s ease, visibility 0.28s;
}

.mobile-nav.open {
  grid-template-rows: 1fr;
  visibility: visible;
}

.mobile-nav-inner {
  min-height: 0;
  overflow: hidden;
}

.mobile-nav-list {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 22px 0 28px;
  display: grid;
}

.mobile-nav a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 2px;
  color: #d3dae2;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15px;
  text-decoration: none;
}

/* Home hero */
.home-page {
  color: var(--ink);
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 780px;
  padding: 154px 0 96px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 26%, rgba(157, 112, 65, 0.17), transparent 28%),
    linear-gradient(120deg, #08131f 0%, #0c1a29 54%, #14283c 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, #000 48%, #000);
}

.hero::after {
  content: "法";
  position: absolute;
  right: -0.04em;
  bottom: -0.22em;
  color: rgba(243, 239, 231, 0.025);
  font-family: var(--serif);
  font-size: clamp(330px, 40vw, 620px);
  line-height: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.62fr);
  gap: clamp(58px, 8vw, 108px);
  align-items: end;
}

.hero-badge {
  width: fit-content;
  margin: 0 0 30px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--bronze-3);
  border: 1px solid rgba(199, 160, 106, 0.36);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bronze-2);
  box-shadow: 0 0 0 4px rgba(199, 160, 106, 0.08);
}

.display-title {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.12;
}

.display-title span {
  color: var(--bronze-2);
}

.hero-copy {
  max-width: 650px;
  margin: 31px 0 0;
  color: #aeb9c6;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.85;
}

.hero-copy strong {
  color: var(--white);
  font-weight: 700;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-facts {
  margin: 43px 0 0;
  padding: 0;
  display: flex;
  gap: 14px 30px;
  flex-wrap: wrap;
  color: #98a6b5;
  list-style: none;
  font-size: 13px;
}

.hero-facts li {
  position: relative;
  padding-left: 14px;
}

.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bronze-2);
}

.hero-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(234, 215, 186, 0.28);
  border-radius: var(--radius-md);
  background: rgba(8, 19, 31, 0.64);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-color: var(--bronze-2);
}

.hero-card::before {
  left: -1px;
  top: -1px;
  border-left: 2px solid;
  border-top: 2px solid;
}

.hero-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.hero-card-label {
  margin: 0 0 10px;
  color: var(--bronze-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.45;
}

.prep-list {
  margin: 0 0 28px;
  padding: 0;
  counter-reset: prep;
  list-style: none;
}

.prep-list li {
  counter-increment: prep;
  padding: 14px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: #bbc5d0;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  line-height: 1.6;
}

.prep-list li::before {
  content: "0" counter(prep);
  color: var(--bronze-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
}

.hero-card-phone {
  display: block;
  color: var(--white);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.hero-card-meta {
  margin: 7px 0 0;
  color: #8796a7;
  font-size: 12px;
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 124px;
  padding: 27px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-dark);
}

.trust-item:first-child {
  border-left: 1px solid var(--line-dark);
}

.trust-kicker {
  color: var(--bronze-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.trust-value {
  margin-top: 9px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.trust-note {
  margin-top: 4px;
  color: #7f8fa1;
  font-size: 12px;
}

/* Services */
.services-section {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}

.service-card {
  min-height: 286px;
  padding: 31px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(250, 248, 243, 0.5);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-index {
  color: var(--bronze);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 29px 0 13px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
}

.service-card p {
  margin: 0 0 28px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.85;
}

.service-card .text-link {
  margin-top: auto;
  font-size: 13px;
}

/* Process */
.process-section {
  position: relative;
  color: var(--white);
  background: var(--ink-2);
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -210px;
  top: -230px;
  border: 1px solid rgba(199, 160, 106, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(211, 174, 125, 0.025),
    0 0 0 180px rgba(211, 174, 125, 0.02);
}

.process-section .section-title,
.process-section .section-intro {
  color: var(--white);
}

.process-section .eyebrow,
.calculator-card .eyebrow,
.contact-section .eyebrow {
  color: var(--bronze-2);
}

.process-section .section-intro {
  color: #98a6b5;
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  min-height: 228px;
  padding: 31px 29px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
}

.process-step:first-child {
  border-left: 1px solid var(--line-dark);
}

.process-num {
  color: var(--bronze-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
}

.process-step h3 {
  margin: 48px 0 12px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.process-step p {
  margin: 0;
  color: #91a0b0;
  font-size: 13px;
  line-height: 1.8;
}

/* About */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1fr);
  gap: clamp(52px, 8vw, 105px);
  align-items: center;
}

.photo-frame {
  position: relative;
  padding: 16px 16px 0 0;
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 16px 16px;
  border: 1px solid var(--bronze-2);
}

.photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
}

.about-copy .section-title {
  margin-bottom: 26px;
}

.about-lead {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.65;
}

.about-body {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 2;
}

.career-list {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 22px;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.career-list li {
  padding: 15px 0 15px 17px;
  position: relative;
  color: var(--slate);
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
}

.career-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 6px;
  height: 6px;
  background: var(--bronze);
}

/* Calculator banner */
.calculator-banner {
  padding: 0 0 108px;
  background: var(--white);
}

.calculator-card {
  position: relative;
  padding: 56px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
  color: var(--white);
  border: 1px solid rgba(199, 160, 106, 0.22);
  border-radius: var(--radius-md);
  background:
    linear-gradient(115deg, rgba(8, 17, 31, 0.96), rgba(18, 39, 64, 0.92)),
    var(--ink);
  overflow: hidden;
}

.calculator-card::after {
  content: "算";
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.022);
  font-family: var(--serif);
  font-size: 230px;
  line-height: 1;
}

.calculator-copy,
.calculator-action {
  position: relative;
  z-index: 1;
}

.calculator-card h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.3vw, 43px);
  font-weight: 600;
}

.calculator-card p {
  max-width: 670px;
  margin: 0;
  color: #aeb9c6;
  font-size: 14px;
  line-height: 1.85;
}

.calculator-caption {
  margin-top: 14px !important;
  color: #7f8fa1 !important;
  font-size: 12px !important;
}

/* Columns */
.columns-section {
  background: var(--paper);
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 19px;
}

.column-card {
  min-height: 270px;
  grid-column: span 4;
  padding: 29px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(250, 248, 243, 0.58);
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.column-card:first-child,
.column-card:nth-child(2) {
  grid-column: span 6;
  min-height: 310px;
}

.column-card:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.column-tag {
  color: var(--bronze);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.column-card h3 {
  max-width: 460px;
  margin: 32px 0 14px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.45;
}

.column-card p {
  margin: 0 0 27px;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.8;
}

.column-arrow {
  margin-top: auto;
  color: var(--bronze);
  font-size: 20px;
}

/* FAQ */
.faq-section {
  background: var(--paper-2);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: clamp(58px, 7vw, 82px);
  align-items: start;
}

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

.faq-item {
  border-bottom: 1px solid var(--line-light);
}

.faq-item summary {
  min-height: 80px;
  padding: 22px 44px 22px 0;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  color: var(--bronze);
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 300;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 48px 24px 0;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.9;
}

.faq-answer p {
  margin: 0;
}

/* Contact */
.contact-section {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(120deg, transparent 64%, rgba(199, 160, 106, 0.1));
}

.contact-section .section-title {
  color: var(--white);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(440px, 1fr);
  grid-template-areas:
    "intro call"
    "details call";
  column-gap: clamp(54px, 7vw, 98px);
  row-gap: 42px;
  align-items: start;
}

.contact-info {
  grid-area: intro;
}

.contact-details {
  grid-area: details;
  scroll-margin-top: 92px;
}

.contact-lead {
  margin: 27px 0 37px;
  color: #9aa8b7;
  font-size: 16px;
  line-height: 1.9;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.phone-contact-card {
  position: relative;
  grid-area: call;
  padding: clamp(30px, 4vw, 46px);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), transparent 44%),
    #f7f3eb;
  border: 1px solid rgba(199, 160, 106, 0.44);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.phone-contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-2) 56%, transparent);
}

.phone-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.phone-card-kicker {
  margin: 0;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.phone-card-hours {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #68431f;
  background: rgba(199, 160, 106, 0.16);
  border: 1px solid rgba(121, 82, 46, 0.22);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.phone-contact-card h3 {
  margin: 24px 0 16px;
  font-family: var(--serif);
  font-size: clamp(31px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.32;
}

.phone-card-intro {
  margin: 0;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.85;
}

.phone-prep-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.phone-prep-list li {
  min-height: 76px;
  padding: 15px 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
}

.phone-prep-list li > span {
  color: var(--bronze);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
}

.phone-prep-list p {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.6;
}

.phone-prep-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 14px;
}

.phone-card-button {
  min-height: 78px;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 2px 16px;
  align-items: center;
  color: var(--white);
  background: linear-gradient(105deg, var(--ink), #15283e);
  border: 1px solid var(--ink);
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(9, 21, 33, 0.16);
  transition: background 0.18s ease, transform 0.18s ease;
}

.phone-card-button:hover {
  background: var(--ink-3);
  transform: translateY(-1px);
}

.phone-card-button > span:first-child {
  grid-column: 1;
  color: var(--bronze-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.phone-card-button strong {
  grid-column: 1;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.2;
  white-space: nowrap;
}

.phone-card-button > span:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--bronze-2);
  font-size: 22px;
}

.phone-card-notice {
  margin-top: 15px;
  padding: 14px 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #526074;
  background: rgba(225, 208, 180, 0.25);
  border: 1px solid rgba(121, 82, 46, 0.16);
  border-radius: 6px;
}

.phone-card-notice > span {
  padding: 3px 6px;
  color: #68431f;
  border: 1px solid rgba(121, 82, 46, 0.28);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.phone-card-notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
}

.phone-card-notice strong {
  color: #3f4c5e;
}

.inquiry-form-card {
  position: relative;
  grid-area: form;
  padding: clamp(28px, 4vw, 44px);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), transparent 42%),
    #f7f3eb;
  border: 1px solid rgba(199, 160, 106, 0.42);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.inquiry-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-2) 55%, transparent);
}

.inquiry-form-heading {
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line-light);
}

.inquiry-form-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.form-kicker {
  margin: 0 0 9px;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inquiry-form-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 35px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.form-response-badge {
  flex: 0 0 auto;
  margin-bottom: 4px;
  padding: 7px 10px;
  color: #68431f;
  background: rgba(199, 160, 106, 0.16);
  border: 1px solid rgba(121, 82, 46, 0.22);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.inquiry-form-heading > p:last-child {
  margin: 13px 0 0;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.7;
}

.inquiry-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding-top: 24px;
  scroll-margin-top: 100px;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-field label,
.consent-item label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.form-required {
  color: var(--bronze);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #cfc6b9;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.form-field input {
  min-height: 54px;
  padding: 13px 15px;
}

.form-field textarea {
  min-height: 148px;
  padding: 14px 15px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #5f6d80;
  opacity: 1;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #a79b8b;
}

.form-field input:focus,
.form-field textarea:focus {
  background: var(--white);
  border-color: var(--bronze);
  box-shadow: 0 0 0 4px rgba(121, 82, 46, 0.11);
}

.form-field input:user-invalid,
.form-field textarea:user-invalid,
.form-field [aria-invalid="true"],
.consent-item input:user-invalid {
  border-color: #9c3f36;
}

.consent-item:has(input[aria-invalid="true"]) {
  background: rgba(156, 63, 54, 0.055);
  box-shadow: inset 3px 0 #9c3f36;
}

.form-field small,
.form-counter {
  color: #566477;
  font-size: 12px;
  line-height: 1.6;
}

.form-counter {
  opacity: 0;
  transition: opacity 0.18s ease;
}

.form-counter.is-visible {
  opacity: 1;
}

.form-field small {
  justify-self: end;
}

.form-safety-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 13px 14px;
  color: #5d4b35;
  background: rgba(225, 208, 180, 0.3);
  border: 1px solid rgba(121, 82, 46, 0.18);
  border-radius: 6px;
}

.form-safety-label {
  padding: 3px 6px;
  color: #6b431e;
  border: 1px solid rgba(121, 82, 46, 0.28);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.form-safety-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

.form-safety-note strong {
  color: #49331e;
}

.consent-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #d8d0c5;
  border-bottom: 1px solid #d8d0c5;
}

.consent-item {
  padding: 16px 0;
  border-bottom: 1px solid #ddd6cb;
}

.consent-item:last-child {
  border-bottom: 0;
}

.consent-checkline {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.consent-checkline input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--bronze);
  cursor: pointer;
}

.consent-checkline label {
  min-height: 44px;
  display: grid;
  align-content: start;
  gap: 4px;
}

.consent-title,
.consent-summary {
  display: block;
}

.consent-title {
  font-size: 14px;
  line-height: 1.45;
}

.consent-required {
  display: inline-block;
  margin-right: 5px;
  padding: 2px 5px;
  color: #6a421e;
  background: rgba(199, 160, 106, 0.19);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 1px;
}

.consent-summary {
  color: #566477;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.consent-disclosure {
  margin: 7px 0 0 34px;
}

.consent-disclosure summary {
  position: relative;
  width: max-content;
  padding: 4px 22px 4px 0;
  color: #68431f;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.consent-disclosure summary::-webkit-details-marker {
  display: none;
}

.consent-disclosure summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.consent-disclosure[open] summary::after {
  content: "−";
}

.consent-detail,
.consent-providers {
  margin: 9px 0 2px;
}

.consent-detail {
  display: grid;
  gap: 0;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid #ded7cc;
  border-radius: 6px;
}

.consent-detail > div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 9px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(207, 198, 185, 0.58);
}

.consent-detail > div:last-child {
  border-bottom: 0;
}

.consent-detail dt,
.consent-detail dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

.consent-detail dt {
  color: #364457;
  font-weight: 700;
}

.consent-detail dd {
  color: #5c6879;
}

.consent-providers {
  display: grid;
  gap: 10px;
}

.consent-provider h4 {
  margin: 0 0 5px;
  color: #364457;
  font-size: 12px;
  font-weight: 700;
}

.consent-item a,
.consent-policy-link {
  color: #5d3a1b;
  font-weight: 700;
}

.consent-refusal {
  margin: 0;
  padding: 10px 12px;
  color: #5c6879;
  background: rgba(225, 208, 180, 0.24);
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.7;
}

.consent-policy-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
}

.form-submit {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 19px;
  color: var(--white);
  background: linear-gradient(105deg, var(--ink), #15283e);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(8, 17, 31, 0.15);
  transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.form-submit:hover:not(:disabled) {
  background: var(--ink-3);
  border-color: var(--ink-3);
  transform: translateY(-1px);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-noscript {
  margin: -10px 0 0;
  color: #566477;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.form-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: -8px;
  color: #566477;
  text-align: center;
}

.form-footer-note span {
  flex: 0 0 auto;
  padding: 3px 6px;
  color: #516072;
  border: 1px solid #cfc7bb;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.form-footer-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.form-status {
  margin: 0;
  padding: 15px 17px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.form-status--loading {
  color: #594322;
  background: #f5ead5;
  border-color: #d5b98b;
}

.form-status--success {
  color: #174532;
  background: #e4f2e9;
  border-color: #8bb49b;
}

.form-status--error {
  color: #702b25;
  background: #f8e7e4;
  border-color: #d69a94;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-panel {
  border-top: 1px solid var(--line-dark);
}

.contact-row {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.contact-label {
  color: var(--bronze-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contact-value,
.contact-value a {
  color: #d3dae2;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
}

.contact-value a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.map-links {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-link {
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  color: #c4ced8;
  border: 1px solid var(--line-dark);
  font-size: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.map-link:hover {
  color: var(--white);
  border-color: var(--bronze-2);
}

.privacy-note {
  margin-top: 30px;
  padding: 18px 20px;
  color: #93a1b0;
  border-left: 2px solid var(--bronze-2);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  line-height: 1.8;
}

.privacy-note strong {
  color: #dfe5eb;
}

/* Footer */
.site-footer {
  padding: 48px 0;
  color: #8998a9;
  background: #050c16;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
}

.footer-brand {
  margin: 0 0 12px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.footer-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.85;
}

.footer-links {
  display: flex;
  gap: 12px 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: #9cabb9;
  font-size: 12px;
  text-decoration: none;
}

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

.mobile-contact-bar {
  display: none;
}

/* Reveal enhancement */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Article pages: loaded after legacy page styles */
body.article-page {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  --navy: var(--ink);
  --navy-mid: var(--ink-2);
  --navy-light: var(--ink-3);
  --gold: var(--bronze);
  --gold-light: var(--bronze-2);
  --cream: var(--white);
  --text-muted: var(--slate);
  --text-dim: var(--slate-light);
  --border: var(--line-light);
}

.article-page nav {
  height: 78px;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: rgba(9, 21, 33, 0.96);
  border-color: var(--line-dark);
}

.article-page .nav-logo {
  color: var(--white);
  font-family: var(--serif);
  font-size: 16px;
}

.article-page .nav-logo-mark {
  color: var(--bronze-2);
  border-color: var(--bronze-2);
}

.article-page .nav-back {
  color: #b8c3cf;
}

.article-page .article-hero {
  max-width: none;
  margin: 0;
  padding: 152px max(24px, calc((100vw - 920px) / 2)) 76px;
  color: var(--white);
  background:
    radial-gradient(circle at 83% 30%, rgba(157, 112, 65, 0.15), transparent 29%),
    var(--ink);
  border-color: var(--line-dark);
}

.article-page .article-tag {
  color: var(--bronze-2);
  font-weight: 800;
}

.article-page .article-title {
  max-width: 780px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 600;
  line-height: 1.35;
}

.article-page .article-meta {
  color: #8f9dad;
}

.article-page article {
  background: var(--paper);
}

.article-page .article-body {
  max-width: 790px;
  padding: 84px 24px 108px;
}

.article-page .article-body h2 {
  margin: 62px 0 23px;
  padding-bottom: 15px;
  color: var(--ink);
  border-color: var(--line-light);
  font-family: var(--serif);
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 600;
}

.article-page .article-body p,
.article-page .article-body li {
  color: #3e4d60;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}

.article-page .article-body strong {
  color: var(--ink);
  font-weight: 700;
}

.article-page .highlight-box {
  margin: 36px 0;
  padding: 26px 29px;
  border-color: var(--bronze);
  background: rgba(173, 125, 73, 0.08);
  border-radius: var(--radius-sm);
}

.article-page .article-notice {
  margin: 48px 0 0;
  padding: 22px 24px;
  color: #4a596b;
  border: 1px solid var(--line-light);
  background: rgba(255, 253, 248, 0.72);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.85;
}

.article-page .article-notice strong {
  color: var(--ink);
}

.article-page .article-sources {
  margin: 18px 0 0;
  padding: 22px 24px;
  color: #4a596b;
  border: 1px solid var(--line-light);
  background: rgba(255, 253, 248, 0.72);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.8;
}

.article-page .article-sources > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}

.article-page .article-sources ul {
  margin: 0;
  padding-left: 18px;
}

.article-page .article-sources li {
  margin: 4px 0;
  color: #4a596b;
  font-size: 13px;
  line-height: 1.75;
}

.article-page .article-sources a {
  color: #704a25;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(112, 74, 37, 0.35);
  text-underline-offset: 3px;
}

.article-page .cta-box {
  padding: 41px 32px;
  color: var(--white);
  border-color: var(--line-dark);
  background: var(--ink-2);
  border-radius: var(--radius-md);
}

.article-page .cta-box h3 {
  color: var(--white);
  font-family: var(--serif);
}

.article-page .cta-box p {
  color: #9ba9b8;
}

.article-page .cta-btn {
  color: var(--ink);
  background: var(--bronze-2);
}

.article-page .related-section {
  max-width: 940px;
  padding: 76px 24px 108px;
  border-color: var(--line-light);
}

.article-page .related-title,
.article-page .related-card-title {
  color: var(--ink);
  font-family: var(--serif);
}

.article-page .related-card {
  color: var(--ink);
  border-color: var(--line-light);
  background: rgba(255, 253, 248, 0.62);
  border-radius: var(--radius-md);
}

.article-page .related-card:hover {
  border-color: var(--bronze);
  background: var(--white);
}

.article-page .related-card-tag {
  color: var(--bronze);
}

.article-page footer {
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  color: #8d9bab;
  background: var(--ink);
  border-color: var(--line-dark);
}

.article-page footer span,
.article-page footer a {
  color: #94a2b1;
}

/* Calculator page light-touch visual alignment */
body.calculator-page {
  font-family: var(--sans);
  --navy: #091521;
  --navy-mid: #101f30;
  --navy-light: #172a3e;
  --navy-card: #0d1b2a;
  --gold: #c7a06a;
  --gold-light: #d8bd95;
  --gold-pale: #ead7ba;
  --cream: #faf8f3;
  --text-muted: #8e9baa;
  --text-dim: #708095;
  --border: rgba(199, 160, 106, 0.2);
}

.calculator-page nav {
  background: rgba(9, 21, 33, 0.95);
  border-color: var(--line-dark);
}

.calculator-page h1,
.calculator-page h2,
.calculator-page h3,
.calculator-page .nav-logo,
.calculator-page .footer-brand-name {
  font-family: var(--serif);
}

.calculator-page .calc-disclaimer,
.calculator-page .calc-form,
.calculator-page #calc-result,
.calculator-page .calc-legal,
.calculator-page .calc-history {
  border-radius: var(--radius-md);
}

.calculator-page .source-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Policy and legal notice pages */
body.policy-page {
  color: var(--ink);
  background: var(--paper);
}

.policy-hero {
  padding: 152px 0 76px;
  color: var(--white);
  background: var(--ink);
}

.policy-hero .eyebrow {
  color: var(--bronze-2);
}

.policy-title {
  margin: 0;
  color: var(--white);
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.25;
}

.policy-meta {
  margin: 17px 0 0;
  color: #91a0b0;
  font-size: 13px;
}

.policy-layout {
  width: min(calc(100% - 48px), 920px);
  margin: 0 auto;
  padding: 84px 0 112px;
}

.policy-summary {
  margin-bottom: 54px;
  padding: 29px 31px;
  color: #3e4d60;
  border-left: 3px solid var(--bronze);
  background: rgba(255, 253, 248, 0.74);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: 0 12px 32px rgba(9, 21, 33, 0.06);
  font-size: 15px;
  line-height: 1.9;
}

.policy-section {
  margin-top: 56px;
}

.policy-section h2 {
  margin: 0 0 23px;
  padding-bottom: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}

.policy-section h3 {
  margin: 30px 0 12px;
  color: var(--ink);
  font-size: 16px;
}

.policy-section p,
.policy-section li {
  color: #435266;
  font-size: 14px;
  line-height: 1.9;
}

.policy-section ul,
.policy-section ol {
  padding-left: 22px;
}

.policy-table-wrap {
  margin: 22px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.policy-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 13px;
}

.policy-table th,
.policy-table td {
  padding: 14px 16px;
  border: 1px solid var(--line-light);
  text-align: left;
  vertical-align: top;
  line-height: 1.75;
}

.policy-table th {
  color: var(--ink);
  background: var(--paper-2);
}

.policy-table td {
  color: #48586b;
  background: rgba(255, 253, 248, 0.55);
}

.policy-callout {
  margin: 25px 0;
  padding: 21px 23px;
  color: #405064;
  border: 1px solid var(--line-light);
  background: rgba(255, 253, 248, 0.72);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.85;
}

.policy-callout strong {
  color: var(--ink);
}

.policy-page .site-footer {
  padding-bottom: 48px;
}

@media (max-width: 1020px) {
  .desktop-nav,
  .header-phone {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.6fr);
    gap: 48px;
  }

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

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

  .process-step:nth-child(3) {
    border-left: 1px solid var(--line-dark);
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .column-card,
  .column-card:first-child,
  .column-card:nth-child(2) {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 78px 0;
  }

  .section-heading,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    min-height: auto;
    padding: 126px 0 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-card {
    max-width: 560px;
  }

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

  .trust-item:nth-child(3) {
    border-left: 1px solid var(--line-dark);
    border-top: 1px solid var(--line-dark);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-areas:
      "intro"
      "call"
      "details";
    gap: 44px;
  }

  .photo-frame {
    max-width: 520px;
  }

  .calculator-banner {
    padding-bottom: 78px;
  }

  .calculator-card {
    padding: 42px 34px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .container,
  .header-inner,
  .mobile-nav-list,
  .policy-layout {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header,
  .site-header.is-scrolled {
    height: 66px;
  }

  .header-inner {
    gap: 12px;
  }

  .mobile-nav {
    inset-block-start: 66px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
    font-size: 14px;
  }

  .brand-mark {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }

  .menu-button {
    flex: 0 0 44px;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-title {
    font-size: 34px;
  }

  .section-intro {
    font-size: 14px;
  }

  .hero {
    padding: 104px 0 60px;
  }

  .display-title {
    font-size: clamp(38px, 11.5vw, 54px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-card {
    padding: 25px 22px;
  }

  .hero-card-phone {
    font-size: clamp(23px, 7.3vw, 27px);
    white-space: nowrap;
  }

  .trust-grid,
  .service-grid,
  .process-grid,
  .career-list {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:nth-child(3) {
    min-height: 108px;
    border-left: 1px solid var(--line-dark);
    border-right: 1px solid var(--line-dark);
    border-top: 1px solid var(--line-dark);
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .service-card {
    min-height: 240px;
    padding: 27px 24px;
  }

  .process-step,
  .process-step:first-child,
  .process-step:nth-child(3) {
    min-height: auto;
    border: 1px solid var(--line-dark);
    border-bottom: 0;
  }

  .process-step:last-child {
    border-bottom: 1px solid var(--line-dark);
  }

  .process-step h3 {
    margin-top: 28px;
  }

  .career-list li {
    padding-block: 14px;
  }

  .calculator-card {
    padding: 34px 24px;
  }

  .column-card,
  .column-card:first-child,
  .column-card:nth-child(2) {
    min-height: 235px;
    grid-column: 1 / -1;
  }

  .faq-item summary {
    font-size: 16px;
  }

  .contact-actions .button {
    width: 100%;
  }

  .phone-contact-card {
    padding: 26px 20px;
  }

  .phone-card-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .phone-contact-card h3 {
    margin-top: 20px;
    font-size: 32px;
  }

  .phone-prep-list {
    margin-block: 24px;
  }

  .phone-prep-list li {
    min-height: 70px;
  }

  .phone-card-button strong {
    font-size: clamp(23px, 7.6vw, 29px);
  }

  .contact-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .map-link {
    flex: 1 1 180px;
    justify-content: center;
  }

  .inquiry-form-card {
    padding: 27px 18px;
    border-radius: 8px;
  }

  .inquiry-form-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .form-response-badge {
    margin: 0;
  }

  .form-field-row {
    grid-template-columns: 1fr;
  }

  .form-field textarea {
    min-height: 150px;
  }

  .consent-detail > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .consent-disclosure {
    margin-left: 30px;
  }

  .form-footer-note {
    align-items: flex-start;
  }

  .inquiry-form {
    padding-bottom: 14px;
    scroll-margin-top: 78px;
  }

  body:has(.inquiry-form:focus-within) .mobile-contact-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 105px;
  }

  .policy-page .site-footer {
    padding-bottom: 105px;
  }

  .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .mobile-contact-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 110;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 9px max(12px, env(safe-area-inset-right))
      calc(9px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    gap: 8px;
    background: rgba(9, 21, 33, 0.97);
    border-top: 1px solid var(--line-dark);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-contact-bar a {
    min-height: 46px;
    display: grid;
    place-items: center;
    color: var(--white);
    border: 1px solid var(--line-dark);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-contact-bar a:first-child {
    color: var(--ink);
    background: var(--bronze-2);
    border-color: var(--bronze-2);
  }

  .home-page .mobile-contact-bar {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr);
  }

  .article-page .article-hero {
    padding: 102px 16px 46px;
  }

  .article-page nav {
    height: 66px;
    padding-inline: 16px;
  }

  .article-page .mobile-menu {
    top: 66px;
  }

  .article-page .nav-back {
    display: none;
  }

  .article-page .nav-logo {
    min-width: 0;
    gap: 8px;
    font-size: 13px;
  }

  .article-page .nav-logo-mark {
    flex: 0 0 30px;
  }

  .article-page .hamburger {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
  }

  .article-page .article-title {
    font-size: 34px;
  }

  .article-page .article-body {
    padding: 58px 18px 82px;
  }

  .article-page .article-body p,
  .article-page .article-body li {
    font-size: 15px;
  }

  .article-page .related-section {
    padding-inline: 18px;
  }

  .policy-hero {
    padding: 110px 0 52px;
  }

  .policy-layout {
    padding: 60px 0 84px;
  }

  .policy-summary {
    margin-bottom: 44px;
    padding: 22px 20px;
  }

  .policy-section {
    margin-top: 46px;
  }

  .policy-section h2 {
    font-size: 23px;
    line-height: 1.45;
  }

  .policy-table-wrap {
    border: 1px solid var(--line-light);
    border-radius: var(--radius-sm);
  }

  .policy-table {
    min-width: 580px;
  }

  .policy-table th,
  .policy-table td {
    padding: 11px 12px;
  }

  .calculator-page nav {
    height: 66px;
    padding-inline: 16px;
  }

  .calculator-page .nav-logo {
    min-width: 0;
    gap: 8px;
    font-size: 13px;
  }

  .calculator-page .nav-logo-mark {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
  }

  .calculator-page .nav-back {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .calculator-page .float-call {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .container,
  .header-inner,
  .mobile-nav-list,
  .policy-layout {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand-location {
    display: none;
  }

  .brand {
    font-size: 13px;
  }

  .hero-badge {
    letter-spacing: 0.1em;
  }

  .display-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 31px;
  }

  .hero-card,
  .phone-contact-card {
    padding-inline: 17px;
  }

  .phone-contact-card h3 {
    font-size: 29px;
  }

  .phone-card-button {
    padding-inline: 15px;
  }

  .phone-card-button strong {
    font-size: 22px;
  }

  .phone-card-notice {
    grid-template-columns: 1fr;
  }

  .map-link {
    flex-basis: 100%;
  }

  .mobile-contact-bar a {
    font-size: 12px;
  }

  .article-page .nav-logo,
  .calculator-page .nav-logo {
    font-size: 12px;
  }

  .calculator-page .nav-back {
    padding-inline: 9px;
  }
}

@media (hover: none) {
  .button:hover,
  .service-card:hover,
  .column-card:hover,
  .phone-card-button:hover,
  .article-page .related-card:hover {
    transform: none;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-nav,
  .mobile-contact-bar,
  .hero-actions,
  .contact-actions,
  .map-links,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000 !important;
    background: #fff !important;
  }
}
