/* LADS design tokens and Bulma theme */
:root {
  --background: #f7f7f5;
  --surface: #ffffff;
  --text: #111111;
  --text-muted: #6b6b6b;
  --border: #dfdfdc;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --radius: 6px;
  --header-height: 104px;
  --bulma-family-primary: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bulma-primary-h: 221deg;
  --bulma-primary-s: 83%;
  --bulma-primary-l: 53%;
  --bulma-link-h: 221deg;
  --bulma-body-background-color: var(--background);
  --bulma-body-color: var(--text);
  --bulma-text-strong: var(--text);
  color-scheme: light;
}

/* Base, shared type and controls */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { background: var(--background); color: var(--text); font-family: var(--bulma-family-primary); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.container { width: calc(100% - 96px); max-width: 1200px !important; }
h1, h2, h3 { color: var(--text); font-weight: 700; line-height: 1.16; letter-spacing: -0.045em; }
h2 { font-size: 42px; }
h3 { font-size: 26px; letter-spacing: -0.035em; }
p { margin: 0; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
section:focus, main:focus { outline: none; }
.section { padding: 104px 0; }
.section-title { margin-bottom: 56px; }
.eyebrow { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: 0.3em; line-height: 1.5; margin-bottom: 28px; }
.section-description { color: var(--text-muted); margin-top: 24px; font-size: 18px; line-height: 1.7; }
.material-symbols-outlined { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; flex-shrink: 0; }
.button { min-height: 56px; height: auto; padding: 15px 26px; border-radius: var(--radius); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -0.015em; gap: 16px; box-shadow: none; transition: color 180ms, background-color 180ms, border-color 180ms, transform 180ms; }
.button.is-primary { color: #fff; background: var(--accent); border-color: var(--accent); }
.button.is-primary:hover { color: #fff; background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); }
.button.is-outlined { color: var(--text); border-color: #b8b8b5; background: transparent; }
.button.is-outlined:hover { color: var(--text); background: var(--surface); border-color: var(--text); transform: translateY(-2px); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 20px; background: var(--text); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Sticky navigation */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--background); border-bottom: 1px solid var(--border); }
.navbar { min-height: var(--header-height); background: transparent; }
.navbar-brand { align-items: center; }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1; padding: 0; color: var(--text); }
.navbar .wordmark { align-items: flex-start; }
.wordmark-name { font-size: 42px; letter-spacing: -0.065em; font-weight: 800; }
.wordmark-caption { color: var(--text-muted); font-size: 13px; line-height: 1.4; letter-spacing: -0.025em; margin-top: 5px; }
.navbar-item.wordmark:hover { background: transparent; color: var(--text); }
.navbar-end { align-items: center; gap: 20px; }
.nav-link { padding: 12px; color: var(--text); font-size: 15px; transition: color 180ms; }
.navbar-item.nav-link:hover, .navbar-item.nav-link:focus-within { color: var(--accent); background: transparent; }
.navbar-item.nav-cta { padding: 0 0 0 12px; }
.nav-cta .button { min-height: 46px; padding: 12px 24px; font-size: 14px; }
.navbar-burger { border: none; background: transparent; color: var(--text); }

/* Hero: rectangular areas give an idea room to grow */
.studio-hero .hero-body { padding: 106px 0 100px; }
.hero-layout { margin: 0 -12px; }
.hero-copy { padding-top: 0; padding-bottom: 0; }
h1 { font-size: clamp(62px, 5.65vw, 82px); line-height: 1.1; font-weight: 800; letter-spacing: -0.06em; }
h1 span { display: block; }
.hero-description { max-width: 600px; margin-top: 36px; font-size: 20px; line-height: 1.6; color: var(--text-muted); }
.hero-actions { margin-top: 40px; gap: 16px; }
.hero-actions .button { margin-bottom: 0; }
.hero-art-column { padding: 0 0 0 24px; }
.space-composition { position: relative; width: 100%; height: 520px; }
.space-area { position: absolute; display: block; border: 1px solid #bdbdbb; }
.area-one { left: 2%; top: 19%; width: 64%; height: 40%; }
.area-two { left: 48%; top: 2%; width: 47%; height: 59%; }
.area-blue { left: 48%; top: 31%; width: 47%; height: 53%; background: var(--accent); border: 0; }
.area-three { left: 23%; top: 68%; width: 34%; height: 31%; border-color: #bdbdbb; }
.area-three::before { content: ""; position: absolute; left: calc(73.6% - 1px); top: -1px; width: calc(26.4% + 1px); height: 1px; background: white; }
.area-four { left: 65%; top: 61%; width: 35%; height: 39%; }

/* About and naming philosophy */
.about-section { padding-top: 0; }
.section-rule { border-top: 1px solid var(--border); padding-top: 72px; }
.about-layout { gap: 52px; margin-bottom: 0; }
.about-layout > .column { flex-shrink: 1; }
.about-layout h2 { max-width: 670px; font-size: 48px; }
.about-layout h2 span { display: block; }
.about-layout .section-description { max-width: 610px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-top: 36px; font-size: 16px; }
.principles li { display: flex; align-items: baseline; gap: 15px; }
.principles li::before { content: ""; width: 10px; height: 10px; flex-shrink: 0; background: var(--accent); }
.meaning-column { display: flex; align-items: center; }
.meaning-frame { position: relative; width: 100%; padding: 35px 28px; border-top: 1px solid #bdbdbb; border-bottom: 1px solid #bdbdbb; }
.meaning-frame::before, .meaning-frame::after { content: ""; position: absolute; left: 0; right: 0; height: 15px; border-left: 1px solid #bdbdbb; border-right: 1px solid #bdbdbb; }
.meaning-frame::before { top: 0; }
.meaning-frame::after { bottom: 0; }
.meaning-word { font-size: 80px; font-weight: 800; line-height: 1.1; letter-spacing: -0.06em; }
.meaning-pronunciation { margin-top: 14px; font-size: 20px; }
.meaning-definition { margin-top: 16px; color: var(--text-muted); font-size: 16px; }
.meaning-philosophy { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 28px; font-size: 20px; line-height: 1.55; letter-spacing: -0.02em; }

/* Open service rows */
.services-section { background: var(--surface); border-block: 1px solid var(--border); }
.service-list { margin: 0 -24px; }
.service-item { padding: 0 24px; }
.service-inner { height: 100%; padding: 0 0 38px; }
.service-item:nth-child(n + 3) .service-inner { border-top: 1px solid var(--border); padding-top: 34px; padding-bottom: 0; }
.item-number { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.service-icon { font-size: 31px; margin-bottom: 18px; }
.service-inner h3 { margin-bottom: 12px; }
.service-inner > p:last-child { color: var(--text-muted); font-size: 17px; line-height: 1.65; max-width: 530px; }

/* Featured project and schematic browser */
.project-layout { margin: 0 -24px; }
.project-layout > .column { padding: 0 24px; }
.project-status { display: inline-block; border: 1px solid #a3a3a0; padding: 5px 11px; font-size: 10px; color: #575757; font-weight: 600; letter-spacing: 0.12em; border-radius: 3px; }
.project-title { font-size: 58px; font-weight: 800; letter-spacing: -0.055em; margin-top: 26px; }
.project-description { color: var(--text-muted); font-size: 18px; margin-top: 24px; }
.project-categories { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 28px 0 32px; color: var(--text-muted); font-size: 12px; line-height: 1.6; }
.project-categories li + li { border-left: 1px solid var(--border); margin-left: 10px; padding-left: 10px; }
.project-stage { padding: 28px; background: #ececea; border-radius: 9px; }
.project-browser { overflow: hidden; border-radius: 8px; background: var(--surface); box-shadow: 0 16px 28px -18px rgb(0 0 0 / 22%); }
.browser-toolbar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid #ededee; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 7px; height: 7px; border-radius: 50%; background: #bcbcbc; }
.browser-address { background: #f2f2f3; font-size: 10px; color: #555; line-height: 1.7; padding: 2px 10px; flex: 1; border-radius: 4px; }
.browser-content { padding: 18px; }
.mockup-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 4px 20px; }
.mockup-header strong { font-size: 21px; letter-spacing: -0.035em; }
.mockup-header > div { display: flex; gap: 22px; font-size: 10px; }
.mockup-workspace { display: flex; align-items: center; gap: 18px; background: #eef4ff; border-radius: 6px; padding: 24px 18px; }
.mockup-intro { width: 34%; flex-shrink: 0; }
.mockup-intro p { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.035em; margin-bottom: 22px; }
.skeleton-line { display: block; height: 6px; width: 95%; margin-top: 9px; border-radius: 3px; background: #cfd8e6; }
.skeleton-line.short { width: 65%; }
.workflow-map { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 9px; width: 66%; }
.workflow-map::before { content: ""; position: absolute; top: 25%; bottom: 23%; left: 12%; right: 12%; border: 1px dashed #b7cef8; border-radius: 45px; }
.workflow-block { position: relative; z-index: 1; grid-column: span 2; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 15px 4px; border-radius: 7px; background: var(--surface); }
.workflow-block:nth-child(4) { grid-column: 2 / span 2; }
.workflow-block > .material-symbols-outlined { color: var(--accent); font-size: 27px; margin-bottom: 8px; }
.workflow-block > span:nth-child(2) { font-size: 9px; font-weight: 600; }
.workflow-block i { width: 62%; height: 4px; background: #e3e7ed; border-radius: 3px; margin-top: 9px; }
.workflow-block i + i { width: 78%; margin-top: 5px; }

/* Three-step process */
.process-section { padding-top: 16px; padding-bottom: 100px; }
.process-list { margin: 0 -22px; list-style: none; }
.process-step { padding: 0 22px; }
.process-number { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.process-number span { color: var(--accent); font-size: 24px; font-weight: 700; letter-spacing: -0.04em; }
.process-number::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.process-step h3 { margin-bottom: 20px; }
.process-step p { color: var(--text-muted); font-size: 17px; line-height: 1.7; }

/* Closing statement and footer */
.contact-section { padding-top: 0; padding-bottom: 96px; }
.contact-section h2 { font-size: 56px; font-weight: 500; line-height: 1.2; letter-spacing: -0.045em; }
.contact-section p { margin-top: 26px; color: var(--text-muted); font-size: 19px; }
.conversation-link { margin-top: 32px; }
.contact-art { position: relative; min-height: 210px; }
.contact-art span { position: absolute; width: 180px; height: 180px; right: 8%; top: 0; border: 1px solid #cfcfcb; border-radius: var(--radius); }
.contact-art span + span { width: 98px; height: 98px; top: 125px; right: 58%; }
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 44px 0 30px; }
.footer-main { margin-bottom: 32px; }
.footer-wordmark .wordmark-name { font-size: 35px; }
.footer-wordmark:hover { color: var(--text); }
.footer-tagline { font-size: 14px; margin-top: 4px; color: var(--text-muted); }
.social-links { display: flex; align-items: center; gap: 16px; }
.social-links a { display: flex; width: 44px; height: 44px; justify-content: center; align-items: center; border-radius: var(--radius); transition: color 180ms, background-color 180ms; }
.social-links a:hover { color: var(--accent); background: #eef4ff; }
.social-links svg { width: 25px; height: 25px; }
.copyright { color: var(--text-muted); font-size: 12px; }

/* Tablet and mobile: keep reading order, let areas become a smaller composition */
@media (max-width: 1023px) {
  :root { --header-height: 80px; }
  .container { width: calc(100% - 64px); }
  .navbar { display: block; }
  .navbar-brand { min-height: var(--header-height); justify-content: space-between; }
  .wordmark-name { font-size: 33px; }
  .navbar-menu { background: var(--background); box-shadow: none; padding: 8px 0 20px; border-top: 1px solid var(--border); }
  .navbar-end { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .navbar-item.nav-link { padding: 12px 4px; }
  .navbar-item.nav-cta { padding: 12px 0 0; }
  .nav-cta .button { width: 100%; }
  .navbar-burger { margin-left: auto; width: 48px; height: 48px; }
  .studio-hero .hero-body { padding: 66px 0 52px; }
  h1 { font-size: 66px; }
  .hero-art-column { padding: 36px 12px 0; }
  .space-composition { width: min(100%, 420px); height: 290px; margin-left: auto; margin-right: 8%; }
  .section { padding: 72px 0; }
  .about-section, .contact-section { padding-top: 0; }
  .section-rule { padding-top: 56px; }
  .about-layout { margin: -12px; }
  .meaning-column { margin-top: 40px; }
  .meaning-frame { max-width: 530px; padding: 30px; }
  .meaning-word { font-size: 62px; }
  .project-copy { margin-bottom: 40px; }
  .project-description { max-width: 640px; }
  .project-stage { max-width: 760px; }
  .mockup-workspace { min-height: 260px; }
  .workflow-block > span:nth-child(2) { font-size: 10px; }
  .process-section { padding-top: 16px; }
  .process-step + .process-step { margin-top: 34px; }
  .process-step p { max-width: 600px; }
  .process-number { margin-bottom: 16px; }
  .process-step h3 { margin-bottom: 12px; }
  .contact-art { display: none; }
  .contact-section h2 { font-size: 48px; }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 48px); }
  .section { padding-bottom: 56px; }
  h2 { font-size: 34px; }
  .about-layout h2 { font-size: 34px; }
  .about-layout h2 span { display: inline; }
  h3 { font-size: 24px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.25em; margin-bottom: 24px; }
  .studio-hero .hero-body { padding-top: 50px; }
  h1 { font-size: clamp(36px, 9.95vw, 60px); }
  .hero-description { margin-top: 26px; font-size: 16px; line-height: 1.7; }
  .hero-actions { gap: 12px; margin-top: 28px; }
  .button { font-size: 14px; padding: 14px 20px; min-height: 50px; }
  .hero-actions .button { padding-inline: 19px; }
  .hero-art-column { padding-top: 42px; }
  .space-composition { width: 86%; height: 245px; margin-right: 6%; }
  .section-rule { padding-top: 48px; }
  .section-description { font-size: 16px; }
  .principles { grid-template-columns: 1fr; gap: 15px; margin-top: 28px; font-size: 15px; }
  .meaning-column { margin-top: 28px; }
  .meaning-frame { padding: 28px 24px; }
  .meaning-word { font-size: 58px; }
  .meaning-pronunciation, .meaning-philosophy { font-size: 18px; }
  .meaning-definition { font-size: 15px; }
  .services-section { padding-top: 56px; }
  .section-title { margin-bottom: 36px; }
  .service-list { margin: 0; }
  .service-item { padding: 0; }
  .service-item + .service-item .service-inner { border-top: 1px solid var(--border); padding-top: 28px; }
  .service-inner, .service-item:nth-child(n + 3) .service-inner { padding-bottom: 28px; }
  .service-item:last-child .service-inner { padding-bottom: 0; }
  .service-icon { font-size: 28px; margin-bottom: 14px; }
  .service-inner > p:last-child { font-size: 16px; }
  .work-section { padding-top: 56px; }
  .project-title { font-size: 49px; margin-top: 20px; }
  .project-description { font-size: 16px; margin-top: 20px; }
  .project-categories { margin-block: 24px; font-size: 11px; }
  .project-stage { padding: 14px; border-radius: 7px; }
  .browser-toolbar { padding: 9px 10px; gap: 10px; }
  .browser-address { font-size: 8px; padding-left: 8px; }
  .browser-content { padding: 13px; }
  .mockup-header { flex-wrap: wrap; margin-bottom: 14px; }
  .mockup-header strong { font-size: 20px; }
  .mockup-header > div { gap: 12px; font-size: 8px; }
  .mockup-workspace { flex-direction: column; align-items: stretch; padding: 20px 12px; gap: 24px; }
  .mockup-intro { width: 100%; }
  .mockup-intro p { font-size: 21px; margin-bottom: 12px; }
  .skeleton-line { width: 70%; height: 5px; }
  .skeleton-line.short { width: 45%; }
  .workflow-map { width: 100%; gap: 12px 7px; }
  .workflow-block { padding: 14px 3px; }
  .workflow-block > span:nth-child(2) { font-size: 8px; }
  .workflow-block > .material-symbols-outlined { font-size: 24px; }
  .process-step p { font-size: 16px; }
  .contact-section h2 { font-size: 36px; }
  .desktop-break { display: none; }
  .contact-section p { font-size: 17px; margin-top: 22px; }
  .conversation-link { margin-top: 28px; }
  .site-footer { padding-top: 36px; }
  .footer-main { margin-bottom: 22px; }
  .social-links { margin-top: 14px; margin-left: -9px; gap: 14px; }
}

/* Navigation remains available when JavaScript is disabled. */
@media (max-width: 1023px) {
  html:not(.js-enabled) .navbar-burger { display: none; }
  html:not(.js-enabled) .navbar-menu { display: block; }
  html:not(.js-enabled) .site-header { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button.is-primary:hover, .button.is-outlined:hover { transform: none; }
}
