:root{
  --canvas:#ffffff;
  --paper:#ffffff;
  --ink:#171717;
  --muted:#555555;
  --accent:#E85D3F;
  --line:#171717;
  --soft:#d5d5d2;
  --max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:"IBM Plex Mono",monospace;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}

body:before{display:none}

/* The reference is built around one strong framed canvas. */
.hero,
.section,
footer{
  width:100%;
  max-width:none;
  margin:0;
  background:var(--paper);
}
.hero{
  margin-top:0;
  border:0;
  border-radius:0;
  padding:0 24px 24px;
  min-height:auto;
  display:block;
}
.hero:before{display:none}
.brand{
  height:78px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 24px;
  border-bottom:1.5px solid var(--ink);
  min-width:0;
}
.brand-symbol{
  width:40px;
  height:38px;
  object-fit:contain;
  flex:0 0 auto;
}
.brand-wordmark{
  width:150px;
  max-height:54px;
  height:auto;
  object-fit:contain;
  object-position:left center;
  flex:0 0 auto;
}
.hero-content{
  position:relative;
  margin-top:18px;
  min-height:280px;
  padding:92px 32px 35px;
  border:1.5px solid var(--ink);
  border-radius:18px;
}
.eyebrow{
  position:absolute;
  top:26px;
  left:32px;
  margin:0;
  font-size:10px;
  letter-spacing:.2em;
  color:var(--muted);
}
.eyebrow span{
  width:6px;height:6px;
  display:inline-block;
  background:var(--ink);
  margin-right:9px;
}
h1{
  margin:0;
  font-size:clamp(62px,8vw,112px);
  line-height:.84;
  letter-spacing:-.075em;
  font-weight:500;
}
h1 em{font-style:normal;color:#7f7f7f}
.intro{
  position:absolute;
  right:34px;
  bottom:34px;
  width:min(280px,30%);
  margin:0;
  color:#505050;
  font-size:11px;
  line-height:1.65;
}
.button{
  display:none;
}

/* The reference has a lower tiled/card area. */
.hero-field{
  position:absolute;
  display:none;
}
.hero-content:after{
  content:"MATERIAL / 01";
  position:absolute;
  right:30px;
  top:28px;
  font-size:8px;
  letter-spacing:.18em;
  color:var(--muted);
}

.section{
  border-left:0;
  border-right:0;
  border-top:6px solid var(--ink);
  padding:0 24px;
}
.about{
  min-height:0;
  padding-top:18px;
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:8px;
  align-items:stretch;
}
.about .section-label{
  min-height:270px;
  padding:32px 28px;
  background:var(--accent);
  color:#f1f0eb;
  font-size:9px;
  letter-spacing:.2em;
}
.about-copy{
  min-height:270px;
  padding:32px;
  background:#1d1d1d;
  color:#f1f0eb;
}
.about-copy h2{
  word-spacing:normal;
  color:#f1f0eb;
  margin:58px 0 0;
  font-size:clamp(40px,4.8vw,66px);
  line-height:.9;
  letter-spacing:-.065em;
  font-weight:500;
}
.about-copy p{
  word-spacing:normal;
  max-width:500px;
  margin:30px 0 0;
  color:#dedede;
  font-size:11px;
  line-height:1.75;
}
.about-copy .supplier-note{
  margin-top:16px;
  max-width:520px;
  color:#bdbdbd;
  font-size:10px;
  line-height:1.7;
}
.about-copy:after{display:none}

.research{
  min-height:0;
  padding-top:18px;
  padding-bottom:18px;
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:8px;
}
.research > .section-label{
  padding:32px 28px;
  background:#1d1d1d;
  color:#f1f0eb;
  font-size:9px;
  letter-spacing:.2em;
  min-height:300px;
}
.research-grid{
  margin:0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  background:none;
  border:0;
}
.research-card{
  min-height:300px;
  padding:25px 22px;
  background:var(--paper);
  border:1.5px solid var(--ink);
  border-radius:16px;
  position:relative;
  overflow:hidden;
}
.research-card:nth-child(1){background:var(--paper);color:var(--ink);border-color:var(--ink)}
.research-card:nth-child(2){background:#1d1d1d;color:#f1f0eb;border-color:#1d1d1d}
.research-card:nth-child(3){background:var(--accent);color:#f1f0eb;border-color:var(--accent)}
.research-card:nth-child(3) p,
.research-card:nth-child(3) .num{color:#f1f0eb;opacity:1}
.research-card .num{
  font-size:10px;
  color:inherit;
  opacity:.9;
}
h3{
  margin:82px 0 16px;
  font-size:16px;
  font-weight:500;
}
.research-card p{
  margin:0;
  max-width:260px;
  color:inherit;
  opacity:1;
  font-size:11px;
  line-height:1.7;
}
.research-card:after{display:none}

.contact{
  min-height:0;
  padding-top:18px;
  padding-bottom:28px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
}
.contact > div{
  flex:1;
  padding:32px;
  min-height:230px;
  border:1.5px solid var(--ink);
  border-radius:16px;
  background:var(--paper);
}
.contact .section-label{
  font-size:9px;
  letter-spacing:.2em;
  color:var(--muted);
}
.contact h2{
  margin-top:62px;
  font-size:clamp(42px,5.2vw,70px);
  line-height:.9;
  letter-spacing:-.065em;
  font-weight:500;
}
.contact-copy{
  max-width:520px;
  margin:22px 0 0;
  color:var(--muted);
  font-size:11px;
  line-height:1.7;
}
.email{
  min-width:280px;
  padding:18px 4px 10px;
  font-size:11px;
  border-bottom:1px solid var(--ink);
}
.email span{margin-left:14px}

footer{
  border:6px solid var(--ink);
  border-top:0;
  border-radius:0 0 32px 32px;
  padding:24px 30px 30px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  background:var(--paper);
  color:var(--muted);
  font-size:8px;
  letter-spacing:.12em;
}
footer span:first-child{color:var(--ink);font-weight:600}
.footer-brand{display:flex;align-items:center;gap:8px}
.footer-brand img{width:16px;height:16px;object-fit:contain}

@media(max-width:900px){
  .hero{margin-top:20px;border-radius:24px 24px 0 0}
  .brand{height:68px;padding:0 20px}
  .brand-symbol{width:34px;height:34px}
  .brand-wordmark{width:135px;max-height:48px}
  .hero-content{padding:76px 24px 30px}
  h1{font-size:clamp(54px,9vw,90px)}
  .intro{width:30%;font-size:9px}
  .about{grid-template-columns:1fr 1.5fr}
  .research{grid-template-columns:1fr 2fr}
  .research-grid{grid-template-columns:repeat(3,1fr)}
  .research-card{min-height:260px}
  h3{margin-top:65px;font-size:13px}
  .contact > div{min-height:210px}
}
@media(max-width:620px){
  .hero{
    margin-top:0;
    border-width:4px;
    border-radius:0;
    padding:0 10px 10px;
  }
  .brand{
    height:62px;
    padding:0 16px;
  }
  .hero-content{
    margin-top:10px;
    min-height:300px;
    padding:78px 18px 25px;
    overflow:hidden;
    border-radius:14px;
  }
  .eyebrow{left:18px;top:22px;font-size:7px}
  h1{font-size:48px;line-height:.9;letter-spacing:-.04em;word-spacing:.13em}
  .intro{
    left:18px;
    right:auto;
    bottom:24px;
    width:55%;
    font-size:8px;
    line-height:1.7;
  }
  .hero-content:after{
    right:18px;
    top:22px;
    font-size:7px;
  }

  .section{
    border-left-width:4px;
    border-right-width:4px;
    padding:0 10px;
  }
  .about{
    padding-top:10px;
    grid-template-columns:1fr;
    gap:10px;
  }
  .about .section-label{
    min-height:auto;
    padding:18px;
    background:transparent;
    color:var(--muted);
    font-size:7px;
  }
  .about-copy{
    min-height:290px;
    padding:22px 18px;
    border-radius:12px;
  }
  .about-copy h2{margin-top:52px;font-size:clamp(30px,9vw,38px)}
  .about-copy p{font-size:10.5px;margin-top:25px;line-height:1.7}
  .about-copy .supplier-note{margin-top:14px;font-size:9.5px}

  .research{
    padding-top:10px;
    padding-bottom:10px;
    grid-template-columns:1fr;
    gap:10px;
  }
  .research > .section-label{
    min-height:auto;
    padding:18px;
    background:transparent;
    color:var(--muted);
    font-size:7px;
  }
  .research-grid{grid-template-columns:1fr;gap:10px}
  .research-card{
    min-height:175px;
    padding:18px;
    border-radius:12px;
  }
  h3{margin-top:48px;font-size:15px;line-height:1.2}
  .research-card p{font-size:10.5px;line-height:1.7}

  .contact{
    padding-top:10px;
    padding-bottom:16px;
    flex-direction:column;
    align-items:stretch;
    gap:18px;
  }
  .contact > div{min-height:235px;padding:22px 18px;border-radius:12px}
  .contact h2{margin-top:55px;font-size:clamp(28px,8.5vw,36px)}
  .contact-copy{font-size:10px;margin-top:18px;line-height:1.7}
  .email{
     width:100%;
     min-height:62px;
     margin-top:28px;
     padding:16px 0 8px;
     font-size:13px;
     border-radius:0;
  }

  footer{
    border-width:4px;
    border-top:0;
    border-radius:0 0 22px 22px;
    padding:20px 20px 25px;
    font-size:6px;
    flex-wrap:wrap;
  }
}
@media(max-width:380px){
  .brand-wordmark{width:96px}
  .hero-content{min-height:320px}
  h1{font-size:43px}
  .intro{width:64%}
  .research-card{min-height:185px}
}
/* Final hero word spacing: give each line noticeably more breathing room. */
.hero-content h1 { word-spacing: .30em; line-height: 1.02; }
@media (max-width: 620px) {
  .hero-content h1 { word-spacing: .22em; line-height: 1.00; }
}

/* Responsive polish — restrained, professional interactions */
html { scroll-behavior: smooth; }

a, .research-card, .button {
  -webkit-tap-highlight-color: transparent;
}

.button {
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}

.research-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.research-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.research-card:nth-child(3):hover {
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

.email {
  transition: opacity .2s ease, padding-left .2s ease, padding-right .2s ease;
}
.email:hover {
  opacity: 1;
  padding-left: 4px;
  padding-right: 4px;
}

.brand img {
  transition: opacity .2s ease;
}
.brand:hover img {
  opacity: .78;
}

@media (max-width: 900px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
  .research-card {
    min-height: 180px;
  }
  .research-card:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 620px) {
  .hero-content h1 {
    line-height: 1.04;
  }
  .research-card {
    min-height: 0;
    padding: 24px;
  }
  .button {
    width: 100%;
    justify-content: space-between;
  }
  .email:hover {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Final layout fixes */
.brand-symbol,
.brand-wordmark {
  display:block;
  object-fit:contain;
}
.brand-symbol { width:42px; height:42px; }
.brand-wordmark { width:175px; max-height:56px; }

@media (max-width:620px) {
  .hero { padding:0 12px 12px; }
  .section { padding-left:12px; padding-right:12px; }
  .brand { padding:0 12px; }
  .brand-symbol { width:34px; height:34px; }
  .brand-wordmark { width:145px; max-height:46px; }
}

/* Full-viewport final override */
html, body {
  width: 100%;
  min-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body > .hero,
body > .section,
body > footer {
  width: 100vw !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body > .hero {
  margin-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

body > .section {
  border-left: 0 !important;
  border-right: 0 !important;
}

body > footer {
  width: 100vw !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

/* FINAL CLEAN CANVAS */
html, body {
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:before, body:after { display:none !important; content:none !important; }
.hero, .section, footer {
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
}
.section { border-top: 0 !important; }
footer { border: 0 !important; border-radius: 0 !important; }

@media (max-width:620px) {
  .hero, .section, footer { border-left:0 !important; border-right:0 !important; }
}
