:root {
  --primary-deep-blue: #0f3a4a;
  --accent-burnt-orange: #c1440e;
  --accent-mustard-gold: #d89b2b;
  --background-cream-canvas: #f4ede4;
  --surface-white: #ffffff;
  --text-charcoal: #1e1e1e;
  --divider-light-grey: #e5e5e5;
  --hover-soft-gold: #e3b857;
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.4);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 30px rgba(15, 58, 74, 0.08);
  --shadow-cta: 6px 6px 14px rgba(0, 0, 0, 0.1), -4px -4px 10px rgba(255, 255, 255, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Sticky header (~72px + spacing) so #featured, #commission, etc. scroll into view correctly */
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  background: radial-gradient(circle at top right, #fff9f2, var(--background-cream-canvas) 50%);
  color: var(--text-charcoal);
  line-height: 1.5;
}

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

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  font-family: "Playfair Display", serif;
  color: var(--primary-deep-blue);
}

p {
  margin: 0;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 4.8rem 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.35);
  border-top: 1px solid var(--divider-light-grey);
  border-bottom: 1px solid var(--divider-light-grey);
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head p {
  max-width: 640px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 58, 74, 0.93);
  color: var(--surface-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-wrap {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.35rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-nav {
  display: flex;
  gap: 1.1rem;
  font-weight: 600;
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: var(--surface-white);
  border-radius: 999px;
  padding: 0.46rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.main-nav a {
  opacity: 0.92;
}

.main-nav a:hover {
  color: var(--hover-soft-gold);
}

.art-link {
  display: block;
}

.title-link:hover {
  color: var(--accent-burnt-orange);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent-mustard-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.hero-copy {
  max-width: 56ch;
  margin-bottom: 1.4rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.78rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-sm {
  padding: 0.52rem 1rem;
  font-size: 0.92rem;
}

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

.btn-primary {
  background: var(--accent-burnt-orange);
  color: var(--surface-white);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  background: var(--hover-soft-gold);
  color: var(--primary-deep-blue);
}

.btn-outline {
  border-color: var(--primary-deep-blue);
  color: var(--primary-deep-blue);
  background: rgba(255, 255, 255, 0.65);
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.fx-3d-card {
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--fx-rotate-x, 0deg)) rotateY(var(--fx-rotate-y, 0deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.fx-3d-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--fx-glow-x, 50%) var(--fx-glow-y, 50%),
    rgba(255, 255, 255, 0.22),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.fx-3d-card:hover::after {
  opacity: 1;
}

.fx-3d-media {
  transform: translateZ(26px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fx-3d-lift {
  transform: translateZ(18px);
}

.fx-3d-card:hover .fx-3d-media {
  box-shadow: 0 16px 34px rgba(15, 58, 74, 0.24);
}

.hero-feature {
  padding: 1.1rem;
}

.card-label {
  font-size: 0.82rem;
  color: var(--primary-deep-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.image-block {
  margin-top: 0.65rem;
  border-radius: var(--radius-md);
  min-height: 210px;
  background:
    radial-gradient(circle at top left, rgba(227, 184, 87, 0.55), transparent 55%),
    linear-gradient(135deg, rgba(15, 58, 74, 0.9), rgba(193, 68, 14, 0.6));
}

.art-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-top: 0.65rem;
  display: block;
}

.hero-image {
  height: 260px;
}

.image-a {
  background:
    radial-gradient(circle at bottom right, rgba(227, 184, 87, 0.45), transparent 55%),
    linear-gradient(135deg, rgba(15, 58, 74, 0.75), rgba(216, 155, 43, 0.6));
}

.image-b {
  background:
    radial-gradient(circle at top left, rgba(193, 68, 14, 0.5), transparent 50%),
    linear-gradient(150deg, rgba(30, 30, 30, 0.7), rgba(216, 155, 43, 0.5));
}

.image-c {
  background:
    radial-gradient(circle at top right, rgba(216, 155, 43, 0.45), transparent 55%),
    linear-gradient(140deg, rgba(15, 58, 74, 0.78), rgba(255, 255, 255, 0.28));
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.previous-works-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
}

.previous-works-stage {
  min-height: 360px;
  overflow: hidden;
}

.previous-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.previous-carousel-track {
  --per-view: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  transition: transform 0.38s ease;
}

.previous-carousel-item {
  flex: 0 0 calc(100% / var(--per-view));
  min-width: 0;
  padding: 0 0.45rem;
}

.previous-work-card {
  height: 100%;
  width: 100%;
  padding: 1rem;
}

.previous-work-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.previous-work-content {
  margin-top: 0.8rem;
}

.carousel-btn {
  border: 1px solid var(--divider-light-grey);
  background: #fdfaf6;
  color: var(--primary-deep-blue);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
  cursor: pointer;
}

.carousel-btn:hover {
  border-color: rgba(193, 68, 14, 0.35);
  background: rgba(193, 68, 14, 0.09);
}

.carousel-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.art-card,
.quote-card {
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.art-card:hover,
.quote-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 58, 74, 0.14);
}

.art-card h3 {
  margin-top: 0.95rem;
}

.card-row {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.btn-card-cta {
  margin-top: 0.85rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.hero-feature-cta {
  margin-top: 1rem;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(216, 155, 43, 0.4);
  color: var(--primary-deep-blue);
  background: rgba(216, 155, 43, 0.13);
  padding: 0.22rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-intro {
  max-width: 74ch;
}

.step-card {
  border: 1px solid var(--divider-light-grey);
  border-radius: var(--radius-md);
  background: var(--surface-white);
  padding: 1rem;
}

.step-kicker {
  color: var(--accent-mustard-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.42rem;
}

.pricing-guide {
  margin-top: 1rem;
  padding: 1.2rem;
}

.pricing-guide h3 {
  margin-bottom: 0.85rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.pricing-item {
  border: 1px solid var(--divider-light-grey);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.74);
}

.pricing-item h4 {
  margin: 0 0 0.45rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  color: var(--primary-deep-blue);
}

.pricing-dimension {
  color: #313131;
}

.pricing-value {
  margin-top: 0.35rem;
  display: inline-block;
  color: var(--accent-burnt-orange);
  font-size: 1.05rem;
}

.timeline-item {
  background: rgba(15, 58, 74, 0.07);
}

.pricing-note {
  margin-top: 0.9rem;
}

.process-cta {
  margin-top: 1rem;
  border-top: 1px solid var(--divider-light-grey);
  padding-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.category-feedback {
  margin: 0 0 0.9rem;
  color: var(--primary-deep-blue);
  font-weight: 600;
}

.category-feedback strong {
  color: var(--accent-burnt-orange);
}

.chip {
  border: 1px solid var(--divider-light-grey);
  background: #fdfaf6;
  color: var(--primary-deep-blue);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.chip.active,
.chip:hover {
  border-color: rgba(193, 68, 14, 0.35);
  background: rgba(193, 68, 14, 0.16);
  transform: translateY(-1px);
}

.chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(193, 68, 14, 0.25), var(--shadow-cta);
}

.empty-state {
  padding: 1.2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.empty-state h3 {
  margin: 0 0 0.5rem;
}

.empty-state p {
  color: rgba(30, 30, 30, 0.85);
}

.quote-card footer {
  margin-top: 0.8rem;
  color: var(--primary-deep-blue);
  font-weight: 600;
}

.section-cta {
  padding-top: 2rem;
}

.cta-panel {
  border-radius: var(--radius-lg);
  background: var(--primary-deep-blue);
  color: var(--surface-white);
  padding: 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.cta-panel h2 {
  color: var(--surface-white);
}

.commission-form-wrap {
  margin-top: 1rem;
}

.commission-form-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--divider-light-grey);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.commission-form-card h3 {
  margin-bottom: 1rem;
  font-size: 1.55rem;
}

.commission-form {
  display: grid;
  gap: 0.8rem;
}

.form-field {
  display: grid;
  gap: 0.38rem;
}

.form-field label {
  color: var(--primary-deep-blue);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #f1f1f1;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text-charcoal);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--hover-soft-gold);
  box-shadow: 0 0 0 2px rgba(227, 184, 87, 0.25);
}

.char-counter {
  text-align: right;
  font-size: 0.85rem;
  color: #5b5b5b;
}

.form-submit-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--hover-soft-gold);
  color: var(--text-charcoal);
  font-weight: 700;
  padding: 0.72rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-submit-btn:hover {
  background: var(--accent-mustard-gold);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--primary-deep-blue);
  color: rgba(255, 255, 255, 0.9);
}

.footer-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--hover-soft-gold);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.footer-credit-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0 0.85rem;
}

.footer-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.footer-credit a {
  color: var(--hover-soft-gold);
  font-weight: 700;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary-deep-blue);
  font-weight: 700;
}

.detail-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
}

.detail-gallery,
.detail-info {
  padding: 1.1rem;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.detail-main-image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.detail-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-burnt-orange);
}

.detail-description {
  margin-top: 0.6rem;
}

.detail-block {
  margin-top: 1rem;
}

.detail-label {
  color: var(--primary-deep-blue);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.detail-option {
  border: 1px solid var(--divider-light-grey);
  border-radius: 10px;
  background: #fdfaf6;
  color: var(--primary-deep-blue);
  padding: 0.45rem 0.65rem;
  font-weight: 600;
}

.detail-option.active {
  border-color: rgba(193, 68, 14, 0.35);
  background: rgba(193, 68, 14, 0.12);
}

.detail-whatsapp {
  margin-top: 1.2rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.detail-empty {
  padding: 1.2rem;
  max-width: 640px;
  margin: 0 auto;
}

.about-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.35rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: start;
}

.about-photo-link {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-subtitle {
  color: var(--accent-burnt-orange);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.about-contact-item {
  border: 1px solid var(--divider-light-grey);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  padding: 0.8rem;
}

.about-cta {
  margin-top: 0;
}

.about-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-phone-btn {
  background: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    flex-direction: column;
    gap: 0.3rem;
    background: rgba(15, 58, 74, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 0.55rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: block;
    border-radius: 10px;
    padding: 0.45rem 0.55rem;
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .nav-wrap > .btn.btn-primary.btn-sm {
    display: none;
  }

  .hero-grid,
  .card-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .previous-works-shell {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "stage stage"
      "prev next";
    row-gap: 0.6rem;
  }

  .previous-carousel-item {
    flex-basis: 100%;
  }

  .previous-works-stage {
    grid-area: stage;
  }

  .carousel-btn {
    display: inline-flex;
    width: fit-content;
  }

  #previousWorksPrev {
    grid-area: prev;
    justify-self: end;
  }

  #previousWorksNext {
    grid-area: next;
    justify-self: start;
  }

  .chip-wrap {
    gap: 0.6rem;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .about-contact-grid {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-photo {
    height: 320px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-3d-card {
    transform: none !important;
    transition: none !important;
  }

  .fx-3d-card::after {
    display: none;
  }

  .fx-3d-media {
    transform: none !important;
    transition: none !important;
  }
}
