/* Aries AV — homepage draft */

:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --bg-3: #17171a;
  --bg-4: #1d1d21;
  --text: #eef0f2;
  --muted: #a8adb3;
  --faint: #6f747a;
  --line: rgba(232, 234, 237, 0.12);
  --line-strong: rgba(232, 234, 237, 0.2);
  --silver: #C9CDD2;
  --silver-2: #E8EAED;
  --silver-3: #A8AEB6;
  --silver-dim: rgba(201, 205, 210, 0.16);
  --silver-line: rgba(201, 205, 210, 0.5);
  --btn-text: #121417;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 4.35rem;
  --space: 1.25rem;
  --max: 72rem;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--silver-2); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
a[href^="tel:"] { white-space: nowrap; }

:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--silver-2);
  color: var(--btn-text);
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark:hover { color: var(--text); opacity: 0.9; }

.logo-mark-img {
  height: 34px;
  width: auto;
  display: block;
}
.logo-type-img {
  height: 12px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: none;
  margin-left: auto;
  gap: 1.35rem;
}
.desktop-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.desktop-nav a:hover { color: var(--text); }

.btn.header-cta { display: none; }

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  white-space: nowrap;
}
.header-phone:hover { color: var(--silver-2); border-color: var(--silver); }
.header-phone-icon {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  flex-shrink: 0;
}
.header-phone-number { display: none; }

.menu-toggle {
  margin-left: 0;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-bars::before { top: -5px; }
.menu-bars::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  background: #0e0e10;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn {
  margin-top: 0.85rem;
  border-bottom: 0;
  color: var(--btn-text);
  padding: 0.8rem 1.15rem;
}
.mobile-nav .btn:hover { color: var(--btn-text); }
.mobile-nav .mobile-phone {
  color: var(--silver-2);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

@media (min-width: 960px) {
  .logo-mark-img { height: 40px; }
  .logo-type-img { height: 14px; }
  .desktop-nav { display: flex; gap: 1.1rem; }
  .header-phone {
    margin-left: 0.15rem;
    width: auto;
    height: auto;
    padding: 0.25rem 0;
    border: 0;
    color: var(--muted);
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
  }
  .header-phone:hover { color: var(--text); }
  .header-phone-number { display: inline; }
  .btn.header-cta { display: inline-flex; margin-left: 0.15rem; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

@media (min-width: 960px) and (max-width: 1099px) {
  .header-phone-number { display: none; }
  .header-phone {
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border: 1px solid var(--line-strong);
    color: var(--text);
  }
  .header-phone:hover { color: var(--silver-2); border-color: var(--silver); }
  .desktop-nav { gap: 0.95rem; }
}

/* Buttons — cool silver / chrome */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, #F4F5F7 0%, #C9CDD2 46%, #A8AEB6 100%);
  color: var(--btn-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.15rem;
  border: 1px solid #D8DCE0;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.14);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #E8EAED 44%, #C9CDD2 100%);
  color: var(--btn-text);
  border-color: var(--silver-2);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--bg-3);
  color: var(--text);
  border-color: var(--silver);
  box-shadow: none;
}
.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--line);
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  inset: -10% -5% auto;
  height: 80%;
  background:
    radial-gradient(ellipse 50% 55% at 18% 30%, rgba(201, 205, 210, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 50% at 85% 10%, rgba(120, 140, 170, 0.12), transparent 65%),
    radial-gradient(ellipse 30% 40% at 60% 80%, rgba(201, 205, 210, 0.06), transparent 70%);
  pointer-events: none;
}

.hero-mark {
  position: absolute;
  right: max(-2rem, calc((100% - var(--max)) / 2 - 4rem));
  top: 8%;
  width: min(58vw, 32rem);
  opacity: 0.09;
  pointer-events: none;
  filter: grayscale(0.1);
}
.hero-mark img { width: 100%; height: auto; }

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3.25rem);
  line-height: 1.12;
  max-width: 16ch;
  text-wrap: pretty;
}

.hero-copy h1 {
  max-width: 12.2em;
  text-wrap: pretty;
}

.hero-mid { display: inline; }

@media (min-width: 700px) {
  .hero-copy h1 .hero-mid,
  .hero-copy h1 .hero-accent { display: block; }
}

.hero-accent {
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(180deg, #FFFFFF 0%, #E8EAED 42%, #C9CDD2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-panel .hero-services {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 500;
}

@media (max-width: 699px) {
  .hero-panel dl > div:has(.hero-services) {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); max-width: 22ch; }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }

.lead, .section-intro {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 40rem;
}

.lead { margin: 1.5rem 0 0; }

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

.hero-panel {
  background: rgba(17, 17, 19, 0.75);
  border: 1px solid var(--line);
  padding: 0.25rem 0;
  align-self: end;
  box-shadow: var(--shadow);
}

.hero-panel dl { margin: 0; }
.hero-panel dl > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
}
.hero-panel dl > div:first-child { border-top: 0; }
.hero-panel dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  align-self: center;
}
.hero-panel dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

@media (min-width: 1200px) {
  .hero { padding: 5.5rem 0 6.5rem; }
  .hero-grid {
    grid-template-columns: 1.45fr 0.85fr;
    align-items: end;
    gap: 3.25rem;
  }
}

/* Sections */

.section { padding: 5rem 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: 2.5rem; }
.section-kicker {
  margin: 0.55rem 0 0;
  color: var(--silver);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.section-head .section-intro,
.section-head + .section-intro { margin-top: 1rem; }

/* Services */

.services { background: var(--bg-2); }

.service-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-index {
  margin: 0 0 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--silver);
}

.service-card h3 { margin-bottom: 0.7rem; }
.service-card p { color: var(--muted); margin: 0 0 1.25rem; }
.service-card ul {
  margin: auto 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--text);
}
.service-card li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1rem;
  font-size: 0.95rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.45rem;
  height: 1px;
  background: var(--silver);
}

.service-card--wide .wide-link {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
  font-size: 0.95rem;
}
.service-card--wide .wide-link a {
  color: var(--silver-2);
  text-decoration: none;
  border-bottom: 1px solid var(--silver-line);
}
.service-card--wide .wide-link a:hover { color: var(--text); border-bottom-color: var(--text); }

@media (min-width: 800px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
  .service-card { padding: 1.85rem 1.6rem 1.7rem; }
  .service-card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
      "copy list"
      "link list";
    gap: 0 2.5rem;
    align-items: start;
  }
  .service-card--wide .wide-copy { grid-area: copy; }
  .service-card--wide .wide-copy .card-index { margin-bottom: 1.1rem; }
  .service-card--wide .wide-copy p { margin-bottom: 0; }
  .service-card--wide ul {
    grid-area: list;
    margin: 0;
    padding: 0;
    border-top: 0;
    align-self: center;
  }
  .service-card--wide .wide-link { grid-area: link; margin-top: 1.15rem; }
}

/* Events we work */

.events-grid {
  display: grid;
  gap: 1rem;
}
.events-grid article {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 1.45rem 1.3rem 1.35rem;
}
.events-grid h3 { margin-bottom: 0.55rem; font-size: 1.15rem; }
.events-grid p { margin: 0; color: var(--muted); font-size: 0.98rem; }

@media (min-width: 700px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .events-grid { grid-template-columns: repeat(6, 1fr); }
  .events-grid article:nth-child(-n+3) { grid-column: span 2; }
  .events-grid article:nth-child(n+4) { grid-column: span 3; }
}

/* Process */

.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.process-grid li {
  counter-increment: step;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.process-grid li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--silver);
  margin-bottom: 0.7rem;
}
.process-grid h3 { margin-bottom: 0.45rem; }
.process-grid p { margin: 0; color: var(--muted); max-width: 36rem; }

@media (min-width: 800px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    border-top: 0;
    gap: 0;
  }
  .process-grid li {
    padding: 0 1.4rem 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .process-grid li:last-child { border-right: 0; padding-right: 0; }
}

/* Experience */

.experience { background: linear-gradient(180deg, var(--bg) 0%, #0e0e10 100%); }
.experience-grid { display: grid; gap: 1rem; }
.experience-body p { margin: 0 0 1.1rem; color: var(--muted); max-width: 42rem; }
.experience-body p:last-child { margin-bottom: 0; }

@media (min-width: 860px) {
  .experience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  .experience .section-head { margin-bottom: 0; }
}

/* Gear */

.gear { background: var(--bg-2); }
.gear-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.gear-grid li {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 1.5rem 1.35rem;
}
.gear-discipline {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}
.gear-grid h3 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}
.gear-grid p { margin: 0; color: var(--muted); }

@media (min-width: 800px) {
  .gear-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Contact */

.contact-grid { display: grid; gap: 2.5rem; }
.contact-details {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.contact-details li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-details span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-details p,
.contact-details a { margin: 0; color: var(--text); text-decoration: none; }
.contact-details a:hover { color: var(--silver-2); }

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; gap: 1rem; }
.field label,
.field legend {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0;
}
.optional {
  color: var(--faint);
  font-weight: 400;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  caret-color: var(--silver-2);
}
.field input:hover,
.field textarea:hover { border-color: var(--silver-line); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--silver);
  box-shadow: 0 0 0 3px var(--silver-dim);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }

fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
}
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.05rem;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  font-size: 0.95rem;
}
.check input { accent-color: var(--silver); width: 1rem; height: 1rem; }

.form-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.85rem;
}
.contact-form .btn { justify-self: start; }

@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; }
  .contact-form { padding: 1.75rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
  background: #09090a;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.25rem;
}
.logo-full-img {
  height: 5.5rem;
  width: auto;
  display: block;
}
.footer-brand p { color: var(--muted); max-width: 26rem; margin: 0.9rem 0 0; }
.footer-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-contact,
.site-footer nav { display: grid; gap: 0.45rem; align-content: start; }
.site-footer nav a,
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer nav a:hover,
.site-footer a:hover { color: var(--silver-2); }
.site-footer p { margin: 0; color: var(--muted); }
.footer-domain { margin-top: 0.45rem; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.85rem;
}
.footer-base p { color: var(--faint); }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 0.7fr 1fr; gap: 3rem; }
  .logo-full-img { height: 6.25rem; }
}

/* Motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
