/* ── Variables ──────────────────────────────────────────────────────────────── */
/* Gold sampled directly from logotype CMYK (7.4, 21.9, 60.5, 0.4) → #EBC664  */
:root {
  --bg:           #f2eee6;
  --bg-soft:      #e7e0d3;
  --bg-elevated:  #fbf7f0;
  --dark:         #2f261d;
  --dark-soft:    #5e5145;
  --accent:       #EBC664;
  --accent-hover: #D4A83E;
  --accent-dark:  #9A7520;
  --accent-light: #f4ead0;
  --text:         #2c241c;
  --text-muted:   #706255;
  --border:       #d9cfbe;
  --white:        #FFFFFF;
  --radius:       14px;
  --shadow:       0 10px 30px rgba(60,40,20,.08);
  --shadow-lg:    0 24px 60px rgba(60,40,20,.14);
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --max-w:        1200px;
  --pad-section:  96px;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--sans);
  background:
    radial-gradient(circle at top, rgba(255,255,255,.55), transparent 38%),
    linear-gradient(180deg, #f6f1e8 0%, var(--bg) 30%, #eee7db 100%);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img   { max-width: 100%; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: var(--pad-section) 0; }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; letter-spacing: .01em;
  transition: all .2s ease;
}
.btn--primary { background: var(--accent); color: var(--dark); font-weight: 600; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(235,198,100,.4); }
.btn--ghost   { background: rgba(255,250,241,.65); color: var(--dark); border: 1px solid rgba(94,81,69,.18); }
.btn--ghost:hover { background: rgba(255,250,241,.92); border-color: rgba(94,81,69,.35); }

/* ── Section headings ───────────────────────────────────────────────────────── */
.section__header  { text-align: center; margin-bottom: 60px; }
.section__tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 12px;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700; line-height: 1.2; color: var(--dark); margin-bottom: 16px;
}
.section__subtitle { font-size: 1.0625rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ── Navigation ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(244,238,228,.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(47,38,29,.08);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.nav__logo-mark {
  width: 36px; height: 36px; object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.5);
  box-shadow: 0 0 0 1px rgba(47,38,29,.08);
}
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  color: rgba(47,38,29,.78); font-size: .9375rem; padding: 8px 14px;
  border-radius: 6px; transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--dark); background: rgba(255,255,255,.45); }
.nav__link--cta { background: var(--accent); color: var(--dark) !important; font-weight: 600; margin-left: 4px; }
.nav__link--cta:hover { background: var(--accent-hover) !important; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: .3s; }

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0; background: rgba(244,238,228,.98);
    flex-direction: column; justify-content: center; gap: 8px;
    opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 99;
  }
  .nav__links.open { opacity: 1; pointer-events: auto; }
  .nav__link { font-size: 1.25rem; padding: 14px 28px; }
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.84), transparent 38%),
    linear-gradient(180deg, #f5ede1 0%, #eee5d8 55%, #e3d8c7 100%);
  border-bottom: 1px solid rgba(47,38,29,.08);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 72% 50%, rgba(235,198,100,.1) 0%, transparent 54%),
    radial-gradient(ellipse at 18% 78%, rgba(255,255,255,.48) 0%, transparent 48%);
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47,38,29,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,38,29,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
}
.hero__content {
  position: relative; z-index: 1; text-align: center;
  max-width: 780px; padding: 120px 24px 80px;
}
.hero__logo-wrap {
  margin: 0 auto 34px; line-height: 0;
  display: flex; justify-content: center;
}
.hero__logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero__logo-img {
  width: min(320px, 52vw);
  height: auto;
  object-fit: contain;
  filter: none;
}
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(47,38,29,.4); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(47,38,29,.35), transparent);
  animation: scrollLine 1.6s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(1);   transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0);   transform-origin: top; opacity: 0; }
}

/* ── Trust Bar ──────────────────────────────────────────────────────────────── */
.trustbar { background: var(--dark); border-top: 1px solid rgba(255,255,255,.06); }
.trustbar__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trustbar__item {
  padding: 28px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; gap: 4px;
}
.trustbar__item:last-child { border-right: none; }
.trustbar__item strong { font-family: var(--serif); font-size: 1.875rem; color: var(--accent); font-weight: 700; }
.trustbar__item span   { font-size: .8125rem; color: rgba(255,255,255,.45); letter-spacing: .02em; }
@media (max-width: 640px) {
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item:nth-child(2) { border-right: none; }
}

/* ── Services ───────────────────────────────────────────────────────────────── */
.services { background: rgba(251,247,240,.72); }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card {
  padding: 36px 28px; border-radius: var(--radius);
  border: 1px solid rgba(94,81,69,.1);
  background: rgba(255,251,245,.66);
  backdrop-filter: blur(8px);
  transition: all .25s ease;
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card__icon {
  width: 48px; height: 48px; background: var(--accent-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-family: var(--serif); font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.service-card p  { font-size: .9375rem; color: var(--text-muted); letter-spacing: .01em; }

/* ── Portfolio ──────────────────────────────────────────────────────────────── */
.portfolio { background: linear-gradient(180deg, rgba(250,246,239,.35), rgba(231,224,211,.65)); }
.portfolio__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.project-card {
  background: rgba(255,250,243,.84); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(94,81,69,.08);
  transition: transform .25s ease, box-shadow .25s ease; cursor: pointer;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.project-card__img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--accent-light); }
.project-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-card__img { transform: scale(1.04); }
.project-card__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--accent); opacity: .35;
}
.project-card__placeholder svg { width: 48px; height: 48px; }
.project-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(22,22,22,.78); color: #fff;
  font-size: .6875rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; backdrop-filter: blur(4px);
}
.project-card__body { padding: 22px 24px 26px; }
.project-card__title { font-family: var(--serif); font-size: 1.1875rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.project-card__desc {
  font-size: .9rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.project-card__footer { display: flex; align-items: center; justify-content: space-between; }
.project-card__date { font-size: .8125rem; color: var(--text-muted); }
.project-card__view { font-size: .8125rem; font-weight: 600; color: var(--accent); }
.project-card__view::after { content: ' →'; }
.portfolio__empty { text-align: center; padding: 80px 24px; color: var(--text-muted); font-size: 1.0625rem; }

/* ── About ──────────────────────────────────────────────────────────────────── */
.about { background: rgba(251,247,240,.88); }
.about__inner { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: center; }
.about__content .section__tag   { display: inline-block; }
.about__content .section__title { text-align: left; margin-bottom: 20px; }
.about__content > p { color: var(--text-muted); margin-bottom: 28px; font-size: 1.0625rem; }
.about__list { margin-bottom: 36px; }
.about__list li {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0; color: var(--text); font-size: .9375rem;
  border-bottom: 1px solid var(--border);
}
.about__list li:first-child { border-top: 1px solid var(--border); }
.about__icon {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--accent-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.about__icon svg { width: 16px; height: 16px; }
.about__visual { display: flex; align-items: center; justify-content: center; }
.about__badge {
  width: 260px; height: 260px; border-radius: 50%; background: linear-gradient(180deg, #3b2f24, #2d241c);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px;
  box-shadow: 0 26px 60px rgba(47,38,29,.22);
}
.about__badge strong { font-family: var(--serif); font-size: 4rem; color: var(--accent); line-height: 1; font-weight: 700; }
.about__badge span   { font-size: .8125rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .about__badge { width: 180px; height: 180px; }
  .about__badge strong { font-size: 2.75rem; }
}

/* ── Contact ────────────────────────────────────────────────────────────────── */
.contact {
  background:
    radial-gradient(circle at top, rgba(235,198,100,.08), transparent 34%),
    linear-gradient(180deg, #34291f 0%, #231b15 100%);
}
.contact .section__tag { color: var(--accent); } /* bright gold ok on dark bg */
.about__content .section__tag { color: var(--accent-dark); }
.contact__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact__title {
  font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: #fff; margin-bottom: 16px; line-height: 1.2;
}
.contact__subtitle { color: rgba(255,255,255,.5); font-size: 1.0625rem; margin-bottom: 48px; }
.contact__details { display: flex; flex-direction: column; gap: 14px; }
.contact__item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 28px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  color: #fff; font-size: 1.0625rem; transition: all .2s;
  text-align: left;
}
.contact__item:hover { background: rgba(255,255,255,.07); border-color: rgba(235,198,100,.5); }
.contact__item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
.contact__item div { display: flex; flex-direction: column; gap: 2px; }
.contact__item small { font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); }
.contact__item strong { font-size: 1.0625rem; font-weight: 500; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer { background: #1c1510; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.04); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__brand { font-weight: 600; color: rgba(255,255,255,.55); font-size: .875rem; }
.footer__copy  { font-size: .8125rem; color: rgba(255,255,255,.28); }

/* ── Lightbox ───────────────────────────────────────────────────────────────── */
.lb-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.9);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity .3s; backdrop-filter: blur(6px);
}
.lb-overlay.open { opacity: 1; pointer-events: auto; }
.lb {
  position: fixed; inset: 0; z-index: 201;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lb.open { opacity: 1; pointer-events: auto; }
.lb__close {
  position: fixed; top: 20px; right: 24px;
  width: 40px; height: 40px; background: rgba(255,255,255,.12);
  border-radius: 50%; color: #fff; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 202; transition: background .2s;
}
.lb__close:hover { background: rgba(255,255,255,.22); }
.lb__inner {
  background: var(--white); border-radius: 14px; max-width: 980px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 300px;
}
.lb__gallery { background: #111; border-radius: 14px 0 0 14px; overflow: hidden; }
.lb__main-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.lb__main-img   { width: 100%; height: 100%; object-fit: cover; }
.lb__counter {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.6); color: rgba(255,255,255,.8);
  font-size: .75rem; padding: 4px 10px; border-radius: 12px;
  backdrop-filter: blur(4px);
}
.lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; background: rgba(0,0,0,.55); color: #fff;
  border-radius: 50%; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb__nav:hover { background: rgba(0,0,0,.82); }
.lb__nav--prev { left: 12px; }
.lb__nav--next { right: 12px; }
.lb__tabs { display: flex; gap: 4px; padding: 10px 12px; background: rgba(0,0,0,.35); }
.lb__tab {
  flex: 1; padding: 7px; border-radius: 5px;
  color: rgba(255,255,255,.55); font-size: .8125rem; font-weight: 500;
  letter-spacing: .04em; text-align: center; transition: all .2s; cursor: pointer;
}
.lb__tab:hover   { background: rgba(255,255,255,.1); color: #fff; }
.lb__tab.active  { background: var(--accent); color: var(--dark); }
.lb__thumbs { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; background: rgba(0,0,0,.22); }
.lb__thumb {
  width: 60px; height: 44px; object-fit: cover; border-radius: 4px;
  opacity: .55; cursor: pointer; flex-shrink: 0;
  transition: opacity .2s; border: 2px solid transparent;
}
.lb__thumb.active, .lb__thumb:hover { opacity: 1; border-color: var(--accent); }
.lb__info { padding: 36px 28px; }
.lb__category { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.lb__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; color: var(--dark); line-height: 1.25; }
.lb__desc  { color: var(--text-muted); font-size: .9375rem; line-height: 1.65; margin-bottom: 20px; }
.lb__date  { font-size: .8125rem; color: var(--text-muted); padding-top: 16px; border-top: 1px solid var(--border); }
@media (max-width: 768px) {
  .hero__content { padding-top: 110px; }
  .lb__inner { grid-template-columns: 1fr; }
  .lb__gallery { border-radius: 14px 14px 0 0; }
  .lb__info { padding: 24px; }
  .portfolio__grid { grid-template-columns: 1fr; }
}
