:root {
  color-scheme: light;
  --ink: #112b33;
  --deep: #0c2028;
  --muted: #4a6065;
  --mint: #78e1c9;
  --green: #136556;
  --paper: #f7f8f4;
  --line: #ccd8d3;
  --font: "Instrument Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { block-size: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--font); }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.038em; }
h2 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 700; }
h3 { font-size: 1.5rem; }
p + p { margin-top: 1rem; }
:focus-visible { outline: 3px solid #148a72; outline-offset: 5px; }
.shell { width: min(100% - 96px, 1280px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7.25rem); }
.skip { position: absolute; z-index: 10; left: 1rem; top: -5rem; padding: .7rem 1rem; background: white; }
.skip:focus { top: 1rem; }

.masthead { background: var(--deep); color: #edf9f6; position: relative; z-index: 2; }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; white-space: nowrap; font-size: 15px; letter-spacing: .12em; line-height: 1; font-weight: 800; }
.brand strong { font-weight: 500; }
.mark { width: 33px; height: 33px; flex: 0 0 33px; background: url("evelis-mark.png") center / contain no-repeat; }
nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.7rem); }
nav a, .header-contact { text-decoration: none; font-size: .93rem; font-weight: 600; }
nav a:hover, .header-contact:hover { color: var(--mint); }
.header-contact { padding-bottom: 3px; border-bottom: 1px solid var(--mint); }
.header-contact span { padding-left: 7px; }
.menu-toggle { display: none; color: inherit; border: 1px solid #567378; background: transparent; padding: 5px 11px; }

.hero { position: relative; display: grid; align-items: center; min-height: min(640px, 78vw); background: linear-gradient(90deg, rgba(9,28,35,.98), rgba(9,28,35,.79) 39%, rgba(9,28,35,.17) 83%), url("weaving.webp") 62% 55% / cover no-repeat, #142d37; color: #fff; }
.hero-inner { padding-block: 88px 100px; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: 16px; color: var(--green); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 24px; border-top: 2px solid currentColor; }
.hero .eyebrow, .careers .eyebrow { color: var(--mint); }
.hero h1 { font-size: clamp(3rem, 7.05vw, 7.25rem); max-width: 1100px; font-weight: 700; letter-spacing: -.066em; }
.hero-copy { max-width: 510px; margin-top: 23px; color: #e4efee; font-size: clamp(1rem, 1.65vw, 1.23rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; gap: 14px; align-items: center; justify-content: center; min-height: 49px; padding: .7rem 1.08rem; border: 1px solid transparent; font-size: .9rem; font-weight: 800; text-decoration: none; }
.button-bright { background: var(--mint); color: #092c25; }
.button-bright:hover { background: #a1f3e0; }
.button-outline { border-color: #b3c6c7; color: white; }
.button-outline:hover { background: #ffffff20; }
.hero-caption { position: absolute; right: max(22px, calc((100vw - 1280px) / 2)); bottom: 16px; font-size: .7rem; color: #fff; padding: 2px 6px; background: #0c2028bd; }
.summary { background: #dcebe4; }
.summary-inner { display: grid; grid-template-columns: repeat(3,1fr); }
.summary-inner div { padding: 20px 26px; border-left: 1px solid #b4cec2; }
.summary-inner div:first-child { padding-left: 0; border-left: 0; }
.summary span, .contact-card > span:first-child { display: block; color: #285651; font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.summary strong { display: block; margin-top: 4px; font-size: clamp(.96rem, 2vw, 1.15rem); }

.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(1.25rem, 6vw, 5rem); margin-bottom: 36px; }
.section-intro > p, .section-note, .product p, .process p, .milestones p, .contact p { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.product { display: flex; flex-direction: column; background: #fff; padding: clamp(1.2rem, 2.7vw, 2.15rem); }
.product-category { color: var(--green); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .065em; }
.product h3 { margin-top: 16px; margin-bottom: 12px; }
.product > p { margin-bottom: 22px; }
details { border-top: 1px solid var(--line); margin-top: auto; padding-top: 12px; }
details summary { cursor: pointer; font-weight: 800; color: #194c44; font-size: .92rem; }
details p { font-size: .92rem; margin-top: 8px; }
.section-note { margin-top: 16px; font-size: .9rem; }

.capabilities { background: #e9efeb; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.8rem); align-items: center; }
.feature-image { position: relative; margin: 0; }
.feature-image img { width: 100%; height: auto; aspect-ratio: 1.14; object-fit: cover; background: #c6cfca; }
.feature-image figcaption { position: absolute; bottom: 0; right: 0; background: var(--deep); color: #fff; padding: .35rem .6rem; font-size: .7rem; }
.process { margin-top: 21px; }
.process > div { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 17px 0; border-top: 1px solid #c1cec7; }
.process dt, .milestones b { color: var(--green); font: 700 .84rem/1.5 var(--font); }
.process h3 { font-size: 1.21rem; margin-bottom: 6px; }

.milestones { display: grid; grid-template-columns: repeat(3,1fr); list-style: none; gap: 22px; padding: 0; margin: 0; }
.milestones li { border-top: 2px solid #599183; padding: 13px 14px 0 0; }
.milestones h3 { margin-block: 11px 8px; }
.careers { background: var(--deep); color: #f3fbf9; }
.careers-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.5rem, 8vw, 7rem); align-items: center; }
.careers p:not(.eyebrow) { color: #cbdcdb; margin: 19px 0 23px; }
.careers ul { list-style: none; padding: 0; margin: 0; }
.careers li { padding: 13px 4px; border-top: 1px solid #36535b; }
.careers li:last-child { border-bottom: 1px solid #36535b; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.contact p:not(.eyebrow) { margin-top: 15px; }
.contact-card { border: 1px solid #afc9bd; background: #e1eee7; padding: clamp(1rem, 4vw, 2rem); }
.contact-card > a { display: block; font-size: clamp(1.02rem, 2.5vw, 1.55rem); font-weight: 800; margin-block: 6px 11px; overflow-wrap: anywhere; text-underline-offset: 3px; }
#copy-email { background: transparent; border: 1px solid #6f9d90; color: #134c41; font-size: .8rem; font-weight: 800; padding: 5px 10px; }
.copy-status { display: inline-block; font-size: .8rem; margin-left: 7px; }
footer { background: var(--deep); color: #ddebe8; }
.footer-inner { min-height: 82px; display: flex; flex-wrap: wrap; gap: 15px 25px; align-items: center; justify-content: space-between; font-size: .88rem; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 54px); }
  .header-inner { gap: 15px; }
  .hero { min-height: 510px; }
  .header-contact { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product > p { margin-bottom: 14px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; flex-wrap: wrap; }
  .menu-toggle:not([hidden]) { display: inline-block; }
  nav { width: 100%; flex-wrap: wrap; padding-bottom: 15px; gap: 12px 24px; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + nav { display: none; }
  .hero { min-height: 500px; background-position: 65% 50%; background-image: linear-gradient(90deg,#091c23eb,#091c2394 76%,#091c2380), url("weaving.webp"); }
  .hero-inner { padding-block: 65px 77px; }
  .hero h1 { font-size: clamp(2.5rem, 10.2vw, 4rem); }
  .summary-inner { grid-template-columns: 1fr; padding-block: 8px; }
  .summary-inner div { padding: 10px 0; border-left: 0; border-top: 1px solid #b4cec2; }
  .summary-inner div:first-child { border-top: 0; }
  .split, .section-intro, .careers-grid, .contact, .milestones { grid-template-columns: 1fr; }
  .section-intro { margin-bottom: 25px; }
  .feature-image img { aspect-ratio: 1.5; }
  .footer-inner { padding-block: 19px; }
}

#about { padding-bottom: 0; }
#about .section-intro { margin-bottom: 0; }
.about-copy, .quality p:not(.eyebrow) { color: var(--muted); }
.quality { background: #e9efeb; }
.quality .split { align-items: start; }
.quality h2 + p { margin-top: 18px; }
.quality-details h3 { border-top: 1px solid #bdcec6; padding-top: 12px; font-size: 1.18rem; }
.quality-details p { margin: 5px 0 16px; }
.quality-details p:last-child { margin-bottom: 0; }
