/* InkForge — ink, paper and intent. Shared visual layer for all three pages. */
:root { --max: 100%; --radius-ui: 0; --accent: #c2382a; --gutter: max(24px, 5vw); --header-height: 92px; }
body { background: #f7f5f2; }
::selection { background: #c2382a; color: #fff; }
:focus-visible { outline: 2px solid #c2382a; outline-offset: 5px; }
.site-header { background: rgba(12,13,12,.96); border-bottom: 1px solid #ffffff20; box-shadow: none; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease; }
.site-header.is-scrolled { background: rgba(12,13,12,.68); border-bottom-color: #ffffff30; box-shadow: 0 12px 36px #0004; backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); }
.site-header.nav-open { background: rgba(12,13,12,.9); }
.site-header-inner { min-height: 92px; padding-top: 16px; padding-bottom: 16px; grid-template-columns: 208px 1fr auto; gap: 24px; }
.site-header .brand img { width: 208px; }
.site-header .brand { position: relative; }
.site-header .brand::after {
  content: "";
  position: absolute;
  inset: 12% auto 15% 38.5%;
  width: 1px;
  background: #b44a3e;
  pointer-events: none;
}
.site-nav { gap: clamp(16px,2.2vw,32px); }
.site-nav a { color: #c2c0ba; font-size: 10px; letter-spacing: .12em; font-weight: 500; }
.site-nav a:hover,.site-nav a.is-active { color: #fff; }
.header-cta { background: transparent; color: #f7f5f2; border: 1px solid #77736c; border-radius: 0; font-weight: 500; }
.header-cta:hover { background: #c2382a; border-color: #c2382a; }
.language-switch { border-color: #ffffff30; background: transparent; border-radius: 0; }
.language-switch button { color: #a8a69e; }
.language-switch button.is-active { color: #fff; background: #ffffff15; border-radius: 0; }
.hero { background: #080a09; color: #f7f5f2; min-height: calc(100svh - var(--header-height)); }
.hero-inner { min-height: calc(100svh - var(--header-height)); padding-top: clamp(28px,5svh,72px); padding-bottom: clamp(76px,10svh,110px); display: flex; align-items: center; }
.hero-copy { max-width: 720px; }
.hero h1 { font-size: clamp(48px,min(5.7vw,8svh),82px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; max-width: 760px; }
.hero h1 em { color: #e14c38; }
.hero-copy > p:not(.eyebrow) { color: #c0c0b9; max-width: 460px; font-size: 15px; line-height: 1.85; margin-top: 28px; }
.hero .eyebrow { color: #cccac2; letter-spacing: .22em; font-size: 10px; margin-bottom: 34px; }
.eyebrow .seal { width: 26px; height: 1px; background: #c2382a; border: 0; font-size: 0; transform: none; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 1; pointer-events: none; transform: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; filter: none; transform: none; mix-blend-mode: normal; }
.hero-art::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,rgba(8,10,9,.78) 0%,rgba(8,10,9,.52) 29%,transparent 62%),linear-gradient(0deg,rgba(8,10,9,.92) 0%,transparent 30%); border: 0; width: auto; height: auto; transform: none; }
.tech-trace { display: none; }
.hero-actions { gap: 22px; margin-top: 35px; }
.button { min-height: 48px; padding: 15px 24px; border-radius: 0; font-size: 11px; letter-spacing: .08em; font-weight: 600; }
.hero .button-dark,.contact-form .button-dark { background: #c2382a; border-color: #c2382a; color: #fff; }
.hero .button-dark:hover,.contact-form .button-dark:hover { background: #a62b20; }
.hero .button-light { color: #f7f5f2; background: transparent; border-color: #ffffff50; }
.hero .button-light:hover { background: #ffffff12; }
.hero-caption { position: absolute; bottom: 34px; left: var(--gutter); right: var(--gutter); z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #ffffff30; padding-top: 22px; color: #b6b5ad; font-size: 9px; text-transform: uppercase; letter-spacing: .2em; }
.hero-caption span:first-child::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 12px; border-radius: 50%; background: #d34331; }
.hero-caption a { color: #eeece5; }
.section { padding-top: 110px; padding-bottom: 110px; }
.section-heading h2,.why-copy h2,.engineering-section h2,.studio-section h2,.final-cta h2 { font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
.section-heading { margin-bottom: 56px; }
.section-heading p:not(.eyebrow),.studio-copy > p { font-size: 15px; line-height: 1.9; }
.capabilities .section-heading { position: relative; grid-template-columns: .8fr 1.2fr; gap: 24px 60px; }
.capabilities .section-heading > p:last-child { grid-column: 2; margin: 0; max-width: 480px; }
.capabilities .section-heading::after { content: none; }
.capability-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; counter-reset: capability; }
.capability-grid article { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid #0d0d0d40; border-right: 1px solid #0d0d0d20; padding: 34px 28px 24px; background: transparent; counter-increment: capability; transition: background-color 520ms ease, border-color 520ms ease; }
.capability-grid article:first-child { padding-left: 28px; }
.capability-grid article:last-child { border-right: 0; }
.capability-grid article::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transform: scale(.42); transform-origin: 24% 18%; background: radial-gradient(ellipse 68% 52% at 24% 18%, #9d78632b 0%, #a7866f1c 54%, transparent 100%),radial-gradient(ellipse 82% 68% at 55% 42%, #ae907b1c 0%, transparent 88%); transition: opacity 520ms ease, transform 520ms cubic-bezier(.2,.72,.24,1); }
.capability-grid article::after { content: '0' counter(capability); position: absolute; z-index: 1; top: 38px; right: 24px; color: #77736c; font-size: 10px; letter-spacing: .1em; }
.capability-grid article.is-active { border-top-color: #c2382a; background-color: #eee9e1; }
.capability-grid article:hover:not(.is-active) { border-top-color: #0d0d0d40; background: transparent; }
.capability-grid article.is-active::before { opacity: 1; transform: scale(1); }
.capability-grid article.is-active::after { color: #a63226; }
.capability-grid h3 { position: relative; z-index: 1; font-size: 25px; font-weight: 500; }
.capability-trigger { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: none; font: inherit; line-height: inherit; text-align: left; cursor: pointer; transition: color 520ms ease; }
.capability-grid article.is-active .capability-trigger { color: #9f3026; }
.capability-grid p { max-width: 46ch; font-size: 13px; line-height: 1.9; }
.capability-grid .line-icon { position: relative; z-index: 1; display: block; margin-bottom: 36px; transition: opacity 520ms ease, transform 520ms ease; }
.capability-grid article.is-active .line-icon { opacity: 1; transform: translateY(-2px); }
.experience-section { background: #141614; color: #f0eee7; }
.experience-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  align-items: center;
  gap: clamp(32px, 6vw, 112px);
  margin-bottom: 56px;
}
.experience-intro .section-heading { margin-bottom: 0; }
.experience-reticle { display: block; width: min(100%, 440px); justify-self: end; color: #e2d8cc; }
.experience-section::after { background-image: url('assets/brand/enso-brush-red.png'); width: 470px; height: 470px; opacity: .045; filter: grayscale(1); }
.experience-section .eyebrow,.experience-section .section-heading p:not(.eyebrow) { color: #aaa9a1; }
.industry-grid { gap: 0; }
.industry-grid article { border: 0; border-top: 1px solid #ffffff30; background: transparent; padding: 34px 36px 40px 0; }
.industry-grid article:nth-child(even) { padding-left: 36px; border-left: 1px solid #ffffff20; }
.industry-grid article > span { position: static; display: block; background: none; border: 0; padding: 0; margin-bottom: 22px; color: #d96251; font-weight: 500; }
.industry-grid h3 { font-size: 32px; font-weight: 500; }
.industry-grid p,.secondary-index p { color: #b1b2aa; }
.industry-grid b { color: #bebfb7; border: 1px solid #ffffff30; border-radius: 20px; padding: 7px 12px; font-weight: 400; font-size: 9px; }
.secondary-index { border-color: #ffffff25; margin-top: 40px; }
.secondary-index h3 { color: #aaa9a1; font-weight: 500; }
.lab-preview { border-bottom: 1px solid #0d0d0d30; }
.lab-preview h2 { font-weight: 500; }
.lab-preview-card { padding-top: 28px; border-top: 1px solid #0d0d0d30; }
.lab-preview-card h3 { font-weight: 500; font-size: 32px; }
.lab-preview-card:hover { background: #ede9e1; }
.why-editorial { grid-template-columns: 1.3fr .7fr; }
.why-signature { min-height: 290px; }
.why-signature img { width: min(100%, 400px); height: auto; opacity: 1; }
.why-section.is-visible .why-signature img { opacity: 1; }
.why-principles { border-top-color: #0d0d0d30; background: transparent; }
.why-principles article { background: none; border: 0; border-right: 1px solid #0d0d0d20; padding-right: 24px; }
.why-principles article:last-child { border-right: 0; }
.engineering-section { position: relative; isolation: isolate; background: #0b0b0b; }
.engineering-section::before { content: none; }
.engineering-inner { min-height: 600px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.engineering-inner > div:first-child { max-width: 540px; }
.engineering-section h2 { font-size: clamp(42px,5vw,66px); }
.engineering-section p { font-size: 15px; max-width: 390px; line-height: 1.9; color: #bfbfb7; }
.ink-field { display: block; min-height: 420px; background: none; }
.ink-field img { width: min(520px, 100%); max-width: none; opacity: 1; filter: grayscale(1) contrast(1.3) brightness(.72); }
.studio-section { padding-block: clamp(52px, 6vw, 88px); }
.studio-grid { max-width: 1440px; margin-inline: auto; gap: clamp(28px, 5vw, 80px); align-items: center; }
.studio-copy { gap: 16px; }
.studio-copy .section-heading,.studio-copy > p,.studio-cards p { margin: 0; }
.studio-copy > p { max-width: 65ch; }
.studio-cards { gap: 0; padding: 0; border-bottom: 1px solid #0d0d0d40; }
.studio-cards article { border: 0; border-top: 1px solid #0d0d0d40; padding: 22px 0; background: transparent; }
.studio-cards article:nth-child(2) { margin-left: 0; }
.studio-cards article > span { position: static; background: transparent; padding: 0; border: 0; display: block; margin-bottom: 10px; }
.studio-cards h3 { margin: 0 0 8px; }
.final-cta { min-height: 480px; padding: 90px var(--gutter); background: #151714; color: #f7f5f2; border-top: 1px solid #ffffff20; text-align: center; }
.final-cta-copy { max-width: 800px; margin: 0 auto; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { font-size: clamp(42px,5vw,66px); }
.final-cta p { color: #bfbeb6; }
.final-cta-art { inset: 0; width: 100%; opacity: .06; background: url('assets/brand/enso-brush-red.png') right center / contain no-repeat; }
.final-cta-art img { display: none; }
.final-cta .button-paper { background: #c2382a; color: white; border-color: #c2382a; }
.site-footer { padding-top: 55px; padding-bottom: 28px; }
.footer-brand img { width: min(208px, 100%); }
.site-footer nav a,.site-footer nav span { font-size: 10px; }
.copyright { border-top: 1px solid #0d0d0d20; padding-top: 24px; }
.lab-hero { background: #101210; color: #f7f5f2; }
.lab-hero::after {
  right: 0;
  bottom: -120px;
  width: min(65%, 650px);
  height: 560px;
  border: 0;
  background: url('assets/brand/enso-signature.svg') center / contain no-repeat;
  opacity: .24;
  pointer-events: none;
}
.lab-hero-grid { min-height: 440px; align-items: center; }
.lab-hero h1 { font-weight: 500; }
.lab-hero .eyebrow,.lab-hero-copy p { color: #bebfb6; }
.lab-hero-copy { max-width: 440px; border-color: #ffffff40; }
.lab-hero-copy p { margin: 20px 0 16px; }
.lab-hero-copy span { display: block; color: #e57665; line-height: 1.6; }
.lab-explore { margin-top: 24px; color: #f7f5f2; border-color: #ffffff55; }
.lab-explore:hover { color: #fff; background: #a62b20; border-color: #a62b20; }
.lab-index { gap: 16px clamp(24px, 5vw, 72px); }
.lab-index h2,.lab-method-title h2 { font-weight: 500; letter-spacing: -.035em; }
.lab-product-tab { gap: 6px 14px; }
.lab-product-tab strong { font-size: clamp(18px, 2.4vw, 26px); }
.lab-method { gap: clamp(28px, 6vw, 88px); padding-block: clamp(56px, 7vw, 96px); }
.lab-method-steps article { min-height: 0; }
.lab-method-steps h3 { margin-top: 28px; }
.lab-cta { background: #141614; color: #f7f5f2; }
.lab-cta p { color: #bebfb6; }
.lab-cta .button-paper { background: #c2382a; border-color: #c2382a; color: #fff; }
.lab-cta .button-paper:hover { background: #a62b20; border-color: #a62b20; }
@media (min-width: 561px) and (max-width: 900px) {
  .lab-product-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lab-product-tab { padding: 18px 12px; border-right: 1px solid var(--paper-line); border-bottom: 0; }
}
.contact-page-hero { background: #101210; color: #f7f5f2; }
.contact-page-art { inset: 0; width: 100%; opacity: .13; background: url('assets/brand/hero-ink-atmosphere.jpg') left bottom / cover no-repeat; }
.contact-page-art::before,.contact-page-art img { display: none; }
.contact-page-panel { padding-top: 90px; padding-bottom: 100px; }
.contact-section h1 { font-weight: 500; letter-spacing: -.035em; }
.contact-section h1 em { color: #e16654; }
.contact-copy p,.contact-meta,.contact-meta a { color: #bfbfb7; }
.contact-meta .material-symbols-outlined { color: #d96251; }
.contact-form { color: #171916; background: #f7f5f2; border-color: #ccc6bb; box-shadow: 0 24px 80px #0003; }
.contact-form:hover,.contact-form:focus-within { background: #f7f5f2; transform: none; }
.contact-form input,.contact-form select,.contact-form textarea { border-radius: 0; }
@media (min-width: 901px) {
  .contact-page-hero { min-height: calc(100svh - var(--header-height)); }
  .contact-page-panel {
    min-height: calc(100svh - var(--header-height));
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 88px);
    padding-block: clamp(22px, 3vh, 42px);
  }
  .contact-section h1 { font-size: clamp(42px, 4.3vw, 68px); }
  .contact-copy .accent-block { margin-bottom: 24px; }
  .contact-intro { margin-top: 20px; }
  .contact-intro p + p { margin-top: 12px; }
  .contact-meta { gap: 10px; margin-top: 28px; }
  .contact-form { min-height: 0; width: min(100%, 660px); padding: clamp(24px, 2.6vw, 40px); }
  .form-kicker { margin-bottom: 18px; padding-bottom: 12px; }
  .form-grid { gap: 16px 22px; }
  .contact-form label { gap: 8px; }
  .contact-form input,.contact-form select { height: 36px; padding-bottom: 6px; }
  .contact-form textarea { min-height: 92px; height: clamp(92px, 10vh, 120px); }
  .form-footer { margin-top: 18px; }
}
.menu-toggle { background: transparent; border-color: #ffffff40; }
.menu-toggle span { background: #f7f5f2; }
@media (min-width: 821px) and (max-width: 1100px) { .site-header-inner { grid-template-columns: 164px 1fr auto; gap: 16px; } .site-header .brand img { width: 164px; } .header-cta { display: none; } }
@media (max-width: 900px) {
  .lab-hero-grid { min-height: 0; gap: 28px; }
  .lab-hero::after { bottom: -60px; opacity: .14; }
  .capabilities .section-heading { grid-template-columns: 1fr; }
  .capabilities .section-heading > p:last-child { grid-column: 1; }
  .capabilities .section-heading::after,.experience-reticle { display: none; }
  .experience-intro { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero h1 { max-width: 590px; }
  .hero-inner { min-height: calc(100svh - var(--header-height)); }
  .hero-art { width: 100%; margin-top: 0; }
  .hero-art::before { background: linear-gradient(90deg,rgba(8,10,9,.98),rgba(8,10,9,.7) 55%,rgba(8,10,9,.3)),linear-gradient(0deg,#080a09,transparent 65%); }
  .why-editorial { grid-template-columns: 1fr; }
  .why-signature { min-height: 220px; }
  .engineering-inner { grid-template-columns: 1fr; min-height: 0; gap: 32px; }
  .ink-field { width: min(100%, 520px); min-height: 0; aspect-ratio: 1; margin-inline: auto; }
  .ink-field img { position: relative; inset: auto; display: block; width: 100%; height: auto; transform: rotate(-3deg); }
}
@media (max-width: 820px) {
  :root { --header-height: 80px; }
  .site-header-inner { min-height: 80px; padding-top: 16px; padding-bottom: 16px; gap: 12px; }
  .site-header .brand img { width: 160px; }
  .header-cta { display: none; }
  .menu-toggle { width: 44px; height: 44px; }
  .language-switch { height: 44px; }
  .language-switch button { height: 36px; }
  .site-header.nav-open .site-nav { gap: 0; border-top-color: #ffffff30; }
  .site-header.nav-open .site-nav a { min-height: 48px; border-top-color: #ffffff15; }
  .hero-inner { padding-top: 48px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(47px,8.5vw,68px); }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; max-width: 430px; }
  .hero-caption { font-size: 10px; letter-spacing: .08em; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .studio-section { padding-block: 52px; }
  .capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .capability-grid article,.capability-grid article:first-child { padding: 28px 20px; }
  .capability-grid article:nth-child(even) { border-right: 0; }
  .industry-grid article,.industry-grid article:nth-child(even) { padding: 30px 0; border-left: 0; }
  .why-principles article { border-right: 0; border-top: 1px solid #0d0d0d25; padding-top: 24px; }
  .engineering-inner > div:first-child { max-width: 500px; }
  .contact-page-panel { padding-top: 60px; padding-bottom: 70px; }
  .contact-section { gap: 32px; }
  .contact-copy,.contact-form { width: min(100%, 680px); max-width: none; margin-inline: auto; }
  .contact-form { padding: 32px 24px; }
  .contact-form input,.contact-form select,.contact-form textarea { font-size: 16px; }
}
@media (min-width: 561px) and (max-width: 820px) {
  .industry-grid,.why-principles,.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid article:nth-child(odd) { padding-right: 20px; }
  .industry-grid article:nth-child(even) { padding-left: 20px; border-left: 1px solid #ffffff20; }
}
@media (max-width: 560px) {
  .hero { min-height: calc(100svh - var(--header-height)); }
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    min-height: calc(100svh - var(--header-height));
    padding-block: 32px 28px;
  }
  .hero-copy { margin-block: auto; }
  .hero .eyebrow { margin-bottom: 22px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 54px); }
  .hero-copy > p:not(.eyebrow) { margin-top: 20px; }
  .hero-art { margin-top: 0; }
  .hero-art img { object-position: 62% center; }
  .hero-art::before {
    background: linear-gradient(90deg, #080a09e8, #080a0970),
      linear-gradient(0deg, #080a09 5%, #080a09b0 37%, transparent 85%);
  }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-actions .button { padding: 12px; font-size: 10px; }
  .hero-caption {
    position: relative;
    inset: auto;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 0;
    padding-top: 16px;
  }
  .hero-caption span:nth-child(2) { display: none; }
  .hero-caption a { display: inline-flex; align-items: center; min-height: 44px; }
  .section { padding-block: 52px; }
  .section-heading,.experience-intro { margin-bottom: 32px; }
  .why-editorial { gap: 16px; margin-bottom: 32px; }
  .why-signature { min-height: 0; }
  .engineering-inner { min-height: 0; padding-block: 48px; }
  .engineering-section h2 { font-size: clamp(34px, 9vw, 44px); }
  .ink-field { width: min(100%, 440px); margin-top: 8px; }
  .final-cta { min-height: 0; margin-top: 0; padding-block: 56px; }
  .final-cta-copy { padding: 0; }
  .lab-index { margin-bottom: 28px; }
  .lab-index,.lab-product-tabs,.demo-story { margin-inline: var(--gutter); }
  .demo-story-head { margin-bottom: 18px; }
  .demo-story h2 { font-size: clamp(30px, 8vw, 42px); }
  .demo-filters button { min-height: 44px; }
  .contact-page-panel { padding-block: 48px 56px; }
  .contact-form { padding: 24px 18px; }
  .form-kicker { margin-bottom: 22px; }
  .form-grid { gap: 18px; }
  .form-footer { margin-top: 24px; }
  .form-status:empty { display: none; }
  .site-footer { gap: 22px; padding-top: 36px; }
  .site-footer nav { gap: 0; }
  .site-footer nav a { display: flex; align-items: center; width: fit-content; min-height: 44px; }
}
@media (min-width: 381px) and (max-width: 560px) {
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) and (max-height: 700px) {
  .hero-inner { gap: 16px; padding-block: 20px 12px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-copy > p:not(.eyebrow) { margin-top: 12px; line-height: 1.5; }
  .hero-actions { margin-top: 16px; }
  .hero-actions .button { min-height: 44px; }
}
@media (max-width: 480px) {
  .site-header-inner { gap: 8px; }
  .site-header .brand img { width: 140px; }
  .why-signature img { width: min(100%, 280px); }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article,.capability-grid article:first-child { padding: 28px 20px; border-right: 0; }
  .line-icon { margin-bottom: 20px; }
}
@media (max-width: 380px) {
  .site-header-inner { flex-wrap: nowrap; gap: 6px; padding-inline: 16px; }
  .site-header.nav-open .site-header-inner { flex-wrap: wrap; }
  .site-header .brand img { width: 110px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { flex: 0 0 40px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
