/* UpperRoom Studios — static rebuild of the Squarespace site.
   Fonts: the original uses Adobe "Obviously Wide" + "Aktiv Grotesk" (licensed through Squarespace).
   Free stand-ins: Unbounded (display) + Inter (body). Swap here if you license the originals. */

:root {
  --green: #91bc7b;
  --black: #000;
  --white: #fff;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
/* clip (not hidden) stops sideways panning on phones without breaking the sticky header */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 300 16px/1.5 var(--body);
  letter-spacing: 0.05em;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: 0; line-height: 1.17; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Sections ---------- */
.sec { position: relative; }
.sec--green { background: var(--green); }
.sec--black { background: var(--black); color: var(--white); }
.sec--white { background: var(--white); }

/* Wavy bottom edge: the next section's color peeks up through an SVG wave */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 80px); margin-top: -1px; }
.wave--line path:last-child { fill: none; stroke: var(--black); stroke-width: 3; vector-effect: non-scaling-stroke; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 500 13px/1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 300px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .85; }
.btn--black { background: var(--black); color: var(--white); }
.btn--green { background: var(--green); color: var(--black); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }

/* ---------- Header ---------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 86px; max-width: none; }
.logo img { width: 54px; height: 54px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-size: 15px; }
.nav a[aria-current="page"], .nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.socials { display: flex; gap: 8px; margin-left: 10px; }
.socials a { width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--black); margin: 6px 0; transition: transform .2s; }

@media (max-width: 800px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 86px 0 0 0; background: var(--white);
    flex-direction: column; justify-content: center; gap: 28px;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s;
  }
  .nav a { font: 500 24px var(--display); }
  .nav.open { transform: none; visibility: visible; transition: transform .3s ease; }
  .socials { margin: 8px 0 0; }
}

/* ---------- Scribbles (stand-ins for Squarespace's hand-drawn text effects) ---------- */
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg { position: absolute; left: -4%; width: 108%; pointer-events: none; overflow: visible; }
.scribble--under svg { bottom: -0.32em; height: 0.45em; }
.scribble--strike svg { top: 0.25em; height: 0.6em; }
.scribble--circle svg { top: -0.35em; height: 1.7em; left: -10%; width: 120%; }
.scribble path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee var(--speed, 30s) linear infinite; }
.marquee__track > * { padding-right: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Home ---------- */
.hero { padding: clamp(80px, 14vw, 170px) 0 40px; }
.hero h1 { font-size: clamp(34px, 5.5vw, 64px); max-width: 11em; margin-bottom: 30px; }
.hero .scribble--circle svg { color: var(--white); }
.hero .scribble--strike svg { color: var(--white); }

.services { padding: 40px 0 60px; }
.services > .wrap > h2 { font-size: clamp(30px, 4.4vw, 50px); color: var(--white); margin-bottom: 80px; }
.services h2 .scribble svg { color: var(--green); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px 12%; max-width: 900px; margin: 0 auto; }
.service { text-align: center; }
.service__media { position: relative; margin-bottom: 40px; }
.service__media > img { width: 100%; aspect-ratio: 300 / 430; object-fit: cover; border-radius: 40px; }
.service__media .dot {
  position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
}
.dot--left-mid { left: -24%; top: 15%; }
.dot--right-bottom { right: -30%; bottom: -10%; }
.dot--right-top { right: -18%; top: 7%; }
.dot--left-bottom { left: -26%; bottom: 10%; }
.service h3 { color: var(--green); font-size: clamp(20px, 2.3vw, 24px); margin-bottom: 20px; }
.service p { font-size: 14px; max-width: 30em; margin: 0 auto 1.4em; }
.service .btn { margin-top: 10px; }
.service--photo { padding-top: 0; }
@media (max-width: 760px) {
  .service-grid { grid-template-columns: 1fr; gap: 70px; max-width: 420px; }
  .service__media { margin: 0 14% 40px; }
  .dot--left-mid, .dot--left-bottom { left: -16%; }
  .dot--right-top, .dot--right-bottom { right: -16%; }
}

.idea { padding: 60px 0 70px; }
.idea h3 { font-size: clamp(20px, 2.6vw, 28px); max-width: 30em; margin: 0 auto 26px; }
.idea p { max-width: 36em; margin: 0 auto; }

.rent { padding: 40px 0 70px; overflow: hidden; }
.rent .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; }
.rent__img { width: 100%; max-width: 360px; justify-self: end; aspect-ratio: 340 / 686; object-fit: cover; }
.rent__arc { position: absolute; left: 0; right: 0; top: 30px; width: 100%; pointer-events: none; }
.rent__arc text { font: 500 64px var(--display); fill: var(--green); }
.rent__copy { text-align: center; position: relative; padding-top: 200px; max-width: 420px; }
.rent__copy strong { font-weight: 700; }
.rent__copy .btn { margin-top: 10px; }
@media (max-width: 760px) {
  .rent .wrap { grid-template-columns: 1fr; }
  .rent__img { justify-self: center; max-width: 280px; }
  .rent__copy { padding-top: 30px; margin: 0 auto; }
  .rent__arc text { font-size: 90px; }
}

/* ---------- Footer: contact form ---------- */
.contact-form { padding: 50px 0 60px; }
.form { max-width: 620px; margin: 0 auto; font-size: 13px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend, .form label { display: block; margin-bottom: 6px; }
.form .req { opacity: .6; margin-left: 4px; font-size: 11px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form input[type=text], .form input[type=email], .form textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 12px; border: 1px solid #000; border-radius: 2px; background: #fafafa;
}
.form textarea { min-height: 100px; resize: vertical; }
.form .field { margin-bottom: 18px; }
.form .check { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.form .check label { margin: 0; }
.form-status { margin-top: 14px; font-weight: 500; }

/* ---------- Footer: subscribe + accordion ---------- */
.footer-bottom { padding: 50px 0 40px; }
.footer-bottom .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 900px; }
.subscribe { text-align: center; }
.subscribe h4 { font-size: 15px; margin-bottom: 14px; }
.subscribe p { font-size: 13px; }
.subscribe form { display: grid; justify-items: center; gap: 18px; margin: 22px 0 12px; }
.subscribe input { width: min(220px, 100%); padding: 12px; border: 1px solid #ddd; font: inherit; font-size: 13px; }
.subscribe .socials { justify-content: center; margin: 0 0 6px; }
.subscribe .socials a { border: 0; width: 22px; height: 22px; }
.subscribe small { font-size: 11px; opacity: .7; }
.accordion details { border-top: 1px solid #000; }
.accordion details:last-child { border-bottom: 1px solid #000; }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font: 500 12px var(--display);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font: 300 22px var(--body); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { padding-bottom: 18px; font-size: 14px; }
@media (max-width: 700px) {
  .footer-bottom .wrap { grid-template-columns: 1fr; gap: 40px; }
  .form .row { grid-template-columns: 1fr; }
}

/* ---------- Portfolio ---------- */
.big-marquee { font: 500 clamp(40px, 6vw, 72px) var(--display); padding: 30px 0 10px; }
.video-sec { padding: 40px 0 80px; }
.video-sec .intro { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; margin-bottom: 70px; }
.video-sec h2 { font-size: clamp(36px, 4.6vw, 52px); }
.video-sec .tagline { font: 500 clamp(16px, 1.8vw, 20px) var(--display); margin-top: 10px; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; padding-bottom: 50px; }
.vid { margin: 0; }
.vid__frame { aspect-ratio: 16 / 9; background: #000; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.vid iframe { width: 100%; height: 100%; display: block; border: 0; }
.vid figcaption { font: 500 12px/1.4 var(--display); margin-top: 12px; letter-spacing: .02em; }
.vid--offset { transform: translateY(50px); }
.reels-title { font-size: clamp(24px, 3vw, 34px); margin: 40px 0 24px; }
.shorts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vid--short .vid__frame { aspect-ratio: 9 / 16; }
.video-sec .note { max-width: 26em; margin: 30px auto 0; text-align: center; font-size: 15px; }
@media (max-width: 760px) {
  .video-sec .intro { grid-template-columns: 1fr; gap: 24px; }
  .video-grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .shorts-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .vid--offset { transform: none; }
}

.photo-sec { padding: 50px 0 80px; }
.photo-sec h2, .brand-sec h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 40px; }
.photo-rows { display: grid; gap: 16px; max-width: 1000px; margin: 0 auto; }
.photo-row { display: flex; gap: 16px; }
.photo-row img { min-width: 0; width: 100%; height: auto; object-fit: cover; }
@media (max-width: 600px) {
  .photo-row { flex-direction: column; }
  .photo-row img { flex: none !important; }
}
.masonry { columns: 3 260px; column-gap: 24px; }
.masonry img { width: 100%; margin-bottom: 24px; break-inside: avoid; }
.masonry--2 { columns: 2 300px; max-width: 960px; margin: 0 auto; }
.brand-sec { padding: 40px 0 60px; }
.brand-sec .framed { width: 100%; max-width: 560px; height: auto; margin: 0 auto; border: 8px solid var(--white); }
.brand-sec h2 .scribble svg { color: var(--black); }

/* ---------- Studio ---------- */
.studio-intro { padding: 100px 0 60px; }
.studio-intro h1 { color: var(--green); font-size: clamp(30px, 4.6vw, 50px); margin-bottom: 26px; }
.studio-intro p { max-width: 30em; margin: 0 auto; }
.studio-cta { padding: 40px 0 80px; }
.studio-cta h3 { font-size: 20px; margin-bottom: 22px; }

/* ---------- Team ---------- */
.team-hero h1 { font-size: clamp(26px, 8.5vw, 104px); text-align: center; padding: 30px 0 0; white-space: nowrap; }
.team-intro { padding: 40px 0 70px; }
.team-intro h3 { font-size: clamp(16px, 2vw, 22px); max-width: 32em; margin: 0 auto 1.2em; }
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px 10%; max-width: 860px; margin: 0 auto; padding-bottom: 80px; }
.member { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.member__photo { width: 224px; aspect-ratio: 1; object-fit: cover; border-radius: 30%; background: #000; margin-bottom: 30px; }
.member__name { width: 100%; background: var(--white); font: 500 20px var(--display); padding: 6px 0; margin-bottom: 18px; }
.member__role { font: 500 14px/1.2 var(--display); color: var(--white); text-transform: uppercase; align-self: center; margin-bottom: 12px; }
.member__bio { background: var(--white); border-radius: 22px; padding: 24px 26px; font-size: 14px; }
.member__bio mark { background: var(--green); padding: 0 2px; }
.team-footer { padding: 40px 0 60px; }
.team-footer p { margin-bottom: 4px; }
.team-footer .socials { justify-content: center; margin: 20px 0 0; }
@media (max-width: 700px) { .team-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.talk { font: 500 clamp(60px, 12vw, 150px) var(--display); padding: 20px 0 0; }
.talk-sub { padding: 20px 0 40px; }
.talk-sub h3 { font-size: clamp(18px, 2vw, 22px); line-height: 2.2; }
