:root {
  --ink: #241b2f;
  --muted: #655d6e;
  --purple: #6d43b8;
  --purple-dark: #241331;
  --lavender: #f5f0fa;
  --lavender-2: #faf7fd;
  --gold: #d5b56c;
  --white: #ffffff;
  --max: 1160px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.72;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.title-link {
  text-decoration-line: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 55px rgba(36,27,47,.10);
}

.brand {
  width: 64px;
}

.brand img {
  filter:
    drop-shadow(0 0 8px rgba(255,255,255,.7))
    drop-shadow(0 0 22px rgba(130,78,205,.45));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  position: relative;
}

.site-header.is-scrolled .site-nav a {
  color: var(--purple-dark);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .25s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background-image: url("images/bellinzona.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,12,28,.35) 0%, rgba(18,12,28,.12) 42%, rgba(18,12,28,.42) 100%),
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.08), transparent 34%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  text-align: center;
  color: var(--white);
}

/* .hero-logo {
  width: min(270px, 58vw);
  margin: 0 auto 26px;
  filter:
    drop-shadow(0 0 8px rgba(255,255,255,.92))
    drop-shadow(0 0 28px rgba(185,140,255,.72))
    drop-shadow(0 0 70px rgba(88,48,152,.58));
} */

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .76rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--purple);
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(4.2rem, 9vw, 8.2rem);
  text-shadow: 0 8px 34px rgba(0,0,0,.28);
}

h2 {
  font-size: clamp(3.1rem, 6.8vw, 6.4rem);
  color: var(--purple-dark);
}

h3{

    margin:30px 10px 24px;

    font-family:'Rouge Script';

    font-size:clamp(3.8rem,6vw,6rem);

    font-weight:600;

    color:var(--purple-dark);

    line-height:.9;

    letter-spacing:.01em;

    transform:rotate(-2deg);

}

.hero-subtitle {
  margin: 22px auto 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 1.05;
  color: rgba(255,255,255,.94);
  text-shadow: 0 6px 28px rgba(0,0,0,.26);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 36px;
  padding: 0 28px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--purple-dark);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
}

.section {
  padding: clamp(92px, 12vw, 165px) clamp(22px, 6vw, 80px);
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.narrow {
  width: min(860px, 100%);
}

.section-white {
  background: var(--white);
}

.section-tint {
  background:
    radial-gradient(circle at 82% 12%, rgba(109,67,184,.12), transparent 26%),
    radial-gradient(circle at 12% 82%, rgba(213,181,108,.11), transparent 22%),
    var(--lavender-2);
}

.two-column {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
}

.section-content,
.narrow p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.2rem);
}

.section-content p:first-child,
.narrow p:first-of-type {
  margin-top: 0;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: " →";
}

.gallery {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-image{
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:30px;
    cursor:pointer;
    transition:.3s;
}

.gallery-image:hover{
    transform:scale(1.02);
}

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;

    opacity:0;
    visibility:hidden;

    transition:.3s;
}

.lightbox.active{
    opacity:1;
    visibility:visible;
}

.lightbox img{
    max-width:90vw;
    max-height:90vh;
    border-radius:10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next{

    position:absolute;
    background:none;
    border:none;
    color:white;
    cursor:pointer;
    font-size:40px;
}

.lightbox-close{
    top:25px;
    right:30px;
}

.lightbox-prev{
    left:30px;
}

.lightbox-next{
    right:30px;
}

.painting-placeholder {
  min-height: 380px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.72), transparent 18%),
    radial-gradient(circle at 75% 72%, rgba(213,181,108,.32), transparent 20%),
    linear-gradient(145deg, #f3edf8, #9c72cf 52%, #2b1938);
  box-shadow: 0 26px 76px rgba(36,27,47,.12);
}

.painting-placeholder:nth-child(2) {
  transform: translateY(36px);
  background:
    radial-gradient(circle at 70% 26%, rgba(255,255,255,.62), transparent 18%),
    radial-gradient(circle at 26% 78%, rgba(213,181,108,.34), transparent 20%),
    linear-gradient(160deg, #fff7ee, #b68bd9 48%, #3c2450);
}

.painting-placeholder:nth-child(3) {
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.56), transparent 18%),
    radial-gradient(circle at 76% 72%, rgba(213,181,108,.26), transparent 19%),
    linear-gradient(150deg, #eadcf6, #7e55ba 50%, #241331);
}

.painting-placeholder span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: rgba(255,255,255,.82);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.quote-section {
  padding: clamp(86px, 11vw, 150px) 24px;
  text-align: center;
  background: var(--white);
}

blockquote {
  margin: 0;
  font-family: var(--serif);
  color: var(--purple-dark);
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -.035em;
  text-align: center;
}

.site-footer {
  padding: 100px 24px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(36,19,49,.78), rgba(36,19,49,.92)),
    url("images/bellinzona.jpg") center bottom / cover no-repeat;
}

.footer-inner {
  width: min(760px, 100%);
  margin: 0 auto;
}

.footer-logo {
  width: 150px;
  margin: 0 auto 28px;
  filter:
    drop-shadow(0 0 8px rgba(255,255,255,.9))
    drop-shadow(0 0 28px rgba(185,140,255,.7));
}

.site-footer h2 {
  color: var(--white);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.site-footer p {
  color: rgba(255,255,255,.78);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 840px) {
  .site-nav {
    position: fixed;
    inset: 82px 18px auto 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(36,27,47,.16);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-header.is-scrolled .site-nav a {
    color: var(--purple-dark);
    padding: 13px 8px;
  }

  .nav-toggle {
    display: grid;
    place-content: center;
    gap: 7px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
  }

  .nav-toggle span {
    width: 20px;
    height: 1px;
    background: var(--white);
  }

  .site-header.is-scrolled .nav-toggle {
    border-color: rgba(36,19,49,.18);
    background: rgba(36,19,49,.04);
  }

  .site-header.is-scrolled .nav-toggle span {
    background: var(--purple-dark);
  }

  .two-column,
  .gallery {
    grid-template-columns: 1fr;
  }

  .painting-placeholder:nth-child(2) {
    transform: none;
  }

  .painting-placeholder {
    min-height: 340px;
  }

  .hero {
    background-position: center center;
  }

  .hero-logo {
    width: min(220px, 58vw);
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    width: 56px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }
}
