/*
Theme Name: Heli Art Studio
Theme URI: https://heliart.com.au
Author: Digital Jump
Author URI: https://www.digitaljump.com.au
Description: A minimal, artistic one-page WordPress theme for Heli Art Studio's pebble art and handmade card portfolio.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: heli-art
*/

:root {
  --ink: #292620;
  --muted: #746e64;
  --cream: #f7f4ed;
  --paper: #fffcf7;
  --sage: #83927c;
  --line: rgba(41, 38, 32, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; height: 102px; padding: 0 4.2vw; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50% 46% 53% 44%; font-family: Georgia, serif; font-size: 22px; font-weight: 400; font-style: italic; text-transform: lowercase; transform: rotate(-7deg); }
.nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 46px); font-size: 12px; letter-spacing: .07em; }
.nav a { transition: opacity .25s ease; }
.nav a:hover { opacity: .55; }
.nav .menu { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 46px); margin: 0; padding: 0; list-style: none; }
.nav-cta { padding: 14px 18px; border: 1px solid var(--ink); display: flex; gap: 22px; align-items: center; }
.menu-button { display: none; }

.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 44% 56%; background: var(--cream); overflow: hidden; }
.hero-copy { z-index: 2; padding: clamp(145px, 19vh, 205px) 4vw 90px 7vw; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow, .section-kicker { margin: 0 0 30px; color: var(--sage); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
h1 { margin: 0; font-size: clamp(62px, 7.2vw, 112px); line-height: .88; }
h1 em, h2 em { color: var(--sage); font-weight: 400; }
.hero-intro { max-width: 415px; margin: 42px 0 34px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.text-link { padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 12px; letter-spacing: .08em; }
.text-link span { margin-left: 48px; }
.hero-image-wrap { position: relative; margin: 0; overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 79% center; transform: scale(1.04); animation: breathe 12s ease-in-out infinite alternate; }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,244,237,.16), transparent 25%); }
.floating-note { position: absolute; z-index: 2; right: 7%; bottom: 10%; width: 118px; height: 118px; border-radius: 50%; background: rgba(255,252,247,.91); display: grid; place-content: center; gap: 7px; text-align: center; font-family: Georgia, serif; font-size: 13px; transform: rotate(5deg); animation: float 5s ease-in-out infinite; }
.tiny-heart { font-size: 22px; }
.scroll-cue { position: absolute; z-index: 4; bottom: 28px; left: 4.2vw; margin: 0; color: var(--muted); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue span { margin-top: 12px; }
.hero-in { opacity: 0; transform: translateY(24px); animation: arrive .9s cubic-bezier(.2,.7,.2,1) forwards; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .28s; }
.delay-3 { animation-delay: .45s; }
@keyframes arrive { to { opacity: 1; transform: translateY(0); } }
@keyframes breathe { to { transform: scale(1.09); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(2deg); } }

.section-pad { padding: clamp(90px, 12vw, 180px) 7vw; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 10vw; }
.intro h2, .feature-copy h2, .occasions h2, .process h2, .contact h2 { margin: 0; font-size: clamp(43px, 5vw, 76px); line-height: 1.08; }
.intro-text { padding-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.intro-text p { margin: 0 0 22px; }
.feature-art { background: #e9e6dc; display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; }
.feature-photo { position: relative; min-height: 680px; overflow: hidden; }
.feature-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.feature-photo:hover img { transform: scale(1.035); }
.photo-label { position: absolute; right: 0; bottom: 0; padding: 17px 22px; background: var(--paper); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.feature-copy > p:not(.section-kicker) { max-width: 430px; margin: 35px 0 45px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.details { max-width: 450px; margin: 0; }
.details div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 100px 1fr; gap: 20px; font-size: 11px; line-height: 1.5; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.occasions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12vw; }
.occasions-heading { position: sticky; top: 110px; align-self: start; }
.occasion { min-height: 132px; display: grid; grid-template-columns: 50px 1fr 28px; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.occasion:last-child { border-bottom: 1px solid var(--line); }
.occasion > span { color: var(--sage); font-family: Georgia, serif; font-style: italic; font-size: 13px; }
.occasion h3 { margin: 0 0 11px; font-family: Georgia, serif; font-weight: 400; font-size: 25px; }
.occasion p { max-width: 410px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.occasion i { font-style: normal; transition: transform .25s ease; }
.occasion:hover i { transform: translate(4px, -4px); }
.process { background: var(--ink); color: var(--paper); }
.process .section-kicker { color: #b7c1ad; }
.process-head { display: flex; justify-content: space-between; align-items: start; }
.process-head h2 { width: 58%; }
.steps { margin-top: 110px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.steps article { padding: 28px 8vw 10px 0; border-right: 1px solid rgba(255,255,255,.18); }
.steps article + article { padding-left: 3vw; }
.steps article:last-child { border-right: 0; }
.steps span { color: #b7c1ad; font-family: Georgia, serif; font-style: italic; font-size: 13px; }
.steps h3 { margin: 47px 0 18px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.steps p { color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.75; }
.contact { position: relative; overflow: hidden; padding: 150px 7vw; background: #f0e5d5; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact > p:not(.section-kicker) { max-width: 460px; margin: 32px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-button { min-width: 280px; padding: 18px 20px; background: var(--ink); color: var(--paper); display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .09em; transition: transform .25s ease, background .25s ease; }
.contact-button:hover { transform: translateY(-3px); background: #4b493f; }
.contact-pebble { position: absolute; top: -48px; right: 7%; width: 130px; height: 100px; display: grid; place-items: center; border-radius: 50% 43% 47% 55%; background: #d6c1a4; color: var(--paper); font-size: 32px; transform: rotate(-18deg); }
footer { padding: 64px 7vw 30px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 35px; align-items: center; background: var(--paper); }
.footer-brand { justify-self: start; }
footer p { color: var(--muted); text-align: center; font-size: 10px; letter-spacing: .08em; }
footer > div { justify-self: end; display: flex; gap: 24px; font-size: 10px; }
footer small { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; text-align: center; }
.digitalJump { grid-column: 1 / -1; justify-self: center; color: var(--muted); font-size: 9px; letter-spacing: .08em; transition: color .25s ease; }
.digitalJump:hover { color: var(--ink); }

/* Portfolio galleries */
.portfolio-galleries { overflow: hidden; background: #f8f5ef; }
.gallery-intro { max-width: 760px; margin-bottom: 90px; }
.gallery-intro h2 { margin: 12px 0 24px; }
.gallery-intro > p:last-child { max-width: 580px; color: var(--muted); }
.gallery-group + .gallery-group { margin-top: 110px; }
.gallery-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; margin-bottom: 35px; }
.gallery-heading h3 { margin: 8px 0 0; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 62px); font-weight: 400; }
.gallery-heading > p { max-width: 460px; margin: 0 0 7px; color: var(--muted); }
.marqueeHolder { width: calc(100% + 14vw); margin-left: -7vw; overflow: hidden; position: relative; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.marqueeTrack { display: flex; width: max-content; gap: 20px; will-change: transform; }
.box { display: flex; gap: 20px; flex-shrink: 0; }
.box img { width: 400px; height: 500px; max-width: 80vw; object-fit: cover; flex-shrink: 0; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.gallery-group-cards .box img { height: 400px; object-fit: contain; background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .marqueeHolder { cursor: grab; }
  .marqueeHolder.is-dragging { cursor: grabbing; }
}
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header { height: 78px; padding: 0 22px; }
  .menu-button { width: 34px; height: 34px; padding: 7px; border: 0; background: transparent; display: grid; align-content: center; gap: 6px; z-index: 22; cursor: pointer; }
  .menu-button span { display: block; height: 1px; background: var(--ink); }
  .nav { position: fixed; inset: 0; padding: 120px 34px 40px; background: var(--cream); flex-direction: column; align-items: flex-start; gap: 28px; font-family: Georgia, serif; font-size: 30px; transform: translateY(-100%); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  .nav .menu { width: 100%; flex-direction: column; align-items: flex-start; gap: 28px; }
  .nav.is-open { transform: translateY(0); }
  .nav-cta { margin-top: auto; width: 100%; font-family: Arial, sans-serif; font-size: 12px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 130px 24px 70px; min-height: 610px; justify-content: center; }
  h1 { font-size: clamp(58px, 16vw, 86px); }
  .hero-image-wrap { height: 72vw; min-height: 390px; }
  .scroll-cue { display: none; }
  .floating-note { width: 94px; height: 94px; right: 5%; bottom: 7%; }
  .section-pad { padding: 95px 24px; }
  .intro-grid, .feature-art, .occasions { grid-template-columns: 1fr; gap: 55px; }
  .intro h2 br { display: none; }
  .feature-photo { min-height: 560px; margin: 0 -24px; }
  .feature-art { gap: 70px; }
  .occasions-heading { position: static; }
  .process-head { display: block; }
  .process-head h2 { width: 100%; }
  .steps { margin-top: 70px; grid-template-columns: 1fr; border-top: 0; }
  .steps article, .steps article + article { padding: 28px 0; border-top: 1px solid rgba(255,255,255,.2); border-right: 0; }
  .steps h3 { margin-top: 24px; }
  .contact { padding: 110px 24px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, footer > div { justify-self: center; }
  footer p { margin: 0; }
	.gallery-intro { margin-bottom: 60px; }
	.gallery-group + .gallery-group { margin-top: 75px; }
	.gallery-heading { grid-template-columns: 1fr; gap: 20px; }
	.box img { width: 78vw; height: 98vw; }
	.gallery-group-cards .box img { height: 78vw; }
}

@media (max-width: 520px) {
  .hero-copy { min-height: 650px; }
  .hero-intro { font-size: 14px; }
  .feature-photo { min-height: 430px; }
  .occasion { grid-template-columns: 34px 1fr 20px; gap: 12px; }
  .contact h2 br { display: none; }
}

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