:root {
  color-scheme: dark;
  --background: #101214;
  --surface: #17191b;
  --line: #373b3d;
  --text: #f5f4f1;
  --muted: #b9bcbf;
  --orange: #ffa447;
  --cyan: #6ed6e4;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.frame {
  width: min(100% - 3rem, 74rem);
  margin-inline: auto;
}

.site-header {
  background: #111315;
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand { flex: 0 0 7.5rem; }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.8rem, 3vw, 2.25rem);
}

nav a,
.site-footer a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"],
.site-footer a:hover { color: var(--cyan); }

.hero {
  background-color: #191b1d;
  background-image: linear-gradient(90deg, #101214f5, #151719bd), url("../images/plastic%20test.png");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 8vw, 8rem);
}

.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--orange);
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6.4vw, 6.15rem);
  line-height: .99;
  letter-spacing: -.067em;
  max-width: 9ch;
}

h1 span { color: var(--orange); }

.hero-summary {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.175rem);
  line-height: 1.65;
}

.hero-summary {
  max-width: 34ch;
  margin: 1.5rem 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--orange);
  color: #1a130d;
}

.button-primary:hover { background: #ffbb75; }

.button-secondary {
  border-color: #686e72;
  background: #17191bd9;
}

.button-secondary:hover { border-color: var(--cyan); }

.brand-panel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.31;
  padding: clamp(1.25rem, 4.3vw, 4rem);
  border: 1px solid #46494b;
  border-radius: .45rem;
  background: linear-gradient(135deg, #11131520, #090b0de8), #1b1d1f url("../images/wrinkle%20test.png") center / cover;
  box-shadow: 0 1rem 2rem #0005, 1.5rem 1.65rem 3.5rem -.45rem #7650a43b;
}

.brand-panel::before {
  position: absolute;
  inset: .75rem;
  border: 1px solid #ffffff19;
  border-top-color: #6ed6e478;
  border-radius: .15rem;
  content: "";
}

.panel-trace {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  width: clamp(3rem, 26%, 8.5rem);
  height: 16px;
  color: var(--cyan);
  opacity: .5;
  pointer-events: none;
}

.panel-trace::before,
.panel-trace::after {
  position: absolute;
  content: "";
}

.panel-trace::before {
  inset: 0 0 0 7px;
  background: currentColor;
  clip-path: polygon(0 3px, 23% 3px, calc(23% + 12px) 15px, 100% 15px,
    100% 16px, calc(23% + 11.6px) 16px, calc(23% - .4px) 4px, 0 4px);
}

.panel-trace::after {
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

@media (hover: hover) and (pointer: fine) {
  .brand-panel:hover .panel-trace { opacity: .9; }
}

@media (prefers-reduced-motion: no-preference) {
  .panel-trace { transition: opacity 360ms ease-in-out; }
}

.hero-label {
  display: flex;
  align-items: baseline;
  gap: .65rem;
}

.hero-label img { flex: none; }

h2 {
  padding-left: 1rem;
  border-left: 2px solid var(--cyan);
  font-size: clamp(1.85rem, 3.5vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.content-section {
  padding-block: clamp(3rem, 6vw, 5.75rem);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 48rem) {
  .hero-inner,
  .resource-grid { grid-template-columns: minmax(0, 1fr); }

  .hero-inner { gap: 2.5rem; }

  .brand-panel {
    width: min(100%, 31rem);
    aspect-ratio: 1.85;
    padding: 2.25rem;
  }

  .brand-panel img { width: min(100%, 19rem); }
}

@media (max-width: 25rem) {
  .frame { width: calc(100% - 2rem); }

  .brand { flex-basis: 6.25rem; }

  nav { gap: .5rem .75rem; }

  h1 { font-size: 2.8rem; }
}
