:root {
  --cream: #f4f0e8;
  --cream-2: #ede7d9;
  --cream-3: #e2dccc;
  --white: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --slate: #4a4a47;
  --muted: #8b877e;
  --line: #dcd6c6;
  --line-soft: #e8e2d2;
  --accent: #b8501e;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans:
    'Inter Tight', 'Inter', system-ui, -apple-system, Segoe UI, Helvetica,
    Arial, sans-serif;
  --body: 'Inter', 'Inter Tight', system-ui, sans-serif;
  --container: 1280px;
  --header-h: 74px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--sans);
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(48px, 9vw, 100px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
h2 {
  font-size: clamp(36px, 5.4vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h4 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
  color: var(--slate);
  line-height: 1.55;
  font-size: 16px;
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 780px) {
  .container {
    padding: 0 22px;
  }
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow .n {
  color: var(--muted);
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  display: inline-block;
}

::selection {
  background: var(--ink);
  color: var(--cream);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.btn .arrow {
  transition: transform 0.3s var(--ease);
  display: inline-flex;
}
.btn:hover .arrow {
  transform: translate(3px, -3px);
}
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover {
  background: #000;
}
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 240, 232, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
header.site.scrolled {
  border-color: var(--line);
  background: rgba(244, 240, 232, 0.94);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  gap: 0;
}
.brand .w1 {
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand .w2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0 1px 0 1px;
}
.brand .w3 {
  font-weight: 800;
  color: var(--ink);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 2px;
}
.navlinks a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.navlinks a:hover {
  background: rgba(10, 10, 10, 0.06);
}
.navlinks a.active {
  background: var(--ink);
  color: var(--cream);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.25s var(--ease),
    top 0.25s var(--ease);
}
.hamburger span::before {
  top: -6px;
}
.hamburger span::after {
  top: 6px;
}
body.menu-open .hamburger span {
  background: transparent;
}
body.menu-open .hamburger span::before {
  top: 0;
  transform: rotate(45deg);
}
body.menu-open .hamburger span::after {
  top: 0;
  transform: rotate(-45deg);
}
.mobile-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 20px 22px 26px;
  z-index: 55;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
  display: none;
}
body.menu-open .mobile-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-panel a {
  display: block;
  padding: 14px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 500;
  font-size: 17px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-panel a:last-of-type {
  border-bottom: 0;
}
.mobile-panel .btn {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

@media (max-width: 920px) {
  .navlinks,
  .nav-cta .btn-text {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
  .mobile-panel {
    display: block;
  }
}

section {
  padding: 40px 0;
  position: relative;
}
@media (max-width: 780px) {
  section {
    padding: 40px 0;
  }
}
.sec-head {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 880px;
}
@media (max-width: 880px) {
  .sec-head {
    margin-bottom: 25px;
  }
}
.sec-head h2 {
  margin: 0;
}
.sec-head p {
  font-size: 18px;
  max-width: 640px;
  color: var(--slate);
}

.hero {
  padding: 60px 0 90px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 780px) {
  .hero {
    padding: 36px 0 60px;
  }
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 780px) {
  .hero-meta {
    margin-bottom: 40px;
  }
}
.hero-meta .right {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero h1 {
  margin: 0;
  max-width: 14ch;
}
.hero h1 .serif {
  font-weight: 400;
  letter-spacing: -0.04em;
}
.hero-bot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-top: 80px;
}
@media (max-width: 880px) {
  .hero-bot {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 48px;
  }
}
.hero-bot .lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 54ch;
}
.hero-bot .ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero-bot .ctas .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.marquee-wrap {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--cream);
}
@media (max-width: 780px) {
  .marquee-wrap {
    margin-top: 56px;
  }
}
.marquee {
  display: flex;
  gap: 48px;
  padding: 24px 0;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  width: max-content;
}
.marquee .it {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.marquee .it .sep {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}
.marquee .it .ser {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--slate);
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.goals {
  background: var(--white);
  padding: 50px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.goal-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.goal-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}

.goal-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
}

.goal-card p {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 880px) {
  .goals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 15px;
  }
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.3s var(--ease);
}

.svc-card:hover {
  border-color: var(--ink);
}

.svc-card-num {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.svc-card h3 {
  font-size: 26px;
}

.svc-card p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.5;
}

.services-footer-cta {
  margin-top: 48px;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 780px) {
  .services-overview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.services {
  padding-top: 30px;
  padding-bottom: 30px;
}
.svc-list {
  border-top: 1px solid var(--line);
}
.svc {
  display: grid;
  grid-template-columns: 80px 1.1fr 2fr 60px;
  gap: 40px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: default;
  transition:
    background 0.35s var(--ease),
    padding 0.35s var(--ease);
}
.svc:hover {
  background: var(--white);
  padding-left: 18px;
  padding-right: 18px;
}
.svc .nn {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.svc .name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.svc .name .serif {
  font-weight: 400;
  letter-spacing: -0.03em;
}
.svc .desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 62ch;
}
.svc .arrow {
  justify-self: end;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.svc:hover .arrow {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: rotate(-45deg);
}

.svc-column-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.svc-column-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.5;
}

.svc-column-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.svc-column-list li:hover {
  color: var(--ink);
}

@media (max-width: 880px) {
  .svc {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 32px 0;
  }
  .svc:hover {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }
  .svc .arrow {
    display: none;
  }
}

.map-section {
  padding: 50px 0 50px;
  background: var(--ink);
}
.map-section .sec-head h2 {
  color: var(--white);
}
.map-wrap {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 380px;
}
@media (max-width: 880px) {
  .map-wrap {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
}
.map-side {
  padding: 40px;
}
.map-side h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 14px;
}
.map-side p {
  font-size: 15.5px;
  color: var(--slate);
  line-height: 1.55;
}
.map-side a {
  display: inline-block;
  margin-top: 15px;
  font-weight: 700;
}
.map-embed-wrap {
  margin-top: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 250px;
  flex: 1;
  max-height: 300px;
}
.map-embed {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.5) contrast(1);
}

.about-section {
  background: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 780px) {
  .about-section {
    padding: 40px 0;
  }
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 80px;
}

.about-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card-label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.about-card-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.about-highlight {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
}

@media (max-width: 880px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }
}

.advantages-wrap {
  margin-top: 60px;
}

.advantages-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.steps {
  border-top: 1px solid var(--line);
}
.step-row {
  display: grid;
  grid-template-columns: 140px 1.1fr 2fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.3s var(--ease);
}
.step-row:hover {
  background: var(--cream);
}
.step-row .num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.step-row .ttl {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}
.step-row .ttl .serif {
  font-weight: 400;
  letter-spacing: -0.03em;
}
.step-row .desc p {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 54ch;
}
@media (max-width: 880px) {
  .step-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 36px 0;
  }
}

.about-footer-note {
  margin-top: 48px;
  padding: 32px 40px;
  background: var(--cream-2);
  border-radius: 16px;
  border-left: 3px solid var(--ink);
}

.about-footer-note p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 72ch;
}

.contact-section {
  padding: 40px 0;
}
@media (max-width: 780px) {
  .contact-section {
    padding: 30px 0;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 100%;
    gap: 32px;
  }
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 780px) {
  .info-card {
    padding: 28px;
    border-radius: 18px;
  }
}
.info-card .ttl {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.info-card .ttl .serif {
  font-weight: 400;
}
.info-card .lead {
  color: var(--slate);
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.55;
  max-width: 42ch;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 780px) {
  .info-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.info-row:last-child {
  border-bottom: 1px solid var(--line);
}
.info-row .lab {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding-top: 4px;
}
.info-row .val {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}
.info-row a.val {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.info-row a.val:hover {
  border-bottom-color: var(--ink);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
}
@media (max-width: 780px) {
  .form-card {
    padding: 28px;
    border-radius: 18px;
  }
}
.form-card .ttl {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.form-card .lead {
  color: var(--slate);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  font-size: 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  transition: border-color 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  font-weight: 400;
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--ink);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 560px) {
  .row2 {
    grid-template-columns: 1fr;
  }
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
  margin: 14px 0 22px;
  line-height: 1.5;
}
.consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
}
.submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 24px;
}
.submit-row .status {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.submit-row .status.ok {
  color: #1f7a3e;
  font-weight: 600;
}
.submit-row .status.err {
  color: #a8341a;
  font-weight: 600;
}

.field input.field-error,
.field textarea.field-error {
  border-bottom-color: #a8341a !important;
}

.consent input.field-error {
  outline: 2px solid #a8341a;
  outline-offset: 1px;
}

footer.site {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 0 36px;
}
footer.site .brand {
  color: var(--cream);
}
.ft-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.18);
}
@media (max-width: 880px) {
  .ft-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 520px) {
  .ft-top {
    grid-template-columns: 1fr;
  }
}
.ft-top .ft-brand p {
  margin-top: 22px;
  color: rgba(244, 240, 232, 0.7);
  max-width: 38ch;
  font-size: 14.5px;
  line-height: 1.55;
}
.ft-col h5 {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.5);
  font-weight: 600;
  margin: 0 0 18px;
}
.ft-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ft-col a,
.ft-col li {
  color: rgba(244, 240, 232, 0.88);
  font-size: 15px;
  transition: color 0.2s var(--ease);
}
.ft-col a:hover {
  color: var(--cream);
}
.ft-office {
  color: rgba(244, 240, 232, 0.7);
  font-size: 13.5px;
  line-height: 1.55;
}
.ft-meta {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(244, 240, 232, 0.55);
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

.legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.legal-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-content {
  background: var(--cream);
  border: 1px solid var(--line);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  border-radius: 24px;
  padding: 30px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateY(12px);
  transition: transform 0.3s var(--ease);
}
.legal-modal-content a {
  color: blue;
}

.legal-modal-content p {
  font-size: 14px;
}
.legal-modal.active .legal-modal-content {
  transform: translateY(0);
}

.legal-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.legal-modal-close:hover {
  background: var(--ink);
  color: var(--cream);
}

.legal-modal-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.legal-modal-body {
  overflow-y: auto;
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.6;
}

.legal-modal-body h3 {
  font-size: 20px;
  color: var(--ink);
  margin-top: 12px;
}

.legal-modal-body ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-modal-body::-webkit-scrollbar {
  width: 6px;
}
.legal-modal-body::-webkit-scrollbar-track {
  background: var(--line-soft);
  border-radius: 999px;
}
.legal-modal-body::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 999px;
}

@media (max-width: 640px) {
  .legal-modal-content {
    padding: 20px;
    border-radius: 18px;
  }
}
.g-recaptcha {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 380px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
    width: 100%;
  }
}
