:root {
  --button: #10391d;
  --brand-rgb: 16, 57, 29;
  --buttonHover: #10391d;
  --bg: #ffffff;
  --surfaceAlt: #f5f7f4;
  --surfaceSoft: #fafbf9;
  --card: #ffffff;
  --ink: #101828;
  --muted: rgba(16, 24, 40, 0.72);
  --mutedStrong: rgba(16, 24, 40, 0.56);
  --stroke: rgba(16, 24, 40, 0.1);
  --shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
  --max: 1334px;
  --font-sans: "Albert Sans", "Segoe UI", Arial, sans-serif;
  --font-serif: "Young Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 0;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: -20px;
  margin-top: -25px;
}

.logoMark {
  width: clamp(147px, 19.11vw, 221px);
  height: clamp(58px, 7.35vw, 88px);
  display: grid;
  place-items: center start;
}

#logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: none;
}

#logoFallback {
  display: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.languageSwitch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--mutedStrong);
}

.languageSwitchLink {
  color: inherit;
}

.languageSwitchLink:hover,
.languageSwitchLink.active {
  color: var(--button);
}

.languageDivider {
  color: rgba(16, 24, 40, 0.32);
}

.navLink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--mutedStrong);
}

.navLink:hover,
.navLink.active {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.button.primary {
  background: var(--button);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--buttonHover);
  transform: translateY(-1px);
}

.main {
  display: flex;
  flex-direction: column;
}

.sectionBlock,
.sectionAlt {
  width: 100vw;
  padding: clamp(82px, 10vw, 118px) clamp(24px, 4vw, 40px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.sectionAlt {
  background: var(--surfaceAlt);
}

.teamSection {
  padding-top: clamp(76px, 9vw, 106px);
  padding-bottom: clamp(96px, 11vw, 134px);
}

.sectionInner {
  max-width: var(--max);
  margin: 0 auto;
}

.sectionIntro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
  text-align: center;
}

.teamSection .sectionIntro {
  margin-bottom: 56px;
}

.sectionKicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mutedStrong);
}

h1,
.sectionTitle {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--button);
  letter-spacing: -0.026em;
}

h1 {
  max-width: 920px;
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.04;
}

.sectionTitle {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
}

.aboutStory {
  padding-top: clamp(20px, 3vw, 38px);
}

.aboutLayout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  gap: clamp(42px, 5vw, 64px);
  align-items: start;
}

.aboutLead {
  max-width: 720px;
  margin: 0;
}

.aboutText {
  display: grid;
  gap: 22px;
  max-width: 720px;
  margin: 32px 0 0;
}

.aboutLead h1 {
  text-align: left;
}

.aboutLead .sectionTitle {
  text-align: left;
}

.aboutVisual {
  width: 100%;
  justify-self: end;
  padding-top: 80px;
  transform: translateX(38px);
}

.aboutGraphicStage {
  --color-dark-green: #10391d;
  --color-cream: #eaf0ce;
  --color-blue: #3d73af;
  --color-aqua: #84dcce;
  --color-coral: #f1545b;
  --about-graphic-delay: 0.18s;
  aspect-ratio: 1 / 1;
  width: min(100%, 620px);
  margin-left: auto;
  display: block;
  filter: drop-shadow(0 24px 44px rgba(16, 24, 40, 0.12));
}

.aboutGraphicStage .dark-green {
  fill: var(--color-dark-green);
}

.aboutGraphicStage .cream {
  fill: var(--color-cream);
}

.aboutGraphicStage .blue {
  fill: var(--color-blue);
}

.aboutGraphicStage .aqua {
  fill: var(--color-aqua);
}

.aboutGraphicStage .coral {
  fill: var(--color-coral);
}

.aboutGraphicStage #aboutColumns {
  transform: translateY(2250px);
}

.aboutGraphicStage #aboutBars {
  transform: translateX(-2250px);
}

.aboutGraphicStage #aboutTriangleAqua,
.aboutGraphicStage #aboutTriangleCoral {
  transform-origin: 2250px 2250px;
  transform: scale(5.1);
}

.aboutGraphicStage.play #aboutColumns {
  animation: aboutColumnsRise 1.72s cubic-bezier(0.2, 0.8, 0.2, 1) var(--about-graphic-delay) both;
}

.aboutGraphicStage.play #aboutBars {
  animation: aboutBarsSlide 1.72s cubic-bezier(0.2, 0.8, 0.2, 1) var(--about-graphic-delay) both;
}

.aboutGraphicStage.play #aboutTriangleAqua {
  animation: aboutAquaReveal 1.58s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.aboutGraphicStage.play #aboutTriangleCoral {
  animation: aboutCoralReveal 1.58s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes aboutColumnsRise {
  from {
    transform: translateY(2250px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes aboutBarsSlide {
  from {
    transform: translateX(-2250px);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes aboutAquaReveal {
  from {
    transform: scale(5.1);
  }
  to {
    transform: scale(1);
  }
}

@keyframes aboutCoralReveal {
  from {
    transform: scale(5.1);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aboutGraphicStage #aboutColumns,
  .aboutGraphicStage #aboutBars,
  .aboutGraphicStage #aboutTriangleAqua,
  .aboutGraphicStage #aboutTriangleCoral {
    animation: none !important;
    transform: none !important;
  }
}

.aboutText p,
.teamRole,
.teamContact {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.85;
}

.teamGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 260px));
  gap: 42px 60px;
  align-items: start;
  justify-content: center;
}

.teamCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  max-width: 220px;
}

.teamPhoto {
  width: 200px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 16px;
}

.teamPhoto.samiPhoto {
  object-position: center 6%;
}

.teamPhoto.sakuPhoto {
  object-position: center 8%;
}

.teamBody {
  padding: 12px 0 0;
  text-align: center;
}

.teamCard h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.023em;
  color: var(--button);
}

.teamRole {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

.teamContact {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
  font-weight: 400;
  color: var(--mutedStrong);
  font-size: 14px;
}

.footerSection {
  padding-top: clamp(30px, 3.9vw, 42px);
  padding-bottom: clamp(30px, 3.9vw, 42px);
}

.footerMeta {
  display: grid;
  gap: 6px;
}

.footerMeta strong {
  color: var(--ink);
  font-weight: 400;
}

.footerLinks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.footerLinkedIn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
}

.footerLinkedInLogo {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .aboutLayout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .aboutLead {
    max-width: 920px;
    margin: 0 auto;
  }

  .aboutText {
    max-width: 920px;
    margin: 32px auto 0;
  }

  .aboutLead h1,
  .aboutLead .sectionTitle {
    text-align: center;
  }

  .aboutVisual {
    justify-self: center;
    padding-top: 0;
    transform: none;
  }

  .aboutGraphicStage {
    width: min(100%, 560px);
    margin-left: auto;
    margin-right: auto;
  }

  .teamGrid {
    grid-template-columns: repeat(3, minmax(160px, 200px));
  }

  .footer {
    flex-direction: column;
  }

  .footerLinks {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sectionBlock,
  .sectionAlt {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .aboutStory {
    padding-top: 30px;
  }

  .teamGrid {
    grid-template-columns: repeat(2, minmax(140px, 180px));
    gap: 34px 28px;
  }

  .teamCard {
    max-width: 180px;
  }

  .teamPhoto {
    width: 170px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

  .logoMark {
    width: clamp(176px, 56vw, 236px);
    height: clamp(68px, 20vw, 96px);
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  .brand {
    margin-left: -15px;
  }

  .header {
    gap: 12px;
  }

  .nav {
    gap: 8px 14px;
    align-items: center;
  }

  .nav > .navLink:first-of-type {
    margin-left: auto;
  }

  .aboutLayout {
    gap: 28px;
  }

  .aboutVisual {
    order: -1;
  }

  .aboutGraphicStage {
    --about-graphic-delay: 0s;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .brand {
    margin-left: -15px;
  }

  .aboutLayout {
    gap: 28px;
  }

  .aboutVisual {
    order: -1;
  }

  .aboutGraphicStage {
    width: min(100%, 270px);
  }

  .aboutLead {
    margin: -55px 0 0;
  }

  .aboutText {
    margin: 24px 0 0;
  }

  .aboutLead h1,
  .aboutLead .sectionTitle {
    text-align: left;
  }
}
