:root {
  color-scheme: dark;
  --black: #050403;
  --carbon: #0b0a08;
  --copper: #c87538;
  --copper-light: #e3a15f;
  --ivory: #ded7ce;
  --ash: #aaa49d;
  --line: rgba(255, 255, 255, 0.11);
  --shell: 900px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 117, 56, 0.1), transparent 34rem),
    var(--black);
  color: var(--ivory);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}

body::before {
  position: fixed;
  z-index: 30;
  inset: 0;
  border: 1px solid rgba(200, 117, 56, 0.08);
  pointer-events: none;
  content: "";
}

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

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.faq-header {
  position: relative;
  min-height: 620px;
  border-bottom: 1px solid rgba(200, 117, 56, 0.16);
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.25), var(--black)),
    url("/assets/rogolp.jpg") center / cover no-repeat;
}

.faq-header::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 4, 3, 0.94), rgba(5, 4, 3, 0.62), rgba(5, 4, 3, 0.9));
  content: "";
}

.nav,
.header-copy {
  position: relative;
  z-index: 1;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 100px;
}

.brand-mark {
  grid-column: 2;
  width: 112px;
  height: 72px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.92;
  filter:
    drop-shadow(0 0 2px rgba(200, 117, 56, 0.45))
    drop-shadow(0 0 8px rgba(200, 117, 56, 0.18));
}

.back-link {
  display: inline-flex;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 9px;
  color: rgba(222, 215, 206, 0.62);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.header-copy {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 120px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--copper-light);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.32em;
  line-height: 1.7;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
}

.header-copy > p:last-child {
  margin: 36px 0 0;
  color: var(--ash);
  font-size: 15px;
  line-height: 2;
}

.faq-main {
  padding: 110px 0 140px;
}

.faq-list {
  border-top: 1px solid rgba(200, 117, 56, 0.35);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h2 {
  margin: 0;
  font: inherit;
}

.faq-item button {
  display: grid;
  width: 100%;
  min-height: 112px;
  grid-template-columns: 55px 1fr 30px;
  gap: 22px;
  align-items: center;
  padding: 28px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font: inherit;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.55;
  text-align: left;
  transition:
    background 220ms ease,
    color 220ms ease;
}

.faq-item button:hover,
.faq-item button:focus-visible {
  background: rgba(200, 117, 56, 0.035);
  color: var(--copper-light);
}

.faq-number {
  color: var(--copper-light);
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.faq-item button i {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.faq-item button i::before,
.faq-item button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 1px;
  background: var(--copper-light);
  content: "";
  transition: transform 260ms ease;
  transform: translate(-50%, -50%);
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item button[aria-expanded="true"] i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  padding: 0 42px 42px 89px;
}

.faq-answer p,
.faq-answer li {
  color: var(--ash);
  font-size: 14px;
  line-height: 2;
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 16px;
}

.faq-answer ul {
  display: grid;
  gap: 4px;
  padding-left: 20px;
  margin: 16px 0 0;
}

.faq-answer a {
  color: var(--copper-light);
}

.contact-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 11px 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

footer {
  display: grid;
  justify-items: center;
  padding: 90px 20px 35px;
  border-top: 1px solid var(--line);
  background: #030302;
}

footer img {
  width: 160px;
  opacity: 0.78;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 40px;
}

footer nav a {
  padding: 9px 0;
  color: rgba(222, 215, 206, 0.48);
  font-size: 11px;
  text-decoration: none;
}

footer nav a:hover {
  color: var(--copper-light);
}

footer > p {
  margin: 48px 0 0;
  color: rgba(222, 215, 206, 0.26);
  font-size: 10px;
}

@media (max-width: 620px) {
  .faq-header {
    min-height: 570px;
  }

  .nav {
    min-height: 88px;
  }

  .brand-mark {
    width: 92px;
    height: 62px;
  }

  .back-link {
    font-size: 9px;
  }

  .header-copy {
    min-height: 470px;
    padding-bottom: 90px;
  }

  .header-copy > p:last-child {
    max-width: 330px;
    font-size: 14px;
  }

  .faq-main {
    padding: 80px 0 110px;
  }

  .faq-item button {
    min-height: 100px;
    grid-template-columns: 34px 1fr 24px;
    gap: 10px;
    padding: 25px 3px;
    font-size: 1.15rem;
  }

  .faq-answer {
    padding: 0 4px 35px 44px;
  }

  .faq-answer p,
  .faq-answer li {
    font-size: 13px;
    line-height: 1.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .faq-item button i::before,
  .faq-item button i::after {
    transition: none;
  }
}
