/* cloudouble.com — refresh of the previous site: dark, Inter, the grey/blue cloud logo. */

@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2-variations"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #0a0a0a;
  --surface: #121417;
  --surface-hover: #1a1d21;
  --border: #2d3339;
  --text: #f8f9fa;
  --muted: #8a939c;
  --blue: #5f8db0;
  --max: 1100px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: dark;
}

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

/* Hero */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(4rem, 11vw, 7.5rem) var(--gutter) clamp(3rem, 7vw, 5rem);
  background: radial-gradient(60% 70% at 50% 0%, rgba(95, 141, 176, .18), transparent 70%);
}
.logo-tile { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 26px; background: #fff; box-shadow: 0 20px 60px -20px rgba(95, 141, 176, .55); }
.logo-tile img { width: 84px; height: auto; }
.hero h1 { margin-top: 1.75rem; font-weight: 600; font-size: clamp(2.6rem, 7vw, 4.25rem); letter-spacing: -0.03em; line-height: 1.05; }
.tagline { margin-top: .75rem; font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 300; color: #c9d4de; }
.intro { margin-top: 1.5rem; max-width: 34rem; color: var(--muted); font-size: 1.05rem; }

/* Sections */
.container { max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter); }
main section { padding-top: clamp(2.5rem, 6vw, 4rem); }
h2 { font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }

.brand-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.brand-card {
  display: flex; align-items: center; gap: 1.1rem; height: 100%;
  padding: 1.25rem 1.35rem; border-radius: 14px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.brand-card:hover { background: var(--surface-hover); border-color: #3f4850; transform: translateY(-2px); }
.brand-logo { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: #000; border: 1px solid var(--border); }
.brand-logo img { max-width: 44px; max-height: 44px; width: auto; height: auto; }
.brand-logo-light { background: #fff; }
.brand-logo-navy { background: #0b1322; overflow: hidden; }
.brand-logo-navy img { max-width: 60px; max-height: 60px; }
.brand-body { display: flex; flex-direction: column; gap: .25rem; }
.brand-name { font-weight: 600; font-size: 1.1rem; }
.brand-desc { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.brand-desc.soon { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }

.founder-card { display: flex; gap: 1.5rem; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2rem); border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.monogram { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; font-weight: 600; font-size: 1.6rem; letter-spacing: .02em; background: linear-gradient(140deg, #d9dde1, var(--blue)); color: #0a0a0a; }
.founder-card h3 { font-weight: 600; font-size: 1.35rem; }
.founder-title { color: var(--blue); font-weight: 500; margin: .2rem 0 .8rem; }
.founder-card p:not(.founder-title) { color: #c2c9d0; max-width: 44rem; }
.founder-link { display: inline-block; margin-top: 1rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--blue); }
.founder-link:hover { color: #fff; border-color: #fff; }

.site-footer { margin-top: clamp(3rem, 8vw, 5rem); padding: 2rem var(--gutter) 2.5rem; border-top: 1px solid #1c1f23; text-align: center; color: var(--muted); font-size: .9rem; }

@media (max-width: 520px) { .founder-card { flex-direction: column; } }

/* Two tiers: Base37 + minxi.ai featured (2 columns, larger); the coming-soon brands below (3 columns, smaller). */
.brand-grid-featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.brand-grid-featured .brand-card { padding: 1.75rem 1.85rem; gap: 1.4rem; }
.brand-grid-featured .brand-logo { width: 84px; height: 84px; border-radius: 18px; }
.brand-grid-featured .brand-logo img { max-width: 58px; max-height: 58px; }
.brand-grid-featured .brand-name { font-size: 1.4rem; }
.brand-grid-featured .brand-desc { font-size: 1.02rem; }
.brand-grid-soon { margin-top: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.brand-grid-soon .brand-card { padding: .9rem 1rem; gap: .85rem; }
.brand-grid-soon .brand-logo { width: 48px; height: 48px; border-radius: 11px; }
.brand-grid-soon .brand-logo img { max-width: 32px; max-height: 32px; }
.brand-grid-soon .brand-logo-navy img { max-width: 46px; max-height: 46px; }
.brand-grid-soon .brand-name { font-size: .98rem; }
.brand-grid-soon .brand-desc.soon { font-size: .68rem; }

.portrait { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue); }
.contact-link { font-size: 1.15rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--blue); }
.contact-link:hover { color: #fff; border-color: #fff; }
