/* ====== Reset / base ====== */
:root{
  --bg: #0d131b;
  --panel: #0f1620;
  --text: #e9eef5;
  --muted: rgba(233,238,245,.72);
  --line: rgba(233,238,245,.14);
  --accent: #7ee6d2;
  --shadow: 0 10px 35px rgba(0,0,0,.35);

  --radius: 18px;
  --radius-sm: 14px;

  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0d131b;
  color: var(--text);
  line-height: 1.6;
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
p{ margin: .7rem 0; }
h1,h2,h3{ line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6rem; }
h1{ font-size: clamp(2rem, 3vw, 3rem); }
h2{ font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
h3{ font-size: 1.1rem; }

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

.muted{ color: var(--muted); }
.kicker{
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .6rem;
}
.lead{ font-size: 1.05rem; color: var(--muted); max-width: 65ch; }
.spacer{ height: 10px; }

.skip-link{
  position: absolute; left: -999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus{
  left: 16px; top: 16px;
  width: auto; height: auto;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 9999;
}

/* ====== Nav ====== */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,15,20,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav{
  width: min(var(--container), 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.nav__brand{ display: flex; flex-direction: column; gap: 2px; }
.brand{ display: inline-flex; align-items: center; gap: 10px; }
.brand__dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), rgba(126,230,210,.35));
  box-shadow: 0 0 0 4px rgba(126,230,210,.10);
}
.brand__text{ font-weight: 700; letter-spacing: -.01em; }
.brand__sub{ font-size: .85rem; color: var(--muted); }

.nav__menu{ display: flex; align-items: center; gap: 10px; }
.nav__link{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
}
.nav__link:hover{
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,.03);
}
.nav__link--cta{
  color: #06221d;
  background: var(--accent);
  border-color: rgba(126,230,210,.4);
}
.nav__link--cta:hover{ filter: brightness(1.03); }

.nav__toggle{
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}
.nav__toggleLine{
  display:block;
  width: 20px; height: 2px;
  margin: 4px 0;
  background: var(--text);
  opacity: .85;
}

/* ====== Hero ====== */
.hero{
  position: relative;
  padding: 76px 0 46px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(13,19,27,.55), rgba(13,19,27,.55)),
    var(--hero-image) center/cover no-repeat;
}
.hero__inner{ max-width: 1000px; }
.hero__badge{
  display:inline-block;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15,22,32,.55);
  color: var(--muted);
  font-size: .9rem;
}
.hero__title{ margin-top: 14px; }
.hero__lead{ max-width: 70ch; color: rgba(233,238,245,.82); }

.hero__cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 22px 0;
}
.card{
  border: 1px solid var(--line);
  background: rgba(15,22,32,.62);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
}
.card__kicker{ color: var(--muted); font-size: .9rem; }
.card__value{ font-weight: 700; margin-top: 6px; }

.hero__actions{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor: pointer;
  transition: transform .08s ease, filter .15s ease, background .15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: var(--accent);
  color: #06221d;
  border-color: rgba(126,230,210,.45);
}
.btn--ghost:hover{ background: rgba(255,255,255,.05); }
.btn--primary:hover{ filter: brightness(1.03); }

.hero__note{ margin-top: 12px; font-size: .95rem; }

/* ====== Sections ====== */
.section{ padding: 52px 0; }
.section--alt{
  background: linear-gradient(to bottom, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--tight{ padding: 30px 0 0; }
.section__head{
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.grid-2{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}
.panel{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15,22,32,.55);
  padding: 18px;
  box-shadow: var(--shadow);
}
.text-link{
  color: var(--accent);
  text-decoration: none;
}
.text-link:hover{ text-decoration: underline; }

.thumbs{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.thumb{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(15,22,32,.55);
  box-shadow: var(--shadow);
}
.thumb img{ aspect-ratio: 4/3; object-fit: cover; }
.thumb__meta{ padding: 12px; }
.thumb__title{ font-weight: 700; }
.thumb__sub{ font-size: .95rem; }

/* ====== Pages ====== */
.page{ min-height: calc(100vh - 120px); }
.page-hero{
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(to bottom, rgba(11,15,20,.40), rgba(11,15,20,.92)),
    var(--hero-image) center/cover no-repeat;
}
.page-hero--small{ padding: 44px 0; }
.page-hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
}
.page-hero__media{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(15,22,32,.55);
  box-shadow: var(--shadow);
}
.caption{ margin-top: 10px; font-size: .92rem; }

.facts{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.fact{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(15,22,32,.55);
}
.fact__label{ font-size: .9rem; color: var(--muted); }
.fact__value{ font-weight: 700; margin-top: 6px; }

.prose{ max-width: 78ch; }
.callout{
  margin: 18px 0;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(126,230,210,.35);
  background: rgba(126,230,210,.08);
}

/* ====== Location ====== */
.dl{
  margin: 0;
  display: grid;
  gap: 12px;
}
.dl > div{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.dl dt{ color: var(--muted); }
.dl dd{ margin: 0; font-weight: 700; }

.list{ margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

.map{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(15,22,32,.55);
  box-shadow: var(--shadow);
}
.map iframe{
  width: 100%;
  height: 420px;
  border: 0;
}

/* ====== Gallery ====== */
.section__tools{ display:flex; gap: 10px; align-items: center; }
.search{
  display:flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(15,22,32,.55);
}
.search__label{ font-size: .85rem; color: var(--muted); }
.search input{
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  width: min(360px, 70vw);
}

.artworks{
  display: grid;
  gap: 18px;
}
.artwork{
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15,22,32,.50);
  box-shadow: var(--shadow);
}
.artwork__img img{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(233,238,245,.12);
  background: rgba(0,0,0,.2);
}
.artwork__info{
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 6px 2px 2px;
}
.artwork__title{ margin-bottom: 8px; }
.artwork__meta{ display:grid; gap: 8px; margin-bottom: 10px; }
.tags{ display:flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.tag{
  font-size: .85rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
.artwork__actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* ====== Footer ====== */
.footer{
  border-top: 1px solid var(--line);
  padding: 36px 0 18px;
  background: rgba(0,0,0,.10);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 18px;
  align-items: start;
}
.footer__title{ font-weight: 800; margin-bottom: 6px; }
.footer__label{ color: var(--muted); margin-bottom: 8px; }
.footer__link{ display:block; padding: 6px 0; color: var(--text); }
.footer__link:hover{ color: var(--accent); }
.footer__bottom{
  width: min(var(--container), 92vw);
  margin: 18px auto 0;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ====== Responsive ====== */
@media (max-width: 980px){
  .hero__cards{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .thumbs{ grid-template-columns: 1fr; }
  .page-hero__grid{ grid-template-columns: 1fr; }
  .facts{ grid-template-columns: 1fr; }
  .artwork{ grid-template-columns: 1fr; }
  .artwork__info{ position: static; }
  .footer__grid{ grid-template-columns: 1fr; }
  .nav__toggle{ display: inline-flex; }
  .nav__menu{
    display:none;
    position:absolute;
    top: 60px;
    right: 4vw;
    left: 4vw;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(11,15,20,.95);
    backdrop-filter: blur(10px);
  }
  .nav__menu.is-open{ display:flex; flex-direction: column; align-items: stretch; }
  .nav__link{ width: 100%; }
  .search input{ width: 100%; }
}

/* ==========================================================================\n   Portfolio redesign — home page\n   Keeps the shared page/gallery/location styles above intact.\n   ========================================================================== */
:root{
  --home-bg: #f4f1eb;
  --home-surface: #fbfaf7;
  --home-text: #171717;
  --home-muted: #6f6b64;
  --home-line: rgba(23,23,23,.16);
  --home-container: 1320px;
}

html{ scroll-behavior: smooth; }
body{ overflow-x: hidden; }

.home-page{
  background: var(--home-bg);
  color: var(--home-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.home-page .container{
  width: min(var(--home-container), 92vw);
}

.home-page h1,
.home-page h2{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
}

.home-page h2{
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.04;
}

.home-page .muted{ color: var(--home-muted); }

/* Header */
.home-page .site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,241,235,.94);
  border-bottom: 1px solid var(--home-line);
  backdrop-filter: blur(14px);
}

.home-page .nav{
  width: min(var(--home-container), 92vw);
  min-height: 78px;
  padding: 10px 0;
}

.home-page .brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-page .brand__logo{
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.home-page .brand__text{
  color: var(--home-text);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .16em;
  white-space: nowrap;
}

.home-page .nav__menu{
  gap: clamp(4px, 1vw, 14px);
}

.home-page .nav__link{
  position: relative;
  padding: 11px 8px;
  border: 0;
  border-radius: 0;
  color: #49453f;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.home-page .nav__link::after{
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .22s ease;
}

.home-page .nav__link:hover,
.home-page .nav__link.is-active{
  color: #111;
  background: transparent;
}

.home-page .nav__link:hover::after,
.home-page .nav__link.is-active::after{
  transform: scaleX(1);
  transform-origin: left center;
}

.home-page .nav__toggle{
  border-color: var(--home-line);
  border-radius: 0;
}
.home-page .nav__toggleLine{ background: var(--home-text); }

/* Hero */
.portfolio-hero{
  position: relative;
  min-height: calc(88vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #28251f;
  isolation: isolate;
}

.portfolio-hero__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.portfolio-hero__veil{
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(8,8,8,.58) 0%, rgba(8,8,8,.27) 43%, rgba(8,8,8,.06) 72%),
              linear-gradient(0deg, rgba(8,8,8,.30) 0%, rgba(8,8,8,0) 46%);
}

.portfolio-hero__content{
  padding-top: clamp(5rem, 10vh, 9rem);
  padding-bottom: clamp(4.5rem, 8vh, 7.5rem);
  color: #fff;
}

.portfolio-hero__eyebrow{
  margin: 0 0 .9rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.84);
}

.portfolio-hero__title{
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 8.6rem);
  line-height: .88;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}

.portfolio-hero__statement{
  max-width: 650px;
  margin: clamp(1.5rem, 3vw, 2.4rem) 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2.8vw, 2.75rem);
  line-height: 1.16;
  color: rgba(255,255,255,.95);
}

.portfolio-hero__actions{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 2rem;
}

.home-page .btn--light{
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 0;
  background: rgba(255,255,255,.94);
  color: #171717;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: none;
}
.home-page .btn--light:hover{ background: #fff; transform: translateY(-1px); }

.home-page .text-link{
  display: inline-flex;
  align-items: center;
  gap: .45em;
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--home-text);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: gap .2s ease, opacity .2s ease;
}
.home-page .text-link:hover{ gap: .7em; text-decoration: none; opacity: .72; }
.home-page .text-link--light{ color: #fff; }

/* Home sections */
.home-section{
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.home-section__head{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.featured{ background: var(--home-surface); }
.featured-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 38px);
}

.featured-work{
  display: block;
  color: inherit;
}

.featured-work__media{
  overflow: hidden;
  background: #e7e2da;
}

.featured-work__media img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.65,.3,1);
}

.featured-work:hover .featured-work__media img{ transform: scale(1.018); }

.featured-work__meta{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid transparent;
}

.featured-work__meta h3{
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
  color: var(--home-text);
}

.featured-work__meta p{
  margin: 0;
  flex: 0 0 auto;
  color: var(--home-muted);
  font-size: .88rem;
}

.featured__more{
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(2.3rem, 4vw, 3.6rem);
}

/* About */
.about-preview{
  background: var(--home-bg);
  border-top: 1px solid var(--home-line);
}

.about-preview__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.about-preview__media{
  min-width: 0;
  overflow: hidden;
  background: #dfd9cf;
}

.about-preview__media img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-preview__content{
  max-width: 590px;
}

.section-kicker{
  margin: 0 0 1rem;
  color: var(--home-muted);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.about-preview__content h2{ margin-bottom: 1.5rem; }
.about-preview__content > p:not(.section-kicker){
  margin: 0 0 2rem;
  color: #4f4b45;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.85;
}

/* Footer — portfolio variant */
.home-page .footer{
  padding: 58px 0 22px;
  border-top: 1px solid var(--home-line);
  background: #181715;
  color: #f4f1eb;
}

.home-page .footer__grid{
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 36px;
}

.home-page .footer__title{
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
}
.home-page .footer__label{ color: rgba(244,241,235,.54); }
.home-page .footer__link{ color: rgba(244,241,235,.88); }
.home-page .footer__link:hover{ color: #fff; }
.home-page .footer__nav{ columns: 2; column-gap: 24px; }
.home-page .footer__nav .footer__link{ break-inside: avoid; }
.home-page .footer .muted{ color: rgba(244,241,235,.58); }
.home-page .footer__bottom{ border-top-color: rgba(244,241,235,.14); }
.home-page .footer__top-link:hover{ color: #fff; }

/* Responsive */
@media (max-width: 1100px){
  .home-page .brand__text{ font-size: .78rem; letter-spacing: .12em; }
  .home-page .nav__menu{ gap: 0; }
  .home-page .nav__link{ padding-inline: 6px; font-size: .7rem; }
}

@media (max-width: 980px){
  .home-page .nav__toggle{ display: inline-flex; flex-direction: column; }
  .home-page .nav__menu{
    display: none;
    position: absolute;
    top: 68px;
    right: 4vw;
    left: 4vw;
    padding: 12px 18px 18px;
    border: 1px solid var(--home-line);
    border-radius: 0;
    background: rgba(244,241,235,.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 35px rgba(0,0,0,.08);
  }
  .home-page .nav__menu.is-open{
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .home-page .nav__link{
    width: 100%;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(23,23,23,.08);
  }
  .home-page .nav__link::after{ display: none; }

  .portfolio-hero{
    min-height: min(820px, calc(86svh - 70px));
  }
  .portfolio-hero__veil{
    background: linear-gradient(90deg, rgba(8,8,8,.58), rgba(8,8,8,.16)),
                linear-gradient(0deg, rgba(8,8,8,.42), transparent 55%);
  }

  .featured-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .featured-work:last-child{ grid-column: 1 / -1; width: calc(50% - 10px); }

  .about-preview__grid{
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .about-preview__media{ width: min(760px, 100%); }
  .about-preview__content{ max-width: 720px; }
}

@media (max-width: 640px){
  .home-page .nav{ min-height: 68px; }
  .home-page .brand{ gap: 9px; }
  .home-page .brand__logo{ width: 38px; height: 38px; }
  .home-page .brand__text{ font-size: .68rem; letter-spacing: .11em; }

  .portfolio-hero{
    min-height: 76svh;
    align-items: end;
  }
  .portfolio-hero__image{ object-position: center center; }
  .portfolio-hero__veil{
    background: linear-gradient(0deg, rgba(7,7,7,.70) 0%, rgba(7,7,7,.30) 55%, rgba(7,7,7,.10) 100%);
  }
  .portfolio-hero__content{
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
  .portfolio-hero__title{
    font-size: clamp(2.8rem, 15vw, 4.6rem);
    line-height: .92;
  }
  .portfolio-hero__statement{
    font-size: clamp(1.32rem, 6.2vw, 1.75rem);
  }
  .portfolio-hero__statement br{ display: none; }
  .portfolio-hero__actions{ gap: 16px 20px; }

  .home-section{ padding: 4.2rem 0; }
  .featured-grid{ grid-template-columns: 1fr; gap: 34px; }
  .featured-work:last-child{ grid-column: auto; width: auto; }
  .featured-work__media img{ aspect-ratio: 4 / 5; }
  .featured__more{ justify-content: flex-start; }

  .about-preview__grid{ gap: 30px; }
  .about-preview__content h2{ font-size: clamp(2rem, 10vw, 3rem); }

  .home-page .footer__grid{ grid-template-columns: 1fr; gap: 28px; }
  .home-page .footer__nav{ columns: 1; }
}

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

/* ==========================================================================
   MARBLE BACKGROUND + GALLERY PAGE REDESIGN
   Matches the new portfolio home page.
   ========================================================================== */

.home-page,
.gallery-page{
  background:
    linear-gradient(rgba(249,245,238,.74), rgba(249,245,238,.74)),
    url("../../slike/pozadina-mramor.jpg") center top / cover fixed no-repeat;
  color: #211b17;
}

.gallery-page{
  --gallery-text: #211b17;
  --gallery-muted: #756a60;
  --gallery-line: rgba(55,42,32,.14);
  --gallery-surface: rgba(255,255,255,.48);
  --gallery-accent: #8d6d52;
  --gallery-container: 1320px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

.gallery-page .container{
  width: min(var(--gallery-container), 92vw);
}

.gallery-page h1,
.gallery-page h2{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--gallery-text);
}

.gallery-page .muted{
  color: var(--gallery-muted);
}

/* Header — exactly the same visual language as the home page */
.gallery-page .site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,241,.88);
  border-bottom: 1px solid var(--gallery-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gallery-page .nav{
  width: min(var(--gallery-container), 92vw);
  min-height: 78px;
  padding: 10px 0;
}

.gallery-page .brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.gallery-page .brand__logo{
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.gallery-page .brand__text{
  color: var(--gallery-text);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .16em;
  white-space: nowrap;
}

.gallery-page .nav__menu{
  gap: clamp(4px,1vw,14px);
}

.gallery-page .nav__link{
  position: relative;
  padding: 11px 8px;
  border: 0;
  border-radius: 0;
  color: #514940;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.gallery-page .nav__link::after{
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .22s ease;
}

.gallery-page .nav__link:hover,
.gallery-page .nav__link.is-active{
  color: #201812;
  background: transparent;
}

.gallery-page .nav__link:hover::after,
.gallery-page .nav__link.is-active::after{
  transform: scaleX(1);
  transform-origin: left center;
}

.gallery-page .nav__toggle{
  border-color: var(--gallery-line);
  border-radius: 0;
}

.gallery-page .nav__toggleLine{
  background: var(--gallery-text);
}

/* Gallery introduction */
.gallery-main{
  min-height: 70vh;
}

.gallery-intro{
  padding: clamp(4.5rem,8vw,8rem) 0 clamp(3rem,5vw,5rem);
  border-bottom: 1px solid var(--gallery-line);
  background: rgba(255,255,255,.18);
}

.gallery-intro__grid{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,.48fr);
  gap: clamp(2rem,6vw,6rem);
  align-items: end;
}

.gallery-page .section-kicker{
  margin: 0 0 .9rem;
  color: var(--gallery-muted);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gallery-intro h1{
  margin: 0;
  font-size: clamp(3.6rem,8vw,8rem);
  line-height: .9;
}

.gallery-intro__lead{
  max-width: 650px;
  margin: 1.7rem 0 0;
  color: #5d5147;
  font-size: clamp(1rem,1.5vw,1.16rem);
  line-height: 1.8;
}

.gallery-search-wrap{
  display: flex;
  justify-content: flex-end;
}

.gallery-search{
  width: min(100%,390px);
  display: block;
}

.gallery-search__label{
  display: block;
  margin-bottom: .65rem;
  color: var(--gallery-muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gallery-search__field{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 2px 10px;
  border-bottom: 1px solid rgba(55,42,32,.38);
}

.gallery-search input{
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--gallery-text);
  font: inherit;
  font-size: 1rem;
}

.gallery-search input::placeholder{
  color: rgba(117,106,96,.72);
}

.gallery-search__field > span{
  color: var(--gallery-muted);
  font-size: 1.35rem;
  line-height: 1;
}

/* Work list */
.gallery-list-section{
  padding: clamp(3rem,6vw,6rem) 0 clamp(5rem,9vw,9rem);
}

.gallery-artworks{
  display: grid;
  gap: clamp(4rem,8vw,8rem);
}

.gallery-page .gallery-artwork{
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr);
  gap: clamp(2rem,5vw,5rem);
  align-items: start;
  padding: 0 0 clamp(4rem,7vw,7rem);
  border: 0;
  border-bottom: 1px solid var(--gallery-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-page .gallery-artwork:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.gallery-artwork__media{
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-page .gallery-artwork__media img{
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-page .gallery-artwork__info{
  position: sticky;
  top: 116px;
  align-self: start;
  padding: .2rem 0 0;
}

.gallery-artwork__number{
  margin: 0 0 1.4rem;
  color: #9b8e82;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.gallery-page .artwork__title{
  margin: 0 0 2rem;
  font-size: clamp(2rem,3.3vw,3.6rem);
  line-height: 1.02;
}

.gallery-artwork__meta{
  margin: 0;
  display: grid;
  border-top: 1px solid var(--gallery-line);
}

.gallery-artwork__meta > div{
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gallery-line);
}

.gallery-artwork__meta dt{
  color: var(--gallery-muted);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gallery-artwork__meta dd{
  margin: 0;
  color: #3e342c;
  font-size: .94rem;
  font-weight: 500;
}

.gallery-artwork__actions{
  margin-top: 2rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-page .gallery-btn{
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 0;
  box-shadow: none;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.gallery-page .gallery-btn--ghost{
  border: 1px solid rgba(55,42,32,.30);
  background: rgba(255,255,255,.20);
  color: var(--gallery-text);
}

.gallery-page .gallery-btn--ghost:hover{
  background: rgba(255,255,255,.54);
}

.gallery-page .gallery-btn--primary{
  border: 1px solid #33281f;
  background: #33281f;
  color: #fff;
}

.gallery-page .gallery-btn--primary:hover{
  background: #211913;
}

/* Footer — same as home */
.gallery-page .footer{
  padding: 58px 0 22px;
  border-top: 1px solid var(--gallery-line);
  background: rgba(46,36,28,.93);
  color: #f7f1e8;
  backdrop-filter: blur(8px);
}

.gallery-page .footer__grid{
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 36px;
}

.gallery-page .footer__title{
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.gallery-page .footer__label{
  color: rgba(247,241,232,.58);
}

.gallery-page .footer__link{
  color: rgba(247,241,232,.88);
}

.gallery-page .footer__link:hover{
  color: #fff;
}

.gallery-page .footer__nav{
  columns: 2;
  column-gap: 24px;
}

.gallery-page .footer__nav .footer__link{
  break-inside: avoid;
}

.gallery-page .footer .muted{
  color: rgba(247,241,232,.58);
}

.gallery-page .footer__bottom{
  border-top-color: rgba(247,241,232,.14);
}

.gallery-page .footer__top-link:hover{
  color: #fff;
}

@media (max-width: 980px){
  .home-page,
  .gallery-page{
    background-attachment: scroll;
  }

  .gallery-page .nav__toggle{
    display: inline-flex;
    flex-direction: column;
  }

  .gallery-page .nav__menu{
    display: none;
    position: absolute;
    top: 68px;
    right: 4vw;
    left: 4vw;
    padding: 12px 18px 18px;
    border: 1px solid var(--gallery-line);
    border-radius: 0;
    background: rgba(250,247,241,.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 35px rgba(50,35,24,.09);
  }

  .gallery-page .nav__menu.is-open{
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-page .nav__link{
    width: 100%;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(45,34,25,.08);
  }

  .gallery-page .nav__link::after{
    display: none;
  }

  .gallery-intro__grid{
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gallery-search-wrap{
    justify-content: flex-start;
  }

  .gallery-page .gallery-artwork{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-page .gallery-artwork__info{
    position: static;
  }

  .gallery-page .gallery-artwork__media img{
    max-height: none;
  }

  .gallery-page .footer__grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px){
  .gallery-page .nav{
    min-height: 68px;
  }

  .gallery-page .brand{
    gap: 9px;
  }

  .gallery-page .brand__logo{
    width: 38px;
    height: 38px;
  }

  .gallery-page .brand__text{
    font-size: .68rem;
    letter-spacing: .11em;
  }

  .gallery-intro{
    padding-top: 3.5rem;
  }

  .gallery-intro h1{
    font-size: clamp(3.1rem,17vw,5.4rem);
  }

  .gallery-artworks{
    gap: 3.6rem;
  }

  .gallery-page .gallery-artwork{
    padding-bottom: 3.6rem;
  }

  .gallery-page .artwork__title{
    font-size: clamp(2rem,10vw,3rem);
  }

  .gallery-artwork__meta > div{
    grid-template-columns: 88px 1fr;
  }

  .gallery-artwork__actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .gallery-page .gallery-btn{
    width: 100%;
  }

  .gallery-page .footer__nav{
    columns: 1;
  }
}

/* ==========================================================================
   ARTIST PAGE — O MENI
   Uses the same theme, fonts, header and footer as gallery.html
   ========================================================================== */

.artist-page{
  /* Intentionally inherits the exact gallery-page marble background */
  color: var(--gallery-text);
}

.artist-page h1,
.artist-page h2{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--gallery-text);
}

/* Hero */
.artist-hero{
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(5rem, 9vw, 9rem);
  border-bottom: 1px solid var(--gallery-line);
}

.artist-hero__grid{
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.artist-hero__copy{
  position: relative;
  z-index: 1;
}

.artist-hero__copy .section-kicker{
  margin-bottom: 1.25rem;
}

.artist-hero h1{
  margin: 0;
  font-size: clamp(4rem, 8.5vw, 8.5rem);
  line-height: .88;
}

.artist-hero__statement{
  max-width: 480px;
  margin: 2.2rem 0 0;
  color: #5a5047;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2.55rem);
  line-height: 1.18;
}

.artist-hero__portrait{
  margin: 0;
  min-width: 0;
  background: transparent;
}

.artist-hero__portrait img{
  display: block;
  width: 100%;
  height: clamp(520px, 62vw, 820px);
  object-fit: cover;
  object-position: center;
  background: transparent;
}

/* 01 Intro */
.artist-intro{
  padding: clamp(5rem, 9vw, 9rem) 0;
  border-bottom: 1px solid var(--gallery-line);
}

.artist-intro__grid{
  display: grid;
  grid-template-columns: 70px minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}

.artist-intro__number{
  margin: .35rem 0 0;
  color: #9b8e82;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.artist-intro__title h2{
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: .99;
}

.artist-intro__text{
  padding-top: 2rem;
}

.artist-intro__text p{
  margin: 0 0 1.5rem;
  color: #574c43;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.85;
}

/* 02 / 03 / 04 */
.artist-story,
.artist-tech,
.artist-path{
  padding: clamp(5rem, 9vw, 9rem) 0;
  border-bottom: 1px solid var(--gallery-line);
}

.artist-path{
  border-bottom: 0;
}

.artist-story__grid{
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

.artist-story__index{
  display: grid;
  gap: .85rem;
  padding-top: .45rem;
  color: #9b8e82;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.artist-story__label{
  color: var(--gallery-muted);
}

.artist-story__body h2{
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  max-width: 850px;
  font-size: clamp(2.8rem, 5.5vw, 5.8rem);
  line-height: .96;
}

.artist-story__columns{
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
}

.artist-story__columns p{
  margin: 0;
  color: #574c43;
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.9;
}

/* Technique */
.artist-tech__list{
  max-width: 900px;
  border-top: 1px solid var(--gallery-line);
}

.artist-tech__row{
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--gallery-line);
}

.artist-tech__row > span{
  color: var(--gallery-muted);
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.artist-tech__row strong,
.artist-tech__row a{
  color: #3e342c;
  font-size: 1rem;
  font-weight: 500;
}

.artist-tech__row a{
  width: fit-content;
  border-bottom: 1px solid currentColor;
}

/* Timeline */
.artist-timeline{
  max-width: 980px;
  border-top: 1px solid var(--gallery-line);
}

.artist-timeline__row{
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 2rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--gallery-line);
}

.artist-timeline__year{
  color: #8d8176;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.artist-timeline__row strong{
  color: #3b312a;
  font-size: 1rem;
  font-weight: 500;
}

.artist-timeline__row p{
  margin: .45rem 0 0;
  max-width: 680px;
  color: var(--gallery-muted);
  line-height: 1.75;
}

.artist-path__note{
  max-width: 760px;
  margin-top: 2.5rem;
}

.artist-path__note p{
  margin: 0 0 1.7rem;
  color: var(--gallery-muted);
  font-size: .94rem;
  line-height: 1.75;
}

/* Use the same text-link language as home */
.artist-page .text-link{
  display: inline-flex;
  align-items: center;
  gap: .45em;
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--gallery-text);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  transition: gap .2s ease, opacity .2s ease;
}

.artist-page .text-link:hover{
  gap: .7em;
  text-decoration: none;
  opacity: .72;
}

/* Responsive */
@media (max-width: 980px){
  .artist-hero__grid{
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .artist-hero__copy{
    max-width: 720px;
  }

  .artist-hero__portrait{
    width: min(760px, 100%);
  }

  .artist-hero__portrait img{
    height: min(110vw, 760px);
  }

  .artist-intro__grid{
    grid-template-columns: 55px minmax(0, 1fr);
  }

  .artist-intro__text{
    grid-column: 2;
    padding-top: 0;
    max-width: 720px;
  }

  .artist-story__grid{
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 2rem;
  }

  .artist-story__columns{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px){
  .artist-hero{
    padding-top: 3.6rem;
    padding-bottom: 4.5rem;
  }

  .artist-hero h1{
    font-size: clamp(3.6rem, 18vw, 5.5rem);
  }

  .artist-hero__statement{
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .artist-hero__portrait img{
    height: 125vw;
    max-height: 620px;
  }

  .artist-intro,
  .artist-story,
  .artist-tech,
  .artist-path{
    padding: 4rem 0;
  }

  .artist-intro__grid,
  .artist-story__grid{
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .artist-intro__text{
    grid-column: auto;
  }

  .artist-intro__title h2,
  .artist-story__body h2{
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  .artist-story__index{
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
  }

  .artist-tech__row{
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  .artist-timeline__row{
    grid-template-columns: 1fr;
    gap: .55rem;
  }
}

/* ==========================================================================
   EVENTS PAGE — DOGAĐAJI
   Same visual language as home / gallery / artist pages
   ========================================================================== */

.events-page{
  color: var(--gallery-text);
}

.events-page h1,
.events-page h2,
.events-page h3{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--gallery-text);
}

/* Top */
.events-hero{
  padding: clamp(4.8rem, 8vw, 8rem) 0 clamp(3.2rem, 5vw, 5rem);
  border-bottom: 1px solid var(--gallery-line);
}

.events-hero h1{
  margin: 0;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .88;
}

.events-filter{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(2.8rem, 5vw, 4.8rem);
  border-top: 1px solid var(--gallery-line);
  border-bottom: 1px solid var(--gallery-line);
}

.events-filter__btn{
  appearance: none;
  border: 0;
  border-right: 1px solid var(--gallery-line);
  border-radius: 0;
  padding: 1rem 1.5rem;
  background: transparent;
  color: var(--gallery-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.events-filter__btn:first-child{
  padding-left: 0;
}

.events-filter__btn:last-child{
  border-right: 0;
}

.events-filter__btn:hover,
.events-filter__btn.is-active{
  color: var(--gallery-text);
}

.events-filter__btn.is-active{
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

/* Groups */
.events-content{
  padding: 0 0 clamp(6rem, 10vw, 10rem);
}

.events-group{
  padding: clamp(5rem, 9vw, 9rem) 0 0;
}

.events-group[hidden]{
  display: none !important;
}

.events-group__head{
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.events-group__number{
  margin: .35rem 0 0;
  color: #9a8d81;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.events-group__head h2{
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .98;
}

/* Featured current event */
.event-feature{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  min-height: 560px;
  border-top: 1px solid var(--gallery-line);
  border-bottom: 1px solid var(--gallery-line);
}

.event-feature__media{
  display: block;
  min-width: 0;
  overflow: hidden;
  background: transparent;
}

.event-feature__media img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.65,.3,1);
}

.event-feature__media:hover img{
  transform: scale(1.012);
}

.event-feature__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem);
  border-left: 1px solid var(--gallery-line);
  background: rgba(255,255,255,.14);
}

.event-status{
  margin: 0 0 1.2rem;
  color: var(--gallery-muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.event-feature__content h3{
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  max-width: 600px;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  line-height: .98;
}

.event-details{
  margin: 0 0 2.5rem;
  border-top: 1px solid var(--gallery-line);
}

.event-details > div{
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 1.5rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--gallery-line);
}

.event-details dt{
  color: var(--gallery-muted);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-details dd{
  margin: 0;
  color: #3d332c;
  font-weight: 500;
}

/* Exhibition catalogue */
.event-catalog{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.event-catalog__title{
  color: #3d332c;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, opacity .2s ease;
}

.event-catalog__title:hover{
  border-bottom-color: currentColor;
  opacity: .76;
}

.event-catalog__download{
  display: inline-flex;
  align-items: center;
  gap: .45em;
  width: fit-content;
  padding: .55rem .78rem;
  border: 1px solid rgba(55,42,32,.30);
  background: rgba(255,255,255,.20);
  color: var(--gallery-text);
  font-size: .70rem;
  font-weight: 600;
  letter-spacing: .10em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}

.event-catalog__download:hover{
  background: rgba(255,255,255,.54);
  transform: translateY(-1px);
}

.events-page .text-link{
  display: inline-flex;
  align-items: center;
  gap: .45em;
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--gallery-text);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  transition: gap .2s ease, opacity .2s ease;
}

.events-page .text-link:hover{
  gap: .7em;
  text-decoration: none;
  opacity: .72;
}

/* Empty states */
.events-empty{
  max-width: 920px;
  padding: clamp(2.2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--gallery-line);
  border-bottom: 1px solid var(--gallery-line);
}

.events-empty p{
  margin: 0 0 .55rem;
  color: #3f352e;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.events-empty span{
  display: block;
  max-width: 680px;
  color: var(--gallery-muted);
  line-height: 1.75;
}

/* Archive cards for future use */
.events-archive{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.event-archive-card{
  display: block;
  color: inherit;
}

.event-archive-card img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.event-archive-card__meta{
  padding-top: 1rem;
}

.event-archive-card__year{
  color: var(--gallery-muted);
  font-size: .74rem;
  letter-spacing: .1em;
}

.event-archive-card h3{
  margin: .45rem 0 .3rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.event-archive-card p{
  margin: 0;
  color: var(--gallery-muted);
}

/* Responsive */
@media (max-width: 980px){
  .event-feature{
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .event-feature__media img{
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .event-feature__content{
    border-left: 0;
    border-top: 1px solid var(--gallery-line);
  }

  .events-archive{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .events-hero{
    padding-top: 3.6rem;
  }

  .events-hero h1{
    font-size: clamp(3.6rem, 18vw, 5.5rem);
  }

  .events-filter{
    display: grid;
    grid-template-columns: 1fr;
  }

  .events-filter__btn,
  .events-filter__btn:first-child{
    width: 100%;
    padding: .95rem 0;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid var(--gallery-line);
  }

  .events-filter__btn:last-child{
    border-bottom: 0;
  }

  .events-group__head{
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .event-feature__media img{
    aspect-ratio: 4 / 3;
  }

  .event-feature__content{
    padding: 2rem 0;
    background: transparent;
  }

  .event-details > div{
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 1rem;
  }

  .event-catalog{
    align-items: flex-start;
    flex-direction: column;
    gap: .75rem;
  }

  .event-catalog__download{
    max-width: 100%;
  }

  .events-archive{
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FINAL GLOBAL HARMONIZATION
   Shared visual language for:
   - index.html
   - gallery.html
   - artist.html
   - events.html
   ========================================================================== */

:root{
  --site-bg-base: #f5efe5;
  --site-bg-overlay: rgba(249,245,238,.74);
  --site-text: #211b17;
  --site-muted: #756a60;
  --site-line: rgba(55,42,32,.14);
  --site-accent: #8d6d52;
  --site-container: 1320px;
}

/* One identical background for all principal pages */
body.home-page,
body.gallery-page,
body.artist-page,
body.events-page{
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--site-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  background:
    linear-gradient(
      var(--site-bg-overlay),
      var(--site-bg-overlay)
    ),
    url("../../slike/pozadina-mramor.jpg") center top / cover fixed no-repeat;
}

/* Prevent page-specific old backgrounds from visually overriding the common theme */
.home-page .featured,
.home-page .about-preview,
.gallery-page .section,
.artist-page section,
.events-page section{
  background-color: transparent;
}

/* Shared container width */
.home-page .container,
.gallery-page .container,
.artist-page .container,
.events-page .container{
  width: min(var(--site-container), 92vw);
  margin-inline: auto;
}

/* Shared typography */
.home-page h1,
.home-page h2,
.home-page h3,
.gallery-page h1,
.gallery-page h2,
.gallery-page h3,
.artist-page h1,
.artist-page h2,
.artist-page h3,
.events-page h1,
.events-page h2,
.events-page h3{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  color: var(--site-text);
}

.home-page .muted,
.gallery-page .muted,
.artist-page .muted,
.events-page .muted{
  color: var(--site-muted);
}

/* Shared header */
.home-page .site-header,
.gallery-page .site-header,
.artist-page .site-header,
.events-page .site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,241,.88);
  border-bottom: 1px solid var(--site-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-page .nav,
.gallery-page .nav,
.artist-page .nav,
.events-page .nav{
  width: min(var(--site-container), 92vw);
  min-height: 78px;
  padding: 10px 0;
}

.home-page .brand,
.gallery-page .brand,
.artist-page .brand,
.events-page .brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-page .brand__logo,
.gallery-page .brand__logo,
.artist-page .brand__logo,
.events-page .brand__logo{
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.home-page .brand__text,
.gallery-page .brand__text,
.artist-page .brand__text,
.events-page .brand__text{
  color: var(--site-text);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .16em;
  white-space: nowrap;
}

.home-page .nav__menu,
.gallery-page .nav__menu,
.artist-page .nav__menu,
.events-page .nav__menu{
  gap: clamp(4px,1vw,14px);
}

.home-page .nav__link,
.gallery-page .nav__link,
.artist-page .nav__link,
.events-page .nav__link{
  position: relative;
  padding: 11px 8px;
  border: 0;
  border-radius: 0;
  color: #514940;
  background: transparent;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.home-page .nav__link::after,
.gallery-page .nav__link::after,
.artist-page .nav__link::after,
.events-page .nav__link::after{
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .22s ease;
}

.home-page .nav__link:hover,
.home-page .nav__link.is-active,
.gallery-page .nav__link:hover,
.gallery-page .nav__link.is-active,
.artist-page .nav__link:hover,
.artist-page .nav__link.is-active,
.events-page .nav__link:hover,
.events-page .nav__link.is-active{
  color: #201812;
  background: transparent;
}

.home-page .nav__link:hover::after,
.home-page .nav__link.is-active::after,
.gallery-page .nav__link:hover::after,
.gallery-page .nav__link.is-active::after,
.artist-page .nav__link:hover::after,
.artist-page .nav__link.is-active::after,
.events-page .nav__link:hover::after,
.events-page .nav__link.is-active::after{
  transform: scaleX(1);
  transform-origin: left center;
}

/* Shared footer */
.home-page .footer,
.gallery-page .footer,
.artist-page .footer,
.events-page .footer{
  padding: 58px 0 22px;
  border-top: 1px solid var(--site-line);
  background: rgba(46,36,28,.93);
  color: #f7f1e8;
  backdrop-filter: blur(8px);
}

.home-page .footer__grid,
.gallery-page .footer__grid,
.artist-page .footer__grid,
.events-page .footer__grid{
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 36px;
}

.home-page .footer__title,
.gallery-page .footer__title,
.artist-page .footer__title,
.events-page .footer__title{
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.home-page .footer__label,
.gallery-page .footer__label,
.artist-page .footer__label,
.events-page .footer__label{
  color: rgba(247,241,232,.58);
}

.home-page .footer__link,
.gallery-page .footer__link,
.artist-page .footer__link,
.events-page .footer__link{
  color: rgba(247,241,232,.88);
}

.home-page .footer__link:hover,
.gallery-page .footer__link:hover,
.artist-page .footer__link:hover,
.events-page .footer__link:hover{
  color: #fff;
}

.home-page .footer .muted,
.gallery-page .footer .muted,
.artist-page .footer .muted,
.events-page .footer .muted{
  color: rgba(247,241,232,.58);
}

.home-page .footer__bottom,
.gallery-page .footer__bottom,
.artist-page .footer__bottom,
.events-page .footer__bottom{
  border-top-color: rgba(247,241,232,.14);
}

/* Gallery artwork: no white passe-partout around images */
.gallery-page .artwork{
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

.gallery-page .artwork__img{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.gallery-page .artwork__img img{
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 980px){
  body.home-page,
  body.gallery-page,
  body.artist-page,
  body.events-page{
    background-attachment: scroll;
  }

  .home-page .nav__toggle,
  .gallery-page .nav__toggle,
  .artist-page .nav__toggle,
  .events-page .nav__toggle{
    display: inline-flex;
    flex-direction: column;
  }

  .home-page .nav__menu,
  .gallery-page .nav__menu,
  .artist-page .nav__menu,
  .events-page .nav__menu{
    display: none;
    position: absolute;
    top: 68px;
    right: 4vw;
    left: 4vw;
    padding: 12px 18px 18px;
    border: 1px solid var(--site-line);
    border-radius: 0;
    background: rgba(250,247,241,.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 35px rgba(50,35,24,.09);
  }

  .home-page .nav__menu.is-open,
  .gallery-page .nav__menu.is-open,
  .artist-page .nav__menu.is-open,
  .events-page .nav__menu.is-open{
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .nav__link,
  .gallery-page .nav__link,
  .artist-page .nav__link,
  .events-page .nav__link{
    width: 100%;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(45,34,25,.08);
  }

  .home-page .nav__link::after,
  .gallery-page .nav__link::after,
  .artist-page .nav__link::after,
  .events-page .nav__link::after{
    display: none;
  }

  .home-page .footer__grid,
  .gallery-page .footer__grid,
  .artist-page .footer__grid,
  .events-page .footer__grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px){
  .home-page .nav,
  .gallery-page .nav,
  .artist-page .nav,
  .events-page .nav{
    min-height: 68px;
  }

  .home-page .brand__logo,
  .gallery-page .brand__logo,
  .artist-page .brand__logo,
  .events-page .brand__logo{
    width: 38px;
    height: 38px;
  }

  .home-page .brand__text,
  .gallery-page .brand__text,
  .artist-page .brand__text,
  .events-page .brand__text{
    font-size: .68rem;
    letter-spacing: .11em;
  }
}

/* ==========================================================================
   ART TORBE PAGE
   Premium editorial layout, same visual language as the rest of the site
   ========================================================================== */

.bags-page{
  color: var(--site-text);
}

.bags-page h1,
.bags-page h2,
.bags-page h3{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--site-text);
}

/* Hero */
.bags-hero{
  padding: clamp(4.8rem, 8vw, 8rem) 0 0;
  border-bottom: 1px solid var(--site-line);
}

.bags-hero__heading{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,.55fr);
  column-gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.bags-hero__heading .section-kicker{
  grid-column: 1 / -1;
}

.bags-hero h1{
  margin: 0;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .88;
}

.bags-hero__lead{
  margin: 0 0 .7rem;
  max-width: 460px;
  color: #5b5047;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.7vw, 2.7rem);
  line-height: 1.16;
}

.bags-hero__media{
  margin: 0;
  overflow: hidden;
}

.bags-hero__media img{
  display: block;
  width: 100%;
  height: clamp(500px, 62vw, 840px);
  object-fit: cover;
}

/* Intro */
.bags-intro{
  padding: clamp(5rem, 9vw, 9rem) 0;
  border-bottom: 1px solid var(--site-line);
}

.bags-intro__grid{
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(320px,.75fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.bags-intro h2{
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.7rem, 5.4vw, 5.7rem);
  line-height: .98;
}

.bags-intro__text{
  padding-top: 2rem;
}

.bags-intro__text p{
  margin: 0 0 1.5rem;
  color: #574c43;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.85;
}

/* Status row */
.bags-status{
  border-bottom: 1px solid var(--site-line);
}

.bags-status__bar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.bags-status__item{
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--site-line);
  color: var(--site-muted);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.bags-status__item:first-child{
  padding-left: 0;
}

.bags-status__item.is-active{
  color: var(--site-text);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

/* Collection */
.bag-collection{
  padding: clamp(5rem, 9vw, 9rem) 0;
  border-bottom: 1px solid var(--site-line);
}

.bag-collection__head{
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.bag-collection__number,
.bag-collection__status{
  margin: 0 0 .8rem;
  color: var(--site-muted);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bag-collection__head h2{
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 5.7rem);
  line-height: .96;
}

.bag-collection__status{
  margin-bottom: .5rem;
}

/* Side-by-side image pairing */
.bag-pair{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

.bag-pair__item{
  margin: 0;
}

.bag-pair__item img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bag-pair__item:first-child img{
  object-fit: contain;
  background: transparent;
}

.bag-pair__item figcaption{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1rem;
}

.bag-pair__item figcaption span{
  color: var(--site-muted);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bag-pair__item figcaption strong{
  color: #3e342c;
  font-weight: 500;
}

/* Story and details */
.bag-collection__info{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-top: clamp(3.5rem, 6vw, 6rem);
}

.bag-collection__story h3{
  margin: 0 0 1.5rem;
  max-width: 720px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
}

.bag-collection__story > p:not(.section-kicker){
  max-width: 720px;
  margin: 0;
  color: #574c43;
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.85;
}

.bag-specs{
  margin: 0;
  border-top: 1px solid var(--site-line);
}

.bag-specs > div{
  display: grid;
  grid-template-columns: 120px minmax(0,1fr);
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--site-line);
}

.bag-specs dt{
  color: var(--site-muted);
  font-size: .73rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bag-specs dd{
  margin: 0;
  color: #3e342c;
  font-weight: 500;
}

.bag-collection__actions{
  display: flex;
  justify-content: flex-end;
  padding-top: 2.5rem;
}

.bags-page .text-link{
  display: inline-flex;
  align-items: center;
  gap: .45em;
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--site-text);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  transition: gap .2s ease, opacity .2s ease;
}

.bags-page .text-link:hover{
  gap: .7em;
  text-decoration: none;
  opacity: .72;
}

/* Next collection */
.bags-next{
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.bags-next__grid{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,.7fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.bags-next h2{
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: .98;
}

.bags-next__text{
  padding-top: 2rem;
}

.bags-next__text p{
  margin: 0;
  color: #574c43;
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.85;
}

/* Responsive */
@media (max-width: 980px){
  .bags-hero__heading{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bags-hero__heading .section-kicker{
    grid-column: auto;
  }

  .bags-hero__lead{
    margin-bottom: 0;
  }

  .bags-intro__grid,
  .bag-collection__info,
  .bags-next__grid{
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bags-intro__text,
  .bags-next__text{
    padding-top: 0;
  }
}

@media (max-width: 640px){
  .bags-hero{
    padding-top: 3.6rem;
  }

  .bags-hero h1{
    font-size: clamp(3.6rem, 18vw, 5.5rem);
  }

  .bags-hero__lead{
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .bags-hero__media img{
    height: 120vw;
    max-height: 620px;
  }

  .bags-intro,
  .bag-collection,
  .bags-next{
    padding: 4rem 0;
  }

  .bags-status__bar{
    display: grid;
    grid-template-columns: 1fr;
  }

  .bags-status__item,
  .bags-status__item:first-child{
    padding: .9rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--site-line);
  }

  .bags-status__item:last-child{
    border-bottom: 0;
  }

  .bag-collection__head{
    display: grid;
    gap: 1rem;
  }

  .bag-pair{
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bag-pair__item figcaption{
    display: grid;
    gap: .4rem;
  }

  .bag-specs > div{
    grid-template-columns: 95px minmax(0,1fr);
    gap: 1rem;
  }

  .bag-collection__actions{
    justify-content: flex-start;
  }
}

/* ==========================================================================
   CONTACT PAGE
   Minimal, quiet and consistent with the rest of the portfolio
   ========================================================================== */

.contact-page{
  color: var(--site-text);
}

.contact-page h1,
.contact-page h2,
.contact-page h3{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--site-text);
}

/* Hero */
.contact-hero{
  padding: clamp(4.8rem, 8vw, 8rem) 0 clamp(5rem, 9vw, 8rem);
  border-bottom: 1px solid var(--site-line);
}

.contact-hero__grid{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,.78fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.contact-hero h1{
  margin: 0;
  max-width: 900px;
  font-size: clamp(3.5rem, 7.5vw, 7.5rem);
  line-height: .94;
}

.contact-hero__lead{
  max-width: 560px;
  margin: 2rem 0 0;
  color: #5b5047;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
  line-height: 1.2;
}

.contact-hero__media{
  margin: 0;
  overflow: hidden;
}

.contact-hero__media img{
  display: block;
  width: 100%;
  height: clamp(460px, 54vw, 720px);
  object-fit: cover;
}

/* Main contact area */
.contact-main{
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.contact-main__grid{
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(420px,1.2fr);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: start;
}

.contact-section-number{
  margin: 0 0 .8rem;
  color: #9a8d81;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
}

/* Contact information */
.contact-info__links{
  margin-top: 2rem;
  border-top: 1px solid var(--site-line);
}

.contact-info__row{
  display: grid;
  grid-template-columns: 100px minmax(0,1fr);
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--site-line);
}

.contact-info__row span{
  color: var(--site-muted);
  font-size: .73rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-info__row a{
  width: fit-content;
  color: #3e342c;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.contact-info__row a:hover{
  border-color: currentColor;
}

.contact-info__note{
  max-width: 560px;
  margin-top: 2.5rem;
}

.contact-info__note p{
  margin: 0;
  color: #574c43;
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.85;
}

/* Form */
.contact-form{
  margin-top: 2rem;
  border-top: 1px solid var(--site-line);
}

.contact-form__field{
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--site-line);
}

.contact-form__field label{
  display: block;
  margin-bottom: .65rem;
  color: var(--site-muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
  width: 100%;
  margin: 0;
  padding: .3rem 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--site-text);
  font: inherit;
  font-size: 1.05rem;
}

.contact-form textarea{
  min-height: 160px;
  resize: vertical;
  line-height: 1.65;
}

.contact-form select{
  cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  outline: none;
}

.contact-form__field:focus-within{
  border-bottom-color: rgba(33,27,23,.55);
}

.contact-form__submit{
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 2rem;
  padding: 0 0 .35rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--site-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: gap .2s ease, opacity .2s ease;
}

.contact-form__submit:hover{
  gap: .9rem;
  opacity: .72;
}

.contact-form__hint{
  max-width: 520px;
  margin: 1.2rem 0 0;
  color: var(--site-muted);
  font-size: .82rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 980px){
  .contact-hero__grid{
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-hero__copy{
    max-width: 850px;
  }

  .contact-hero__media{
    width: min(760px,100%);
  }

  .contact-main__grid{
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .contact-form-wrap{
    max-width: 760px;
  }
}

@media (max-width: 640px){
  .contact-hero{
    padding-top: 3.6rem;
    padding-bottom: 4rem;
  }

  .contact-hero h1{
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .contact-hero__lead{
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
  }

  .contact-hero__media img{
    height: 115vw;
    max-height: 600px;
  }

  .contact-main{
    padding: 4rem 0;
  }

  .contact-main__grid{
    gap: 4rem;
  }

  .contact-info__row{
    grid-template-columns: 1fr;
    gap: .35rem;
  }
}
