* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-dark: #4a2f18;
  --brand-accent: #b26b2f;
  --light-bg: #f1e7d7;
  --card-bg: #faf9f7;
  --text-dark: #3e2b1e;
  --text-soft: #6b5544;
  --border-light: rgba(74, 47, 24, 0.08);
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-frame {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 12px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Header & Hero */
header.hero {
  padding: 20px 0 30px;
}

.brand-logo {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  margin-bottom: 16px;
  object-fit: cover;
}

.eyebrow {
  color: var(--brand-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hero-content {
  width: 100%;
}

.hero-description {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-soft);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 15px;
  margin: 8px 8px 8px 0;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--brand-accent);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: rgba(74, 47, 24, 0.1);
  color: var(--text-dark);
  border: 1px solid rgba(74, 47, 24, 0.15);
}

.btn-secondary:hover {
  background-color: rgba(74, 47, 24, 0.15);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

/* Sections */
.section {
  margin-bottom: 32px;
  padding: 20px 0;
}

.section-header {
  margin-bottom: 20px;
}

.section-label {
  color: var(--brand-accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

/* Hero Card */
.hero-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.hero-card span {
  color: var(--brand-accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.hero-card h2 {
  margin-bottom: 12px;
  font-size: 18px;
}

.hero-card p {
  margin: 0;
  font-size: 14px;
}

/* Grid */
.grid {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.team-section {
  margin-bottom: 32px;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
/* Cards */
.card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(74, 47, 24, 0.12);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  margin: 0;
}

/* Portfolio */
.portfolio-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(74, 47, 24, 0.12);
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.portfolio-card-body {
  padding: 16px;
}

.portfolio-card-body h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.portfolio-card-body p {
  font-size: 14px;
  margin: 0;
}

/* Team */
.team-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(74, 47, 24, 0.12);
}

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 12px;
  object-fit: cover;
  border: 3px solid var(--brand-dark);
}

.team-info h3 {
  margin: 8px 0 0 0;
  font-size: 15px;
}

.team-role {
  font-size: 13px;
  color: var(--text-soft);
  margin: 4px 0 0 0;
}
/* Instagram & Footer */
.instagram-section {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.instagram-intro {
  margin-bottom: 20px;
}

.instagram-handle {
  margin-bottom: 12px;
  font-weight: 600;
}

.instagram-carousel {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.carousel-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: var(--brand-dark);
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.carousel-control:hover {
  background-color: var(--brand-accent);
}

.instagram-track-wrapper {
  flex: 1;
  overflow: hidden;
  max-height: 100%;
  min-width: 100%;
  width: 100%;
}

.instagram-track {
  display: grid;
  gap: 12px;
  width: 100%;
}

.instagram-post {
  background-color: rgba(74, 47, 24, 0.05);
  border-radius: 12px;
  overflow: hidden;
  display: none;
  width: 100%;
  transition: all 0.3s ease;
}

.instagram-post:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(74, 47, 24, 0.1);
}

.instagram-post.active {
  display: block;
  width: 100%;
}

.instagram-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.instagram-body {
  padding: 16px;
  min-height: auto;
}

.instagram-body h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.post-badge {
  display: inline-block;
  background-color: rgba(178, 107, 47, 0.12);
  color: var(--brand-dark);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.instagram-note {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 12px;
}

.instagram-body p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.instagram-body a {
  display: inline-block;
  margin-top: 8px;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
  font-size: 13px;
}

/* Contact */
.contact-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(74, 47, 24, 0.12);
}

.contact-card h3 {
  margin-bottom: 12px;
}

.contact-card-highlight {
  background-color: rgba(225, 152, 82, 0.08);
}

/* Elfsight */
.elfsight-app-a70b4300-b2ac-449c-9471-5e20adf0721e {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
}

/* Footer */
.footer {
  text-align: center;
  padding: 24px 20px;
  color: var(--text-soft);
  font-size: 13px;
  border-top: 1px solid var(--border-light);
  margin-top: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .page-frame {
    padding: 16px;
  }

  h1 {
    font-size: 22px;
    margin-bottom: 14px;
    line-height: 1.3;
  }

  h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.25;
  }

  p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .cards-grid,
  .portfolio-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    margin: 6px 0;
    padding: 12px 20px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 6px;
  }

  .carousel-control {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  header.hero {
    grid-template-columns: 1fr;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.6;
  }

  .section {
    margin-bottom: 24px;
  }

  .section-header {
    margin-bottom: 16px;
  }

  .card,
  .portfolio-card-body,
  .team-card,
  .contact-card,
  .hero-card {
    padding: 16px;
  }

  .portfolio-card img {
    height: 180px;
  }

  .instagram-post img {
    height: 180px;
  }

  .instagram-body {
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .page-frame {
    padding: 12px;
  }

  h1 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.35;
  }

  h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  h3 {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  body {
    font-size: 14px;
  }

  p {
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .brand-logo {
    width: 80px;
    height: 80px;
  }

  .section {
    margin-bottom: 18px;
    padding: 12px 0;
  }

  .section-header {
    margin-bottom: 12px;
  }

  .portfolio-card img {
    height: 150px;
  }

  .team-photo {
    width: 80px;
    height: 80px;
  }

  .hero-card {
    padding: 14px;
  }

  .card,
  .portfolio-card-body,
  .team-card,
  .contact-card,
  .instagram-section {
    padding: 12px;
  }

  .instagram-post img {
    height: 140px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 13px;
    margin: 4px 0;
  }

  .hero-actions {
    flex-direction: column;
    gap: 4px;
    margin: 16px 0;
  }

  .hero-description,
  .section-description,
  .card p,
  .portfolio-card-body p,
  .contact-card p,
  .instagram-body p {
    font-size: 13px;
    line-height: 1.5;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .section-label {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .instagram-body h3 {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .post-badge {
    padding: 4px 10px;
    font-size: 10px;
    margin-bottom: 6px;
  }

  .instagram-note {
    font-size: 12px;
    margin-top: 8px;
  }

  .team-info h3 {
    margin: 6px 0 0 0;
    font-size: 13px;
  }

  .team-role {
    font-size: 12px;
    margin: 2px 0 0 0;
  }
}
