/* ==========================================================================
   ycArt design studio — site stylesheet (2026 refresh)
   ========================================================================== */

:root {
  --teal: #45cde4; /* brand teal (large areas, accents) */
  --teal-ink: #073b64;      /* darker teal for text and buttons (readable) */
  --teal-soft: #ebf3f5;     /* the one light tint used site-wide */
  --hover: #0a7f94;         /* link hover: clearly different from navy, 4.6:1 on white */
  --ink: #2B2D30;
  --muted: #6A6D72;
  --soft: var(--teal-soft); /* same tint everywhere */
  --white: #FFFFFF;
  --head: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Source Sans 3', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
  --bar: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 4px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 12px); }
body {
  margin: 0;
  font: 400 17px/1.7 var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--hover); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal-ink); outline-offset: 3px;
}
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0 0 .6em; line-height: 1.2; }
h1 { font-weight: 300; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); letter-spacing: .01em; }
h2 { font-weight: 400; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); }
h3 { font-weight: 500; font-size: 1.15rem; }
.eyebrow {
  display: block;
  font: 600 .78rem/1.4 var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin: 0 0 .8em;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.measure { max-width: 720px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--bar);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  transition: box-shadow .3s var(--ease);
}
.is-scrolled .site-header { box-shadow: 0 2px 18px rgba(0, 0, 0, .06); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; line-height: 0; position: relative; z-index: 3; }
.brand img { width: 150px; height: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.site-nav a {
  font: 500 .8rem/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  display: inline-block;
}
.site-nav a[aria-current="page"] { color: var(--teal-ink); }
.site-nav a:hover { color: var(--hover); }
.nav-foot { display: none; }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: 600 .82rem/1 var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 0; border-radius: var(--radius);
  background: var(--teal-ink); color: var(--white);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn--soft { background: var(--teal-soft); color: var(--teal-ink); }
.btn--soft:hover { background: var(--teal-ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--teal-ink); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.btn--clear { background: var(--teal-ink); color: var(--white); }
.btn--clear:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- page structure ---------- */
.page-head { padding: 72px 0 24px; }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0; }
.page-head .lead--wide { max-width: none; }
.section { padding: 56px 0; }
.section--soft { background: var(--soft); }
.section + .section--soft, .section--soft + .section { margin-top: 0; }
.section h2 { margin-bottom: .9em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ---------- home ---------- */
.hero {
  background: var(--teal);
  color: var(--white);
  min-height: min(72vh, 680px);
  display: flex; align-items: center;
  text-align: center;
  padding: 80px 0;
}
.hero .wrap { width: 100%; }
.hero h1 { color: var(--white); font-weight: 300; font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.6rem); letter-spacing: .02em; margin-bottom: .25em; }
.hero p { font-size: 1.2rem; max-width: 560px; margin: 0 auto 2em; }
.services-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; }
.services-list li { font-size: 1.02rem; }
.services-list a { color: var(--ink); }
.services-list a:hover { color: var(--hover); }
.work-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.work-strip a { display: block; flex: 0 0 calc((100% - 48px) / 4); border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.work-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.work-strip a:hover img { transform: scale(1.04); }

/* ---------- services ---------- */
.card { background: var(--soft); border-radius: var(--radius); padding: 30px 28px; }
.card h2 { font-size: 1.25rem; margin-bottom: .8em; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card li { padding: 3px 0; line-height: 1.2; }
.badge-note { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.badge-note img { width: 96px; }

/* ---------- clients ---------- */
.client-cols { columns: 3 280px; column-gap: 48px; }
.client-cols .item { break-inside: avoid; margin: 0 0 28px; }
.client-cols .item p { margin: 0; font-size: .96rem; line-height: 1.45; }
.client-cols .past p { font-size: .88rem; line-height: 1.4; }
.client-cols .client-title {
  display: block;
  font: 600 .78rem/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-ink); margin-bottom: .5em;
}
.client-cols a { color: var(--ink); font-weight: 600; }
.client-cols a:hover { color: var(--hover); }
.albums .item p { font-size: .96rem; color: var(--muted); }
.albums .item p a:first-child { display: inline-block; margin-bottom: 2px; }

/* ---------- portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 8px 0 34px; padding: 0; list-style: none; }
.filters button {
  font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--muted);
  transition: color .2s var(--ease);
}
.filters button[aria-pressed="true"] { color: var(--teal-ink); }
.filters button:hover { color: var(--hover); }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 24px; margin: 0; padding: 0; list-style: none; }
.work { margin: 0; }
.work[hidden] { display: none; }
.work a { display: block; color: var(--ink); }
.work .frame { display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); aspect-ratio: 4 / 3; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.work a:hover img { transform: scale(1.035); }
.work .cap { display: block; margin-top: 12px; font-size: .98rem; line-height: 1.4; }
.work .meta { display: block; margin-top: 3px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.works-note { margin-top: 56px; color: var(--muted); font-size: .95rem; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(24, 26, 28, .96); color: #fff;
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox.is-visible { opacity: 1; }
.lightbox::backdrop { background: transparent; }
.lb-stage { flex: 1; overflow: auto; display: flex; justify-content: center; align-items: flex-start; padding: 64px 72px 16px; -webkit-overflow-scrolling: touch; }
.lb-stage img { max-width: min(100%, 1000px); width: auto; height: auto; margin: auto; border-radius: 2px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.lb-stage img.fit { max-width: min(100%, 1400px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); margin: auto; }
.lb-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 14px 72px 22px; font-size: .95rem; }
.lb-bar a { color: var(--teal); }
.lb-bar a:hover { color: #fff; }
.lb-count { color: rgba(255, 255, 255, .55); font-size: .85rem; letter-spacing: .08em; white-space: nowrap; }
.lb-btn {
  position: absolute; z-index: 2; background: none; border: 0; color: rgba(255, 255, 255, .8);
  font: 200 2.6rem/1 var(--head); cursor: pointer; padding: 10px 16px; transition: color .2s;
}
.lb-btn:hover { color: #fff; }
.lb-close { top: 8px; right: 12px; font-size: 2.2rem; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-btn[hidden] { display: none; }
body.lb-open { overflow: hidden; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.info-block { margin-bottom: 30px; }
.info-block p { margin: 0; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.form { display: grid; gap: 20px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  font: 400 16px/1.5 var(--body); color: var(--ink);
  background: var(--soft);
  border: 1px solid transparent; border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color .2s, background-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--teal); }
.field textarea { min-height: 150px; resize: vertical; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.choices label { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; cursor: pointer; }
.choices input { width: 18px; height: 18px; accent-color: var(--teal-ink); margin: 0; flex: none; }
.form .small { font-size: .88rem; color: var(--muted); margin: 0; }
.cf-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-status { padding: 12px 16px; border-radius: var(--radius); font-size: .95rem; }
.cf-status.cf-error { background: #FDF0EE; color: #8A2A1B; }
.cf-status.cf-info { background: var(--teal-soft); color: var(--teal-ink); }
.cf-status ul { margin: 6px 0 0 18px; padding: 0; }
.cf-status a { color: inherit; text-decoration: underline; }
#cf-submit[disabled] { opacity: .6; cursor: wait; }
.cf-done { padding: 28px 30px; background: var(--teal-soft); border-radius: var(--radius); }
.cf-done h3 { color: var(--teal-ink); margin-bottom: .4em; }
.cf-done:focus { outline: none; }

/* ---------- payments ---------- */
.pay-box { background: var(--soft); border-radius: var(--radius); padding: 32px; }
.pay-box form { margin: 18px 0; }
.pay-box input[type="image"] { max-width: 220px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 72px; padding: 36px 0 44px; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--hover); }
.page-home .site-footer { margin-top: 0; }

/* ---------- reveal on scroll (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Tablet + phone
   ========================================================================== */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .work-strip a { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 900px) {
  :root { --bar: 72px; }
  .brand img { width: 124px; }

  /* hamburger -> X */
  .nav-toggle {
    display: block; position: relative; z-index: 3;
    width: 46px; height: 46px; margin-right: -10px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle span {
    position: absolute; left: 12px; width: 22px; height: 1.5px; border-radius: 2px; background: var(--ink);
    transition: transform .45s var(--ease), opacity .3s var(--ease), top .45s var(--ease), width .45s var(--ease), left .45s var(--ease);
  }
  .nav-toggle span:nth-child(1) { top: 16px; }
  .nav-toggle span:nth-child(2) { top: 22.5px; width: 15px; left: 19px; }
  .nav-toggle span:nth-child(3) { top: 29px; }
  .nav-open .nav-toggle span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: translateX(8px); }
  .nav-open .nav-toggle span:nth-child(3) { top: 22.5px; transform: rotate(-45deg); }

  /* full-screen menu */
  .site-nav {
    position: fixed; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: calc(var(--bar) + 10px) 24px 120px;
    background: var(--white);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 4px; }
  .site-nav li { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
  .nav-open .site-nav li { opacity: 1; transform: none; }
  .nav-open .site-nav li:nth-child(1) { transition-delay: .08s; }
  .nav-open .site-nav li:nth-child(2) { transition-delay: .13s; }
  .nav-open .site-nav li:nth-child(3) { transition-delay: .18s; }
  .nav-open .site-nav li:nth-child(4) { transition-delay: .23s; }
  .nav-open .site-nav li:nth-child(5) { transition-delay: .28s; }
  .nav-open .site-nav li:nth-child(6) { transition-delay: .33s; }
  .site-nav ul a { font: 300 1.55rem/1.2 var(--head); letter-spacing: .14em; padding: 11px 6px; }
  .nav-foot {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 20px 24px calc(26px + env(safe-area-inset-bottom));
    font-size: .88rem;
    opacity: 0; transition: opacity .5s var(--ease);
  }
  .nav-open .nav-foot { opacity: 1; transition-delay: .35s; }
  .nav-foot .social { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
  .nav-foot a { color: var(--muted); font: 400 .88rem/1.4 var(--body); letter-spacing: .04em; text-transform: none; padding: 0; }
  .nav-open, .nav-open body { overflow: hidden; }
  .nav-open .site-header { box-shadow: none; background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (max-width: 900px) and (max-height: 480px) {
  .site-nav { justify-content: flex-start; padding-bottom: 90px; }
  .site-nav ul a { font-size: 1.15rem; padding: 6px; }
}

@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 20px; }
  .page-head { padding: 44px 0 12px; }
  .section { padding: 40px 0; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .services-list { grid-template-columns: 1fr 1fr; }
  .form .row-2, .choices { grid-template-columns: 1fr; }
  .choices label { padding: 3px 0; }
  #cf-submit { width: 100%; }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .work .cap { font-size: .92rem; overflow-wrap: anywhere; }
  .info-block p { overflow-wrap: anywhere; }
  .filters { gap: 2px 18px; margin-bottom: 24px; }
  .lb-stage { padding: 56px 10px 10px; }
  .lb-bar { padding: 10px 16px 18px; flex-direction: column; gap: 4px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; font-size: 2.2rem; }
  .lb-prev { left: auto; right: 64px; }
  .site-footer .wrap { flex-direction: column; }
  .hero { min-height: 0; padding: 88px 0 80px; }
}

@media (max-width: 380px) {
  /* reCAPTCHA is a fixed 304px: give it a smaller box and scale it to fit */
  .g-recaptcha { width: 260px; height: 67px; transform: scale(.855); transform-origin: 0 0; }
  .site-nav ul a { font-size: 1.35rem; letter-spacing: .1em; }
}

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