:root {
  --green-900: #143c2d;
  --green-800: #1f563f;
  --green-700: #287049;
  --green-500: #3d9a62;
  --leaf: #78b857;
  --gold: #d9b35a;
  --sky: #d7e9ef;
  --ink: #17231e;
  --muted: #5a665f;
  --line: #dfe7e1;
  --paper: #ffffff;
  --mist: #f4f8f5;
  --stone: #eef1ec;
  --shadow: 0 18px 50px rgba(21, 47, 34, 0.12);
  --shadow-soft: 0 10px 28px rgba(21, 47, 34, 0.1);
  --header-height: 82px;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-family, "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif);
  line-height: 1.8;
  text-size-adjust: 100%;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 225, 0.76);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(18, 38, 29, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(430px, 46vw);
  min-width: 260px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  filter: saturate(0.98);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 11px;
  color: var(--green-900);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 5px;
  height: 2px;
  content: "";
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-700);
  background: rgba(120, 184, 87, 0.1);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .nav-contact {
  margin-left: 4px;
  padding: 0 18px;
  color: #fff;
  background: var(--green-800);
  box-shadow: 0 8px 18px rgba(31, 86, 63, 0.2);
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact:focus-visible {
  color: #fff;
  background: var(--green-700);
}

.site-nav .nav-contact::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--green-900);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-height) + 74px) 0 88px;
  color: #fff;
}

.hero-media,
.hero-fallback,
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: var(--green-900);
}

.hero-fallback {
  background:
    linear-gradient(90deg, rgba(20, 60, 45, 0.72), rgba(20, 60, 45, 0.26)),
    url("../video/fgt-latest-sites-poster.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 800ms ease;
}

.hero-video:not(.is-loaded) {
  opacity: 0;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 31, 22, 0.78) 0%, rgba(10, 31, 22, 0.52) 47%, rgba(10, 31, 22, 0.34) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(7, 29, 20, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 870px;
  margin: 0;
  font-size: clamp(2.4rem, 6.2vw, 5.7rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  line-height: 2;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  color: var(--green-900);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button::after,
.text-link::after {
  content: "→";
  margin-left: 10px;
  line-height: 1;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--green-700);
  box-shadow: 0 14px 34px rgba(7, 29, 20, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-800);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--green-900);
  background: #fff;
}

.button-quiet {
  color: var(--green-900);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.button-light {
  color: var(--green-900);
  background: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  width: 30px;
  height: 48px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 9px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  transform: translateX(-50%);
}

.hero-scroll span {
  width: 4px;
  height: 9px;
  background: #fff;
  border-radius: 999px;
  animation: scrollHint 1.7s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(16px);
  }
}

.section,
.section-band {
  padding: 96px 0;
}

.section-band {
  background: var(--mist);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1fr);
  gap: 54px;
  align-items: center;
}

.intro-copy h2,
.section-heading h2,
.download-inner h2,
.contact-inner h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.intro-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.contact-inner p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-visual {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.intro-visual::before {
  position: absolute;
  inset: 14px;
  z-index: 2;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  pointer-events: none;
}

.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  color: var(--green-800);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

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

.services-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f7faf6;
}

.services-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("../img/services-tree-bg.png") center / cover no-repeat;
  opacity: 0.8;
}

.services-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(244, 248, 245, 0.46));
}

.business-link-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.business-link-primary {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  border-radius: 6px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.business-link-primary:hover,
.business-link-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.business-link-primary span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
}

.business-link-primary strong {
  font-size: 1.35rem;
  line-height: 1.4;
}

.business-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.business-link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  color: var(--green-900);
  font-weight: 800;
  text-decoration: none;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.business-link-grid a::after {
  content: "→";
  color: var(--green-700);
  margin-left: 10px;
}

.business-link-grid a:hover,
.business-link-grid a:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(61, 154, 98, 0.44);
}

.feature-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(61, 154, 98, 0.45);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.feature-card-body {
  padding: 24px;
}

.feature-card-body span {
  display: inline-block;
  color: var(--gold);
  font-weight: 900;
}

.feature-card h3,
.managed-card h3 {
  margin: 8px 0 0;
  color: var(--green-900);
  font-size: 1.28rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.feature-card p,
.managed-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.work-section {
  overflow: hidden;
}

.image-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 420px);
  gap: 18px;
  overflow-x: auto;
  padding: 2px 0 18px;
  scrollbar-color: var(--green-700) var(--stone);
  scroll-snap-type: x mandatory;
}

.image-rail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
}

.news-layout {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 54px;
  align-items: start;
}

.news-section {
  background:
    linear-gradient(135deg, rgba(244, 248, 245, 0.96), rgba(226, 239, 229, 0.92)),
    radial-gradient(circle at 88% 20%, rgba(120, 184, 87, 0.16), transparent 30%);
}

.news-heading {
  margin: 0;
  text-align: left;
}

.news-heading .button {
  margin-top: 28px;
}

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

.news-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 82px;
  padding: 18px 22px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 47, 34, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.news-item:hover,
.news-item:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(61, 154, 98, 0.42);
  box-shadow: var(--shadow-soft);
}

.news-item time {
  color: var(--green-700);
  font-weight: 900;
}

.news-item span {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.6;
}

.managed-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.managed-card {
  display: block;
  min-height: 100%;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 47, 34, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.managed-card:hover,
.managed-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(61, 154, 98, 0.42);
  box-shadow: var(--shadow-soft);
}

.managed-image {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 14px;
  background: var(--stone);
  border-radius: 6px;
}

.managed-image img {
  width: min(180px, 100%);
}

.download-strip {
  padding: 40px 0;
  background: var(--green-900);
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
}

.download-inner .eyebrow,
.contact-inner .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.download-inner h2,
.contact-inner h2 {
  color: #fff;
}

.download-inner a {
  display: block;
  width: min(400px, 100%);
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease;
}

.download-inner a:hover,
.download-inner a:focus-visible {
  transform: translateY(-3px);
}

.quick-links {
  padding: 54px 0;
  background: var(--paper);
}

.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.quick-link-grid a {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 18px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.quick-link-grid a:hover,
.quick-link-grid a:focus-visible {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.quick-link-grid img {
  max-height: 200px;
  object-fit: contain;
}

.contact-section {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(11, 48, 29, 0.66), rgba(31, 92, 53, 0.54)),
    url("../img/contact-forest-bg.png") center 42% / cover no-repeat;
}

.contact-inner {
  max-width: 760px;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.86);
}

.contact-inner .button {
  margin-top: 30px;
}

.site-footer {
  padding: 58px 0 24px;
  color: rgba(255, 255, 255, 0.82);
  background: #10241d;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px minmax(260px, 0.9fr);
  gap: 42px;
  align-items: start;
}

.footer-brand img {
  width: min(440px, 100%);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.footer-brand p {
  max-width: 420px;
  margin: 20px 0 0;
}

.footer-nav {
  display: grid;
  gap: 9px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.footer-social {
  padding: 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.instagram-label {
  margin-bottom: 16px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.qr-grid a {
  display: block;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.qr-grid img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1060px) {
  :root {
    --header-height: 74px;
  }

  .brand {
    width: min(360px, 54vw);
    min-width: 220px;
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: flex-start;
    padding: 0 12px;
  }

  .site-nav .nav-contact {
    margin: 8px 0 0;
  }

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

  .business-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .news-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-heading {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    width: min(295px, 68vw);
    min-width: 0;
  }

  .hero {
    min-height: 88vh;
    padding: calc(var(--header-height) + 54px) 0 72px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.85;
  }

  .hero-actions,
  .download-inner,
  .section-heading-row,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section,
  .section-band {
    padding: 70px 0;
  }

  .intro-grid {
    gap: 32px;
  }

  .service-grid,
  .business-link-grid,
  .managed-grid,
  .quick-link-grid {
    grid-template-columns: 1fr;
  }

  .business-link-panel {
    padding: 20px;
  }

  .feature-card img {
    height: 210px;
  }

  .image-rail {
    grid-auto-columns: 82%;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .download-inner {
    display: flex;
    text-align: center;
  }

  .quick-link-grid a {
    min-height: 210px;
  }

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

@media (max-width: 430px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand {
    width: 250px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-kicker,
  .eyebrow {
    font-size: 0.72rem;
  }

  .intro-copy h2,
  .section-heading h2,
  .download-inner h2,
  .contact-inner h2 {
    font-size: 1.72rem;
  }

  .feature-card-body,
  .managed-card {
    padding: 20px;
  }

  .qr-grid {
    gap: 8px;
  }

  .qr-grid a {
    padding: 5px;
  }
}

.profile-page {
  --company-nav-height: 67px;
  background: #fbfcfa;
}

.company-top-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 30;
  margin-top: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(21, 47, 34, 0.08);
  backdrop-filter: blur(12px);
}

.company-top-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.company-top-nav-inner::-webkit-scrollbar {
  display: none;
}

.company-top-nav-inner a {
  flex: 1 0 auto;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.company-top-nav-inner a:hover,
.company-top-nav-inner a:focus-visible,
.company-top-nav-inner a[aria-current="page"] {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}

.profile-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 74px 0 82px;
  color: #fff;
  isolation: isolate;
}

.profile-hero-media,
.profile-hero-shade {
  position: absolute;
  inset: 0;
}

.profile-hero-media {
  z-index: -3;
  background: var(--green-900);
}

.profile-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 32, 24, 0.86) 0%, rgba(15, 48, 34, 0.66) 52%, rgba(15, 48, 34, 0.32) 100%),
    linear-gradient(180deg, rgba(5, 19, 14, 0.3) 0%, rgba(5, 19, 14, 0.58) 100%);
}

.profile-hero-inner {
  display: block;
}

.profile-hero-copy h1 {
  margin: 0;
  font-size: 4.6rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.profile-hero-copy p:not(.hero-kicker) {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 2;
}

.profile-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.profile-anchor-nav {
  position: sticky;
  top: calc(var(--header-height) + var(--company-nav-height));
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(21, 47, 34, 0.07);
  backdrop-filter: blur(12px);
}

.profile-anchor-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.profile-anchor-inner::-webkit-scrollbar {
  display: none;
}

.profile-anchor-inner a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.profile-anchor-inner a:hover,
.profile-anchor-inner a:focus-visible {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}

.profile-section {
  padding: 96px 0;
}

.profile-section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.profile-section-heading-left {
  margin: 0;
  text-align: left;
}

.profile-section-heading h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 2.8rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.profile-section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.office-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.office-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.office-item {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 47, 34, 0.06);
}

.office-item-featured {
  border-color: rgba(61, 154, 98, 0.42);
  background: linear-gradient(180deg, #fff, #f3f8f4);
}

.office-label {
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 900;
}

.office-item h3 {
  margin: 8px 0 0;
  color: var(--green-900);
  font-size: 1.36rem;
  line-height: 1.36;
  letter-spacing: 0;
}

.office-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.office-note {
  color: var(--green-800) !important;
  font-weight: 800;
}

.office-contact {
  padding-top: 14px;
  color: var(--ink) !important;
  font-weight: 800;
  border-top: 1px solid var(--line);
}

.profile-photo-panel {
  position: sticky;
  top: calc(var(--header-height) + var(--company-nav-height) + 24px);
  overflow: hidden;
  background: var(--green-900);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-photo-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.profile-photo-panel div {
  padding: 22px;
  color: #fff;
}

.profile-photo-panel span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-photo-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

.credential-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 45, 34, 0.96), rgba(31, 86, 63, 0.92)),
    url("../video/source/green-space.jpg") center / cover no-repeat;
}

.profile-section-heading-light h2,
.profile-section-heading-light p:not(.eyebrow) {
  color: #fff;
}

.profile-section-heading-light p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.credential-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
}

.credential-block {
  min-height: 100%;
  padding: 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(5, 20, 15, 0.22);
  color: var(--ink);
}

.credential-block span {
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 900;
}

.credential-block h3 {
  margin: 8px 0 0;
  color: var(--green-900);
  font-size: 1.42rem;
  letter-spacing: 0;
}

.credential-block p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

.directors-layout {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 56px;
  align-items: start;
}

.directors-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.directors-list div {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 47, 34, 0.06);
}

.directors-list span {
  color: var(--green-700);
  font-size: 0.84rem;
  font-weight: 900;
}

.directors-list strong {
  color: var(--green-900);
  font-size: 1.24rem;
  letter-spacing: 0;
}

.fields-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.field-group {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 47, 34, 0.06);
}

.field-group h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.28rem;
  letter-spacing: 0;
}

.field-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.field-group li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 11px;
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.career-download {
  display: flex;
  width: min(520px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 34px auto 0;
  padding: 18px 22px;
  color: #fff;
  text-decoration: none;
  background: var(--green-800);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, background-color 160ms ease;
}

.career-download:hover,
.career-download:focus-visible {
  transform: translateY(-3px);
  background: var(--green-700);
}

.career-download span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 900;
  background: #fff;
  border-radius: 6px;
}

.career-download strong {
  flex: 1;
  font-size: 1.08rem;
}

.career-download::after {
  content: "→";
  font-weight: 900;
}

.association-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.association-grid a {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--green-900);
  font-weight: 800;
  line-height: 1.55;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 47, 34, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.association-grid a::after {
  content: "→";
  color: var(--green-700);
  flex: 0 0 auto;
}

.association-grid a:hover,
.association-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(61, 154, 98, 0.44);
  box-shadow: var(--shadow-soft);
}

.profile-contact {
  background:
    linear-gradient(90deg, rgba(11, 48, 29, 0.66), rgba(31, 92, 53, 0.54)),
    url("../img/contact-forest-bg.png") center 42% / cover no-repeat;
}

@media (max-width: 1060px) {
  .office-layout,
  .directors-layout {
    grid-template-columns: 1fr;
  }

  .profile-photo-panel {
    position: static;
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: stretch;
  }

  .profile-photo-panel img {
    height: 100%;
  }

  .credential-grid,
  .fields-layout,
  .association-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .profile-hero {
    min-height: 620px;
    padding: 54px 0 68px;
  }

  .profile-hero-copy h1 {
    font-size: 3.1rem;
  }

  .profile-hero-copy p:not(.hero-kicker) {
    font-size: 1rem;
    line-height: 1.85;
  }

  .profile-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-anchor-inner {
    width: min(100% - 28px, 1120px);
  }

  .profile-section {
    padding: 70px 0;
  }

  .profile-section-heading h2 {
    font-size: 2.15rem;
  }

  .office-list,
  .credential-grid,
  .directors-list,
  .fields-layout,
  .association-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo-panel {
    display: block;
  }

  .profile-photo-panel img {
    aspect-ratio: 16 / 10;
  }

  .career-download {
    align-items: center;
  }
}

@media (max-width: 430px) {
  .profile-hero-copy h1 {
    font-size: 2.55rem;
  }

  .profile-section-heading h2 {
    font-size: 1.86rem;
  }

  .office-item,
  .credential-block,
  .field-group {
    padding: 20px;
  }

  .association-grid a {
    min-height: 70px;
  }
}

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