* {
  box-sizing: border-box;
}

@font-face {
  font-family: "avenir-lt-w01_35-light1475496";
  src: url("../fonts/avenir-lt-w01_35-light1475496.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "avenir-lt-w01_35-light1475496";
  src: url("../fonts/avenir-lt-w05_35-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "brandon-grot-w01-light";
  src: url("../fonts/brandon-grot-w01-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "brandon-grot-w01-light";
  src: url("../fonts/brandon-grot-w05-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --font-sans: "avenir-lt-w01_35-light1475496", "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "brandon-grot-w01-light", "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --color-text: #171717;
  --color-muted: #565656;
  --color-line: #d8d3ca;
  --color-accent: #ffd95a;
  --color-accent-dark: #d7aa1f;
  --color-panel: #8f989c;
  --color-soft: #eef8f8;
  --color-warm: #f8f5ef;
  --shadow-soft: 0 18px 45px rgba(20, 20, 20, .09);
  --shadow-button: 0 8px 20px rgba(0, 0, 0, .12);
}

body {
  margin: 0;
  color: var(--color-text);
  background: #f7f4ee;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

html {
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font-family: var(--font-sans);
}

.site-shell {
  width: 100%;
  max-width: 1903px;
  margin: 0 auto;
  overflow-x: hidden;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, .04);
  padding-top: 98px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100vw;
  max-width: 1903px;
  transform: translateX(-50%);
  z-index: 1000;
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(24px, 5.4vw, 104px) 22px clamp(24px, 6.3vw, 120px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  gap: clamp(14px, 1.6vw, 32px);
  flex-wrap: nowrap;
}

.brand {
  flex: 0 1 auto;
  font-size: clamp(25px, 1.75vw, 34px);
  line-height: 1.2;
  font-weight: 400;
  white-space: nowrap;
  color: #111;
}

.main-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(14px, 1.7vw, 32px);
}

.nav-link {
  min-width: 138px;
  height: 45px;
  padding: 0 36px;
  border: 1px solid rgba(0, 0, 0, .48);
  border-radius: 24px;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 21px;
  line-height: 43px;
  font-weight: 400;
  white-space: nowrap;
  color: #1d1d1d;
  background: rgba(255, 255, 255, .8);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nav-link.long {
  min-width: 288px;
}

.nav-link.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 8px 18px rgba(255, 217, 90, .28);
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: #171717;
  box-shadow: var(--shadow-button);
  transform: translateY(-1px);
}

.social {
  display: block;
  width: 22px;
  height: 22px;
  margin-left: auto;
  flex: 0 0 auto;
  opacity: .92;
  transition: opacity .18s ease, transform .18s ease;
}

.social:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer {
  padding: 58px 20px 42px;
  text-align: center;
  font-size: 19px;
  line-height: 1.55;
  color: #282828;
  background: #fbfaf7;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.copyright {
  margin-top: 36px;
  font-size: 12px;
  font-weight: 400;
  color: #777;
}

.footer a,
.contact-info a {
  color: inherit;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 48px;
  padding: 0 26px;
  color: #fff;
  background: #111;
  border: 0;
  border-radius: 24px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.button:hover,
.button:focus-visible {
  background: #2a2a2a;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
  transform: translateY(-1px);
}

.home-hero {
  position: relative;
  min-height: clamp(390px, 52vw, 650px);
  background: linear-gradient(180deg, #fff 0%, #fbf8f2 100%);
}

.hero-photo-wrap {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(828px, 72vw);
  height: clamp(300px, 45vw, 615px);
  clip-path: polygon(31% 0, 68% 0, 94% 16%, 100% 43%, 85% 80%, 69% 100%, 31% 100%, 11% 84%, 1% 50%, 11% 23%);
  opacity: 1;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .16));
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.notice-box {
  width: min(614px, calc(100vw - 32px));
  min-height: 0;
  padding: 64px 72px 66px;
  color: #fff;
  background: var(--color-panel);
  text-align: center;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 1.5px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.notice-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.notice-modal.is-open {
  display: flex;
}

.notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .54);
  backdrop-filter: blur(2px);
}

.notice-dialog {
  position: relative;
  z-index: 1;
}

.notice-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

.notice-trigger {
  position: absolute;
  right: 92px;
  bottom: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: 14px var(--font-ui);
  letter-spacing: .5px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.notice-trigger.is-hidden {
  display: none;
}

.notice-box .phone-large {
  display: block;
  margin-top: 14px;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 4px;
}

.intro {
  min-height: 436px;
  padding: 48px 20px 58px;
  text-align: center;
  background: #fff;
}

.intro h1 {
  margin: 0;
  font-size: clamp(40px, 3vw, 54px);
  line-height: 1.25;
  font-weight: 400;
}

.intro h2 {
  margin: 13px 0 26px;
  font-size: clamp(24px, 1.7vw, 31px);
  line-height: 1.2;
  font-weight: 400;
  color: var(--color-muted);
}

.intro p {
  width: min(990px, 100%);
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.7;
  color: #444;
}

.intro-buttons {
  position: relative;
  width: min(1020px, 100%);
  margin: 54px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 28px;
}

.pdf-link {
  justify-self: start;
  display: inline-block;
  padding: 4px;
  border-radius: 8px;
  transition: box-shadow .18s ease, transform .18s ease;
}

.pdf-link img {
  width: 58px;
  height: auto;
}

.pdf-link:hover,
.pdf-link:focus-visible {
  box-shadow: var(--shadow-button);
  transform: translateY(-1px);
}

.search-section {
  background: linear-gradient(180deg, var(--color-soft) 0%, #f8fbfa 100%);
  text-align: center;
}

.search-head {
  padding: 83px 20px 68px;
}

.search-head h2 {
  width: min(900px, 100%);
  margin: 0 auto;
  font-size: clamp(34px, 2.7vw, 46px);
  line-height: 1.28;
  font-weight: 400;
}

.search-head p {
  margin: 30px 0 0;
  font-size: 25px;
  color: var(--color-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 780px;
}

.feature-grid img {
  width: 100%;
  height: 100%;
  min-height: 780px;
  object-fit: cover;
  filter: saturate(.96) contrast(1.02);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 780px;
  padding: 0 52px;
  font-size: 22px;
  line-height: 1.65;
  color: #333;
  background: rgba(255, 255, 255, .72);
}

.feature-copy h3 {
  margin: 0 0 29px;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 400;
  color: #111;
}

.feature-copy .note {
  margin-top: 125px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: #555;
}

.pay-buttons {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.pay-buttons .button {
  min-width: 108px;
  height: 38px;
  font-size: 14px;
}

.page-title {
  text-align: center;
  padding: 48px 20px 22px;
}

.submit-page {
  min-height: 1820px;
  background: linear-gradient(180deg, #fff 0%, var(--color-warm) 100%);
}

.submit-page h1 {
  margin: 0 0 7px;
  font-size: clamp(28px, 2vw, 36px);
  line-height: 1.2;
  font-weight: 400;
}

.submit-page .subtitle {
  margin: 0;
  font-size: clamp(28px, 2.2vw, 38px);
  line-height: 1.1;
  color: var(--color-muted);
}

.submit-page .small-link {
  margin: 12px 0 0;
  font-size: 22px;
  color: #555;
}

.google-form-embed {
  width: min(760px, calc(100% - 32px));
  margin: 12px auto 64px;
  background: #f4eeee;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 12px 0 0;
}

.google-form-header {
  width: min(640px, calc(100% - 32px));
  margin: 0 auto 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #292929;
}

.google-form-header img {
  display: block;
  width: 100%;
  height: auto;
}

.google-form-embed iframe {
  display: block;
  width: min(640px, calc(100% - 32px));
  height: 1660px;
  margin: 0 auto;
  border: 0;
  background: #f4eeee;
}

.about-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
}

.about-top img {
  width: 100%;
  height: 567px;
  object-fit: cover;
  filter: saturate(.96) contrast(1.03);
}

.team-copy-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 428px;
  text-align: center;
  background: #fff;
}

.team-card {
  padding: 42px 54px 48px;
  font-size: 19px;
  line-height: 1.68;
  color: #3d3d3d;
}

.team-card h2,
.staff-card h2 {
  margin: 0 0 23px;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 400;
  color: #151515;
}

.team-card h3,
.staff-card h3 {
  margin: 0 0 24px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--color-muted);
}

.team-card .button {
  margin-top: 28px;
}

.staff-section {
  min-height: 618px;
  padding: 52px 20px 58px;
  background: linear-gradient(180deg, var(--color-soft) 0%, #f6fbfb 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  gap: 26px;
}

.staff-card img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.staff-card h2 {
  margin-top: 16px;
  margin-bottom: 5px;
  font-size: 21px;
}

.staff-card h3 {
  font-size: 16px;
}

.contact-page {
  background: linear-gradient(180deg, #fff 0%, #f4f6f4 100%);
  padding: 92px 0 78px;
}

.contact-layout {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto 55px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: start;
}

.contact-info h1 {
  margin: 0 0 28px;
  font-size: clamp(38px, 3vw, 50px);
  line-height: 1.1;
  font-weight: 400;
}

.circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #171717;
  border-radius: 50%;
  font-weight: 700;
  vertical-align: 6px;
  box-shadow: var(--shadow-button);
}

.contact-info p {
  font-size: 21px;
  line-height: 1.65;
  color: #3e3e3e;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  padding: 13px 12px;
  font: 17px var(--font-sans);
  color: #171717;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1f1f1f;
  box-shadow: 0 0 0 3px rgba(255, 217, 90, .28);
}

.contact-form .wide,
.contact-form textarea,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form textarea {
  height: 160px;
  resize: vertical;
}

.contact-form button {
  height: 48px;
  color: #fff;
  background: #000;
  border: 0;
  font-size: 15px;
  cursor: pointer;
  border-radius: 24px;
  box-shadow: var(--shadow-button);
  transition: background .18s ease, transform .18s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.map-wrap {
  width: min(1000px, calc(100% - 40px));
  height: clamp(320px, 50vw, 500px);
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(85%) brightness(108%);
}

.simple-page {
  min-height: 760px;
  padding: 104px 20px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--color-warm) 100%);
}

.simple-page h1 {
  margin: 0 0 30px;
  font-size: clamp(40px, 3vw, 54px);
  font-weight: 400;
}

.simple-page p {
  width: min(760px, 100%);
  margin: 0 auto 22px;
  font-size: 22px;
  line-height: 1.65;
  color: #444;
}

@media (max-width: 1180px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid img {
    min-height: 520px;
  }

  .feature-copy {
    min-height: 520px;
  }

  .about-top,
  .team-copy-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-top img:last-child,
  .team-copy-row article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1500px) and (min-width: 901px) {
  .site-header {
    padding-inline: 32px;
    gap: 14px;
  }

  .brand {
    font-size: clamp(22px, 1.8vw, 30px);
  }

  .main-nav {
    gap: 14px;
  }

  .nav-link {
    min-width: 106px;
    height: 42px;
    padding-inline: 22px;
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 40px;
  }

  .nav-link.long {
    min-width: 210px;
  }

  .social {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 900px) {
  .site-shell {
    padding-top: 376px;
  }

  .site-header {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .brand {
    flex-basis: 100%;
    text-align: center;
    white-space: normal;
  }

  .main-nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .social {
    margin-left: 0;
  }

  .hero-photo-wrap {
    width: min(92vw, 760px);
    height: clamp(280px, 58vw, 560px);
  }

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

@media (max-width: 760px) {
  .site-header {
    padding-inline: 16px;
  }

  .nav-link,
  .nav-link.long {
    min-width: 0;
    width: calc(50% - 8px);
    padding-inline: 14px;
  }

  .home-hero {
    min-height: 300px;
  }

  .hero-photo-wrap {
    top: 0;
    width: calc(100% - 24px);
    height: clamp(240px, 70vw, 420px);
  }

  .notice-box {
    min-height: 0;
    padding: 54px 22px 34px;
    font-size: clamp(18px, 4.8vw, 25px);
    letter-spacing: 2px;
  }

  .notice-box .phone-large {
    font-size: clamp(28px, 8vw, 39px);
    letter-spacing: 3px;
  }

  .notice-close {
    top: -10px;
    right: -2px;
  }

  .intro h1 {
    font-size: clamp(32px, 7vw, 49px);
  }

  .intro h2,
  .search-head p,
  .submit-page .subtitle,
  .simple-page p {
    font-size: clamp(22px, 4vw, 29px);
  }

  .search-head h2 {
    font-size: clamp(28px, 7vw, 38px);
  }

  .feature-grid,
  .about-top,
  .team-copy-row,
  .staff-section {
    grid-template-columns: 1fr;
  }

  .about-top img:last-child,
  .team-copy-row article:last-child {
    grid-column: auto;
  }

  .feature-grid img,
  .feature-copy {
    min-height: 0;
  }

  .feature-grid img {
    height: clamp(260px, 70vw, 420px);
  }

  .feature-copy {
    padding: 42px 24px;
    font-size: 18px;
  }

  .feature-copy .note {
    margin-top: 40px;
  }

  .google-form-embed {
    width: calc(100% - 16px);
    margin-bottom: 48px;
    padding-top: 8px;
  }

  .google-form-header,
  .google-form-embed iframe {
    width: calc(100% - 16px);
  }

  .google-form-embed iframe {
    height: 1780px;
  }

  .submit-page .small-link {
    font-size: clamp(20px, 4vw, 28px);
  }

  .team-card,
  .staff-card {
    padding-inline: 24px;
  }

  .staff-card img {
    width: min(400px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .contact-page {
    padding: 48px 0 56px;
  }

  .notice-dialog {
    width: calc(100% - 16px);
    transform: scale(1);
    transform-origin: center;
  }

  .notice-trigger {
    right: 24px;
    bottom: 24px;
  }

  .footer {
    padding: 42px 16px 28px;
    font-size: 18px;
  }

  .copyright {
    margin-top: 28px;
  }
}

@media (max-width: 520px) {
  .nav-link,
  .nav-link.long {
    width: 100%;
  }

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