:root {
  --bg: #fffefa;
  --ink: #1a1a1a;
  --line: #e3e1d8;
  --font-display: "Barlow Condensed", -apple-system, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='34' cy='11' r='4'/%3E%3Cpath d='M4 38 L18 16 L25 27 L30 20 L44 38 Z'/%3E%3C/svg%3E");
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--ink);
}

#app {
  min-height: 100%;
}

.page {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: var(--bg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page.ready {
  opacity: 1;
  transform: translateY(0);
}

.header {
  padding: clamp(1.5rem, 4vh, 2.5rem) 1rem 0.5rem;
}

.logo {
  width: min(80vw, 400px);
  height: auto;
  display: block;
}

.panel {
  width: 100%;
  max-width: 900px;
  padding: clamp(1.5rem, 5vh, 3rem) 1.5rem;
}

.content + .content {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  border-top: 1px solid var(--line);
}

.content h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  letter-spacing: 0.02em;
}

.content p {
  margin: 0;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.85;
}

.content p + p {
  margin-top: 1rem;
}

.content .details {
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  opacity: 0.7;
}

.content .details .phone {
  color: inherit;
  text-decoration: none;
}

.content .details .phone:hover {
  text-decoration: underline;
}

.about-gallery {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 100%;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.brand-row:last-child {
  border-bottom: none;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--ink);
  opacity: 0.75;
  -webkit-mask-image: var(--mark);
  mask-image: var(--mark);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.brand-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  letter-spacing: 0.01em;
}

@media (prefers-color-scheme: dark) {
  /* Logo art is a fixed cream square, so the page stays cream-on-black-text
     in both modes to keep it blending seamlessly with the logo. */
}
