/* ============================================
   BASE / TOKENS
   ============================================ */

html {
  scroll-behavior: smooth;
}

:root {
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Merriweather", Georgia, "Times New Roman", serif;

  --ink: #061E29;
  --ocean: #1D546D;
  --sage: #5F9598;
  --paper: #F3F4F4;
  --accent-gold: #BC9C22;

  --bg: var(--paper);
  --text-main: var(--ink);
  --text-light: var(--paper);

  --card-shadow: 0 10px 26px rgba(0,0,0,0.10);
  --border-hover: rgba(255,255,255,0.35);
  --shadow: 0 10px 26px rgba(0,0,0,0.20);

  --header-h: 106px;

  --space-0-5: clamp(0.2rem,  0.18rem + 0.08vw, 0.25rem);
  --space-1:   clamp(0.4rem,  0.32rem + 0.2vw,  0.5rem);
  --space-2:   clamp(0.75rem, 0.6rem  + 0.35vw, 1rem);
  --space-3:   clamp(1rem,    0.8rem  + 0.7vw,  1.5rem);
  --space-4:   clamp(1.25rem, 1rem    + 1vw,    2rem);
  --space-5:   clamp(1.5rem,  1.1rem  + 1.8vw,  3rem);
  --space-6:   clamp(2rem,    1.4rem  + 2.2vw,  4rem);
  --space-7:   clamp(2.5rem,  1.7rem  + 3vw,    5rem);
  --space-8:   clamp(3rem,    2rem    + 4vw,     6rem);
}

/* ============================================
   BODY
   ============================================ */

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  font-weight: 300;
  line-height: clamp(1.6, 1.55 + 0.25vw, 1.75);
  color: var(--text-main);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 0 0 auto;
}
/* ============================================
   HEADER — mobile first (stacked)
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1002;
  background: var(--ink);
}

.site-header__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
  padding-inline: clamp(1rem, 2vw, 1.5rem);
}

.site-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand__name {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-brand img {
  height: 55px;
  width: auto;
  display: block;
}

.site-brand__first {
  width: clamp(80px, 22vw, 210px);
}

.site-brand__last {
  width: clamp(90px, 25vw, 240px);
}

.site-brand__tagline {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(243,244,244,0.5);
  text-transform: uppercase;
  margin-top: 0.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1) var(--space-2);
}

.site-nav a {
  text-decoration: none;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-gold);
}

.site-nav a:hover {
  color: var(--accent-gold);
}
/* ============================================
   HAMBURGER BUTTON — hidden on desktop
   ============================================ */

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1003;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}

/* Animate to X when open */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   NAV OVERLAY
   ============================================ */

.nav-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: var(--space-2) var(--space-3);
  background: rgba(6, 30, 41, 0.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.nav-overlay.is-open {
  opacity: 1;
   visibility: visible;
  pointer-events: auto;
}

.nav-overlay__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  padding-top: calc(var(--header-h) + 1rem);
  margin-bottom: var(--space-6);
}

.nav-overlay__nav a {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--paper);
  text-align: left;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-overlay__nav a:hover {
  color: var(--accent-gold);
}

.nav-overlay__nav a[aria-current="page"] {
  color: var(--accent-gold);
}
/* ============================================
   CONTAINER
   ============================================ */

.container {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: clamp(0.75rem, 2vw, 1rem);
  box-sizing: border-box;
}
.about__text, .video__text, .contact__form, .painting__right, .painting__left, .hero__content {
  min-width: 0;
}
/* ============================================
   SECTION
   ============================================ */

.section {
  padding: clamp(1.25rem, 4vw, 4rem) 0;
  background: transparent;
}

.section--alt {
  background: var(--ink);
  color: var(--paper);
  padding-top: 1.5rem;
}

.section__title {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 clamp(1rem, 2.5vw, 2.5rem) 0;
  color: var(--accent-gold);
}

.section__title--spaced {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(17,17,17,0.18);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn--primary {
  background: var(--accent-gold);
  color: var(--ink);
  border-color: var(--accent-gold);
}

.btn--primary:hover {
  background: transparent;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  cursor: pointer;
}

.contact__form .btn--primary {
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
}

/* .btn--light {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(243,244,244,0.55);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.08em;
  /* padding: var(--space-1) var(--space-3); */
  /* border-radius: 999px;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
} * */

.btn--light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(243,244,244,0.55);
}

.btn--light:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* .btn--outline {
  display: inline-flex;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(6,30,41,0.35);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
} */
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(6,30,41,0.35);
}
.btn--outline:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.hero .btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(243,244,244,0.5);
}

.hero .btn--ghost:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}


.hero__content .btn,
.hero__actions .btn {
  align-self: center;
}
/* ============================================
   HERO — mobile first
   ============================================ */
.hero {
 
  height: calc(100dvh - var(--header-h));
  background: var(--ink);
  
  
}

.hero__inner {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
}

.hero__image {
  overflow: hidden;
   min-height: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 0;
  box-sizing: border-box;
  background: var(--ink);
  
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.hero__link {
  display: inline-block;
  color: var(--accent-gold);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(188,156,34,0.45);
  padding-bottom: 0.12rem;
}

.hero__link:hover {
  color: var(--text-light);
  border-bottom-color: rgba(243,244,244,0.6);
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
  background: var(--paper);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(6,30,41,0.08);
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  color: var(--accent-gold);
  margin: 0 0 var(--space-1) 0;
  line-height: 1.1;
}

.page-header__pull {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--accent-gold);
  margin: 0;
  line-height: 1.4;
  max-width: 70ch;
}

/* ============================================
   ABOUT SECTION (home) — mobile first
   ============================================ */

#about {
  background: linear-gradient(180deg, #f6f4ef 0%, #f0ede6 100%);
}
#about .btn--outline {
    display: block;
  margin: var(--space-2) auto 0;
  width: fit-content;
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.about__photo {
  width: min(280px, 75vw);
  margin: 0 auto;
}

.about__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about__text {
  max-width: 65ch;
}

.about__text p {
  margin: 0 0 var(--space-2) 0;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-float__photo {
  float: none;
  width: 100%;
  margin: 0 0 var(--space-3) 0;
}

.about-page .container {
  overflow: hidden;
}

.about-quote {
  background: var(--paper);
  padding: var(--space-5) 0 0;
}

.about-quote__text {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--accent-gold);
  margin: 0;
  line-height: 1.4;
  max-width: 70ch;
}

.about-quote__rule {
  border: none;
  border-top: 1px solid rgba(6,30,41,0.12);
  margin: var(--space-3) 0 0;
}

.about-page p {
  text-align: justify;
}

.about-page p + p {
  text-indent: 1.5em;
}

.about-page {
  padding-top: var(--space-4);
}

/* ============================================
   WORK GRID — mobile first
   ============================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
  align-items: start;
}

.grid--home {
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: var(--shadow);
}

.card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 240ms ease;
}

.card:hover .thumb img {
  transform: scale(1.03);
}

.card__meta {
  padding: var(--space-2) var(--space-2) var(--space-3);
}

.card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  font-size: clamp(1.08rem, 0.98rem + 0.45vw, 1.3rem);
  color: var(--paper);
}

.card__sub {
  margin: 0;
  opacity: 0.8;
  font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  color: rgba(243,244,244,0.75);
}

.gallery__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* .paintings-load-more {
  display: flex;
  justify-content: center;
  margin: clamp(2rem, 4vw, 3rem) 0;
} */

.gallery__sub {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  color: rgba(243,244,244,0.55);
  letter-spacing: 0.04em;
  margin: 0 0 var(--space-2) 0;
}

.gallery__divider {
  border: none;
  border-top: 1px solid rgba(243,244,244,0.3);
  margin: var(--space-3) 0;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 0 0;
}

.contact__list li {
  margin: 0.4rem 0;
}

.contact a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact__form {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(17,17,17,0.10);
  border-radius: 18px;
  padding: var(--space-3) var(--space-3) var(--space-4) var(--space-3);
  box-sizing: border-box;
  width: 100%;
}

.contact-centered {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact__intro {
  margin-bottom: var(--space-4);
}

.contact-centered .contact__form {
  text-align: left;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

.field {
  display: grid;
  gap: 0.2rem;
  margin-bottom: var(--space-1);
  width: 100%;
}

.field span {
  font-size: 0.9rem;
  opacity: 0.85;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.6rem 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(6,30,41,0.25);
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}

textarea {
  border: 1px solid rgba(6,30,41,0.18);
  border-radius: 8px;
  background: #fff;
  padding: 0.6rem 0.9rem;
}

input:focus, textarea:focus, select:focus {
  border-bottom-color: var(--accent-gold);
}

.char-counter {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(6,30,41,0.45);
  text-align: right;
  display: block;
}

.field-error {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #c0392b;
  display: block;
  margin-top: 0.3rem;
  min-height: 1rem;
}

.form-note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(6,30,41,0.55);
  margin: 0 0 0.75rem 0;
}

/* ============================================
   FOOTER — mobile first
   ============================================ */

.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-3) 0;
  position: relative;
   /* margin-top: auto; */
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.footer__copy {
  margin: 0;
  font-size: clamp(0.78rem, 1vw, 0.85rem);
  color: rgba(243,244,244,0.5);
}

.footer__links {
  display: flex;
  gap: var(--space-4);
}

.footer__links a {
  text-decoration: none;
  color: rgba(243,244,244,0.5);
  font-size: clamp(0.78rem, 1vw, 0.85rem);
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.footer__links a:hover {
  color: var(--accent-gold);
}

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 24px;
  background: var(--accent-gold);
  color: var(--ink);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, bottom 180ms ease;
  z-index: 9;  
}

.back-to-top:hover {
  opacity: 1;
}

.back-to-top.visible {
  opacity: 0.8;
  pointer-events: auto;
  
}

.back-to-top.near-footer {
  bottom: var(--footer-offset, 80px);
}
/* .back-to-top.stop {
  position: absolute;
  bottom: calc(100% + var(--space-4));
  transform: translateY(-10px);
} */
/* ============================================
   PAINTING PAGE — shared base styles
   Used by all three painting layout files
   ============================================ */

.painting-page {
  background-color: var(--ink);
  flex: 1;
  
}

.painting-page .back-to-top {
  display: none;
}

/* Shared painting text elements */
.painting__back {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.9vw, 0.8rem);
  color: rgba(243,244,244,0.5);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.painting__back:hover {
  color: var(--accent-gold);
}

.painting__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 400;
  color: var(--text-light);
  margin: 0;
}

.painting__specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-0-5) var(--space-2);
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.9vw, 0.8rem);
  margin: 0;
}

.painting__specs dt {
  color: var(--accent-gold);
  font-weight: 400;
}

.painting__specs dd {
  color: var(--text-light);
  margin: 0;
}

.painting__description {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.1vw, 0.9rem);
  line-height: 1.8;
  color: rgba(243,244,244,0.75);
  margin: 0;
  text-align: justify;
}

.painting__enquire-btn {
  align-self: flex-start;
  padding: var(--space-1) var(--space-3);
  font-size: clamp(0.8rem, 1vw, 0.85rem);
}

.painting__nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.painting__nav-btn {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.9vw, 0.8rem);
  color: rgba(243,244,244,0.5);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.painting__nav-btn:hover {
  color: var(--accent-gold);
}

.painting__nav-btn:hover span {
  color: var(--accent-gold);
  opacity: 1;
}

.painting__nav-btn span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 0.2rem;
  transition: color 180ms ease;
}

.painting__nav-divider {
  border: none;
  border-top: 1px solid rgba(243,244,244,0.15);
  margin: var(--space-1) 0;
  width: 100%;
}

/* Shared filmstrip thumbnail size */
.painting__filmstrip a {
  display: block;
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color 180ms ease;
  outline: none;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
}

.painting__filmstrip a:hover {
  border-color: rgba(255,255,255,0.35);
}
.painting__filmstrip a.active-thumb {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.painting__filmstrip img {
   width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  transition: opacity 180ms ease;
  cursor: pointer;
}

.painting__filmstrip img:hover {
  opacity: 1;
}
/* .painting__filmstrip-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243,244,244,0.4);
  margin: 0;
} */
/* ============================================
   RESPONSIVE — shared
   ============================================ */

/* --- 480px --- */
@media (min-width: 480px) {

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__image img {
    object-position: center;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

}

/* --- 600px --- */
@media (min-width: 610px) {
  :root {
    --header-h: 105px;
  }
  .site-header__inner {
    flex-direction: row;
    justify-content: space-between;
    padding-block: var(--space-2);
    padding-inline: clamp(1rem, 2vw, 1.5rem);
  }
  .site-brand__first {
    width: clamp(120px, 16vw, 210px);
  }
  .site-brand__last {
    width: clamp(140px, 18vw, 240px);
  }
  .site-nav {
    justify-content: flex-end;
    gap: 1.6rem;
     display: none;
  }

  .about {
    grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  }

  .about__photo {
    width: 100%;
    max-width: 380px;
    margin: 0;
  }

  .about-float__photo {
    float: left;
    width: clamp(240px, 35%, 420px);
    margin: var(--space-3) var(--space-5) var(--space-2) 0;
  }

}
/* --- Below 610px: show hamburger, hide regular nav --- */
@media (max-width: 609px) {

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    display: flex;

  }
  .section {
    text-align: center;
  }
  .section .btn--outline {
    display: inline-flex;
  }
}

/* --- 768px --- */
@media (min-width: 768px) {


  .painting-page .back-to-top {
    display: none;
  }
}

/* --- 900px --- */
@media (min-width: 900px) {

  .grid,
  .grid--home {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-float__photo {
    width: clamp(280px, 40%, 520px);
  }
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
  }
  .nav-overlay {
    display: none !important;
  }
  
}


/* --- 1024px --- */
@media (min-width: 1024px) {

  .contact {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- 1281px+ --- */
@media (min-width: 1281px) {

  .container {
    width: min(1200px, calc(100% - var(--space-6)));
  }
}
@media (max-height: 620px) {
  .hero__inner {
    grid-template-rows: 1fr 80px;
  }

  .hero__link {
    font-size: 0.82rem;
  }
}

/* --- Landscape phone ---
@media (max-height: 500px) and (orientation: landscape) {

  /* .hero__content {
     flex-basis: 72px;
  }
  .hero__link {
    font-size: 0.82rem;
  }
} */
