@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg: #f5f2ec;
  --text: #1d1b19;
  --muted: #716c64;
  --line: #d8d1c6;
  --accent: #40382f;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

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

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 76px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 242, 236, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: .16em;
  font-size: 1.15rem;
}

.logo-underneath {
  font-family: 'Cormorant Garamond', serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--text);
  margin-top: 3px;
  line-height: 1.1;
}

nav {
  display: flex;
  gap: 34px;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .16em;
}

nav a:hover,
footer a:hover {
  opacity: .55;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 1.5rem;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 78vh;
  max-width: var(--max);
  margin: auto;
  padding: 13vh 5vw 10vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-logo {
  width: 320px;
  height: auto;
  margin-bottom: 42px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .68rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.hero-text {
  max-width: 560px;
  font-size: 1.05rem;
  margin: 0 0 32px;
}

.button {
  align-self: flex-start;
  border: 1px solid var(--text);
  padding: 12px 24px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  transition: .2s;
}

.button:hover {
  background: var(--text);
  color: var(--bg);
}

/* =========================
   SECTIONS
========================= */

.section {
  max-width: var(--max);
  margin: auto;
  padding: 110px 5vw;
}

.section-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
  font-weight: 500;
  margin: 0 0 55px;
}

/* =========================
   MAIN GALLERY
========================= */

.gallery {
  columns: 3;
  column-gap: 24px;
}

.art-card {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  break-inside: avoid;
  background: #ddd7cd;
}

.art-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease, opacity .3s;
}

.art-card:hover img {
  transform: scale(1.035);
  opacity: .9;
}

/* =========================
   FINAL THREE STUDIES
========================= */

.studies-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 24px;
  clear: both;
}

.studies-row .art-card {
  display: block;
  width: 100%;
  margin: 0;
}

.studies-row .art-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   ABOUT
========================= */

.about {
  border-top: 1px solid var(--line);
}

.about-studio-image {
  width: 250px;
  max-width: 250px;
  height: auto;
  float: left;
  margin: 0 45px 20px 0;
  display: block;
}

.about-copy {
  max-width: none;
  margin-left: 0;
  font-size: 1.08rem;
}

.about-copy p {
  margin: 0 0 25px;
}

.about-copy::after {
  content: "";
  display: block;
  clear: both;
}

/* =========================
   COMMISSIONS
========================= */

.commission-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 5vw 130px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.commission-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  margin: 10px 0 20px;
}

.commission-section > p:not(.eyebrow):not(.commission-disclaimer) {
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: .95rem;
}

.commission-link {
  display: inline-block;
  border-bottom: 1px solid var(--text);
  padding-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text);
}

.commission-link:hover {
  opacity: .55;
}
/* COMMISSION DISCLAIMER */

.commission-disclaimer {
  max-width: 600px;
  margin: 80px auto 0;
  color: var(--text);
  font-family: Inter, sans-serif;
  font-size: .72rem;
  font-style: normal;
  line-height: 1.6;
}
/* =========================
   CONTACT
========================= */

.contact {
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-grid a[href^="tel:"] {
  font-family: Inter, sans-serif;
  font-size: 1.05rem;
  letter-spacing: .04em;
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .66rem;
  color: var(--muted);
  margin: 0 0 4px;
}

.contact-grid a {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  margin-bottom: 22px;
}

.contact-grid a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* =========================
   FOOTER
========================= */

footer {
  border-top: 1px solid var(--line);
  padding: 28px 5vw;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .62rem;
  color: var(--muted);
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 18, 16, .94);
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}

.lightbox.open {
  display: flex;
  flex-direction: column;
}

.lightbox img {
  max-width: 90vw;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-info {
  text-align: center;
  margin-top: 18px;
  color: white;
}

.lightbox-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 5px;
}

.lightbox-info p {
  margin: 3px 0;
}

.lightbox-medium,
.lightbox-size {
  font-size: .85rem;
}

.lightbox-price {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 8px !important;
}

.lightbox-note {
  font-size: .82rem;
  color: rgba(255, 255, 255, .75);
  margin-top: 8px !important;
  margin-bottom: 12px !important;
}

.lightbox-enquire {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid white;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .65rem;
}

.lightbox-enquire:hover {
  opacity: .6;
}

.close {
  position: absolute;
  top: 18px;
  right: 28px;
  color: white;
  background: none;
  border: 0;
  font-size: 2.5rem;
  cursor: pointer;
}
/* =========================
   PURCHASING INFORMATION
========================= */

.purchasing-info {
  max-width: 700px;
  margin: 95px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
}

.purchasing-info strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.purchasing-info p {
  margin: 0;
}
/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .gallery {
    columns: 2;
    column-gap: 10px;
  }

  .studies-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section {
    padding: 80px 6vw;
  }

  .hero {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .hero-logo {
    width: 320px;
    max-width: 90%;
    height: auto;
  }

  .about-studio-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    float: none;
    margin: 0 auto 30px auto;
  }

  .about-copy {
    max-width: none;
    margin-left: 0;
    font-size: 1.02rem;
  }

  footer {
    flex-direction: column;
    gap: 12px;
  }

  .lightbox {
    padding: 4vh 5vw;
  }

  .lightbox img {
    max-width: 92vw;
    max-height: 68vh;
  }

  .lightbox-info {
    margin-top: 14px;
  }

  .lightbox-info h3 {
    font-size: 1.6rem;
  }
}