/* Aytex LLC */
:root {
  --bg: #0a0b0d;
  --bg-2: #111318;
  --bg-3: #171a21;
  --ink: #e8e6df;
  --muted: #8b8e97;
  --line: #2a2e38;
  --gold: #c4a572;
  --gold-2: #d4bc8e;
  --steel: #7a8a9c;
  --white: #f5f3ec;
  --danger: #d45b4a;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --max: 1100px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: #14110c;
  padding: .6rem 1rem;
  z-index: 1000;
  font-weight: 500;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 11, 13, .9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: .28em;
  line-height: 1;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav a:hover, .nav a:focus-visible { color: var(--gold-2); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .85rem 1.4rem;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--gold); color: #14110c; }
.btn-primary:hover { background: var(--gold-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.nav .btn { padding: .7rem 1.15rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .25s, opacity .25s; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 4rem) 0 5.5rem;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,.5) 40%, rgba(10,11,13,.92) 100%),
    linear-gradient(90deg, rgba(10,11,13,.75) 0%, rgba(10,11,13,.25) 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 40rem; }
.rule {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.6rem;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: .95;
  letter-spacing: .08em;
  margin: 0 0 .4rem;
  color: var(--white);
  text-transform: uppercase;
}
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--gold-2);
  margin: 0 0 1.5rem;
  letter-spacing: .01em;
}
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

section { padding: 7rem 0; }
.section-kicker {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .8rem;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--white);
}
.section-head { margin-bottom: 3.25rem; max-width: 36rem; }
.section-head p { margin: 0; color: var(--muted); }

/* Approach */
#approach { background: var(--bg-2); }
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.approach-photo { overflow: hidden; }
.approach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  filter: saturate(.85);
}
.approach-copy h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 .7rem;
  color: var(--white);
}
.approach-copy p { margin: 0 0 2rem; color: var(--muted); }
.approach-copy p:last-child { margin-bottom: 0; }
.photo-note {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 1rem;
  font-style: italic;
}

/* Focus */
#focus { background: var(--bg); }
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.focus-card {
  border: 1px solid var(--line);
  background: var(--bg-3);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.focus-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.focus-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.8);
  transition: transform .7s var(--ease);
}
.focus-card:hover .thumb img { transform: scale(1.04); }
.focus-body { padding: 1.5rem 1.5rem 1.7rem; }
.focus-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.15rem;
  margin: 0 0 .35rem;
}
.focus-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 .5rem;
}
.focus-body p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Contact */
#contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-meta { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-meta li { margin: 0 0 1.2rem; }
.contact-meta span {
  display: block;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .25rem;
  font-weight: 500;
}
.contact-meta a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-meta a:hover { border-color: var(--gold); color: var(--gold-2); }

.form {
  display: grid;
  gap: 1.05rem;
  border: 1px solid var(--line);
  padding: 2rem;
  background: var(--bg);
}
.form-row { display: grid; gap: .35rem; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--steel);
}
.form input, .form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: .8rem .9rem;
  color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form textarea { min-height: 8rem; resize: vertical; }
.form .hint { margin: 0; font-size: .85rem; color: var(--muted); }
.form-status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-status.is-error { color: var(--danger); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2.6rem;
  background: var(--bg);
}
.footer-inner {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand svg { width: 26px; height: 26px; }
.footer-brand span {
  font-family: var(--font-display);
  letter-spacing: .24em;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}
.footer-copy { color: var(--muted); font-size: .86rem; max-width: 36rem; }
.footer-copy p { margin: 0 0 .35rem; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(10, 11, 13, .97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 1.5rem 1.8rem;
    gap: 1.15rem;
  }
  .site-header.is-open .nav { display: flex; }
  .nav .btn { width: 100%; }
  .approach-grid, .focus-grid, .contact-grid, .form-row.two { grid-template-columns: 1fr; }
  .approach-photo img { aspect-ratio: 16 / 10; }
  section { padding: 4.5rem 0; }
  .wrap, .header-inner, .footer-inner { width: min(var(--max), calc(100% - 1.75rem)); }
  .form { padding: 1.25rem; }
  .hero h1 { letter-spacing: .06em; }
}
