:root {
  --paper: #f7faf8;
  --surface: #ffffff;
  --surface-soft: #eef5f0;
  --ink: #172321;
  --muted: #60716c;
  --line: #d8e4df;
  --teal: #0a6c66;
  --teal-deep: #073c3a;
  --green: #258c5c;
  --red: #bd403b;
  --gold: #c8902e;
  --shadow: 0 24px 60px rgba(12, 36, 34, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(247, 250, 248, 0.9), rgba(247, 250, 248, 0.9)),
    repeating-linear-gradient(90deg, rgba(10, 108, 102, 0.07) 0 1px, transparent 1px 80px),
    linear-gradient(135deg, #f7faf8 0%, #eef7ef 34%, #fff2df 67%, #f8edf0 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(37, 140, 92, 0.25);
}

.social-icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

.previewable-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  cursor: zoom-in;
}

.previewable-image img {
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.previewable-image::after {
  content: "+";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(7, 60, 58, 0.86);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 14px 28px rgba(7, 60, 58, 0.25);
  transform: translateY(0);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.previewable-image:hover img,
.previewable-image:focus-visible img {
  filter: saturate(1.06) brightness(1.02);
  transform: scale(1.025);
}

.previewable-image:hover::after,
.previewable-image:focus-visible::after {
  background: rgba(37, 140, 92, 0.94);
  box-shadow: 0 18px 34px rgba(7, 60, 58, 0.32);
  transform: translateY(-2px);
}

.previewable-image:focus-visible {
  outline: 3px solid rgba(37, 140, 92, 0.58);
  outline-offset: 4px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: #ffffff;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0.75rem max(1rem, calc((100vw - var(--max-width)) / 2));
  background: rgba(247, 250, 248, 0.92);
  border-bottom: 1px solid rgba(216, 228, 223, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid rgba(10, 108, 102, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(7, 60, 58, 0.1);
  object-fit: contain;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  background: var(--teal-deep);
  color: #ffffff;
  font-size: 0.78rem;
}

.brand-name {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.05rem;
  font-size: 0.94rem;
  color: #33433f;
}

.main-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding: 0.35rem 0.05rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--green);
  color: var(--teal-deep);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.language-button {
  width: 42px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button[aria-pressed="true"] {
  background: var(--teal);
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 7.5rem max(1rem, calc((100vw - var(--max-width)) / 2)) 4.5rem;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 29, 27, 0.94) 0%, rgba(7, 29, 27, 0.82) 42%, rgba(7, 29, 27, 0.3) 100%),
    linear-gradient(0deg, rgba(7, 29, 27, 0.76) 0%, rgba(7, 29, 27, 0) 36%);
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  width: 100%;
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #1f754f;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 2.4rem;
}

.hero-signals div {
  min-height: 96px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-signals strong,
.hero-signals span {
  display: block;
}

.hero-signals strong {
  font-size: 1.4rem;
  line-height: 1.1;
}

.hero-signals span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.section-wrap {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.intro-band {
  padding: 3rem 0;
  background:
    linear-gradient(135deg, rgba(189, 64, 59, 0.2) 0%, transparent 34%),
    linear-gradient(315deg, rgba(200, 144, 46, 0.24) 0%, transparent 30%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 74px),
    linear-gradient(120deg, rgba(7, 60, 58, 1) 0%, rgba(10, 108, 102, 1) 48%, rgba(37, 140, 92, 0.96) 100%);
  color: #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.portfolio-intro h2,
.founder-copy h2,
.contact-layout h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.section-heading p,
.portfolio-intro p,
.founder-copy p,
.contact-layout p {
  color: var(--muted);
  font-size: 1.03rem;
}

.intro-grid p:last-child {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.section {
  padding: 6rem 0;
}

.services-section {
  background:
    linear-gradient(90deg, rgba(37, 140, 92, 0.16) 0%, transparent 28%),
    linear-gradient(270deg, rgba(189, 64, 59, 0.13) 0%, transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62)),
    repeating-linear-gradient(135deg, rgba(10, 108, 102, 0.1) 0 1px, transparent 1px 38px),
    linear-gradient(135deg, #f8fbfa 0%, #e2f2ec 38%, #fff0d8 72%, #f9e7e6 100%);
}

.method-section {
  background:
    linear-gradient(120deg, rgba(189, 64, 59, 0.34) 0%, transparent 36%),
    linear-gradient(300deg, rgba(200, 144, 46, 0.24) 0%, transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 68px),
    linear-gradient(145deg, #102321 0%, #073c3a 47%, #0a6c66 72%, #172321 100%);
}

.method-section .section-heading h2 {
  color: #ffffff;
}

.method-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.portfolio-section {
  background:
    linear-gradient(115deg, rgba(10, 108, 102, 0.16) 0%, transparent 34%),
    linear-gradient(245deg, rgba(200, 144, 46, 0.2) 0%, transparent 34%),
    linear-gradient(180deg, rgba(247, 250, 248, 0.84), rgba(247, 250, 248, 0.68)),
    repeating-linear-gradient(120deg, rgba(189, 64, 59, 0.09) 0 1px, transparent 1px 44px),
    linear-gradient(130deg, #ffffff 0%, #e0f4f1 38%, #fff1db 74%, #f4e8f0 100%);
}

.section-contrast {
  background-color: var(--surface-soft);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 2.5rem;
}

.services-section .section-heading {
  width: min(900px, 100%);
}

.services-section .section-heading h2 {
  font-size: 3rem;
}

.services-section .section-heading p {
  max-width: 780px;
  color: #324842;
  font-size: 1.14rem;
}

.section-heading.compact {
  width: min(680px, 100%);
}

.section-heading p {
  margin: 1rem 0 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card,
.method-step,
.capability-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 1.45rem;
  border-color: rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    linear-gradient(135deg, rgba(10, 108, 102, 0.16), rgba(200, 144, 46, 0.1));
  box-shadow: 0 30px 76px rgba(7, 60, 58, 0.14);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--gold));
}

.service-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--red));
}

.service-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--red), var(--green), var(--teal));
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.service-index {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 8px;
  background: var(--teal-deep);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(7, 60, 58, 0.22);
  font-size: 1rem;
  font-weight: 900;
}

.service-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: #eff8f4;
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: right;
}

.service-card h3,
.method-step h3,
.capability-card h3 {
  margin: 1.15rem 0 0.7rem;
  font-size: 1.22rem;
  line-height: 1.2;
}

.service-card h3 {
  margin-top: 1.35rem;
  color: var(--teal-deep);
  font-size: 1.72rem;
  line-height: 1.08;
}

.service-card p,
.method-step p,
.capability-card p {
  margin: 0;
  color: var(--muted);
}

.service-summary {
  color: #243933;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
}

.service-list-title {
  display: block;
  margin-top: 1.35rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card ul {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.75rem;
}

.service-card li {
  position: relative;
  min-height: 42px;
  padding: 0.68rem 0.8rem 0.68rem 2rem;
  border: 1px solid rgba(10, 108, 102, 0.13);
  border-radius: 8px;
  background: rgba(247, 250, 248, 0.72);
  color: #243933;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 1.08rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
}

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

.method-step {
  min-height: 245px;
  padding: 1.2rem;
}

.method-step span {
  color: var(--red);
  font-weight: 900;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}

.portfolio-intro {
  position: sticky;
  top: 104px;
}

.portfolio-intro p {
  margin-top: 1rem;
}

.capability-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.capability-card {
  min-height: 220px;
  padding: 1.25rem;
  border-top: 4px solid var(--teal);
}

.capability-card:nth-child(2) {
  border-top-color: var(--green);
}

.capability-card:nth-child(3) {
  border-top-color: var(--red);
}

.capability-card:nth-child(4) {
  border-top-color: var(--gold);
}

.founder-section {
  background:
    linear-gradient(115deg, rgba(7, 60, 58, 0.2) 0%, rgba(7, 60, 58, 0.2) 30%, transparent 30%),
    linear-gradient(300deg, rgba(189, 64, 59, 0.16) 0%, transparent 28%),
    repeating-linear-gradient(90deg, rgba(10, 108, 102, 0.08) 0 1px, transparent 1px 64px),
    linear-gradient(135deg, #fbfdfc 0%, #e4f4ec 44%, #fff1dd 74%, #f8e8eb 100%);
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 3rem;
  align-items: center;
}

.founder-photo-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(7, 60, 58, 0.16), rgba(255, 255, 255, 0.78));
  box-shadow: 0 26px 70px rgba(7, 60, 58, 0.22);
  aspect-ratio: 4 / 5;
}

.founder-photo-frame .previewable-image {
  height: 100%;
}

.founder-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-copy h3 {
  margin: 1.35rem 0 0;
  font-size: 1.6rem;
}

.founder-role {
  margin-top: 0.2rem;
}

.founder-bio {
  max-width: 720px;
  margin: 1rem 0 0;
  color: #344842;
}

.founder-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.founder-facts div {
  min-height: 190px;
  padding: 1.15rem;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(7, 60, 58, 0.08);
  backdrop-filter: blur(12px);
}

.founder-facts div:last-child {
  border-left-color: var(--red);
}

.founder-facts div:nth-child(2) {
  border-left-color: var(--teal);
}

.founder-facts div:nth-child(3) {
  border-left-color: var(--gold);
}

.founder-facts strong {
  display: block;
  margin-bottom: 0.45rem;
}

.founder-facts p {
  margin: 0;
}

.contact-band {
  padding: 5rem 0;
  background:
    linear-gradient(120deg, rgba(189, 64, 59, 0.26) 0%, transparent 32%),
    linear-gradient(300deg, rgba(200, 144, 46, 0.22) 0%, transparent 30%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 82px),
    linear-gradient(135deg, #172321 0%, #073c3a 52%, #0a6c66 100%);
  color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 2rem;
  align-items: center;
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-brand-panel {
  width: min(360px, 100%);
  margin-bottom: 1.25rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
}

.contact-brand-panel img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
}

.social-block {
  margin-top: 1.35rem;
}

.contact-social-title {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-link {
  --social-bg: var(--teal);
  --social-shadow: rgba(10, 108, 102, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.68rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--social-bg);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 15px 34px var(--social-shadow);
  transform: translateY(0);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.social-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  fill: currentColor;
}

.social-label {
  white-space: nowrap;
}

.social-link--x {
  --social-bg: linear-gradient(135deg, #111827 0%, #030712 100%);
  --social-shadow: rgba(3, 7, 18, 0.28);
}

.social-link--instagram {
  --social-bg: linear-gradient(135deg, #f58529 0%, #dd2a7b 42%, #8134af 72%, #515bd4 100%);
  --social-shadow: rgba(221, 42, 123, 0.3);
}

.social-link--facebook {
  --social-bg: linear-gradient(135deg, #1877f2 0%, #0b5fce 100%);
  --social-shadow: rgba(24, 119, 242, 0.28);
}

.social-link--linkedin {
  --social-bg: linear-gradient(135deg, #0a66c2 0%, #064986 100%);
  --social-shadow: rgba(10, 102, 194, 0.28);
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  box-shadow: 0 20px 42px var(--social-shadow);
  filter: saturate(1.1) brightness(1.05);
  transform: translateY(-2px);
}

.contact-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
  font-style: normal;
}

.contact-card a,
.contact-card span {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  word-break: break-word;
}

.contact-card a > span,
.contact-card span > span {
  min-height: auto;
  display: block;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  margin-top: 0.15rem;
  color: #ffffff;
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem max(1rem, calc((100vw - var(--max-width)) / 2));
  color: var(--muted);
  font-size: 0.92rem;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  font-weight: 800;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.footer-social-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.footer-social-links a {
  min-height: 36px;
  padding: 0.45rem 0.62rem;
  border-color: var(--line);
  font-size: 0.78rem;
  box-shadow: 0 8px 18px rgba(12, 36, 34, 0.1);
}

.footer-social-links .social-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-basis: 0.95rem;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  box-shadow: 0 12px 24px rgba(12, 36, 34, 0.14);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .language-switcher {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .hero {
    min-height: 78svh;
    padding-top: 6rem;
  }

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

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

  .intro-grid,
  .portfolio-layout,
  .founder-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.75rem;
    max-width: 100vw;
    overflow: hidden;
  }

  .brand-name {
    display: none;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .language-button {
    width: 38px;
  }

  .language-switcher {
    max-width: 100%;
  }

  .hero {
    min-height: calc(100svh - 160px);
    padding-top: 3.25rem;
    padding-bottom: 1.5rem;
    max-width: 100vw;
  }

  .hero-inner {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(7, 29, 27, 0.95) 0%, rgba(7, 29, 27, 0.86) 100%);
  }

  .hero h1 {
    font-size: 2.7rem;
    overflow-wrap: normal;
  }

  .services-section .section-heading h2 {
    font-size: 2.05rem;
  }

  .service-card {
    padding: 1.2rem;
  }

  .service-card h3 {
    font-size: 1.45rem;
  }

  .service-label {
    max-width: 190px;
    text-align: right;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .services-grid,
  .method-grid,
  .capability-board,
  .founder-facts {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    margin-top: 1.35rem;
  }

  .hero-signals {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 1.45rem;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .hero-signals div {
    flex: 0 0 142px;
  }

  .hero-signals::-webkit-scrollbar {
    display: none;
  }

  .intro-grid h2,
  .section-heading h2,
  .portfolio-intro h2,
  .founder-copy h2,
  .contact-layout h2 {
    font-size: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .service-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social-links {
    justify-content: flex-start;
  }
}
