@font-face {
  font-family: "Canela";
  src: url("./assets/fonts/Canela-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canela";
  src: url("./assets/fonts/Canela-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canela";
  src: url("./assets/fonts/Canela-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bt-paper: #f5f1e8;
  --bt-surface: #fffdf8;
  --bt-surface-2: #f2e8d8;
  --bt-ink: #15130f;
  --bt-muted: #625b51;
  --bt-line: #e1d4c1;
  --bt-accent: #f26f21;
  --bt-accent-deep: #d45a12;
  --bt-shadow: 0 18px 48px rgba(71, 53, 30, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.bt-brand-ready {
  margin: 0;
  background: var(--bt-paper);
  color: var(--bt-ink);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.bt-hidden {
  display: none !important;
}

.bt-container {
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
}

.bt-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(225, 212, 193, 0.92);
  background: rgba(245, 241, 232, 0.95);
  backdrop-filter: blur(12px);
}

.bt-nav-row,
.bt-nav-cluster,
.bt-hero-actions,
.bt-footer-bottom {
  display: flex;
  align-items: center;
}

.bt-nav-row {
  position: relative;
  justify-content: center;
  min-height: 78px;
  gap: 104px;
}

.bt-nav-cluster {
  gap: 56px;
  min-width: 260px;
}

.bt-nav-left {
  justify-content: flex-end;
}

.bt-nav-right {
  justify-content: flex-start;
}

.bt-nav-cluster a,
.bt-login-link {
  border: 0;
  background: transparent;
  color: var(--bt-ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.bt-login-link {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--bt-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 18px rgba(52, 40, 24, 0.04);
}

.bt-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bt-brand-text,
.bt-footer-title {
  font-family: "DM Sans", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bt-hero {
  padding: 42px 0 80px;
}

.bt-hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.bt-kicker,
.bt-subkicker {
  margin: 0 0 14px;
  color: var(--bt-accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bt-hero-title,
.bt-section-title,
.bt-text-block h3,
.bt-card h3,
.bt-card h4 {
  margin: 0;
  color: var(--bt-ink);
  font-family: "Canela", "Source Serif 4", serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.bt-hero-title {
  max-width: 14ch;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.bt-hero-lead,
.bt-copy p,
.bt-section-side,
.bt-contact-copy p,
.bt-text-block p,
.bt-footer-branding p,
.bt-footer-bottom {
  color: var(--bt-muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
}

.bt-hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
}

.bt-hero-actions {
  gap: 14px;
  margin-top: 26px;
}

.bt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.bt-button:hover {
  transform: translateY(-1px);
}

.bt-button-primary {
  background: #111;
  color: #fff;
}

.bt-button-secondary {
  border-color: var(--bt-line);
  background: rgba(255, 255, 255, 0.35);
  color: var(--bt-ink);
}

.bt-statement {
  border-top: 1px solid rgba(225, 212, 193, 0.92);
  border-bottom: 1px solid rgba(225, 212, 193, 0.92);
  background: rgba(255, 253, 248, 0.6);
}

.bt-statement p {
  margin: 0;
  padding: 28px 0;
  color: var(--bt-ink);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
}

.bt-section {
  padding: 78px 0;
  border-top: 1px solid var(--bt-line);
}

.bt-two-col,
.bt-contact-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
}

.bt-section-title {
  max-width: 12ch;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.bt-copy {
  display: grid;
  gap: 18px;
}

.bt-stacked {
  gap: 28px;
}

.bt-stacked h3,
.bt-text-block h3 {
  margin-bottom: 10px;
  font-size: 1.75rem;
}

.bt-text-divider {
  height: 1px;
  background: var(--bt-line);
}

.bt-section-head {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.bt-portfolio-table,
.bt-card {
  border: 1px solid var(--bt-line);
  border-radius: 28px;
  background: var(--bt-surface);
  box-shadow: var(--bt-shadow);
}

.bt-portfolio-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.7fr 2fr;
  gap: 18px;
  padding: 22px 24px;
  border-top: 1px solid var(--bt-line);
}

.bt-portfolio-head {
  border-top: 0;
  background: var(--bt-surface-2);
  color: var(--bt-muted);
  font-size: 14px;
  font-weight: 600;
}

.bt-portfolio-row strong {
  font-size: 18px;
  font-weight: 600;
}

.bt-forms {
  display: grid;
  gap: 24px;
}

.bt-card {
  padding: 28px;
}

.bt-card-head {
  margin-bottom: 8px;
}

.bt-form {
  display: grid;
  gap: 14px;
}

.bt-form label {
  display: grid;
  gap: 8px;
  color: var(--bt-ink);
  font-size: 14px;
  font-weight: 500;
}

.bt-form input,
.bt-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--bt-line);
  border-radius: 14px;
  background: #fff;
  color: var(--bt-ink);
}

.bt-form-status {
  min-height: 22px;
  margin: 0;
  color: var(--bt-muted);
  font-size: 14px;
}

.bt-error {
  color: #b03620;
}

.bt-contact-meta {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.bt-contact-meta div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bt-line);
}

.bt-contact-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--bt-accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bt-admin-head,
.bt-footer-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.bt-admin-lists {
  display: grid;
  gap: 24px;
  margin-top: 18px;
}

.bt-admin-list {
  display: grid;
  gap: 14px;
}

.bt-admin-item {
  padding: 16px;
  border: 1px solid var(--bt-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.bt-admin-item strong,
.bt-admin-item span,
.bt-admin-item p,
.bt-empty {
  display: block;
  margin: 0 0 6px;
}

.bt-empty {
  color: var(--bt-muted);
}

.bt-site-footer {
  margin-top: 24px;
  padding: 42px 0 24px;
  background: #16140f;
  color: #f5f5ee;
}

.bt-footer-branding p,
.bt-footer-bottom {
  color: #ddd3c2;
}

.bt-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.bt-footer-links h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bt-footer-links a,
.bt-footer-links span {
  display: block;
  margin-bottom: 8px;
  color: #ddd3c2;
  font-size: 15px;
}

.bt-footer-bottom {
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.bt-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.bt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 13, 0.42);
}

.bt-modal-card {
  position: relative;
  width: min(calc(100% - 32px), 440px);
  margin: 10vh auto 0;
  padding: 28px;
  border: 1px solid var(--bt-line);
  border-radius: 28px;
  background: var(--bt-surface);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.15);
}

.bt-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--bt-ink);
  font-size: 28px;
  cursor: pointer;
}

.bt-modal-copy {
  margin: 8px 0 18px;
  color: var(--bt-muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .bt-nav-row {
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: wrap;
  }

  .bt-login-link {
    position: static;
    transform: none;
  }

  .bt-nav-cluster {
    min-width: auto;
    gap: 22px;
    flex-wrap: wrap;
  }

  .bt-two-col,
  .bt-contact-shell,
  .bt-section-head,
  .bt-portfolio-row,
  .bt-footer-shell,
  .bt-footer-links,
  .bt-footer-bottom {
    grid-template-columns: 1fr;
  }

  .bt-footer-shell {
    display: grid;
  }
}

@media (max-width: 720px) {
  .bt-container {
    width: min(calc(100% - 24px), 1120px);
  }

  .bt-nav-row {
    gap: 14px;
  }

  .bt-nav-cluster {
    gap: 16px;
  }

  .bt-hero {
    padding: 34px 0 62px;
  }

  .bt-hero-title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .bt-section {
    padding: 60px 0;
  }

  .bt-card,
  .bt-modal-card {
    padding: 22px;
  }
}
