@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #15242a;
  --muted: #5f6c70;
  --paper: #f6f5ef;
  --line: #d9ded6;
  --lime: #d6f36b;
  --deep: #101b22;
  --mono: 'DM Mono', monospace;
  --body: 'DM Sans', sans-serif;
  --display: 'Manrope', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--lime); color: var(--deep); }
:focus-visible { outline: 3px solid #83a10b; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 10; top: -4rem; left: 1rem; padding: .7rem 1rem; background: var(--lime); color: var(--deep); }
.skip-link:focus { top: 1rem; }
.site-shell { width: min(100%, 1600px); margin-inline: auto; overflow: hidden; }

.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 90px; padding: 0 clamp(24px, 5.4vw, 86px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; font-family: var(--display); font-size: 1.18rem; font-weight: 800; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand-dot { color: #83a10b; }
.brand-mark { display: block; flex: none; width: 44px; height: 44px; }
.header-actions, .header-actions nav { display: flex; align-items: center; }
.header-actions { gap: clamp(20px, 4vw, 58px); }
.header-actions nav { gap: clamp(20px, 2.6vw, 42px); }
.header-actions nav a { font-size: .87rem; font-weight: 600; text-decoration: none; transition: color .2s; }
.header-actions nav a:hover, .site-footer a:hover { color: #698400; }
.language-switch { display: inline-block; min-width: 42px; padding: 8px 0 8px 12px; border: 0; border-left: 1px solid #c9d0c7; background: transparent; color: var(--ink); cursor: pointer; font-family: var(--mono); font-size: .8rem; font-weight: 500; text-decoration: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); min-height: min(660px, calc(100vh - 90px)); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px clamp(24px, 5.4vw, 86px) 100px; }
.eyebrow, .section-index, .contact-kicker { font-family: var(--mono); font-size: .69rem; font-weight: 500; letter-spacing: .11em; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 36px; color: #667378; }
.eyebrow-line { width: 26px; height: 1px; background: #849096; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.075em; }
h1 { max-width: 850px; margin-bottom: 28px; font-size: clamp(3.4rem, 5.6vw, 6.5rem); line-height: 1.08; }
h1 em, h2 em { color: #7d9740; font-style: normal; }
.hero-description { max-width: 520px; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.78; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 27px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 26px; padding: 18px 22px; font-size: .86rem; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--deep); color: #fff; }
.button-primary:hover { background: #304348; }
.button span, .text-link span { font-size: 1.1rem; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-size: .84rem; font-weight: 700; text-decoration: none; }
.text-link:hover { color: #698400; border-color: #698400; }

.hero-art { position: relative; min-height: 580px; overflow: hidden; background: var(--deep); }
.art-grid { position: absolute; inset: 0; opacity: .37; background-image: linear-gradient(#536063 1px, transparent 1px), linear-gradient(90deg, #536063 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, transparent, black 19%, black 82%, transparent); }
.orbit { position: absolute; top: 50%; left: 50%; width: min(76vw, 580px); aspect-ratio: 1; border: 1px solid rgba(214,243,107,.29); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one::after { content: ''; position: absolute; top: 13%; left: 15%; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 24px var(--lime); }
.orbit-two { width: min(52vw, 390px); border-color: rgba(214,243,107,.18); }
.art-core { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: min(37vw, 282px); height: min(37vw, 282px); border: 1px solid #728779; border-radius: 34px; background: linear-gradient(140deg, #2c4145, #17282d 75%); box-shadow: 0 35px 80px rgba(0,0,0,.4), inset 0 2px 1px rgba(255,255,255,.1); color: var(--lime); font-family: var(--mono); font-size: clamp(4rem, 7vw, 6.6rem); font-weight: 500; transform: translate(-50%, -50%) rotate(-11deg); }
.art-core img { display: block; width: 92%; height: 92%; transform: rotate(11deg); }
.art-label { position: absolute; color: #9eaba4; font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; }
.art-label-top { top: 11%; left: 10%; }
.art-label-bottom { bottom: 10%; right: 10%; }
.art-cross { position: absolute; color: var(--lime); font-family: var(--mono); font-size: 1.2rem; font-weight: 400; }
.art-cross-one { top: 23%; right: 16%; }
.art-cross-two { bottom: 19%; left: 14%; }

.section { display: grid; grid-template-columns: minmax(180px, 25%) minmax(0, 1fr); padding: 115px clamp(24px, 5.4vw, 86px) 120px; }
.section-index { display: flex; gap: 14px; padding-top: 13px; color: #697774; }
.section-index span:first-child { color: #879d36; }
.intro { border-top: 1px solid var(--line); }
.intro-content { max-width: 930px; }
h2 { margin-bottom: 27px; font-size: clamp(2.5rem, 4.2vw, 4.8rem); line-height: 1.14; }
.intro-content > p { max-width: 600px; color: var(--muted); font-size: 1.1rem; line-height: 1.8; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 80px; }
.principles > div { padding-top: 22px; border-top: 1px solid #aab4a7; }
.principles span { display: block; margin-bottom: 29px; color: #829850; font-family: var(--mono); font-size: .75rem; }
.principles h3 { margin-bottom: 11px; font-family: var(--display); font-size: 1.07rem; letter-spacing: -.03em; }
.principles p { max-width: 230px; margin-bottom: 0; color: var(--muted); font-size: .89rem; line-height: 1.65; }

.contact { background: var(--lime); padding-top: 104px; padding-bottom: 120px; }
.contact .section-index, .contact .section-index span:first-child { color: #46563a; }
.contact-kicker { margin-bottom: 31px; color: #506239; }
.contact h2 { margin-bottom: 34px; }
.contact h2 em { color: #647a35; }
.contact-email { display: inline-flex; align-items: baseline; gap: 12px; max-width: 100%; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.8rem); font-weight: 600; letter-spacing: -.05em; overflow-wrap: anywhere; text-decoration: none; }
.contact-email:hover { color: #556a31; border-color: #556a31; }
.contact-email span { flex: none; }
.contact-content > p:last-child { margin: 24px 0 0; color: #4f6343; font-size: .98rem; line-height: 1.6; }

.site-footer { padding: 36px clamp(24px, 5.4vw, 86px) 24px; background: var(--deep); color: #aab5ac; font-size: .75rem; }
.site-footer a { color: #d8e6bd; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-back { padding: 4px 0; white-space: nowrap; }
.company-details { line-height: 1.8; }
.company-details .company-name { margin: 0 0 4px; color: #f5f5ef; font-size: 1rem; font-weight: 700; }
.company-details address { font-style: normal; }
.company-identifiers { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 2px; margin: 6px 0 0; }
.company-identifiers > div { display: flex; gap: 6px; }
.company-identifiers dd { margin: 0; font-variant-numeric: tabular-nums; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #ffffff20; }

.header-actions nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-color: #829850; }
.skills-hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 96px); padding: 80px clamp(24px, 5.4vw, 86px); align-items: center; }
.skills-person { font-size: .95rem; font-weight: 700; line-height: 1.7; }
.skills-person span { color: var(--muted); font-weight: 400; }
.skills-hero h1 { font-size: clamp(2.8rem, 4.7vw, 5.5rem); }
.skills-summary { max-width: 680px; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.skills-focus { padding: 36px 28px; background: var(--deep); color: var(--paper); border-top: 4px solid var(--lime); }
.skills-focus img { display: block; margin-bottom: 40px; object-fit: contain; }
.skills-focus .eyebrow { color: #aab5ac; font-size: .6rem; margin-bottom: 16px; }
.skills-focus ul { list-style: none; padding: 0; margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.skills-focus li { padding: 12px 0; border-top: 1px solid #ffffff20; }
.technology-strip { padding: 32px clamp(24px, 5.4vw, 86px) 40px; border-top: 1px solid var(--line); background: #edf0e5; }
.technology-strip h2 { margin: 0 0 28px; color: var(--muted); font-family: var(--mono); font-size: .72rem; font-weight: 400; letter-spacing: .04em; line-height: 1.6; }
.technology-logos { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.technology-logos li { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-size: .85rem; font-weight: 600; }
.technology-logos img { display: block; width: min(100%, 112px); height: auto; aspect-ratio: 1; object-fit: contain; }
.skills-catalog { padding: 64px clamp(24px, 5.4vw, 86px); border-top: 1px solid var(--line); }
.skills-section-heading .eyebrow { margin-bottom: 20px; }
.skills-section-heading h2 { font-size: clamp(2.2rem, 3.5vw, 3.6rem); margin-bottom: 44px; }
.skills-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.skill-card { padding: 30px 0 36px; border-top: 1px solid #aab4a7; }
.skill-number { font-family: var(--mono); color: #607930; font-size: .75rem; }
.skill-card h3 { margin: 18px 0 14px; font-family: var(--display); letter-spacing: -.04em; font-size: 1.5rem; }
.skill-card p { color: var(--muted); line-height: 1.75; font-size: .96rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.skill-tags li { padding: 5px 9px; background: #e8ecdf; color: #35452f; font-size: .72rem; line-height: 1.5; }
.skills-additional { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; padding: 40px clamp(24px, 5.4vw, 86px) 64px; }
.skills-additional h2, .skills-additional h3 { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.035em; margin-bottom: 14px; }
.skills-additional p { max-width: 660px; color: var(--muted); line-height: 1.75; margin-bottom: 0; }
.skills-additional-profile { display: flex; align-items: flex-start; gap: 24px; }
.skills-additional-profile > img { flex: none; width: 88px; height: 88px; }

@media (max-width: 950px) {
  .technology-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .skills-hero { grid-template-columns: 1fr; }
  .skills-focus { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 570px; padding-top: 90px; padding-bottom: 90px; }
  .hero-art { min-height: 420px; }
  .art-core { width: 225px; height: 225px; font-size: 5.5rem; }
  .orbit-one { width: 500px; }
  .orbit-two { width: 360px; }
  .section { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .site-header { min-height: 74px; flex-wrap: wrap; gap: 16px; padding-top: 16px; }
  .brand { font-size: 1.06rem; }
  .brand-mark { width: 38px; height: 38px; }
  .header-actions { display: contents; }
  .header-actions nav { display: flex; order: 3; flex-basis: 100%; justify-content: space-between; gap: 12px; padding-bottom: 16px; }
  .header-actions nav a { font-size: .8rem; }
  .language-switch { margin-left: auto; }
  .skills-hero { padding-top: 48px; padding-bottom: 48px; }
  .skills-person span { display: block; }
  .skills-hero h1 { font-size: clamp(2.6rem, 10vw, 3.8rem); }
  .skills-grid, .skills-additional { grid-template-columns: 1fr; }
  .technology-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .technology-logos img { max-width: 88px; }
  .skills-catalog { padding-top: 48px; padding-bottom: 24px; }
  .skills-additional { padding-top: 20px; gap: 28px; }
  .skills-additional-profile { flex-direction: column; gap: 16px; }
  .hero-copy { min-height: 540px; padding-top: 65px; padding-bottom: 72px; }
  .eyebrow { margin-bottom: 30px; }
  h1 { font-size: clamp(3rem, 11vw, 4.6rem); }
  .hero-actions { gap: 25px; }
  .hero-art { min-height: 350px; }
  .art-grid { background-size: 55px 55px; }
  .art-core { width: 190px; height: 190px; border-radius: 25px; font-size: 4.8rem; }
  .orbit-one { width: 390px; }
  .orbit-two { width: 290px; }
  .section { padding-top: 75px; padding-bottom: 84px; }
  .principles { grid-template-columns: 1fr; gap: 30px; margin-top: 54px; }
  .principles span { margin-bottom: 15px; }
  .principles p { max-width: none; }
  .contact-email { font-size: 1rem; }
  .footer-main { flex-direction: column; gap: 16px; }
  .footer-bottom { flex-direction: column; }
}

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