:root {
  --black: #000000;
  --char: #141416;
  --char-2: #1f1f23;
  --rule: #2a2a2f;
  --magma: #d9261c;
  --ember: #ff6a1f;
  --core: #ffc46b;
  --glass: #a3abb5;
  --glass-dim: #6f7680;
  --white: #f5f3ef;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--core); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .vortex { width: 36px; height: 36px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .02em; line-height: 1.15; }
.brand-name small { display: block; font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--glass-dim); letter-spacing: 0; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--glass); }
.nav-links a:hover { color: var(--white); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 4px; border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-fill { background: var(--magma); color: var(--white); }
.btn-fill:hover { background: var(--ember); color: var(--black); }
.btn-line { border-color: var(--glass-dim); color: var(--white); }
.btn-line:hover { border-color: var(--core); color: var(--core); }
.nav .btn { padding: 9px 16px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); color: var(--white); padding: 8px 12px; border-radius: 4px; font: inherit; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: calc(100vh - 68px); padding-top: 48px; padding-bottom: 48px;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 5.6vw, 76px); line-height: .98; letter-spacing: -.01em;
  margin: 0 0 24px;
}
.hero h1 span { display: block; color: var(--glass-dim); }
.hero p.lede { font-size: clamp(17px, 1.4vw, 20px); max-width: 34em; color: var(--glass); margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-vortex { position: relative; aspect-ratio: 1; width: min(100%, 620px); margin: 0 auto; }
.hero-vortex .vortex { width: 100%; height: 100%; display: block; }
.vortex-disk { transform-origin: 0 0; animation: spin 90s linear infinite; }
.hero-vortex .vortex-disk { animation-duration: 70s; }
@keyframes spin { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .vortex-disk { animation: none; } }

.hero-note {
  position: absolute; right: var(--gutter); bottom: 24px;
  font-size: 13px; color: var(--glass-dim); max-width: 26em; text-align: right;
}

/* ---------- sections ---------- */
section { border-top: 1px solid var(--rule); padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: 68px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); align-items: end; }
.section-head h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08; margin: 0; letter-spacing: -.01em;
}
.section-head p { margin: 0; color: var(--glass); max-width: 36em; font-size: 18px; }

/* before / after */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair figure { margin: 0; position: relative; }
.pair img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; border-radius: 4px; }
.pair figcaption {
  position: absolute; left: 14px; top: 14px;
  font-family: var(--display); font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 3px; background: rgba(0,0,0,.72); color: var(--white);
}
.pair figure.after figcaption { background: var(--magma); }
.pair-note { margin: 18px 0 0; color: var(--glass-dim); font-size: 15px; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.service { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--rule); }
.service + .service { border-left: 1px solid var(--rule); padding-left: 32px; }
.service h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 0 0 14px; }
.service p { margin: 0 0 18px; color: var(--glass); }
.service ul { margin: 0; padding: 0; list-style: none; color: var(--glass); font-size: 15px; }
.service li { padding: 6px 0; border-top: 1px dashed var(--rule); }
.service li:first-child { border-top: 0; }
.service .more { margin-top: 18px; border-top: 1px solid var(--rule); padding-top: 12px; }
.service .more summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--glass); list-style: none; display: flex; align-items: center; gap: 10px; }
.service .more summary::-webkit-details-marker { display: none; }
.service .more summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(-45deg); transition: transform .15s; }
.service .more[open] summary::before { transform: rotate(45deg); }
.service .more summary:hover { color: var(--white); }
.service .more ul { margin-top: 8px; }
.service .more li:first-child { border-top: 1px dashed var(--rule); }

/* brands strip */
.brands { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 24px; align-items: start; }
.brands-lead { margin: 0; color: var(--glass-dim); font-size: 15px; padding-top: 6px; }
.brands-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.brands-list li { display: flex; flex-direction: column; gap: 2px; }
.brand-mark { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .01em; color: var(--white); }
.brand-role { font-size: 13px; color: var(--glass-dim); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: var(--char); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px; font-size: 14px; color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
}
.g-6 { grid-column: span 6; aspect-ratio: 4/3; }
.g-4 { grid-column: span 4; aspect-ratio: 4/3; }
.g-8 { grid-column: span 8; aspect-ratio: 16/9; }
.g-fill { aspect-ratio: auto; }
.g-fill img { position: absolute; inset: 0; }

/* what tint does */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.benefit h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 0 0 10px; padding-top: 14px; border-top: 2px solid var(--magma); }
.benefit p { margin: 0; color: var(--glass); font-size: 16px; }

/* process (a real sequence, so it is numbered) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-left: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 15px; font-weight: 600;
  background: radial-gradient(circle at 50% 50%, var(--black) 0 42%, var(--ember) 44%, var(--magma) 62%, #4a0906 100%);
  color: var(--white);
}
.step h3 { font-family: var(--display); font-weight: 600; font-size: 18px; margin: 6px 0 10px; }
.step p { margin: 0; color: var(--glass); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact-info h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.08; margin: 0 0 18px; }
.contact-info p { color: var(--glass); max-width: 30em; }
.contact-lines { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-lines li { padding: 14px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact-lines span { color: var(--glass-dim); font-size: 14px; padding-top: 2px; }
.contact-lines a { text-decoration: none; font-weight: 600; }
.contact-lines a:hover { color: var(--core); }

form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--glass); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--white); background: var(--char); border: 1px solid var(--rule);
  border-radius: 4px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ember); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--glass-dim); }
.form-status { font-size: 15px; color: var(--core); min-height: 1.4em; }

/* footer */
footer { border-top: 1px solid var(--rule); padding: 32px 0 40px; color: var(--glass-dim); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer a { text-decoration: none; }
footer a:hover { color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 32px; }
  .hero-vortex { width: min(78vw, 460px); order: -1; }
  .hero-note { position: static; text-align: left; margin-top: 24px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .services { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr; gap: 12px; }
  .service, .service + .service { padding: 28px 0; border-left: 0; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .g-6, .g-4, .g-8 { grid-column: span 6; }
  .g-8 { aspect-ratio: 4/3; }
  .g-fill { aspect-ratio: 4/3; }
  .g-fill img { position: static; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--black); border-bottom: 1px solid var(--rule); padding: 8px 0 16px; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px var(--gutter); }
  .nav-links .btn { margin: 8px var(--gutter) 0; }
  .nav-toggle { display: block; }
  .pair { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .g-6, .g-4, .g-8 { grid-column: span 12; }
}
