/* ============================================================
     TOKENS
     ============================================================ */
:root {
  --ivory: #f6ede6;
  --ivory-deep: #eedfd3;
  --burgundy: #5c0e22;
  --burgundy-deep: #33081a;
  --burgundy-ink: #240610;
  --cherry: #93122f;
  --gold: #b98a52;
  --gold-light: #e3c393;
  --ink: #241016;
  --ink-soft: rgba(36, 16, 22, 0.68);
  --ivory-soft: rgba(246, 237, 230, 0.72);

  --f-display: "Fraunces", serif;
  --f-body: "Cormorant Garamond", serif;
  --f-label: "Jost", sans-serif;

  --container: 1180px;
  --edge: clamp(24px, 5vw, 72px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
  cursor: pointer;
}
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--edge);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
     TYPE HELPERS
     ============================================================ */
.eyebrow {
  font-family: var(--f-label);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}
.display {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.display.italic {
  font-style: italic;
  font-weight: 400;
}

h1,
h2,
h3 {
  margin: 0;
}
h2.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.lede {
  font-family: var(--f-body);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

/* gold gem divider — echoes the brand's jewelled motif */
.gem-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
}
.gem-divider .line {
  height: 1px;
  width: 52px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gem-divider .gem {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.gem-divider.on-dark .line {
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-light),
    transparent
  );
}
.gem-divider.on-dark .gem {
  background: var(--gold-light);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-label);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 17px 34px;
  border: 1px solid transparent;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--burgundy-ink);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn-outline.dark:hover {
  background: rgba(36, 16, 22, 0.06);
}

/* ============================================================
     LOGO MARK — sprite reused across header / hero / footer
     A single "A" built from two strokes, an almond crossbar
     eye and three lash flicks, per the brand's identity brief.
     ============================================================ */
.mark {
  display: block;
}
.mark path,
.mark ellipse,
.mark circle {
  vector-effect: non-scaling-stroke;
}

/* ============================================================
     HEADER
     ============================================================ */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
  color: var(--ivory);
}
header.scrolled {
  padding: 14px var(--edge);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(36, 16, 22, 0.08);
}
/* Frosted bar lives on a pseudo so backdrop-filter does not
   become a containing block for the fixed mobile drawer. */
header.scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(246, 237, 230, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.03em;
}
.brand .mark {
  width: 30px;
  height: 30px;
  color: var(--gold-light);
  transition: color 0.4s ease;
}
header.scrolled .brand .mark {
  color: var(--burgundy);
}
.brand small {
  display: block;
  font-family: var(--f-label);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 2px;
}
header.scrolled .brand small {
  color: var(--gold);
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
nav.primary-nav a {
  font-family: var(--f-label);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
nav.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.35s ease;
}
nav.primary-nav a:hover::after {
  right: 0;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 26px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  position: relative;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  width: 100%;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] {
  color: var(--ivory);
}

html:has(body.menu-open),
body.menu-open {
  overflow: hidden;
}

.menu-backdrop {
  display: none;
}

@media (max-width: 880px) {
  nav.primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    height: 100svh;
    background: var(--burgundy-ink);
    color: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 60px var(--edge);
    transform: translateX(100%);
    transition: transform 0.45s ease;
    z-index: 100;
  }
  header.scrolled nav.primary-nav,
  header.scrolled nav.primary-nav a {
    color: var(--ivory);
  }
  nav.primary-nav.open {
    transform: translateX(0);
  }
  nav.primary-nav a {
    font-size: 14px;
  }
  .nav-cta .btn-outline {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(36, 6, 16, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  body.menu-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ============================================================
     HERO
     ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(
      120% 90% at 78% 8%,
      rgba(227, 195, 147, 0.18),
      transparent 55%
    ),
    linear-gradient(
      165deg,
      var(--burgundy) 0%,
      var(--burgundy-deep) 58%,
      var(--burgundy-ink) 100%
    );
  color: var(--ivory);
  overflow: hidden;
  padding-top: 120px;
}
.hero .mark.watermark {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(62vw, 780px);
  height: auto;
  color: var(--ivory);
  opacity: 0.07;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--edge) 84px;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 60px;
  align-items: end;
}
.hero-eyebrow {
  color: var(--gold-light);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(46px, 6.6vw, 96px);
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-side {
  padding-bottom: 8px;
}
.hero-side p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ivory-soft);
  max-width: 34ch;
  margin: 0 0 22px;
}
.hero-stats {
  display: flex;
  gap: 30px;
}
.hero-stats div {
  font-family: var(--f-display);
}
.hero-stats strong {
  display: block;
  font-size: 26px;
  color: var(--gold-light);
  font-weight: 500;
}
.hero-stats span {
  font-family: var(--f-label);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}

.scroll-hint {
  position: absolute;
  left: var(--edge);
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-label);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}
.scroll-hint .stem {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--gold-light), transparent);
  animation: stemFall 2.4s ease-in-out infinite;
}
@keyframes stemFall {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 100px;
  }
  .scroll-hint {
    display: none;
  }
}

/* ============================================================
     SECTION SCAFFOLD
     ============================================================ */
section {
  position: relative;
}
.section-pad {
  padding: 118px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head .eyebrow {
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ============================================================
     GALLERY
     ============================================================ */
.gallery-section {
  background: var(--ivory);
}
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.filter-btn {
  background: none;
  border: 1px solid rgba(36, 16, 22, 0.22);
  padding: 10px 22px;
  font-family: var(--f-label);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
.filter-btn:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}
.filter-btn.active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--ivory);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 14px;
}
.work-card {
  position: relative;
  overflow: hidden;
  grid-column: span 3;
  grid-row: span 2;
  color: var(--ivory);
  isolation: isolate;
  transition: transform 0.5s ease;
}
.work-card:nth-child(6n + 1) {
  grid-column: span 4;
  grid-row: span 3;
}
.work-card:nth-child(6n + 2) {
  grid-column: span 2;
  grid-row: span 2;
}
.work-card:nth-child(6n + 3) {
  grid-column: span 2;
  grid-row: span 3;
}
.work-card:nth-child(6n + 4) {
  grid-column: span 4;
  grid-row: span 2;
}
.work-card:nth-child(6n + 5) {
  grid-column: span 3;
  grid-row: span 2;
}
.work-card:nth-child(6n + 6) {
  grid-column: span 3;
  grid-row: span 2;
}

.work-card .surface {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
}
.work-card[data-cat="makiazas"] .surface {
  background: linear-gradient(150deg, #9c3352 0%, #5c0e22 70%, #33081a 100%);
}
.work-card[data-cat="blakstienos"] .surface {
  background: linear-gradient(150deg, #3a0e1e 0%, #1b0810 75%, #0f0509 100%);
}
.work-card[data-cat="antakiai"] .surface {
  background: linear-gradient(150deg, #9e7a46 0%, #6e4f2a 65%, #33230f 100%);
}

.work-card .icon-mark {
  position: absolute;
  right: -10px;
  bottom: -14px;
  width: 52%;
  height: auto;
  color: rgba(255, 255, 255, 0.1);
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}
.work-card:hover .icon-mark {
  transform: scale(1.08) translate(-4px, -4px);
  opacity: 0.16;
}
.work-card:hover {
  transform: translateY(-4px);
}
.work-card .tag {
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
  display: block;
}
.work-card .title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.9vw, 24px);
}
.work-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0);
  transition:
    inset 0.4s ease,
    border-color 0.4s ease;
  pointer-events: none;
  z-index: 2;
}
.work-card:hover::before {
  inset: 14px;
  border-color: rgba(227, 195, 147, 0.55);
}

.gallery-note {
  margin-top: 30px;
  font-family: var(--f-label);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

@media (max-width: 780px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }
  .work-card,
  .work-card:nth-child(6n + 1),
  .work-card:nth-child(6n + 2),
  .work-card:nth-child(6n + 3),
  .work-card:nth-child(6n + 4),
  .work-card:nth-child(6n + 5),
  .work-card:nth-child(6n + 6) {
    grid-column: span 1;
    grid-row: span 2;
  }
}

/* ============================================================
     MID CTA BAND
     ============================================================ */
.cta-band {
  background: linear-gradient(
    120deg,
    var(--burgundy-ink),
    var(--burgundy) 60%,
    var(--cherry)
  );
  color: var(--ivory);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .mark.watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(50vw, 520px);
  color: var(--ivory);
  opacity: 0.06;
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-inline: auto;
}
.cta-band h2 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 22px 0 34px;
  line-height: 1.2;
}
.cta-band .btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
     ABOUT
     ============================================================ */
.about-section {
  background: var(--ivory-deep);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 76px;
  align-items: center;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(
    160deg,
    var(--burgundy) 0%,
    var(--burgundy-deep) 55%,
    var(--burgundy-ink) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(227, 195, 147, 0.4);
  pointer-events: none;
}
.portrait-frame .mark {
  width: 44%;
  color: var(--gold-light);
  opacity: 0.85;
}
.portrait-frame .initials {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}
/* Replace the .portrait-frame markup below with a real <img> once a portrait photo is available */

.about-copy .eyebrow {
  color: var(--cherry);
}
.about-copy h2 {
  margin: 16px 0 26px;
}
.about-copy p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.pull-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--burgundy);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 34px 0;
}
.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 38px;
}
.credentials li {
  font-family: var(--f-label);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.credentials li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: translateY(-2px);
  flex: none;
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .credentials {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
     CONTACTS
     ============================================================ */
.contacts-section {
  background: var(--burgundy-ink);
  color: var(--ivory);
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.contact-list {
  margin-top: 36px;
}
.contact-list li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(227, 195, 147, 0.18);
}
.contact-list li:last-child {
  border-bottom: 1px solid rgba(227, 195, 147, 0.18);
}
.contact-list .ico {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex: none;
  margin-top: 3px;
}
.contact-list .label {
  font-family: var(--f-label);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  display: block;
  margin-bottom: 4px;
}
.contact-list .value {
  font-family: var(--f-body);
  font-size: 19px;
}
.contact-list a.value:hover {
  color: var(--gold-light);
}

.socials-row {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}
.social-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(227, 195, 147, 0.4);
  padding: 12px 20px;
  font-family: var(--f-label);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
.social-pill:hover {
  background: rgba(227, 195, 147, 0.1);
  border-color: var(--gold-light);
}
.social-pill svg {
  width: 15px;
  height: 15px;
}

.hours-card {
  background: rgba(246, 237, 230, 0.04);
  border: 1px solid rgba(227, 195, 147, 0.18);
  padding: 38px;
}
.hours-card h3 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 22px;
  color: var(--gold-light);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(227, 195, 147, 0.12);
  font-family: var(--f-label);
  font-size: 13px;
  letter-spacing: 0.03em;
}
.hours-row:last-child {
  border-bottom: 1px solid rgba(227, 195, 147, 0.12);
}
.hours-row span:last-child {
  color: var(--ivory-soft);
}

.map-wrap {
  margin-top: 80px;
  position: relative;
  border: 1px solid rgba(227, 195, 147, 0.3);
  padding: 10px;
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: saturate(0.55) contrast(1.05);
  display: block;
}
.map-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 6px 4px;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}

@media (max-width: 880px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
     FOOTER
     ============================================================ */
footer {
  background: var(--burgundy-ink);
  color: var(--ivory-soft);
  border-top: 1px solid rgba(227, 195, 147, 0.14);
  padding: 34px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 15px;
  color: var(--ivory);
}
.footer-brand .mark {
  width: 18px;
  height: 18px;
  color: var(--gold);
}
.footer-links {
  display: flex;
  gap: 24px;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-links a:hover {
  color: var(--gold-light);
}
.footer-fine {
  font-family: var(--f-label);
  font-size: 10.5px;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
  }
}
