.ember {
  --ink: #271a15;
  --muted: #62534b;
  --line: #e8dfd8;
  --surface: #f9f3ed;
  --accent: #913922;
  --control: #2b2021;
  background: #fffcf8;
}

.ember .header {
  position: absolute;
  inset: 23px 0 auto;
  background: transparent;
  border: 0;
}
.ember .header-inner {
  width: min(940px, 100% - var(--gutter) * 2);
  min-height: 61px;
  padding: 7px 8px 7px 21px;
  border: 1px solid #fff3e522;
  border-radius: 999px;
  color: #fff8f1;
  background: #201918;
  box-shadow: 0 7px 20px #48161133;
}
.ember .header .logo img { width: 76px; filter: invert(1); }
.ember .header nav a { color: #fff0e8; }
.ember .header-cta {
  border-radius: 999px;
  padding: 10px 17px;
  background: #f6aa82;
  color: #311a13;
  border-color: transparent;
}
.ember .header-cta:hover { background: #ffd2b8; }

.ember-top {
  --tail: clamp(150px, 17vw, 285px);
  position: relative;
  padding-top: 114px;
  isolation: isolate;
}
.ember-top::before {
  content: '';
  position: absolute;
  inset: 0 0 var(--tail);
  z-index: -1;
  background:
    repeating-linear-gradient(128deg, transparent 0 11px, #fff4e707 11px 12px),
    radial-gradient(ellipse at 82% -13%, #d76232 0, transparent 55%),
    linear-gradient(149deg, #ac461e 0%, #ad3324 49%, #6b2026 98%);
}
.ember-copy {
  text-align: center;
  color: #fff8f0;
  padding-top: clamp(30px, 3.8vw, 57px);
}
.ember-location { color: #fff7ec; font-size: 15px; font-weight: 580; margin-bottom: 15px; }
.ember-copy h1 {
  margin-inline: auto;
  max-width: 930px;
  font-size: clamp(45px, 6vw, 86px);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -.055em;
}
.ember-intro {
  max-width: 52ch;
  margin: 20px auto 23px;
  color: #fff3ea;
  font-size: clamp(16px, 1.55vw, 20px);
}
.ember-copy .button { border-radius: 999px; padding-inline: 21px; }
.ember-copy .primary { color: #281c18; background: #fff5ea; }
.ember-copy .primary:hover { background: #ffe4d1; box-shadow: none; }
.ember-copy .secondary { color: #fff7ee; background: #3e141129; border-color: #fff1df75; }
.ember-copy .secondary:hover { background: #3e14114d; }
.ember-top :focus-visible { outline-color: #fff3e8; }

.ember-feature {
  width: min(1040px, 100% - var(--gutter) * 2);
  margin: clamp(37px, 4vw, 56px) auto 0;
}
.ember-device { display: block; position: relative; }
.ember-screen {
  width: 90%;
  padding: clamp(7px, 1.15vw, 16px);
  margin-inline: auto;
  border: 1px solid #6f6460;
  border-radius: clamp(10px, 2vw, 24px) clamp(10px, 2vw, 24px) 6px 6px;
  background: linear-gradient(148deg, #252323, #120e0f 74%);
  box-shadow: 0 14px 40px #2c171d3a, inset 0 0 0 2px #aaa49b17;
}
.ember-screen img {
  width: 100%; height: auto;
  border-radius: clamp(4px, .75vw, 11px) clamp(4px, .75vw, 11px) 2px 2px;
}
.ember-base {
  position: relative;
  height: clamp(10px, 2.2vw, 29px);
  border-radius: 2px 2px 32px 32px;
  border-top: 1px solid #eee8e2;
  background: linear-gradient(#ddd5cd, #a59c95 69%, #766b64);
  box-shadow: 0 16px 27px #43322a28;
}
.ember-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 44%;
  width: 12%;
  height: 39%;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(90deg, #a79e96, #d6cec5 50%, #a79e96);
}
.ember-feature figcaption {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 13px;
  padding: 21px 0 3px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.ember-feature figcaption a { font-weight: 650; color: var(--accent); }
.ember-feature a:focus-visible { outline-color: var(--accent); }
.ember .trust { border-bottom-color: var(--line); }
.ember .project-grid { margin-top: clamp(46px, 6vw, 86px); }

@media (max-width: 800px) {
  .ember .header { top: 14px; }
  .ember .header-inner { min-height: 52px; padding: 5px 6px 5px 13px; }
  .ember .header .logo img { width: 63px; }
  .ember .menu-button { color: #fff4eb; background: #332826; border: 1px solid #8a726c; border-radius: 999px; padding: 6px 8px; }
  .ember .header-cta { padding: 7px 10px; }
  .ember .header nav { top: 58px; background: #281e1b; border-color: #fff2dd55; }
  .ember-top { --tail: clamp(120px, 21vw, 180px); padding-top: 76px; }
  .ember-copy { padding-top: 26px; }
  .ember-copy h1 { font-size: clamp(38px, 8.5vw, 61px); }
  .ember-location { margin-bottom: 11px; }
  .ember-intro { margin-block: 14px 18px; }
  .ember-copy .button { min-height: 44px; padding-inline: 13px; }
  .ember-feature { margin-top: 28px; }
  .ember-feature figcaption { padding-top: 12px; }
}
@media (max-width: 355px) {
  .ember-copy h1 { font-size: 36px; }
}
