:root {
  --background: #ffffff;
  --foreground: #090c0c;
  --card: #ffffff;
  --card-foreground: #090c0c;
  --popover: #ffffff;
  --popover-foreground: #090c0c;
  --primary: #006861;
  --primary-foreground: #ffffff;
  --secondary: #f3f5f5;
  --secondary-foreground: #090c0c;
  --muted: #f3f5f5;
  --muted-foreground: #5f5e5e;
  --accent: #1caaa3;
  --accent-foreground: #ffffff;
  --destructive: #b42318;
  --border: #d9dddd;
  --input: #d9dddd;
  --ring: #1caaa3;
  --radius: 0;
  --hokma-green: #006861;
  --hokma-grey: #5f5e5e;
  --hokma-teal: #1caaa3;
  --hokma-pale: #c6c6c6;
  --hokma-black: #090c0c;
  --surface: #f5f7f7;
  --line: #d9dddd;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: white;
  background: var(--hokma-green);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Brooklyn", "Avenir Next", "Century Gothic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--hokma-teal);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 64px), 1220px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 158px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 30px);
}

.desktop-nav a {
  color: #303636;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav a:hover { color: var(--hokma-green); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  color: var(--hokma-black);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 23px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-icon { position: relative; }

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }

.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  background: white;
  border-top: 1px solid var(--line);
}

.mobile-nav .shell {
  display: grid;
  padding: 10px 0 20px;
}

.mobile-nav a {
  padding: 12px 0;
  color: #252a2a;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid #edf0f0;
}

.brand-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background-color: var(--hokma-green);
  background-image: url("/assets/hokma-brand-pattern.webp");
  background-position: center;
  background-size: cover;
}

.brand-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 44, 41, 0.97) 0%, rgba(0, 75, 70, 0.86) 48%, rgba(0, 104, 97, 0.2) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent 52%);
}

.brand-hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 84px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--hokma-green);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.kicker-light { color: #8be2dc; }

.brand-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.35rem, 4.2vw, 3.45rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding-bottom: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
}

.hero-link span { color: #8be2dc; }

.hero-note {
  position: absolute;
  right: 32px;
  bottom: 24px;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.content-section {
  padding: 86px 0;
  scroll-margin-top: 72px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: start;
}

.editorial-grid h2,
.mission-copy h2,
.section-heading h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 2.85rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.statement-copy {
  margin: -4px 0 0;
  color: #353b3b;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.72;
}

.mission-section { background: var(--surface); }

.mission-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: start;
}

.mission-copy h2 {
  max-width: 710px;
  color: var(--hokma-green);
}

.values-list { border-top: 1px solid #bac3c2; }

.value-item { border-bottom: 1px solid #bac3c2; }

.value-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr 20px;
  gap: 14px;
  align-items: center;
  padding: 19px 0;
}

.value-item summary::-webkit-details-marker { display: none; }

.value-item summary span {
  color: var(--hokma-teal);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.value-item summary strong {
  font-size: 1rem;
  font-weight: 600;
}

.value-item summary i {
  color: var(--hokma-green);
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 300;
  transition: transform 180ms ease;
}

.value-item[open] summary i { transform: rotate(45deg); }

.value-item > p {
  margin: -2px 0 24px 50px;
  color: #515858;
  font-size: 0.94rem;
  line-height: 1.7;
}

.approach-section {
  padding: 90px 0;
  color: white;
  background: var(--hokma-black);
  scroll-margin-top: 72px;
}

.approach-layout {
  display: block;
}

.approach-copy p {
  width: 100%;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.56;
}

.approach-copy p:last-child { margin-bottom: 0; }

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4.5vw, 58px);
}

.team-member { min-width: 0; }

.team-member img {
  width: 50%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: white;
  filter: grayscale(1);
}

.team-member-copy {
  padding: 22px 0 0;
  border-top: 3px solid var(--hokma-green);
}

.team-role {
  margin: 8px 0 20px;
  color: var(--hokma-teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-member h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.team-bio p {
  margin: 0 0 15px;
  color: #505656;
  font-size: 0.94rem;
  line-height: 1.68;
}

.team-bio p:last-child { margin-bottom: 0; }

.careers-section {
  padding: 68px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.compact-grid { align-items: center; }

.careers-action {
  padding: 28px 0;
  border-top: 1px solid #abb4b3;
  border-bottom: 1px solid #abb4b3;
}

.join-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  color: white;
  background: var(--hokma-green);
  border: 1px solid var(--hokma-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.join-button:hover {
  color: var(--hokma-green);
  background: transparent;
}

.contact-section {
  padding: 72px 0;
  color: white;
  background: var(--hokma-green);
  scroll-margin-top: 72px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.42fr 1fr 0.75fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.contact-layout address {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  font-size: 0.96rem;
  line-height: 1.8;
}

.contact-layout address span,
.contact-route span {
  display: block;
  margin-bottom: 12px;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.contact-button:hover {
  color: var(--hokma-green);
  background: white;
}

.site-footer {
  position: relative;
  padding: 44px 0 28px;
  overflow: hidden;
  color: #6e7474;
  background: white;
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background-image: url("/assets/hokma-brand-pattern.webp");
  background-position: center;
  background-size: 680px auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 165px 1fr auto;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.footer-inner img { width: 145px; }

.footer-inner p {
  max-width: 740px;
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.7;
}

.footer-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: #8c9191;
  font-size: 0.7rem;
  white-space: nowrap;
}

.footer-meta a {
  color: var(--hokma-green);
  border-bottom: 1px solid #b9c8c7;
}

.footer-meta a:hover { border-color: var(--hokma-green); }

.privacy-page { background: white; }

.privacy-hero {
  padding: 68px 0 42px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.privacy-hero .kicker { margin-bottom: 14px; }

.privacy-hero h1 {
  margin: 0;
  color: var(--hokma-black);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.privacy-copy {
  max-width: 920px;
  padding: 58px 0 84px;
  color: #454b4b;
  font-size: 11px;
  line-height: 1.7;
}

.privacy-copy section + section { margin-top: 30px; }

.privacy-copy h2 {
  margin: 0 0 10px;
  color: var(--hokma-black);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.privacy-copy p { margin: 0 0 10px; }

.privacy-copy p:last-child { margin-bottom: 0; }

.privacy-copy ul {
  margin: 0 0 10px;
  padding-left: 18px;
}

.privacy-copy li + li { margin-top: 3px; }

.privacy-copy a {
  color: var(--hokma-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.error-page {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.error-page h1 {
  margin: 0 0 14px;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.error-page p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: #505656;
}

@media (max-width: 1060px) {
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 0.68rem; }
}

@media (max-width: 900px) {
  .shell { width: min(calc(100% - 40px), 760px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-hero { min-height: 520px; }
  .editorial-grid,
  .mission-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .statement-copy { margin-top: 0; }
  .team-grid { gap: 32px; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .contact-layout > div:first-child { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 150px 1fr; }
  .footer-meta { grid-column: 2; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 66px; }
  .shell { width: min(calc(100% - 32px), 560px); }
  .header-inner { min-height: 66px; }
  .brand img { width: 138px; }
  .brand-hero { min-height: 500px; }
  .brand-hero-inner { padding: 60px 0 72px; }
  .brand-hero h1 { font-size: clamp(2.05rem, 9.5vw, 2.75rem); }
  .hero-copy { font-size: 1rem; }
  .hero-note { display: none; }
  .content-section,
  .approach-section { padding: 64px 0; scroll-margin-top: 66px; }
  .editorial-grid,
  .mission-layout { gap: 42px; }
  .editorial-grid h2,
  .mission-copy h2,
  .section-heading h2,
  .contact-layout h2 { font-size: clamp(1.9rem, 9vw, 2.45rem); }
  .team-grid { grid-template-columns: 1fr; gap: 56px; }
  .section-heading { margin-bottom: 40px; }
  .careers-section { padding: 56px 0; }
  .contact-section { padding: 60px 0; scroll-margin-top: 66px; }
  .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .contact-layout > div:first-child { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-meta { grid-column: auto; justify-items: start; }
  .privacy-hero { padding: 52px 0 34px; }
  .privacy-copy { padding: 44px 0 64px; }
}

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