:root {
  --bg: #f8f8f7;
  --text: #333333;
  --text-muted: #5c5c5c;
  --accent: #d33d3d;
  --accent-hover: #b83232;
  --border: rgba(51, 51, 51, 0.16);
  --focus: rgba(211, 61, 61, 0.22);
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.splash {
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}

.splash-stage {
  /* Full composition ~ as tall as it is wide; scale to the smaller viewport side. */
  --fit: min(100vw, calc(100dvh / 0.97));
  width: var(--fit);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--fit) * 0.032) calc(var(--fit) * 0.02) calc(var(--fit) * 0.048);
}

.brand {
  position: relative;
  display: inline-block;
  margin-bottom: calc(var(--fit) * 0.02);
  padding-right: 1em;
}

.logo {
  display: block;
  width: calc(var(--fit) * 0.59);
  height: auto;
}

.reg {
  position: absolute;
  top: 0.12em;
  right: -0.85em;
  color: #000;
  font-size: clamp(0.7rem, 2vw, 0.95rem);
  font-weight: 700;
  line-height: 1;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lede {
  margin: calc(var(--fit) * 0.012) 0 0;
  max-width: 36ch;
  color: var(--text-muted);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-size: calc(var(--fit) * 0.59 * 0.055);
  line-height: 1.35;
}

.products {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--fit) * 0.70);
  margin: calc(var(--fit) * 0.028) 0 0;
  padding: 0 0 12%;
  list-style: none;
  pointer-events: none;
}

.products li {
  margin: 0;
  flex: 0 0 46%;
  min-width: 0;
}

.products li:not(:first-child) {
  margin-left: -21%;
}

.products li:nth-child(1) {
  transform: translate(0%, 10%);
  z-index: 1;
}

.products li:nth-child(2) {
  z-index: 4;
  flex: 0 0 55%;
  transform: translate(15%, 37%);
}

.products li:nth-child(3) {
  z-index: 2;
  flex: 0 0 54%;
}

.products img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.actions {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.splash-stage .actions {
  gap: calc(var(--fit) * 0.012);
  margin-top: calc(var(--fit) * 0.028);
}

.splash-stage .btn {
  min-width: calc(var(--fit) * 0.175);
  padding: calc(var(--fit) * 0.016) calc(var(--fit) * 0.028);
  font-size: calc(var(--fit) * 0.02);
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent-hover);
}

.btn.ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn.ghost:hover {
  border-color: var(--text);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(51, 51, 51, 0.12);
}

.contact::backdrop {
  background: rgba(30, 30, 30, 0.4);
}

.contact form,
.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.contact-email {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.contact-email:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--focus);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.status {
  margin: 0;
  min-height: 1.2em;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.contact .actions {
  margin-top: 4px;
  justify-content: flex-start;
}
