/* ═══════════════════════════════════════════════════════
   Artistic Touch Painting — Whidbey Island, WA
   Stylesheet · 2026
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --deep-water: #2c3e4f;
  --sound-slate: #4a6274;
  --fog-white: #f2ede6;
  --cedar-warm: #b5742a;
  --cedar-light: #d4956a;
  --shore-stone: #8a8478;
  --tide-green: #5a7a6a;
  --near-white: #faf7f2;
  --ink: #1e2a30;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--near-white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ── SCROLL REVEAL ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── NAVIGATION ── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 48px;
  box-shadow: 0 1px 0 rgba(138, 132, 120, 0.12);
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  transition: color 0.4s ease;
}

.nav-wordmark .wm-line1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.nav-wordmark .wm-line2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav color states */
.site-nav:not(.scrolled) .nav-wordmark .wm-line1 { color: var(--fog-white); }
.site-nav:not(.scrolled) .nav-wordmark .wm-line2 { color: var(--cedar-light); }
.site-nav.scrolled .nav-wordmark .wm-line1 { color: var(--deep-water); }
.site-nav.scrolled .nav-wordmark .wm-line2 { color: var(--cedar-warm); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cedar-warm);
  transition: width 0.3s ease;
}

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

.site-nav:not(.scrolled) .nav-links a { color: rgba(242, 237, 230, 0.7); }
.site-nav:not(.scrolled) .nav-links a:hover { color: var(--fog-white); }
.site-nav.scrolled .nav-links a { color: var(--shore-stone); }
.site-nav.scrolled .nav-links a:hover { color: var(--deep-water); }

.nav-phone {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.nav-phone .phone-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -1px;
  opacity: 0.6;
}

/* Light nav variant for pages with light headers */
.site-nav.nav-light:not(.scrolled) .nav-wordmark .wm-line1 { color: var(--deep-water); }
.site-nav.nav-light:not(.scrolled) .nav-wordmark .wm-line2 { color: var(--cedar-warm); }
.site-nav.nav-light:not(.scrolled) .nav-links a { color: var(--shore-stone); }
.site-nav.nav-light:not(.scrolled) .nav-links a:hover { color: var(--deep-water); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--fog-white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.site-nav.scrolled .nav-toggle span,
.site-nav.nav-light:not(.scrolled) .nav-toggle span {
  background: var(--deep-water);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── HERO ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 80px 48px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(44, 62, 79, 0.3) 0%, rgba(44, 62, 79, 0.15) 40%, rgba(44, 62, 79, 0.6) 70%, rgba(44, 62, 79, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-bottom: 40px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  color: var(--fog-white);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero .hero-sub {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  color: rgba(242, 237, 230, 0.7);
  max-width: 540px;
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: var(--cedar-warm);
  margin-top: 32px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(242, 237, 230, 0.4);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(242, 237, 230, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cedar-warm);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { top: -100%; }
  50%  { top: 100%; }
  100% { top: 100%; }
}

/* ── PAGE HEADER (Work, About) ── */

.page-header {
  padding: 160px 48px 80px;
  background: var(--near-white);
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--deep-water);
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-header .page-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shore-stone);
}

.page-header-rule {
  width: 48px;
  height: 1px;
  background: var(--cedar-warm);
  margin-top: 32px;
}

/* ── SECTION UTILITIES ── */

.section-pad {
  padding: 96px 48px;
}

.section-pad-lg {
  padding: 120px 48px;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cedar-warm);
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--deep-water);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(138, 132, 120, 0.15);
}

/* ── ABOUT BLURB (Home) ── */

.about-blurb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-blurb-text p {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 24px;
}

.about-blurb-text .about-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cedar-warm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.about-blurb-text .about-link:hover {
  gap: 14px;
}

.about-blurb-text .about-link .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.about-blurb-image {
  position: relative;
}

.about-blurb-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-blurb-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(181, 116, 42, 0.2);
  z-index: -1;
}

/* ── REVIEWS ── */

.reviews-section {
  background: var(--deep-water);
  color: var(--fog-white);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(74, 98, 116, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 0% 0%, rgba(90, 122, 106, 0.2) 0%, transparent 50%);
}

.reviews-section > * {
  position: relative;
  z-index: 1;
}

.reviews-section .section-label {
  color: var(--cedar-light);
}

.reviews-section .section-title {
  color: var(--fog-white);
}

.reviews-track-wrapper {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: rgba(242, 237, 230, 0.06);
  border: 1px solid rgba(242, 237, 230, 0.08);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}

.review-card:hover {
  background: rgba(242, 237, 230, 0.1);
}

.review-stars {
  color: var(--cedar-light);
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.review-card blockquote {
  font-family: 'Libre Baskerville', serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.75;
  color: rgba(242, 237, 230, 0.85);
  flex: 1;
}

.review-card cite {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(242, 237, 230, 0.4);
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 237, 230, 0.08);
}

.reviews-fade-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 16px;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--deep-water));
  pointer-events: none;
  z-index: 2;
}

.reviews-cta {
  margin-top: 40px;
}

.reviews-cta a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cedar-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.reviews-cta a:hover {
  gap: 14px;
}

/* ── CONTACT BLOCK ── */

.contact-block {
  background: var(--fog-white);
  text-align: center;
}

.contact-block h2 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--deep-water);
  margin-bottom: 32px;
}

.contact-block-rule {
  width: 48px;
  height: 1px;
  background: var(--cedar-warm);
  margin: 0 auto 32px;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.contact-details a {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--deep-water);
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--cedar-warm);
}

.contact-serving {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shore-stone);
}

/* ── FOOTER ── */

.site-footer {
  background: var(--ink);
  color: rgba(242, 237, 230, 0.35);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-location {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer-center {
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.footer-center a {
  transition: color 0.3s ease;
}

.footer-center a:hover {
  color: rgba(242, 237, 230, 0.7);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
}

.footer-right a {
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: rgba(242, 237, 230, 0.7);
}

.footer-copyright {
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ── WORK PAGE — GALLERY SECTIONS ── */

.work-section {
  border-bottom: 1px solid rgba(138, 132, 120, 0.12);
}

.work-section-header {
  margin-bottom: 40px;
}

.work-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 36px);
  color: var(--deep-water);
}

.work-gallery {
  display: grid;
  gap: 16px;
}

.work-gallery-3 {
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
}

.work-gallery-3 .gallery-item:first-child {
  grid-row: 1 / 3;
}

.work-gallery-4 {
  grid-template-columns: 1fr 1fr;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item-caption {
  display: none;
}

/* Masonry-style gallery for many photos */
.work-gallery-masonry {
  columns: 3;
  column-gap: 12px;
}

.work-gallery-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 2px;
  overflow: hidden;
}

.work-gallery-masonry .gallery-item img {
  width: 100%;
  height: auto;
}

/* Gallery layout: 6 images */
.work-gallery-6 {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
}

/* Fixed height for gallery items */
.gallery-item-tall {
  height: 560px;
}

.gallery-item-short {
  height: 270px;
}

.gallery-item-med {
  height: 400px;
}

/* ── ABOUT PAGE ── */

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 28px;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.about-sign {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--deep-water);
  margin-top: 32px;
}

.about-portrait {
  position: sticky;
  top: 120px;
}

.about-portrait img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

.about-portrait-caption {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--shore-stone);
  margin-top: 16px;
}

/* About page reviews — light background variant */
.reviews-light {
  background: var(--fog-white);
}

.reviews-light .section-title {
  color: var(--deep-water);
}

.reviews-light .review-card {
  background: var(--near-white);
  border: 1px solid rgba(138, 132, 120, 0.12);
}

.reviews-light .review-card:hover {
  background: #fff;
}

.reviews-light .review-card blockquote {
  color: var(--ink);
  font-style: italic;
}

.reviews-light .review-card cite {
  color: var(--shore-stone);
  border-top-color: rgba(138, 132, 120, 0.12);
}

.reviews-light .reviews-fade-right {
  background: linear-gradient(to right, transparent, var(--fog-white));
}

.reviews-light .reviews-cta a {
  color: var(--cedar-warm);
}

/* Instagram callout */
.instagram-callout {
  text-align: center;
  padding: 64px 48px;
  background: var(--near-white);
  border-top: 1px solid rgba(138, 132, 120, 0.12);
}

.instagram-callout p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--shore-stone);
}

.instagram-callout a {
  color: var(--cedar-warm);
  transition: color 0.3s ease;
}

.instagram-callout a:hover {
  color: var(--deep-water);
}

/* ── ATMOSPHERIC IMAGE BAND ── */

.atmo-band {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--near-white);
}

.atmo-band img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 50vh;
  object-fit: contain;
}

.atmo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--near-white) 0%,
    transparent 12%,
    transparent 88%,
    var(--near-white) 100%
  );
  pointer-events: none;
}

.atmo-band-dark::after {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 85%,
    var(--deep-water) 100%
  );
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .site-nav {
    padding: 20px 24px;
  }

  .site-nav.scrolled {
    padding: 14px 24px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--near-white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 32px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--deep-water) !important;
    font-size: 15px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 24px;
    min-height: 90vh;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-scroll {
    display: none;
  }

  .section-pad {
    padding: 64px 24px;
  }

  .section-pad-lg {
    padding: 80px 24px;
  }

  .page-header {
    padding: 120px 24px 60px;
  }

  .about-blurb {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-blurb-image {
    order: -1;
  }

  .about-blurb-image img {
    height: 320px;
  }

  .about-blurb-image::after {
    display: none;
  }

  .review-card {
    flex: 0 0 300px;
  }

  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .site-footer {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-right {
    align-items: flex-start;
  }

  .work-gallery-3,
  .work-gallery-4,
  .work-gallery-6 {
    grid-template-columns: 1fr;
  }

  .work-gallery-masonry {
    columns: 2;
  }

  .work-gallery-3 .gallery-item:first-child {
    grid-row: auto;
  }

  .gallery-item-tall,
  .gallery-item-short,
  .gallery-item-med {
    height: 280px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-portrait {
    position: relative;
    top: auto;
    order: -1;
  }

  .atmo-band {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .work-gallery-masonry {
    columns: 1;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 26px;
  }

  .page-header h1 {
    font-size: 36px;
  }

  .review-card {
    flex: 0 0 260px;
    padding: 28px 24px;
  }

  .gallery-item-tall,
  .gallery-item-short,
  .gallery-item-med {
    height: 220px;
  }
}
