@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 750;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
}

:root,
:root[data-theme='arang'] {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 100%;
  line-height: 1.65;
}

h1, h2, h3,
[data-theme='sampanye'] :is(h1, h2),
[data-theme='arang'] :is(h1, h2) {
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -.035em;
}

.hero h1,
[data-theme='sampanye'] .hero h1,
[data-theme='arang'] .hero h1 {
  font-size: clamp(2.55rem, 4.4vw, 4.5rem);
  line-height: 1.09;
  text-wrap: balance;
}

.hero.service-hero h1 { font-size: clamp(2.35rem, 4vw, 3.85rem); }
#beranda h1 span { font-style: normal; font-weight: 550; }

h2,
[data-theme='arang'] h2 {
  font-size: clamp(1.8rem, 3vw, 2.95rem);
  line-height: 1.16;
}

h3 { font-size: clamp(1.075rem, 1.6vw, 1.25rem); line-height: 1.3; }

.hero-copy p,
.estimate-copy p {
  max-width: 47ch;
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.6;
}

.benefits div span,
.steps div span,
.outlets span,
.foot a,
.foot p {
  font-size: .9375rem;
}

.header nav a, .button, .detail-links a { font-size: .9375rem; }

.top {
  background-color: #10100f;
  background-image: repeating-linear-gradient(135deg, #f6d4a307 0 1px, transparent 1px 23px);
  border-bottom-color: #a9854d64;
}

:root:not([data-theme='sampanye']) .hero {
  --hero-glow: #32281d;
  background-color: #11100f;
  background-image:
    radial-gradient(ellipse at 78% 29%, #17141000 25%, #09090985 95%),
    repeating-linear-gradient(45deg, transparent 0 30px, #e2c48d0d 30px 31px),
    repeating-linear-gradient(135deg, transparent 0 30px, #e2c48d0d 30px 31px),
    linear-gradient(125deg, #11100f 8%, var(--hero-glow) 64%, #141210 94%);
}

:root[data-theme='arang'] .hero { --hero-glow: #303437; }
:root:not([data-theme='sampanye']) .hero-grid > img { border-color: #aa885965; }

.hero-grid { column-gap: clamp(1.5rem, 4.6vw, 3.5rem); }

.secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.65rem, 1.5vw, 1.1rem);
}

.secondary .service img {
  aspect-ratio: 3 / 2;
  filter: none;
}

.secondary .service h3 {
  font-size: 1.0625rem;
  letter-spacing: -.015em;
}

@media (max-width: 50rem) {
  .header nav a { font-size: .875rem; }
}

@media (max-width: 42rem) {
  .hero h1,
  .hero.service-hero h1,
  [data-theme='sampanye'] .hero h1,
  [data-theme='arang'] .hero h1 {
    font-size: clamp(2.05rem, 8.5vw, 3.1rem);
    line-height: 1.13;
  }

  .hero-copy p { font-size: 1.0625rem; }
  .secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .secondary .service div { padding: .7rem .65rem .85rem; }
  .secondary .service h3 { font-size: 1rem; }
}
