:root {
  color-scheme: dark;
  --background: #151613;
  --text: #f5f1dc;
  --muted: #c5c5b9;
  --gold: #e9dfaa;
  --line: #44463b;
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  border-top: 3px solid var(--gold);
}

.page {
  width: min(100% - 96px, 1160px);
  margin: 0 auto;
  padding: 72px 0 32px;
}

.intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 64px;
}

.brand { container-type: inline-size; }
.brand h1 { position: relative; margin: 0; line-height: 0; }
.registered-mark {
  position: absolute;
  left: 82%;
  top: 40%;
  color: #fffbd7;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.5cqw;
  font-weight: 400;
  line-height: 1;
}

.brand img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.craft {
  color: var(--muted);
  font-size: 1.125rem;
  margin: 0 0 32px;
}

.notice { border-left: 2px solid var(--gold); padding-left: 26px; }

.notice h2 {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.notice p { margin: 0; font-size: 1.125rem; }

.contact { margin-top: 58px; }

.contact h2 {
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 112px;
  padding: 22px 24px;
  color: var(--text);
  text-decoration: none;
  transition: background-color 150ms ease;
}

.contact-link:first-child { padding-left: 0; }
.contact-link + .contact-link { border-left: 1px solid var(--line); }
.contact-link:last-child { padding-right: 0; }
.link-label { color: var(--muted); font-size: .875rem; }
.link-value { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 1rem; overflow-wrap: anywhere; }
.arrow { flex: none; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.contact-link:hover { background: #20221c; }
.contact-link:hover .link-value { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
.contact-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; border-radius: 2px; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-top: 28px;
  color: var(--muted);
  font-size: .875rem;
}

.business { margin: 0; color: var(--text); }
.business sup { font-size: .65em; line-height: 0; }
address { font-style: normal; text-align: right; }

@media (min-width: 1440px) and (min-height: 850px) {
  .page { padding-top: 110px; }
}

@media (max-width: 1000px) {
  .page { width: min(100% - 56px, 1160px); padding-top: 48px; }
  .intro { gap: 32px; grid-template-columns: 1fr 1fr; }
  .contact-link { padding: 20px 16px; }
  .link-value { font-size: .9375rem; }
}

@media (max-width: 740px) {
  .page { width: min(100% - 40px, 520px); padding-top: 24px; padding-bottom: 28px; }
  .intro { grid-template-columns: 1fr; gap: 30px; }
  .craft { font-size: 1rem; margin-bottom: 28px; }
  .notice { padding-left: 20px; }
  .notice h2 { font-size: 1.875rem; }
  .notice p { font-size: 1rem; }
  .contact { margin-top: 36px; }
  .contact h2 { font-size: .9375rem; margin-bottom: 14px; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-link, .contact-link:first-child, .contact-link:last-child { padding: 18px 4px; min-height: 91px; }
  .contact-link + .contact-link { border-left: 0; border-top: 1px solid var(--line); }
  .link-value { font-size: 1rem; }
  .footer { display: block; padding-top: 26px; }
  .business { margin-bottom: 9px; }
  address { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-link { transition: none; }
}
