@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --prune: #482c40;
  --coquille: #f2e8ed;
  --melon: #f4aa78;
  --lichen: #bdd0c0;
  --craie: #fcfcfa;
  --muted: #755d6e;
  color: var(--prune);
  background: var(--craie);
  font-family: "Bricolage Grotesque", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; border-radius: 3px; }
::selection { color: var(--prune); background: var(--melon); }
svg { display: block; }
p { line-height: 1.6; }
h1, h2, h3, p { margin-top: 0; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 12px; padding: 14px; background: var(--prune); color: var(--craie); z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 31px; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-size: 28px; font-weight: 700; letter-spacing: -1.2px; white-space: nowrap; }
.brand svg { width: 39px; height: 39px; fill: none; stroke: currentColor; stroke-width: 20; stroke-linecap: round; stroke-linejoin: round; }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.site-header nav a { text-decoration: none; padding-block: 12px; }
.site-header nav a:hover { text-decoration: underline; }
.site-header .nav-contact { padding: 12px 18px; border: 1px solid #482c4033; border-radius: 8px; }
.hero { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 30px; }
h1 { font-size: clamp(72px, 8.4vw, 120px); font-weight: 600; line-height: .98; letter-spacing: -.065em; margin-bottom: 32px; }
.hero-intro { font-size: 18px; max-width: 540px; margin-bottom: 28px; }
.button { display: inline-flex; gap: 28px; align-items: center; padding: 17px 21px; background: var(--prune); color: var(--craie); text-decoration: none; border-radius: 9px; font-size: 15px; }
.button span { font-size: 23px; line-height: 1; }
.button:hover { background: #624259; }
.hero-art { padding-left: 10px; }
.art-field { aspect-ratio: 1; background: var(--coquille); border-radius: 48% 48% 26% 48%; position: relative; isolation: isolate; }
.hero-symbol { position: absolute; inset: 12%; width: 76%; height: 76%; overflow: visible; }
.hero-symbol path { stroke-width: 65; stroke-linecap: round; stroke-linejoin: round; }
.symbol-left { stroke: var(--prune); }
.symbol-right { stroke: var(--melon); }
.art-dot { position: absolute; border-radius: 50%; }
.dot-one { width: 52px; height: 52px; background: var(--lichen); top: 9%; right: -1%; }
.dot-two { width: 20px; height: 20px; background: var(--melon); bottom: 16%; left: -4%; }
.art-caption { display: block; text-align: right; margin-top: 23px; font-size: 12px; color: var(--muted); }
.hero-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 66px; padding-block: 20px; font-size: 12px; }
.hero-bottom p { margin: 0; }
.location-dot { display: inline-block; width: 7px; height: 7px; background: var(--prune); border-radius: 50%; margin-right: 8px; }
.scroll-link { display: inline-flex; align-items: center; gap: 19px; text-decoration: none; white-space: nowrap; padding: 12px 0; }
.scroll-link span { font-size: 20px; }
.expertises { background: var(--coquille); padding-block: 100px 40px; margin-top: 30px; }
.section-name { font-size: 14px; margin-bottom: 26px; }
h2 { font-size: clamp(42px, 5.1vw, 70px); line-height: 1.06; font-weight: 500; letter-spacing: -.055em; margin-bottom: 26px; }
.section-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 80px; align-items: end; }
.section-intro .section-name { grid-column: 1 / -1; }
.section-intro > p:last-child { max-width: 400px; font-size: 17px; padding-bottom: 8px; }
.services-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; margin-top: 28px; }
.service { min-height: 520px; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; padding-block: 70px; }
.service-icon { display: block; width: 47px; height: 47px; margin-bottom: 28px; }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--prune); stroke-width: 2.5; stroke-linecap: round; }
h3 { font-size: clamp(30px, 3.2vw, 43px); line-height: 1.1; font-weight: 500; letter-spacing: -.045em; margin-bottom: 12px; }
.service-kind { font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.service > p:not(.service-kind):not(.service-detail) { font-size: 17px; max-width: 390px; }
.service-detail { font-size: 13px; color: var(--muted); margin-top: 8px; }
.scene-column { position: relative; }
.scene { position: sticky; top: 60px; height: 540px; display: grid; place-items: center; overflow: hidden; border-radius: 38px; background: var(--lichen); margin-block: 36px 60px; transition: background .55s ease; }
.scene-orbit { position: absolute; width: 340px; height: 340px; border: 1px solid #482c4024; border-radius: 50%; }
.device { z-index: 1; width: 192px; height: 334px; border: 7px solid var(--prune); border-radius: 31px; background: var(--craie); overflow: hidden; box-shadow: 14px 18px 0 #482c4012; transition: width .55s ease, height .55s ease, border-radius .55s ease, transform .55s ease; transform: rotate(-7deg); }
.device-top { height: 28px; padding: 12px; display: flex; gap: 4px; align-items: center; }
.device-top i { height: 5px; width: 5px; background: var(--prune); border-radius: 50%; opacity: 0; transition: opacity .4s; }
.device-top i:first-child { opacity: 1; width: 42px; margin-inline: auto; border-radius: 8px; }
.device-content { padding: 12px 17px; }
.device-mark { width: 36px; height: 36px; fill: none; stroke: var(--prune); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.mock-heading { height: 10px; width: 75%; background: var(--prune); border-radius: 3px; }
.mock-subheading { height: 6px; width: 53%; background: #482c4030; margin-top: 10px; border-radius: 2px; }
.mock-content { display: grid; gap: 9px; margin-top: 24px; }
.mock-block { height: 30px; background: var(--coquille); border-radius: 5px; padding: 9px; transition: height .55s; }
.mock-block span { display: block; width: 60%; height: 5px; background: #482c4030; border-radius: 2px; }
.mock-action { width: 50%; height: 14px; border-radius: 4px; background: var(--melon); margin-top: 18px; }
.scene-caption { position: absolute; bottom: 44px; display: flex; gap: 23px; align-items: center; font-size: 13px; }
.scene-dots { display: flex; gap: 6px; }
.scene-dots i { width: 5px; height: 5px; border-radius: 50%; background: #482c4040; }
.scene-dots i.active { background: var(--prune); }
.illustration-note { position: absolute; bottom: 9px; font-size: 10px; color: var(--prune); }
.scene[data-active="web"] { background: var(--melon); }
.scene[data-active="web"] .device { width: 83%; height: 252px; border-radius: 13px; transform: rotate(3deg); }
.scene[data-active="web"] .device-top { border-bottom: 1px solid #482c4020; }
.scene[data-active="web"] .device-top i { opacity: 1; }
.scene[data-active="web"] .device-top i:first-child { width: 5px; margin-inline: 0; }
.scene[data-active="web"] .mock-content { grid-template-columns: repeat(3, 1fr); }
.scene[data-active="web"] .mock-block { height: 52px; }
.scene[data-active="software"] { background: #e0d5df; }
.scene[data-active="software"] .device { width: 83%; height: 285px; border-radius: 13px; transform: rotate(-2deg); }
.scene[data-active="software"] .device-content { border-left: 34px solid var(--prune); min-height: 100%; }
.scene[data-active="software"] .mock-content { grid-template-columns: 1fr 1fr; }
.scene[data-active="software"] .mock-block { height: 43px; background: var(--lichen); }
.scene[data-active="software"] .mock-block:last-child { grid-column: 1 / -1; height: 25px; }
.studio { padding-block: 110px 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 35px 80px; }
.studio-copy { padding-top: 48px; font-size: 17px; max-width: 460px; }
.studio-copy p:first-child { font-size: 22px; line-height: 1.5; }
.studio-landscape { grid-column: 1 / -1; position: relative; overflow: hidden; margin-top: 12px; }
.studio-landscape svg { width: 100%; height: auto; stroke: var(--lichen); stroke-width: 2; }
.studio-landscape circle { fill: var(--melon); stroke: none; }
.studio-landscape span { position: absolute; left: 0; bottom: 26px; font-size: 12px; }
.contact { background: var(--prune); color: var(--coquille); padding-block: 85px 95px; }
.contact h2 { font-size: clamp(44px, 6.4vw, 88px); }
.contact-inner > p:not(.section-name) { font-size: 17px; max-width: 440px; }
.contact-email { display: inline-flex; gap: 32px; align-items: center; font-size: clamp(23px, 3.4vw, 40px); letter-spacing: -.035em; margin-top: 20px; text-decoration-thickness: 1px; }
.contact-email span { color: var(--melon); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px; }
.site-footer .brand { font-size: 22px; }
.site-footer .brand svg { width: 30px; height: 30px; }
.site-footer p { font-size: 12px; margin: 0; }
.footer-links { display: flex; gap: 20px; font-size: 12px; }
.footer-links a { padding-block: 12px; }
.legal { max-width: 760px; padding-block: 65px 90px; }
.legal h1 { font-size: clamp(42px, 6vw, 68px); margin-bottom: 50px; }
.legal h2 { font-size: 28px; margin-top: 42px; margin-bottom: 20px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; }
.legal address { font-style: normal; line-height: 1.7; }
.legal dl { display: grid; grid-template-columns: 145px 1fr; gap: 12px 20px; font-size: 15px; line-height: 1.6; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal-back { display: inline-block; margin-bottom: 35px; font-size: 14px; }

@media (min-width: 1500px) { .hero { padding-top: 85px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .site-header nav { gap: 20px; }
  .hero { gap: 20px; padding-top: 35px; }
  h1 { font-size: clamp(64px, 9vw, 90px); }
  .hero-intro { font-size: 16px; }
  .hero-bottom { flex-wrap: wrap; margin-top: 40px; }
  .services-layout { gap: 45px; }
  .scene { height: 460px; }
  .scene-orbit { width: 260px; height: 260px; }
  .studio { gap: 30px; }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 22px; gap: 15px; }
  .brand { font-size: 24px; gap: 5px; }
  .brand svg { width: 34px; height: 34px; }
  .site-header nav a:not(.nav-contact) { display: none; }
  .site-header .nav-contact { font-size: 12px; padding: 12px 13px; }
  .hero { grid-template-columns: 1fr; padding-top: 30px; }
  h1 { font-size: clamp(64px, 16vw, 100px); }
  .hero-intro { max-width: 420px; font-size: 17px; }
  .desktop-break { display: none; }
  .hero-art { width: 75%; max-width: 340px; justify-self: end; padding: 0; margin-top: 20px; }
  .art-caption { font-size: 10px; margin-top: 17px; }
  .dot-one { width: 34px; height: 34px; }
  .hero-bottom { margin-top: 14px; gap: 10px; }
  .hero-bottom p { max-width: 290px; }
  .expertises { margin-top: 5px; padding-block: 65px 30px; }
  .section-intro, .services-layout, .studio { grid-template-columns: 1fr; gap: 0; }
  h2 { font-size: 46px; }
  .section-intro > p:last-child { padding: 0; margin-top: 0; }
  .scene-column { display: none; }
  .services-layout { margin-top: 20px; }
  .service { min-height: auto; padding-block: 38px; }
  .service + .service { border-top: 1px solid #482c4020; }
  .service > p:not(.service-kind) { max-width: 480px; }
  .service-icon { margin-bottom: 20px; }
  .service .service-detail { margin-bottom: 0; }
  .studio { padding-top: 65px; }
  .studio-copy { padding-top: 4px; }
  .studio-landscape { margin-top: 25px; min-height: 100px; }
  .studio-landscape span { bottom: 20px; font-size: 10px; }
  .contact { padding-block: 62px 70px; }
  .contact h2 { font-size: clamp(38px, 9.5vw, 60px); }
  .contact-email { font-size: clamp(22px, 6vw, 34px); gap: 15px; }
  .site-footer { padding-block: 28px; gap: 18px; }
  .site-footer p { display: none; }
  .footer-links { width: 100%; flex-wrap: wrap; gap: 18px; }
  .legal { padding-top: 35px; }
  .legal dl { grid-template-columns: 1fr; gap: 4px; }
  .legal dd { margin-bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
