@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap');

:root {
  --ink: #18312d;
  --ink-soft: #294641;
  --paper: #f8f5ee;
  --paper-deep: #eee9dd;
  --white: #fffdf9;
  --muted: #63716d;
  --line: #d8d8ce;
  --accent: #e5684c;
  --accent-dark: #bd4b34;
  --gold: #e9ae4f;
  --blue: #88b9bd;
  --lavender: #aa9cc3;
  --sage: #88aa90;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(29, 55, 49, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(24, 49, 45, 0.055) 1px, transparent 1.5px);
  background-size: 24px 24px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 40%);
  pointer-events: none;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(24, 49, 45, 0.13);
  background: rgba(248, 245, 238, 0.94);
}

.nav-shell {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  transition: transform 180ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(-5deg);
}

.brand-name {
  display: grid;
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.brand-name small {
  margin-top: 2px;
  color: var(--muted);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper-deep);
}

.site-nav .nav-contact {
  margin-left: 4px;
  padding-inline: 16px;
  color: var(--white);
  background: var(--ink);
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact[aria-current="page"] {
  color: var(--white);
  background: var(--accent-dark);
}

:focus-visible {
  outline: 3px solid rgba(229, 104, 76, 0.42);
  outline-offset: 3px;
}

main {
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 27px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h2 {
  max-width: 720px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h3 {
  font-size: 25px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lead {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
}

.hero-home {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.32fr) minmax(330px, 0.68fr);
  align-items: center;
  gap: 70px;
  padding-block: 88px 92px;
}

.hero-copy .eyebrow,
.page-intro .eyebrow {
  margin-bottom: 24px;
}

.hero-copy .lead {
  margin-top: 28px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 9px 24px rgba(24, 49, 45, 0.16);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
}

.network-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(24, 49, 45, 0.18);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.25deg);
}

.network-card::before {
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  top: -64px;
  right: -70px;
  border: 1px solid rgba(229, 104, 76, 0.38);
  border-radius: 48% 52% 65% 35%;
  content: "";
  transform: rotate(18deg);
}

.network-card-label {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.network-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 13px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-inline: -8px;
  padding: 13px 8px;
  border-top: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.network-row:first-of-type {
  border-top: 0;
}

.network-row::after {
  color: var(--muted);
  content: "↗";
  font-size: 15px;
  transition: color 160ms ease, transform 160ms ease;
}

.network-row:hover {
  background: var(--paper);
  transform: translateX(3px);
}

.network-row:hover::after {
  color: var(--accent-dark);
  transform: translate(2px, -2px);
}

.network-dot {
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--dot, var(--accent));
}

.network-row strong {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
}

.network-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.trust-bar {
  color: var(--white);
  background: var(--ink);
}

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

.trust-item {
  min-height: 126px;
  padding: 29px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

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

.trust-item strong {
  display: block;
  color: #fff;
  font-family: "Newsreader", Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
}

.trust-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.section {
  padding-block: 104px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 50px;
}

.section-heading p {
  color: var(--muted);
}

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

.feature-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.78);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--card-accent, var(--gold));
  font-size: 12px;
  font-weight: 700;
}

.feature-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.split-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.callout-art {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--blue);
}

.callout-art svg {
  position: absolute;
  width: min(390px, 95%);
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.callout-copy {
  display: flex;
  padding: 58px;
  flex-direction: column;
  justify-content: center;
}

.callout-copy p {
  margin-top: 20px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--ink);
}

.page-intro {
  padding-block: 88px 72px;
}

.page-intro h1 {
  max-width: 900px;
  font-size: clamp(44px, 6vw, 70px);
}

.page-intro .lead {
  margin-top: 26px;
}

.page-rule {
  height: 1px;
  background: var(--line);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.directory-card {
  position: relative;
  display: flex;
  min-height: 310px;
  grid-column: span 2;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(24, 49, 45, 0.14);
  border-radius: 24px;
  flex-direction: column;
  background: var(--card-color, var(--white));
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.directory-card:nth-child(4),
.directory-card:nth-child(5) {
  grid-column: span 3;
  min-height: 270px;
}

.directory-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.borough-code {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(24, 49, 45, 0.22);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directory-card h2 {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-size: 36px;
}

.directory-card p {
  position: relative;
  z-index: 1;
  max-width: 350px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13px;
}

.directory-url {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.borough-shape {
  position: absolute;
  width: 145px;
  height: 145px;
  top: -43px;
  right: -28px;
  border: 1px solid rgba(24, 49, 45, 0.2);
  border-radius: 41% 59% 63% 37%;
  transform: rotate(22deg);
}

.data-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 34px;
  padding: 24px 26px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 253, 249, 0.75);
}

.data-note svg {
  width: 28px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.data-note p {
  color: var(--ink-soft);
  font-size: 14px;
}

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

.step {
  display: grid;
  grid-template-columns: 90px minmax(220px, 0.5fr) minmax(300px, 1fr);
  gap: 34px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
  counter-increment: steps;
}

.step::before {
  color: var(--accent-dark);
  content: "0" counter(steps);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step h3 {
  font-size: 27px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.reassurance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  margin-top: 46px;
  padding: 38px 42px;
  border-radius: 22px;
  color: var(--white);
  background: var(--ink);
}

.reassurance h2 {
  font-size: 34px;
}

.reassurance p {
  max-width: 680px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

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

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  padding: 38px 32px 42px;
  border-left: 1px solid var(--line);
}

.service-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.service-item:last-child {
  padding-right: 0;
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 56px;
  place-items: center;
  border-radius: 16px;
  background: var(--icon-color, var(--gold));
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service-item p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  margin-top: 72px;
  padding: 46px;
  border: 1px solid rgba(24, 49, 45, 0.14);
  border-radius: 26px;
  background: var(--blue);
}

.service-cta p {
  max-width: 670px;
  margin-top: 10px;
  color: var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 70px;
  padding-bottom: 104px;
}

.contact-sidebar {
  padding-top: 5px;
}

.contact-block {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.contact-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact-label {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-block p,
.contact-block a {
  font-size: 14px;
}

.contact-block a {
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.contact-form {
  padding: 38px;
  border: 1px solid rgba(24, 49, 45, 0.16);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form h2 {
  margin-bottom: 24px;
  font-size: 34px;
}

label {
  display: block;
  margin: 19px 0 7px;
  font-size: 12px;
  font-weight: 700;
}

input,
textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c9cbc3;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 104, 76, 0.14);
  outline: 0;
}

::placeholder {
  color: #8d9693;
}

button.button {
  margin-top: 22px;
  cursor: pointer;
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
}

.site-footer {
  padding-block: 56px 42px;
  color: rgba(255, 255, 255, 0.78);
  background: #102824;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 70px;
  padding-bottom: 45px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-name small {
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand p {
  max-width: 340px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-directories-label {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.footer-links a {
  width: fit-content;
  font-size: 12px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

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

@media (max-width: 900px) {
  .nav-shell {
    padding-block: 15px;
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    order: 2;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .site-nav .nav-contact {
    margin-left: 0;
  }

  .hero-home {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 60px;
    padding-block: 72px;
  }

  .network-card {
    width: min(100%, 560px);
    transform: none;
  }

  .section-heading,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 38px;
  }

  .directory-card {
    grid-column: span 3;
  }

  .directory-card:nth-child(5) {
    grid-column: 2 / span 4;
  }

  .step {
    grid-template-columns: 60px minmax(180px, 0.45fr) minmax(260px, 1fr);
    gap: 20px;
  }

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

  .service-item,
  .service-item:first-child,
  .service-item:last-child {
    display: grid;
    grid-template-columns: 70px 1fr;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .service-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 32px, 1120px);
  }

  .nav-shell {
    min-height: auto;
  }

  .brand-name {
    font-size: 17px;
  }

  .site-nav {
    margin-inline: -16px;
    padding-inline: 12px;
    gap: 2px;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 11px;
  }

  .site-nav .nav-contact {
    padding-inline: 12px;
  }

  h1,
  .page-intro h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .hero-home,
  .page-intro {
    padding-block: 58px;
  }

  .hero-copy .eyebrow,
  .page-intro .eyebrow {
    margin-bottom: 19px;
  }

  .lead {
    font-size: 17px;
  }

  .section {
    padding-block: 74px;
  }

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

  .network-card {
    padding: 22px;
  }

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

  .trust-item {
    min-height: auto;
    padding: 23px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

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

  .split-callout {
    grid-template-columns: 1fr;
  }

  .callout-art {
    min-height: 260px;
  }

  .callout-copy {
    padding: 36px 28px 40px;
  }

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

  .directory-card,
  .directory-card:nth-child(4),
  .directory-card:nth-child(5) {
    min-height: 250px;
    grid-column: 1;
  }

  .step {
    grid-template-columns: 40px 1fr;
  }

  .step p {
    grid-column: 2;
  }

  .reassurance,
  .service-cta {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 26px;
  }

  .service-item,
  .service-item:first-child,
  .service-item:last-child {
    grid-template-columns: 60px 1fr;
  }

  .service-icon {
    width: 46px;
    height: 46px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer-top {
    padding-bottom: 34px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

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