@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Noto+Sans+Thai:wght@400;500;700&display=swap");

/* Bert & Co. component styles. Every color, size and radius comes from tokens.css. */

.bc-root { font-family: var(--font-sans); color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; }
.bc-upper { text-transform: uppercase; }
.bc-serif { font-family: var(--font-serif); }

/* Logo: clear space equals the B height, roughly 0.36 of the master logo's height */
.bc-logo { display: inline-block; line-height: 0; }
.bc-logo img { display: block; height: 100%; width: auto; }
.bc-logo--clear { padding: calc(var(--bc-logo-h, 72px) * 0.36); }

/* Button: pills only */
.bc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: var(--space-3) var(--space-6);
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.bc-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.bc-btn--primary { background: var(--logo-blue); color: var(--white); }
.bc-btn--primary:hover { background: var(--logo-blue-hover); color: var(--white); }
.bc-btn--soft { background: var(--dawn-green); color: var(--logo-blue); }
.bc-btn--soft:hover { background: var(--soft-dawn); }
.bc-btn--outline { background: transparent; color: var(--text); border-color: var(--control-border); }
.bc-btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.bc-btn--on-brand { background: transparent; color: var(--on-brand); border-color: var(--on-brand); }
.bc-btn--arrow { padding: var(--space-3) var(--space-6); background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid)); color: var(--white); }
.bc-btn--arrow svg { width: 32px; height: 12px; }
.bc-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Signature gradient */
.bc-gradient { background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-mid) 38%, var(--gradient-end) 64%, var(--white) 100%); }
.bc-gradient-sky {
  background:
    radial-gradient(120% 90% at 85% 15%, var(--gradient-start) 0%, transparent 60%),
    radial-gradient(90% 80% at 0% 100%, var(--gradient-mid) 0%, transparent 65%),
    linear-gradient(180deg, var(--gradient-end), var(--white));
}
.bc-panel { position: relative; overflow: hidden; border-radius: var(--radius-none); padding: var(--space-12); color: var(--on-brand); }
.bc-panel--brand { background: var(--surface-brand); }
.bc-panel--light { color: var(--ink); }

/* Glass card over imagery */
.bc-glass {
  border-radius: var(--radius-lg); padding: var(--space-6);
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--white);
}
.bc-glass h3 { margin: 0 0 var(--space-3); font-family: var(--font-serif); font-weight: 500; font-size: 28px; line-height: 1.1; text-transform: uppercase; }
.bc-glass p { margin: 0; font-size: 14px; line-height: 22px; }

/* Social post */
.bc-post { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; color: var(--white); }
.bc-post__head { margin: 0; font-family: var(--font-serif); font-weight: 500; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; }
.bc-post__body { margin: 0; font-family: var(--font-sans); }
.bc-post__corner { position: absolute; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }

/* Eyebrow label */
.bc-eyebrow { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

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