:root {
  --ink: #1b1c1a;
  --emerald: #00261b;
  --emerald-soft: #0a3d2e;
  --mint: #bbedd7;
  --muted: #52605b;
  --paper: #faf9f5;
  --line: rgba(10, 61, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

.hub-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 245, 0.94);
  backdrop-filter: blur(14px);
}

.hub-wordmark,
.hub-footer strong {
  color: var(--emerald);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.hub-wordmark {
  font-size: 25px;
}

.hub-header-action {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--emerald-soft);
}

.hub-header-action .material-symbols-outlined {
  font-size: 22px;
}

.hub-main {
  width: min(100% - 40px, 1180px);
  min-height: calc(100vh - 130px);
  margin: 0 auto;
  padding: 112px 0 72px;
}

.hub-hero {
  width: min(100%, 720px);
  margin-bottom: 42px;
}

.hub-hero-desktop-copy {
  display: block;
}

.hub-hero-desktop-copy h1 {
  color: var(--emerald);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
}

.hub-hero-desktop-copy > p:last-child {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hub-hero-copy {
  position: relative;
  width: 100%;
  aspect-ratio: 335 / 384;
  display: none;
  align-items: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: 16px;
  background: var(--emerald);
}

.hub-hero-image,
.hub-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hub-hero-image {
  object-fit: cover;
  object-position: center center;
  opacity: 0.8;
}

.hub-hero-overlay {
  background: linear-gradient(to top, #00261b 0%, rgba(0, 38, 27, 0.72) 34%, rgba(0, 38, 27, 0.4) 58%, rgba(0, 38, 27, 0) 100%);
}

.hub-hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 8px;
  color: #557067;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hub-hero h1,
.section-heading h2,
.consultation h2 {
  margin: 0;
  color: var(--emerald);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hub-hero-copy h1 {
  color: #ffffff;
  font-size: 40px;
  line-height: 1.12;
}

.hub-hero h1 span {
  display: block;
  white-space: nowrap;
}

.hub-hero-content > p:last-child {
  max-width: 350px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.6;
}

.manager-profile {
  width: 100%;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.manager-profile img {
  width: 84px;
  height: 79px;
  aspect-ratio: 900 / 842;
  border-radius: 4px;
  object-fit: cover;
}

.manager-profile figcaption {
  display: grid;
  gap: 2px;
}

.manager-profile strong {
  color: var(--emerald);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  line-height: 1.2;
}

.manager-profile span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manager-title {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  color: #557067;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.manager-profile-desktop {
  width: 170px;
  display: block;
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.manager-profile-desktop img {
  width: 100px;
  height: 94px;
  border-radius: 6px;
}

.manager-profile-desktop figcaption {
  padding-top: 9px;
}

.manager-profile-mobile {
  display: none;
}

.hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.hub-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

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

.section-heading h2 {
  font-size: 29px;
  line-height: 1.15;
}

.division-list {
  display: grid;
  gap: 12px;
}

.division-card {
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 9px 15px 9px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 8px 22px rgba(15, 43, 34, 0.05);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

a.division-card:hover,
a.division-card:focus-visible,
button.division-card:hover,
button.division-card:focus-visible {
  border-color: rgba(10, 61, 46, 0.36);
  transform: translateY(-2px);
}

.division-card > img {
  width: 104px;
  height: 86px;
  border-radius: 6px;
  object-fit: cover;
}

.division-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.division-copy strong {
  color: var(--emerald);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  line-height: 1.15;
}

.division-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.division-copy em {
  width: max-content;
  margin-top: 3px;
  padding: 3px 7px;
  border: 1px solid rgba(10, 61, 46, 0.16);
  border-radius: 4px;
  color: #61706b;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.division-arrow {
  color: #4a7567;
  font-size: 21px;
}

.division-card.is-upcoming {
  background: #f4f4f0;
  box-shadow: none;
}

.partner-card {
  border-color: #2f725f;
  background: #2f725f;
  cursor: pointer;
}

.partner-card .division-copy strong {
  color: #ffffff;
}

.partner-card .division-copy small {
  color: rgba(255, 255, 255, 0.72);
}

.partner-card .division-copy em,
.partner-card .division-arrow {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--mint);
}

.consultation {
  padding: 28px;
  border-radius: 8px;
  background: var(--emerald-soft);
  color: #ffffff;
}

.consultation .eyebrow {
  color: #a0d1bc;
}

.consultation h2 {
  color: #ffffff;
  font-size: 32px;
  line-height: 1.1;
}

.consultation > p:not(.eyebrow) {
  margin: 10px 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.consultation-form {
  display: grid;
  gap: 14px;
}

.consultation-form label {
  display: grid;
  gap: 6px;
}

.consultation-form label > span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 500;
}

.consultation-form input,
.consultation-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
}

.consultation-form select option {
  color: var(--ink);
}

.consultation-form input:focus,
.consultation-form select:focus {
  border-color: var(--mint);
}

.submit-button {
  min-height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  background: var(--mint);
  color: var(--emerald);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

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

.form-status {
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.5;
}

.form-status.is-error {
  color: #ffd0d0;
}

.hub-footer {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.hub-footer strong {
  font-size: 19px;
}

.bottom-nav {
  display: none;
}

@media (max-width: 1024px) {
  .hub-hero {
    width: min(100%, 440px);
  }

  .hub-hero-desktop-copy {
    display: none !important;
  }

  .hub-hero-copy {
    display: flex !important;
  }
}

@media (min-width: 1025px) {
  .hub-hero-desktop-copy {
    display: block !important;
  }

  .hub-hero-copy {
    display: none !important;
  }

  .hub-sidebar {
    position: sticky;
    top: 88px;
  }

  .hub-sidebar {
    z-index: 7;
    align-self: start;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 72px;
  }

  .hub-main {
    padding: 94px 0 42px;
  }

  .hub-hero {
    width: 100%;
    margin-bottom: 24px;
  }

  .hub-hero-desktop-copy {
    display: none;
  }

  .hub-hero-copy {
    display: flex;
    min-height: 0;
    padding: 24px;
  }

  .hub-hero-copy h1 {
    font-size: clamp(28px, 8.2vw, 32px);
    line-height: 1.2;
  }

  .hub-hero-content > p:last-child {
    max-width: 290px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.55;
  }

  .manager-profile-desktop {
    display: none;
  }

  .manager-profile-mobile {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 15px;
    row-gap: 12px;
    padding: 22px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .manager-profile-mobile .manager-title {
    margin: 0;
    color: #557067;
    font-family: "Inter", Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .manager-profile-mobile img {
    width: 96px;
    height: 102px;
    border-radius: 6px;
  }

  .manager-profile-mobile figcaption {
    align-self: center;
    padding-top: 0;
  }

  .manager-profile-mobile strong {
    font-size: 19px;
    line-height: 1.12;
  }

  .manager-profile-mobile span {
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .hub-hero .eyebrow,
  .section-heading .eyebrow {
    margin-bottom: 6px;
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .hub-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hub-sidebar {
    position: static;
    gap: 20px;
  }

  .section-heading h2 {
    font-size: 21px;
    line-height: 1.16;
  }

  .division-card {
    min-height: 92px;
    grid-template-columns: 72px minmax(0, 1fr) 22px;
    gap: 12px;
    padding: 9px 11px 9px 9px;
  }

  .division-card > img {
    width: 72px;
    height: 72px;
  }

  .division-copy strong {
    font-size: 18px;
  }

  .division-copy small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .consultation {
    position: static;
    padding: 24px 18px;
  }

  .consultation h2 {
    font-size: 28px;
  }

  .hub-footer {
    display: grid;
    justify-content: start;
    gap: 4px;
    padding-bottom: 24px;
  }

  .bottom-nav {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    height: 66px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -6px 18px rgba(21, 27, 23, 0.07);
    backdrop-filter: blur(12px);
  }

  .bottom-nav a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    color: #26463c;
  }

  .bottom-nav .material-symbols-outlined {
    font-size: 21px;
  }

  .bottom-nav small {
    font-size: 9px;
  }
}
