:root {
  --paper: #f7f2e8;
  --paper-2: #efe7da;
  --ink: #131313;
  --muted: rgba(19, 19, 19, 0.62);
  --line: rgba(19, 19, 19, 0.12);
  --gold: #b9995f;
  --red: #a13e2d;
  --white: #f7f4ef;
  --pad: clamp(16px, 4vw, 72px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--paper) 0%, #f3ecdf 48%, var(--paper-2) 100%);
  color: var(--ink);
  font-family: "Instrument Sans", "Helvetica Neue", "Segoe UI", Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "FIRKI";
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: min(31vw, 380px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(19, 19, 19, 0.04);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

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

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

button {
  font: inherit;
}

.page {
  position: relative;
  z-index: 1;
}

.page-pad {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.18) 0%, rgba(8, 8, 8, 0.34) 34%, rgba(8, 8, 8, 0.72) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.62) 0%, rgba(8, 8, 8, 0.18) 54%, rgba(8, 8, 8, 0.56) 100%);
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
}

.brand img,
.site-footer img {
  width: 118px;
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.28)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.05));
}

.desktop-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.desktop-nav a {
  color: rgba(247, 244, 239, 0.82);
}

.desktop-nav a:hover {
  color: #fff;
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(247, 244, 239, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.mobile-toggle span {
  position: relative;
}

.mobile-toggle span::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.mobile-toggle span::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.mobile-menu {
  display: none;
  position: relative;
  z-index: 3;
  padding-top: 12px;
  border-top: 1px solid rgba(247, 244, 239, 0.16);
}

.mobile-menu.open {
  display: grid;
}

.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(247, 244, 239, 0.14);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.88);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  min-height: calc(100vh - 86px);
  padding-top: 42px;
  padding-bottom: 32px;
}

.hero-copy {
  display: grid;
  align-content: end;
  gap: 24px;
  padding-bottom: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero-copy .eyebrow,
.hero-footer .eyebrow,
.reel-copy .eyebrow,
.feature-caption .eyebrow,
.gallery-copy .eyebrow {
  color: rgba(247, 244, 239, 0.82);
}

.hero-title,
.section-title,
.detail-title,
.number {
  font-family: "Instrument Sans", "Helvetica Neue", "Segoe UI", Verdana, sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-title {
  max-width: 7.4ch;
  margin: 0;
  font-size: clamp(4.2rem, 9vw, 7rem);
  line-height: 0.9;
}

.hero-lead {
  max-width: 34ch;
  margin: 0;
  color: rgba(247, 244, 239, 0.78);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn.primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.btn.secondary {
  background: transparent;
  border-color: rgba(247, 244, 239, 0.26);
  color: rgba(247, 244, 239, 0.92);
}

.hero-side {
  display: grid;
  align-content: end;
  gap: 24px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(247, 244, 239, 0.18);
  border-bottom: 1px solid rgba(247, 244, 239, 0.18);
}

.metric {
  padding: 18px 18px 20px;
  border-left: 1px solid rgba(247, 244, 239, 0.18);
}

.metric:first-child {
  border-left: 0;
}

.metric strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.92;
  color: var(--white);
}

.metric span {
  display: block;
  margin-top: 10px;
  color: rgba(247, 244, 239, 0.74);
  line-height: 1.55;
}

.hero-caption {
  max-width: 28ch;
  margin-left: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 244, 239, 0.16);
  color: rgba(247, 244, 239, 0.76);
  line-height: 1.72;
}

.hero-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  color: rgba(247, 244, 239, 0.7);
  font-size: 0.82rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-links a {
  color: rgba(247, 244, 239, 0.84);
}

.hero-links a:hover {
  color: #fff;
}

.section-block {
  width: 100%;
  margin-top: 72px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head .eyebrow,
.contact-band .eyebrow,
.about-layout .eyebrow,
.strength-grid .eyebrow {
  color: var(--red);
}

.section-title {
  margin: 14px 0 0;
  max-width: 10ch;
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  line-height: 0.94;
}

.section-copy {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.86;
}

.strength-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 0.85fr;
  gap: 22px;
}

.strength-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 560px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.strength-card figure,
.feature-media,
.reel-card,
.gallery-item {
  margin: 0;
}

.strength-card img {
  width: 100%;
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
}

.detail-title {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 0.96;
}

.detail-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.workflow-layout {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 22px;
  align-items: stretch;
}

.workflow-panel {
  display: grid;
  align-content: start;
}

.workflow-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.workflow-row:first-child {
  border-top: 0;
}

.number {
  font-size: 3rem;
  line-height: 0.86;
  color: var(--gold);
}

.workflow-row h3 {
  margin: 0;
  font-size: 1.08rem;
}

.workflow-row p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.76;
}

.feature-media {
  position: relative;
  min-height: 640px;
}

.feature-media img,
.reel-card video,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media::after,
.reel-card::after,
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.04), rgba(7, 7, 7, 0.74));
}

.feature-caption,
.reel-copy,
.gallery-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: var(--white);
}

.feature-caption p,
.reel-copy p,
.gallery-copy p {
  margin: 10px 0 0;
  max-width: 30ch;
  color: rgba(247, 244, 239, 0.8);
  line-height: 1.7;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reel-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.reel-copy h3 {
  margin: 10px 0 0;
  max-width: 10ch;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  line-height: 0.96;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 260px;
  gap: 18px;
  margin-top: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-copy span {
  display: block;
  margin-top: 10px;
  max-width: 12ch;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.quote-panel,
.about-item {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.quote-panel .detail-title {
  max-width: 10ch;
}

.quote-panel p {
  max-width: 34ch;
}

.about-stack {
  display: grid;
  gap: 34px;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.contact-band .section-title {
  max-width: 11ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
}

.contact-actions .btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.contact-actions .btn.secondary {
  border-color: var(--ink);
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 36px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer img {
  width: 82px;
}

@media (max-width: 1180px) {
  .hero-layout,
  .section-head,
  .workflow-layout,
  .about-layout,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .strength-grid,
  .reel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.large {
    grid-row: span 1;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .topbar {
    padding-top: 16px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .brand img {
    width: 94px;
  }

  .hero-layout {
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(3.1rem, 13vw, 4.8rem);
  }

  .hero-lead,
  .hero-caption,
  .section-copy {
    max-width: none;
  }

  .metric-strip,
  .strength-grid,
  .reel-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    border-left: 0;
    border-top: 1px solid rgba(247, 244, 239, 0.18);
  }

  .metric:first-child {
    border-top: 0;
  }

  .strength-card {
    min-height: auto;
  }

  .reel-card,
  .feature-media {
    min-height: 420px;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .hero-footer,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  body::before {
    font-size: 40vw;
    top: 32px;
  }

  .feature-caption,
  .reel-copy,
  .gallery-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .workflow-row {
    grid-template-columns: 70px 1fr;
  }

  .number {
    font-size: 2.5rem;
  }
}
