:root {
  color-scheme: light;
  --page: #f4f5f1;
  --surface: #fff;
  --surface-hover: #f8f9f6;
  --surface-muted: #eef1ed;
  --ink: #151915;
  --muted: #687069;
  --muted-strong: #4d574f;
  --line: #dce2db;
  --line-soft: #e9ede8;
  --shadow: 0 1px 2px rgba(19,25,20,.025), 0 8px 26px rgba(31,45,34,.035);
  --green: #13805d;
  --red: #d84b55;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #101410;
  --surface: #191e1a;
  --surface-hover: #202620;
  --surface-muted: #232923;
  --ink: #f3f4ef;
  --muted: #969c95;
  --muted-strong: #b9beb7;
  --line: #343b35;
  --line-soft: #29302a;
  --shadow: 0 1px 2px rgba(0,0,0,.22);
  --green: #39ad83;
  --red: #ef6570;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 0; margin: 0; background: var(--page); color: var(--ink); font: 16px/1.6 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.shell { width: min(1440px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--page) 90%, transparent); backdrop-filter: blur(18px); }
.site-header-inner { min-height: 80px; display: flex; align-items: center; gap: 30px; }
.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 22px; font-weight: 900; letter-spacing: .14em; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 5px; }
.site-nav a { padding: 10px 15px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; color: var(--muted-strong); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .18s ease, color .18s ease; }
.site-nav a:hover { color: var(--ink); background: var(--surface-hover); }
.site-nav a[aria-current="page"] { color: var(--ink); border-color: var(--line); background: var(--surface); box-shadow: var(--shadow); }
.site-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.language-switch { display: flex; flex: 0 0 auto; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.language-switch button { min-width: 38px; height: 32px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 800; }
.language-switch button[aria-pressed="true"] { color: var(--ink); background: var(--surface-muted); }
.site-menu { position: relative; display: none; }
.site-menu summary, .theme-toggle { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; list-style: none; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.site-menu summary svg, .theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-menu[open] summary { background: var(--surface-muted); }
.site-menu-panel { position: absolute; top: calc(100% + 12px); right: 0; width: 230px; display: grid; padding: 7px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.site-menu-panel a { padding: 11px 13px; border-radius: 9px; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 700; }
.site-menu-panel a:hover, .site-menu-panel a:focus-visible { background: var(--surface-muted); }
.theme-toggle .moon-icon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
:root[data-theme="dark"] .theme-toggle .moon-icon { display: block; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.site-main { min-height: calc(100vh - 161px); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer .shell { min-height: 80px; display: flex; justify-content: center; align-items: center; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.home-layout { min-height: calc(100svh - 161px); display: flex; align-items: center; justify-content: center; padding-top: 54px; padding-bottom: 70px; }
.home-hero { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.home-portrait { width: 210px; height: 210px; border-radius: 50%; object-fit: cover; object-position: center; }
.home-copy h1 { margin: 26px 0 0; font-size: clamp(42px, 6vw, 68px); font-weight: 850; line-height: 1.05; letter-spacing: -.055em; }
.home-subtitle { max-width: 650px; margin: 12px auto 22px; color: var(--muted-strong); font-size: clamp(18px, 2vw, 23px); line-height: 1.35; letter-spacing: -.025em; }
.home-social { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.home-social a { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--muted-strong); text-decoration: none; font-size: 27px; transition: color .18s ease, background .18s ease, transform .18s ease; }
.home-social a:hover { color: var(--green); background: var(--surface-hover); transform: translateY(-2px); }
@font-face { font-family: "Font Awesome 6 Brands"; src: url("/fonts/fa-brands-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: block; }
.home-social .fa-brands::before { font-family: "Font Awesome 6 Brands"; font-style: normal; font-weight: 400; content: var(--fa); }
.home-social .fa-instagram { --fa: "\f16d"; }
.home-social .fa-linkedin { --fa: "\f08c"; }
.home-social .fa-telegram { --fa: "\f2c6"; }
.home-social .fa-x-twitter { --fa: "\e61b"; }
.page-shell { padding-top: 46px; padding-bottom: 72px; }
.page-heading { margin: 0 0 25px; }
.page-heading h1 { margin: 0; font-size: clamp(45px,7vw,82px); font-weight: 850; line-height: 1.02; letter-spacing: -.065em; }
.page-heading .post-meta { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.page-surface { padding: clamp(25px,4vw,54px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.page-surface > p:first-child { margin-top: 0; }
.page-surface > p:last-child { margin-bottom: 0; }
.page-surface p { max-width: 75ch; color: var(--muted-strong); }
.page-surface h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.25; letter-spacing: -.035em; }
.page-surface a:not(.project-card a):not(.contact-form__button) { color: var(--green); text-underline-offset: 3px; }
.post-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.post-list li { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.post-list .date { flex: 0 0 100px; color: var(--muted); font-size: 12px; }
.post-list a { display: flex; justify-content: space-between; flex: 1; gap: 16px; text-decoration: none; font-size: 18px; font-weight: 750; }
.post-list a span { font-weight: 400; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-hover); }
.project-card img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.project-card div { padding: 20px; }
.project-card h2 { margin: 0 0 9px; }
.project-card p { margin: 0 0 14px; font-size: 13px; }
.project-card a { color: var(--green); text-decoration: none; font-size: 13px; font-weight: 800; }
.contact-page { max-width: 700px; }
.contact-page > p:first-child { margin-top: 0; }
.contact-form { display: grid; gap: 18px; margin-top: 28px; }
.contact-form__field { margin: 0; }
.contact-form__field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 12px; font-weight: 800; }
.contact-form__field input, .contact-form__field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-hover); color: var(--ink); }
.contact-form__field textarea { min-height: 150px; resize: vertical; }
.contact-form__trap { display: none; }
.contact-form__button { padding: 12px 22px; border: 0; border-radius: 999px; background: var(--green); color: #fff; cursor: pointer; font-weight: 800; }
.contact-form__button:hover { filter: brightness(.92); }
.contact-page__note { font-size: 13px; }
.setup-page { display: grid; gap: clamp(48px,6vw,88px); }
.setup-hero, .setup-story { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); align-items: center; gap: clamp(28px,5vw,76px); }
.setup-hero__copy, .setup-story__copy { max-width: 520px; }
.setup-page .eyebrow { color: var(--green); }
.page-surface .setup-hero h2 { margin: 0 0 24px; font-size: clamp(34px,4.2vw,62px); line-height: 1.08; letter-spacing: -.06em; }
.page-surface .setup-story h2, .page-surface .setup-section-heading h2 { margin: 0 0 20px; font-size: clamp(26px,3vw,39px); line-height: 1.13; letter-spacing: -.045em; }
.setup-hero__copy > p:not(.eyebrow), .setup-story__copy > p:not(.eyebrow) { margin: 0 0 15px; font-size: clamp(15px,1.4vw,18px); line-height: 1.65; }
.setup-photo { position: relative; display: block; min-width: 0; width: 100%; overflow: hidden; padding: 0; border: 0; border-radius: 18px; background: var(--surface-muted); cursor: zoom-in; }
.setup-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.setup-photo:hover img { transform: scale(1.025); }
.setup-photo__hint { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.93); color: #151915; font-size: 20px; line-height: 1; box-shadow: 0 3px 15px rgba(0,0,0,.13); }
.setup-hero__photo { height: clamp(380px,42vw,560px); }
.setup-story { grid-template-columns: minmax(320px,.8fr) minmax(0,1.2fr); border-top: 1px solid var(--line-soft); padding-top: clamp(42px,5vw,72px); }
.setup-story__photo { height: clamp(310px,35vw,460px); }
.setup-details, .setup-equipment { border-top: 1px solid var(--line-soft); padding-top: clamp(42px,5vw,72px); }
.setup-section-heading { margin-bottom: 26px; }
.setup-section-heading h2 { margin-bottom: 8px !important; }
.setup-section-heading > p:last-child { margin: 0; }
.setup-details__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.setup-details__photo { height: clamp(190px,21vw,290px); border-radius: 13px; }
.setup-category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.page-surface .setup-category-nav a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-strong); font-size: 12px; font-weight: 700; text-decoration: none; }
.page-surface .setup-category-nav a:hover { border-color: var(--green); color: var(--green); }
.setup-list-page { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; align-items: start; }
.setup-list-page .setup-category { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-hover); scroll-margin-top: 100px; }
.setup-category__heading { display: flex; align-items: center; gap: 12px; margin: 0 0 15px; }
.setup-category__heading > span { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.setup-list-page .setup-category h3 { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -.03em; }
.setup-list-page ul { list-style: none; margin: 0; padding: 0; }
.setup-list-page li { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 49px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.setup-list-page li > span:first-child { min-width: 0; font-weight: 600; }
.setup-list-page li .setup-category__note { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.page-surface .setup-list-page li a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; color: var(--green); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.page-surface .setup-list-page li a:hover { text-decoration: underline; }
.setup-disclosure { margin-top: 20px; padding: 20px 22px; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: var(--surface-hover); }
.setup-disclosure strong { display: block; margin-bottom: 8px; font-size: 13px; }
.setup-disclosure p { margin: 0 0 7px; font-size: 12px; line-height: 1.6; }
.setup-disclosure p:last-child { margin-bottom: 0; }
.setup-lightbox { position: fixed; z-index: 100; inset: 0; display: none; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 12px; padding: 30px; background: rgba(8,12,9,.93); }
.setup-lightbox[aria-hidden="false"] { display: grid; }
.setup-lightbox-open { overflow: hidden; }
.setup-lightbox__frame { display: grid; justify-items: center; margin: 0; }
.setup-lightbox__frame img { display: block; max-width: 100%; max-height: 82vh; border-radius: 12px; object-fit: contain; }
.setup-lightbox__frame figcaption { margin-top: 10px; color: #fff; font-size: 13px; text-align: center; }
.setup-lightbox__close, .setup-lightbox__nav { width: 46px; height: 46px; position: relative; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.setup-lightbox__close { position: absolute; top: 18px; right: 18px; }
.setup-lightbox__close::before, .setup-lightbox__close::after { content: ""; position: absolute; top: 22px; left: 13px; width: 20px; height: 2px; background: currentColor; transform: rotate(45deg); }
.setup-lightbox__close::after { transform: rotate(-45deg); }
.setup-lightbox__nav::before { content: ""; position: absolute; top: 16px; left: 18px; width: 12px; height: 12px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(-45deg); }
.setup-lightbox__nav--next::before { left: 13px; transform: rotate(135deg); }
@media (max-width: 1100px) { .site-header-inner { gap: 15px; } .site-brand { font-size: 17px; } .site-nav a { padding-inline: 10px; } }
@media (max-width: 900px) { .site-header-inner { min-height: 72px; } .site-nav { display: none; } .site-menu { display: block; } .site-menu-panel { position: fixed; top: 72px; left: 32px; right: 32px; width: auto; } .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .shell { width: calc(100% - 32px); } .site-header-inner { min-height: 66px; } .site-brand { font-size: clamp(15px,4.2vw,18px); letter-spacing: .095em; } .site-menu summary, .theme-toggle { width: 37px; height: 37px; } .language-switch button { min-width: 32px; height: 29px; } .home-layout { min-height: calc(100svh - 150px); padding-top: 35px; padding-bottom: 45px; } .page-shell { padding-top: 26px; padding-bottom: 42px; } .home-portrait { width: 176px; height: 176px; } .home-copy h1 { margin-top: 22px; font-size: clamp(42px,12vw,55px); } .home-subtitle { margin: 10px auto 18px; font-size: 18px; } .project-grid, .setup-list-page { grid-template-columns: 1fr; } .page-heading { margin-bottom: 19px; } .page-surface { padding: 22px 20px; border-radius: 16px; } .page-heading h1 { font-size: clamp(43px,12vw,62px); } .setup-story__block, .setup-story__block--left { grid-template-columns: 1fr; gap: 14px; } .setup-story__block--left .setup-story__photo { order: 2; } .setup-story__photo, .setup-story__photo--large, .setup-story__photo--banner { height: 210px; } .setup-story__duo .setup-story__photo { height: 150px; } .setup-list-page li { flex-wrap: wrap; } .post-list li { display: grid; gap: 4px; } .site-footer .shell { flex-wrap: wrap; gap: 7px 16px; padding-block: 22px; } }
@media (max-width: 380px) { .site-brand { font-size: 13px; letter-spacing: .065em; } .site-actions { gap: 5px; } .language-switch button { min-width: 29px; } .setup-lightbox { grid-template-columns: 34px minmax(0,1fr) 34px; gap: 4px; padding: 10px; } .setup-lightbox__nav { width: 34px; height: 34px; } }
@media (max-width: 640px) { .site-menu-panel { top: 66px; left: 16px; right: 16px; } }
@media (max-width: 900px) {
  .setup-hero, .setup-story { grid-template-columns: 1fr; gap: 26px; }
  .setup-hero__copy, .setup-story__copy { max-width: 680px; }
  .setup-hero__photo { height: clamp(300px,55vw,470px); }
  .setup-story__photo { height: clamp(280px,46vw,400px); }
}
@media (max-width: 640px) {
  .setup-page { gap: 48px; }
  .setup-hero__photo { height: 270px; }
  .setup-story__photo { height: 250px; }
  .setup-hero__copy > p:not(.eyebrow), .setup-story__copy > p:not(.eyebrow) { font-size: 15px; }
  .setup-details__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .setup-details__photo { height: 155px; }
  .setup-details__photo:first-child { grid-column: 1 / -1; height: 200px; }
  .setup-list-page { grid-template-columns: 1fr; }
  .setup-list-page .setup-category { padding: 18px; }
  .setup-list-page li { flex-wrap: wrap; }
  .setup-disclosure { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
