:root {
  --black: #111111;
  --ink: #1d1d1d;
  --soft-ink: #292929;
  --white: #ffffff;
  --paper: #f7f4ee;
  --muted: #b9b4aa;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #c9a227;
  --gold-soft: #ead99b;
  --max: 1180px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--sans);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.72);
  outline-offset: 3px;
}

p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.76);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 9vw, 7.2rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

h3 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--gold);
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 185px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--black);
  background: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 800;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.brand-tag {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 4px;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  background: #0d0d0d;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding: 64px 0 40px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 2.2vw, 1.35rem);
}

.subheadline {
  margin: 18px 0 18px;
  color: var(--gold-soft);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
}

.button.primary {
  color: var(--black);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

.button:hover {
  transform: translateY(-1px);
}

.nav .nav-cta {
  display: none;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--ink);
}

.visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.72);
  border-left: 3px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section.light {
  color: var(--black);
  background: var(--paper);
}

.section.light h2,
.section.light h3,
.section.light h4 {
  color: var(--black);
}

.section.light p {
  color: rgba(17, 17, 17, 0.72);
}

.section.dark-alt {
  background: var(--ink);
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}

.section-head p {
  max-width: 760px;
  font-size: 1.08rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.statement {
  padding: 28px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.28);
}

.statement strong {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4vw, 2.7rem);
  line-height: 1.16;
}

.section.light .statement {
  background: rgba(201, 162, 39, 0.16);
}

.section.light .statement strong {
  color: #8a6b0e;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.section.light .card {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.06);
}

.card h3 {
  margin-bottom: 12px;
}

.card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  overflow-wrap: anywhere;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-card {
  position: relative;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--black);
  background: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section.light .card-icon {
  border-color: rgba(17, 17, 17, 0.1);
}

.number {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 900;
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.76);
}

.section.light .service-list li {
  color: rgba(17, 17, 17, 0.72);
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.band {
  padding: 56px 0;
  background: linear-gradient(90deg, #111111 0%, #1d1d1d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.band-inner {
  display: grid;
  gap: 22px;
  align-items: center;
}

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

.expertise-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.expertise-badge {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 15px;
  color: var(--black);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.06);
}

.expertise-badge:hover {
  border-left-color: #8a6b0e;
  transform: translateY(-1px);
}

.page-hero {
  padding: clamp(68px, 10vw, 120px) 0 clamp(48px, 7vw, 80px);
  background:
    linear-gradient(rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.88)),
    url("../images/atelier-technology.svg") center/cover;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
}

.article-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
}

.article-meta {
  margin-bottom: 14px;
  color: #8a6b0e;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.topic-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  padding: 14px 16px;
  color: rgba(17, 17, 17, 0.78);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-hidden {
  display: none;
}

.site-footer {
  padding: 56px 0 30px;
  background: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.52);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .hero-visual {
    grid-template-columns: 1fr 1fr;
  }

  .grid.two {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .band-inner {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

@media (min-width: 1040px) {
  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    min-height: calc(100vh - 76px);
    padding: 46px 0;
  }

  .hero-visual {
    min-height: 620px;
  }

  .visual-panel {
    min-height: 620px;
  }

  .visual-panel:first-child {
    transform: translateY(24px);
  }

  .visual-panel:last-child {
    transform: translateY(-24px);
  }

  .two-col {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .nav .nav-cta {
    display: inline-flex;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(17, 17, 17, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }
}

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