:root {
  --bg: #0b0b0c;
  --fg: #f4f4f5;
  --muted: rgba(244, 244, 245, 0.72);
  --line: rgba(244, 244, 245, 0.14);
  --shadow: rgba(0, 0, 0, 0.55);

  --accent: #c9a227;
  --accentLight: #d4b94a;
  --warm: #c9b99a;

  --paper: #f5f5f6;
  --ink: #0b0b0c;
  --inkMuted: rgba(11, 11, 12, 0.7);
  --paperLine: rgba(11, 11, 12, 0.15);

  --radius: 18px;
  --shell: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Josefin Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-weight: 200;
  letter-spacing: 0.01em;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.shell {
  width: min(var(--shell), calc(100% - 2 * 20px));
  margin: 0 auto;
}

.skipLink {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paperLine);
  transform: translateY(-140%);
  transition: transform 150ms ease;
  z-index: 1000;
}

.skipLink:focus {
  transform: translateY(0);
  outline: none;
}

.siteHeader {
  position: relative;
  padding: 0;
  isolation: isolate;
}

.siteHeader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(255, 255, 255, 0.1), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
  z-index: -1;
}

.hero {
  display: grid;
  align-items: stretch;
}

.heroCarousel {
  position: relative;
  aspect-ratio: 2 / 1;
  height: auto;
  border-radius: 0 !important;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  box-shadow: none;
  overflow: hidden;
}

.heroCarousel .slide {
  aspect-ratio: 2 / 1;
  height: 100%;
}

.heroCarousel .slide img {
  height: 100%;
}

.heroOverlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.brand {
  display: grid;
  place-items: center;
  padding: 18px 0;
}

.brandLogo {
  max-width: 75%;
  max-height: calc(75% * 0.5);
  max-height: 37.5vw;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 80px rgba(0, 0, 0, 0.65));
}

.media {
  margin-top: 10px;
}

.carousel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: clip;
  background: #000;
  box-shadow: 0 40px 110px var(--shadow);
}

.carouselViewport {
  outline: none;
}

.carouselTrack {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carouselTrack::-webkit-scrollbar {
  display: none;
}

.slide {
  margin: 0;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 16 / 9;
}

.carousel[data-fade="1"] .carouselViewport {
  position: relative;
  height: 100%;
}

.carousel[data-fade="1"] .carouselTrack {
  display: block;
  overflow: hidden;
  scroll-snap-type: none;
  height: 100%;
}

.carousel[data-fade="1"] .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1600ms ease;
}

.carousel[data-fade="1"] .slide.isActive {
  opacity: 1;
}

/* Fallback: if JS fails, show the first slide */
.carousel[data-fade="1"] .slide:first-child {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.carouselControls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

/* hero carousel has no visible controls */

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.btnLabel {
  font-weight: 300;
}

.dots {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.dot[aria-current="true"] {
  background: var(--fg);
  border-color: var(--fg);
}

.dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.caption {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.siteMain {
  padding: 0 0 70px;
}

.section {
  padding: 60px 0;
}

.sectionQuote {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08) 0%, transparent 100%);
}

.quote {
  margin: 0;
}

.quoteText {
  margin: 0;
  font-family: "Yeseva One", Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 400;
  font-style: italic;
  color: var(--warm);
  line-height: 1.4;
}

.sectionAbout {
  padding: 50px 0 70px;
}

.aboutGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.aboutTitle {
  margin: 0 0 20px;
  font-family: "Yeseva One", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--accent);
}

.aboutList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aboutList li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-size: 17px;
  font-weight: 200;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
}

.aboutList li:last-child {
  border-bottom: none;
}

.aboutList li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

@media (max-width: 720px) {
  .aboutGrid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.sectionJobs {
  position: relative;
}

.sectionJobs::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0) 42%,
      rgba(255, 255, 255, 0.05)
    ),
    radial-gradient(1200px 700px at 20% 10%, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.sectionHeader h1 {
  margin: 0;
  font-family: "Yeseva One", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: clamp(30px, 4.1vw, 46px);
  color: var(--accentLight);
}

.lead {
  margin: 12px 0 0;
  max-width: 70ch;
  color: var(--muted);
  font-weight: 200;
  font-size: 18px;
  line-height: 1.5;
}

.jobsGrid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.jobCard {
  grid-column: span 6;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 16px 14px;
  transition: background 140ms ease, transform 140ms ease, border-color 140ms ease;
}

.jobCard:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.jobTitle {
  margin: 0;
  font-family: "Yeseva One", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 20px;
}

.jobMeta {
  margin: 10px 0 0;
  color: rgba(244, 244, 245, 0.68);
  font-size: 14px;
  font-weight: 200;
}

.jobCard:hover .jobMeta {
  color: rgba(11, 11, 12, 0.7);
}

.ctaRow {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: rgba(201, 162, 39, 0.15);
  color: var(--accentLight);
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: background 120ms ease, transform 120ms ease, border-color 120ms ease;
}

.cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}

.cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.ctaHint {
  color: var(--muted);
  font-size: 16px;
}

.sectionContact {
  background: linear-gradient(135deg, #1a1a1c 0%, #0b0b0c 100%);
  color: var(--fg);
  border-top: 1px solid rgba(201, 162, 39, 0.3);
}

.sectionContact .lead {
  color: var(--muted);
}

.sectionContact .sectionHeader h1 {
  color: var(--accent);
}

.contactGrid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.contactCard {
  grid-column: span 6;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.contactCard:hover {
  transform: translateY(-1px);
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--accent);
}

.contactCard:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contactLabel {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.contactValue {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 300;
}

.fineprint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.siteFooter {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footerLogoText {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.9;
}

.footerRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(244, 244, 245, 0.7);
}

.footerMark {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 720px) {
  .btnLabel {
    display: none;
  }

  .jobCard,
  .contactCard {
    grid-column: span 12;
  }

  .section {
    padding: 46px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carouselTrack {
    scroll-behavior: auto;
  }

  .carousel[data-fade="1"] .slide {
    transition: none;
  }

  .btn,
  .jobCard,
  .cta,
  .contactCard {
    transition: none;
  }
}
