@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@400;500;600;700&display=swap');

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

:root {
  --dark: #1A1410;
  --cream: #F5F0E8;
  --light: #FDFBF7;
  --brown: #2C1810;
  --red: #C93A2A;
  --red-hover: #a52e1f;
  --tan: #c9b99a;
  --muted: #8B7355;
  --text: #5A4030;
  --placeholder: #b09a7a;
  --green: #22C55E;
  --ff-serif: 'Playfair Display', serif;
  --ff-sans: 'DM Sans', sans-serif;
}

body {
  font-family: var(--ff-sans);
  background: var(--dark);
  color: var(--brown);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* Content width constraint - 10-15% margins on each side */
.portfolio-preview, .cta-banner, .page-header, .filter-tabs, .gallery,
.pricing, .timeline-section, .rules-section, .form-section,
.about-hero, .feedback-section, .contact-section, .about-cta,
.footer {
  padding-left: max(48px, 12%);
  padding-right: max(48px, 12%);
}
.nav {
  padding-left: max(48px, 12%);
  padding-right: max(48px, 12%);
}

/* ========== NAV ========== */
.nav {
  display: flex;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav__logo { height: 30px; }
.nav > a:first-child { margin-right: auto; }
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.nav__links a {
  color: rgba(253,251,247,0.55);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--light); }
.nav__links a.active { color: var(--red); font-weight: 700; }
.nav__lang {
  font-size: 11px;
  color: rgba(253,251,247,0.4);
  margin-left: 32px;
  letter-spacing: 1.5px;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO (Home) ========== */
.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--dark) 8%, rgba(26,20,16,0.15) 50%, rgba(26,20,16,0.55) 100%);
}
.hero__content {
  position: absolute;
  bottom: 56px;
  left: 48px;
  right: 48px;
  z-index: 2;
}
.hero__title {
  font-family: var(--ff-serif);
  font-size: 128px;
  font-weight: 900;
  color: var(--light);
  line-height: 0.88;
  letter-spacing: -3px;
}
.hero__subtitle {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.hero__line { width: 48px; height: 2px; background: var(--red); flex-shrink: 0; }
.hero__desc {
  font-size: 16px;
  color: rgba(253,251,247,0.65);
  letter-spacing: 0.8px;
}

/* ========== PAGE HEADER (dark) ========== */
.page-header {
  background: var(--dark);
  padding-top: 52px;
  padding-bottom: 48px;
}
.page-header__title {
  font-family: var(--ff-serif);
  font-size: 72px;
  font-weight: 900;
  color: var(--light);
  letter-spacing: -2px;
}
.page-header__subtitle {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}
.page-header__subtitle p {
  font-size: 15px;
  color: rgba(253,251,247,0.5);
  letter-spacing: 0.5px;
}

/* ========== SECTION HEADING ========== */
.section-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-family: var(--ff-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--brown);
  white-space: nowrap;
}
.section-heading .line { flex: 1; height: 1px; background: var(--tan); }

/* ========== PORTFOLIO PREVIEW (Home) ========== */
.portfolio-preview {
  background: var(--cream);
  padding-top: 60px;
  padding-bottom: 52px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.portfolio-grid__item {
  aspect-ratio: 1;
  overflow: hidden;
}
.portfolio-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.portfolio-grid__item:hover img { transform: scale(1.05); }
.portfolio-grid__placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #a0907a;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.portfolio-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--dark);
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.cta-banner h3 {
  font-family: var(--ff-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 15px;
  color: rgba(253,251,247,0.55);
  line-height: 1.7;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 28px;
  transition: all 0.2s;
}
.btn--outline {
  color: var(--brown);
  border: 1.5px solid var(--brown);
}
.btn--outline:hover { background: var(--brown); color: var(--light); }
.btn--primary {
  background: var(--red);
  color: var(--light);
  font-weight: 700;
  padding: 16px 36px;
}
.btn--primary:hover { background: var(--red-hover); }

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(253,251,247,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy {
  font-size: 11px;
  color: rgba(253,251,247,0.35);
  letter-spacing: 1px;
}
.footer__socials {
  display: flex;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer__socials a {
  color: rgba(253,251,247,0.45);
  transition: color 0.2s;
}
.footer__socials a:hover { color: var(--light); }

/* ========== PORTFOLIO PAGE ========== */
.filter-tabs {
  background: var(--cream);
  padding-top: 24px;
  padding-bottom: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-tab {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  color: var(--muted);
  border: 1px solid var(--tan);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab.active {
  background: var(--brown);
  color: var(--light);
  font-weight: 700;
  border-color: var(--brown);
}
.filter-tab:hover:not(.active) { background: rgba(44,24,16,0.06); }

.gallery {
  background: var(--cream);
  padding-top: 24px;
  padding-bottom: 60px;
}
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 8px;
  cursor: pointer;
}
.gallery-item[data-ratio="portrait"] { aspect-ratio: 9/16; }
.gallery-item[data-ratio="landscape"] { aspect-ratio: 16/9; }
.gallery-item[data-ratio="square"] { aspect-ratio: 1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(26,20,16,0.85));
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay h3 {
  font-family: var(--ff-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--light);
}
.gallery-item__overlay p {
  font-size: 11px;
  color: rgba(253,251,247,0.6);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.gallery-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 24px;
  text-align: center;
}
.gallery-empty p {
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
}

/* ========== COMMISSION PAGE ========== */
.commission-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.commission-status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.commission-status span {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.commission-desc {
  font-size: 15px;
  color: rgba(253,251,247,0.5);
  margin-top: 16px;
  max-width: 500px;
  line-height: 1.7;
}

/* Pricing Cards */
.pricing {
  background: var(--cream);
  padding-top: 48px;
  padding-bottom: 48px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pricing-card {
  background: var(--light);
  overflow: hidden;
}
.pricing-card__image {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.pricing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pricing-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
}
.pricing-card__badge--bw { color: #CC1616; background: #F8F8F8; }
.pricing-card__badge--color { background: var(--red); color: var(--light); }
.pricing-card__body { padding: 28px 32px 32px; }
.pricing-card__body h3 {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--brown);
}
.pricing-card__body > p {
  font-size: 14px;
  color: var(--text);
  margin-top: 12px;
  line-height: 1.7;
}
.pricing-table { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.pricing-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #EDE6D8;
}
.pricing-row span:first-child { color: var(--muted); }
.pricing-row span:last-child { color: var(--brown); font-weight: 700; }
.pricing-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--cream);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* Timeline */
.timeline-section {
  background: var(--cream);
  padding-top: 0;
  padding-bottom: 48px;
}
.timeline-section .section-heading { margin-bottom: 8px; }
.timeline-section .section-heading h2 { font-size: 36px; }
.timeline-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--tan);
}
.timeline-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 16px 0;
  position: relative;
}
.timeline-step__number {
  width: 40px;
  height: 40px;
  background: var(--brown);
  color: var(--light);
  font-family: var(--ff-serif);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  left: -40px;
  z-index: 1;
}
.timeline-step:last-child .timeline-step__number { background: var(--red); }
.timeline-step__content { flex: 1; }
.timeline-step__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.timeline-step__header h4 { font-size: 15px; font-weight: 700; color: var(--brown); }
.timeline-step__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
}
.timeline-step__tag--user { background: #EDE6D8; color: var(--muted); }
.timeline-step__tag--hye { background: var(--red); color: var(--light); }
.timeline-step__content p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Rules Accordion */
.rules-section {
  background: var(--cream);
  padding-top: 0;
  padding-bottom: 48px;
}
.rules-section .section-heading { margin-bottom: 8px; }
.rules-section .section-heading h2 { font-size: 36px; }
.rules-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.accordion {}
.accordion details {
  background: var(--light);
  border-bottom: 1px solid #EDE6D8;
}
.accordion details:last-child { border-bottom: none; }
.accordion summary {
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.accordion summary:hover { background: rgba(0,0,0,0.02); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  font-weight: 400;
  color: var(--tan);
  transition: transform 0.2s;
}
details[open] summary::after { content: '−'; }
.accordion .rule-num {
  font-family: var(--ff-serif);
  font-size: 16px;
  font-weight: 900;
  color: var(--red);
  width: 24px;
  flex-shrink: 0;
}
.accordion .rule-body {
  padding: 0 20px 16px 56px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* Commission Form */
.form-section {
  background: var(--light);
  padding-top: 40px;
  padding-bottom: 40px;
}
.form-section .section-heading { margin-bottom: 8px; }
.form-section .section-heading h2 { font-size: 32px; }
.form-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group {}
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-label .required { color: var(--red); }
.form-input {
  width: 100%;
  border: 1.5px solid var(--tan);
  padding: 12px 16px;
  font-family: var(--ff-sans);
  font-size: 14px;
  color: var(--brown);
  background: var(--light);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--brown); }
.form-input::placeholder { color: var(--placeholder); }
textarea.form-input { min-height: 100px; resize: vertical; }
.form-radio-group {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--tan);
  cursor: pointer;
  transition: all 0.2s;
}
.form-radio:hover { border-color: var(--brown); }
.form-radio input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--brown);
  flex-shrink: 0;
  transition: all 0.2s;
}
.form-radio input[type="radio"]:checked {
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 0 0 3px var(--light);
}
.form-radio span { font-size: 14px; color: var(--brown); }
.form-radio span small { color: var(--muted); font-size: 11px; }

/* Frame selection */
.frame-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.frame-option {
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.frame-option__preview {
  aspect-ratio: 1;
  background: #EDE6D8;
  border: 1.5px solid var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}
.frame-option:hover .frame-option__preview,
.frame-option.active .frame-option__preview { border-color: var(--brown); }
.frame-option.active .frame-option__preview { border-width: 2.5px; background: rgba(201,58,42,0.06); }
.frame-option span {
  font-size: 12px;
  color: var(--brown);
  font-weight: 500;
}
.frame-option__preview img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  opacity: 0.4;
}

/* Number input */
.number-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--tan);
  background: var(--light);
  max-width: 200px;
}
.number-input input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  background: transparent;
  outline: none;
  width: 60px;
}
.number-input__controls {
  display: flex;
  flex-direction: column;
  margin-right: 8px;
}
.number-input__controls button {
  font-size: 10px;
  color: var(--tan);
  padding: 2px 6px;
  line-height: 1;
}
.number-input__controls button:hover { color: var(--brown); }

/* File upload */
.file-upload {
  border: 1.5px dashed var(--tan);
  padding: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--placeholder);
  background: var(--light);
  cursor: pointer;
  transition: border-color 0.2s;
  display: block;
  position: relative;
}
.file-upload:hover { border-color: var(--brown); }
.file-upload input { display: none; }

.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.file-preview__item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--tan);
}
.file-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-preview__remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}

.form-submit { margin-top: 8px; text-align: center; }

/* ========== ABOUT PAGE ========== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.about-hero__image {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.about-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.about-hero__content {
  background: var(--dark);
  padding: 64px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-hero__content h1 {
  font-family: var(--ff-serif);
  font-size: 64px;
  font-weight: 900;
  color: var(--light);
  letter-spacing: -2px;
}
.about-hero__content .line {
  width: 48px;
  height: 2px;
  background: var(--red);
  margin: 24px 0;
}
.about-hero__content p {
  font-size: 16px;
  color: rgba(253,251,247,0.7);
  line-height: 1.8;
  max-width: 420px;
}
.about-hero__content p + p { margin-top: 16px; }

/* Feedback */
.feedback-section {
  background: var(--cream);
  padding-top: 56px;
  padding-bottom: 56px;
}
.feedback-section .section-heading { margin-bottom: 8px; }
.feedback-section .section-heading h2 { font-size: 36px; }
.feedback-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feedback-card {
  background: var(--light);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feedback-card__image {
  aspect-ratio: 4/3;
  background: #EDE6D8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feedback-card__image span {
  font-size: 10px;
  color: #a0907a;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.feedback-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}
.feedback-card p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
}

/* Contact */
.contact-section {
  background: var(--cream);
  padding-top: 0;
  padding-bottom: 56px;
}
.contact-section .section-heading { margin-bottom: 24px; }
.contact-section .section-heading h2 { font-size: 32px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--light);
  transition: transform 0.2s;
}
.contact-item:hover { transform: translateX(4px); }
.contact-item__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 80px;
  flex-shrink: 0;
}
.contact-item__value {
  font-size: 14px;
  color: var(--brown);
  font-weight: 500;
}

/* About CTA */
.about-cta {
  background: var(--dark);
  padding-top: 48px;
  padding-bottom: 48px;
  text-align: center;
}
.about-cta h3 {
  font-family: var(--ff-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 16px;
}

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ========== MOBILE MENU OVERLAY ========== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(253,251,247,0.7);
  transition: color 0.2s;
}
.mobile-menu a.active { color: var(--light); }
.mobile-menu a.active { color: var(--red); font-weight: 700; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero__title { font-size: 80px; }
  .page-header__title { font-size: 52px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__image { height: 360px; }
  .about-hero__content { padding: 48px; }
  .about-hero__content h1 { font-size: 48px; }
  .feedback-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { columns: 2; }
}

@media (max-width: 768px) {
  .portfolio-preview, .cta-banner, .page-header, .filter-tabs, .gallery,
  .pricing, .timeline-section, .rules-section, .form-section,
  .about-hero, .feedback-section, .contact-section, .about-cta,
  .footer, .nav {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav { padding-top: 16px; padding-bottom: 16px; }
  .nav__links { display: none; }
  .nav__lang { display: none; }
  .nav__burger { display: flex; }
  .mobile-menu { display: flex; }

  .hero { height: 480px; }
  .hero__title { font-size: 56px; letter-spacing: -1px; }
  .hero__content { bottom: 32px; left: 24px; right: 24px; }
  .hero__desc { font-size: 14px; }

  .page-header__title { font-size: 40px; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-actions { flex-direction: column; align-items: center; }

  .cta-banner { flex-direction: column; text-align: center; gap: 24px; }
  .cta-banner h3 { font-size: 28px; }

  .section-heading h2 { font-size: 32px !important; }
  .section-heading { gap: 12px; margin-bottom: 24px; }

  .gallery-masonry { columns: 2; }

  .form-row { grid-template-columns: 1fr; }
  .frame-grid { grid-template-columns: repeat(3, 1fr); }
  .form-radio-group { flex-direction: column; }

  .about-hero__content { padding: 32px 24px; }
  .feedback-grid { grid-template-columns: 1fr; }

  .about-cta h3 { font-size: 28px; }

  .footer { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 42px; }
  .page-header__title { font-size: 32px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .frame-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== ARTWORK POPUP (Instagram style) ========== */
.artwork-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  -webkit-user-select: none;
  user-select: none;
}
.artwork-popup.open {
  opacity: 1;
  visibility: visible;
}

.popup__close {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 1010;
  width: 40px;
  height: 40px;
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.popup__close:hover { opacity: 1; }

.popup__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1010;
  width: 44px;
  height: 44px;
  font-size: 32px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
}
.popup__nav:hover { opacity: 1; background: rgba(255,255,255,0.25); }
.popup__nav--prev { left: 16px; }
.popup__nav--next { right: 16px; }

.popup__inner--ig {
  display: flex;
  background: var(--light);
  max-width: 1400px;
  width: 80%;
  height: 80vh;
  border-radius: 4px;
  overflow: hidden;
}

.popup__left {
  flex: 1.3;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  position: relative;
}
.popup__image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  flex: 1;
  cursor: grab;
}
.popup__image.dragging { cursor: grabbing; }
.popup__image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: none;
  pointer-events: none;
}
.popup__protect {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.popup__zoom {
  display: flex;
  gap: 6px;
  padding: 10px;
  align-items: center;
}
.popup__zoom button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 18px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.popup__zoom button:hover { background: rgba(255,255,255,0.25); }
.popup__zoom-level {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  min-width: 36px;
  text-align: center;
}

.popup__right {
  flex: 0.7;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(0,0,0,0.1);
  max-height: 88vh;
  overflow-y: auto;
}
.popup__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.popup__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.popup__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
}
.popup__details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popup__title {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--brown);
}
.popup__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.popup__meta span {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--cream);
  color: var(--muted);
  font-weight: 500;
}
.popup__size {
  font-size: 12px;
  color: var(--placeholder);
  letter-spacing: 0.5px;
}
.popup__desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .popup__inner--ig {
    flex-direction: column;
    max-height: 94vh;
    width: 96%;
  }
  .popup__left { min-height: 280px; }
  .popup__right { padding: 0; }
  .popup__details { padding: 12px 16px; }
  .popup__title { font-size: 18px; }
  .popup__nav--prev { left: 8px; }
  .popup__nav--next { right: 8px; }
  .popup__nav { width: 36px; height: 36px; font-size: 24px; }
}
