/* Layer Up Studio — design system carried over from the studio's first site:
   paper / ink / green / lime / coral, Playfair Display + DM Sans + DM Mono. */

:root {
  --paper: #f4f2ec;
  --ink: #18201a;
  --green: #155a45;
  --green-dark: #0c4333;
  --lime: #dbef7a;
  --coral: #ee755d;
  --muted: #657168;
  --body: #536056;
  --line: #d7d9ce;
  --white: #fffdf8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.wrap { width: min(1240px, calc(100% - 64px)); margin: auto; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .11em; text-transform: uppercase; margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 20; }

/* ---------- Header ---------- */
.site-header { min-height: 82px; display: flex; align-items: center; border-bottom: 1px solid var(--line); position: relative; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; gap: 11px; align-items: center; font-size: 17px; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.brand small { font: 10px var(--mono); color: #64736a; letter-spacing: .02em; }
.brand-mark { width: 29px; height: 29px; background: var(--green); border-radius: 50%; display: grid; place-items: center; color: var(--lime); font: 700 17px var(--serif); transform: rotate(-12deg); flex: none; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav-links a:not(.nav-cta) { color: #445148; }
.nav-links a:not(.nav-cta):hover, .nav-links a[aria-current="page"] { color: var(--green); }
.nav-links a[aria-current="page"] { box-shadow: 0 1px 0 var(--green); }
.nav-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  background: var(--green); color: #fff; padding: 13px 19px; border-radius: 3px; font-size: 14px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.nav-cta:hover, .button:hover { background: var(--green-dark); transform: translateY(-2px); }
.button.light { background: var(--white); color: var(--ink); }
.button.light:hover { background: var(--lime); }
.menu-btn { display: none; background: none; border: 0; font-size: 14px; color: var(--ink); cursor: pointer; padding: 8px 0; }
.text-link { font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--green); padding: 0 0 3px; }
.text-link:hover { color: var(--green); }

/* ---------- Hero ---------- */
.hero { padding: 78px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hero-copy { max-width: 600px; }
.hero .eyebrow { color: var(--green); margin: 0 0 24px; }
.hero h1 { font: 700 clamp(52px, 7vw, 88px)/.99 var(--serif); letter-spacing: -.055em; margin: 0 0 25px; }
.hero h1 em { color: var(--green); font-weight: 600; }
.hero-copy > p { max-width: 495px; color: var(--body); font-size: 18px; line-height: 1.65; margin: 0 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.social-proof { display: flex; gap: 12px; align-items: center; margin-top: 40px; color: #667168; font: 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.proof-dots { display: flex; }
.proof-dots i { display: block; width: 24px; height: 24px; border: 2px solid var(--paper); border-radius: 50%; margin-left: -6px; }
.proof-dots i:first-child { margin-left: 0; background: #d1a891; }
.proof-dots i:nth-child(2) { background: #a9bd86; }
.proof-dots i:nth-child(3) { background: #e89b72; }
.proof-dots i:nth-child(4) { background: #849eac; }

.hero-art { position: relative; min-height: 520px; display: flex; justify-content: center; align-items: center; }
.sun { position: absolute; width: 368px; height: 368px; border-radius: 50%; background: var(--lime); right: 5%; top: 8%; opacity: .9; }
.hero-note {
  position: absolute; z-index: 3; right: 0; top: 2%; width: 135px; height: 135px; border-radius: 50%;
  background: var(--coral); color: #fff; display: grid; place-content: center; text-align: center;
  font: italic 17px/1.2 var(--serif); transform: rotate(10deg);
}
.hero-note span { font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-top: 7px; }
.mock-phone { position: relative; z-index: 2; width: 252px; height: 486px; padding: 9px; border: 1px solid #242923; border-radius: 31px; background: #1c211d; box-shadow: 0 28px 56px #15221b33; transform: rotate(-5deg); }
.phone-screen { height: 100%; border-radius: 23px; background: #f9f7f0; overflow: hidden; position: relative; }
.phone-top { height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; font-size: 8px; font-weight: 700; }
.story-head { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 9px; font-weight: 700; }
.story-avatar { width: 25px; height: 25px; border: 2px solid #ed8a64; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green); font: 11px var(--serif); }
.story-label { margin-left: auto; font: 8px var(--mono); color: #7b837a; }
.story-art { height: 300px; position: relative; overflow: hidden; }
.story-art img { width: 100%; height: 100%; object-fit: cover; }
.phone-icons { padding: 9px 13px 0; display: flex; gap: 9px; font-size: 14px; }
.phone-icons b { margin-left: auto; font-size: 12px; }
.phone-caption { padding: 8px 14px; font-size: 9px; color: #535a51; }
.floating-card { position: absolute; z-index: 4; left: 1%; bottom: 8%; width: 175px; padding: 14px 16px; background: var(--white); box-shadow: 0 12px 28px #19281d1a; transform: rotate(5deg); }
.floating-card .eyebrow { color: var(--green); font-size: 9px; }
.floating-card p { font: italic 20px/1.12 var(--serif); margin: 8px 0 0; }
.floating-card span { color: var(--coral); }

/* ---------- Marquee ---------- */
.marquee { background: var(--green); color: #f8f6ee; padding: 16px 0; overflow: hidden; white-space: nowrap; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.marquee-inner { display: flex; justify-content: space-around; align-items: center; gap: 28px; }
.marquee b { color: var(--lime); font-size: 17px; font-weight: 400; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section.tint { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--green); }
.section-head h2 { font: 600 clamp(38px, 5vw, 59px)/1.04 var(--serif); letter-spacing: -.04em; max-width: 640px; margin: 13px 0 0; }
.section-head h2 em { color: var(--green); }
.section-head > p { max-width: 330px; color: var(--muted); margin: 0 0 5px; }

/* Brand cards (from the "work" cards) */
.work-grid { display: grid; grid-template-columns: 1.14fr .86fr .86fr; gap: 17px; }
.work-card { min-height: 430px; position: relative; padding: 19px; overflow: hidden; background: #e0edcb; display: block; }
.work-card:nth-child(2) { background: #f1d3bf; }
.work-card:nth-child(3) { background: #cadbe0; }
.work-card.has-image { color: #fff; background: #2a2622; }
.work-card.has-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-card.has-image:hover > img { transform: scale(1.03); }
.work-card.has-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000004d 0, #0000 28%, #0000 55%, #000000a6 100%); }
.work-kicker { position: relative; z-index: 2; display: flex; justify-content: space-between; font: 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.work-kicker span:last-child { opacity: .75; }
.work-art { position: absolute; inset: 57px 16px 57px; display: grid; place-items: center; }
.work-card strong { position: absolute; z-index: 2; bottom: 19px; left: 19px; right: 19px; font: italic 24px var(--serif); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.work-card strong span { font: 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; font-style: normal; }
.serum { width: 100px; height: 192px; background: linear-gradient(90deg, #b6693f, #e5ac70 43%, #c77644); border-radius: 22px 22px 15px 15px; position: relative; box-shadow: 0 18px 22px #50321c35; transform: rotate(8deg); }
.serum:before { content: ""; position: absolute; top: -34px; left: 34px; width: 33px; height: 38px; background: #313e35; border-radius: 5px 5px 2px 2px; }
.serum:after { content: "LAYER UP\A BEAUTY"; white-space: pre; position: absolute; top: 71px; left: 0; right: 0; text-align: center; color: #fff5dc; font: 13px/1.05 var(--serif); }
.mug { width: 164px; height: 166px; background: #fff8e8; border-radius: 18px 18px 54px 54px; position: relative; display: grid; place-items: center; box-shadow: 0 17px 20px #34465030; transform: rotate(-7deg); }
.mug:before { content: ""; width: 75px; height: 83px; border: 15px solid #fff8e8; border-radius: 50%; position: absolute; right: -51px; top: 34px; z-index: -1; }
.mug span { font: italic 20px/1.1 var(--serif); color: #607d87; text-align: center; }
.stats-row { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.stats-row div { font: 11px var(--mono); letter-spacing: .03em; text-transform: uppercase; color: #68746b; }
.stats-row b { display: block; font: 600 18px var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 3px; }

/* Pin gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.gallery figure { margin: 0; background: #f6f5ef; border: 1px solid #e1e2d9; }
.gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.gallery figcaption { padding: 12px 14px 14px; font: 11px/1.45 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: #667168; }
.gallery-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Services (green band) */
.services { background: var(--green); color: #f7f5ed; }
.services .section-head h2 em { color: var(--lime); }
.services .section-head .eyebrow { color: #cadba5; }
.services .section-head > p { color: #d1dbd3; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #ffffff45; }
.service { padding: 26px 26px 4px 0; min-height: 233px; }
.service + .service { border-left: 1px solid #ffffff45; padding-left: 26px; }
.service-index { color: var(--lime); font: 11px var(--mono); }
.service h3 { font: 600 25px var(--serif); margin: 28px 0 11px; }
.service p { color: #d1dbd3; font-size: 15px; max-width: 310px; margin: 0; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.service-tags span { font: 10px var(--mono); border: 1px solid #ffffff45; border-radius: 99px; padding: 5px 8px; color: #e8eee7; }

/* Process */
.process-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.process-intro .eyebrow { color: var(--green); }
.process-intro h2 { font: 600 clamp(38px, 5vw, 59px)/1.04 var(--serif); letter-spacing: -.04em; margin: 12px 0 18px; }
.process-intro p { color: var(--muted); max-width: 360px; }
.process-list { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 52px 1fr; gap: 13px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-no { font: 12px var(--mono); color: var(--green); padding-top: 3px; }
.process-step h3 { font: 600 21px var(--serif); margin: 0 0 4px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; max-width: 510px; }

/* Contact band (coral) */
.contact { background: var(--coral); padding: 86px 0; color: #fffaf4; }
.contact-grid { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.contact h2 { font: 600 clamp(40px, 5vw, 64px)/1 var(--serif); letter-spacing: -.045em; margin: 11px 0; }
.contact p { max-width: 460px; color: #fff1e9; margin: 0; }
.contact .eyebrow { color: #482d23; }
.contact .button { background: var(--ink); white-space: nowrap; }
.contact .button:hover { background: #29382f; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 72px 0 40px; }
.brand-logo { width: 150px; height: auto; margin-bottom: 22px; }
.brand-chip { position: relative; z-index: 2; display: inline-flex; margin-top: 14px; padding: 9px 12px; border-radius: 999px; background: #f4ede3; }
.brand-chip img { width: 58px; height: auto; }
.page-hero .eyebrow { color: var(--green); margin-bottom: 20px; }
.page-hero h1 { font: 700 clamp(44px, 6vw, 72px)/1 var(--serif); letter-spacing: -.05em; margin: 0 0 20px; max-width: 900px; }
.page-hero h1 em { color: var(--green); font-weight: 600; }
.page-hero .lead { max-width: 620px; color: var(--body); font-size: 18px; line-height: 1.65; margin: 0; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.split ul { padding-left: 18px; color: var(--body); margin: 22px 0 0; }
.split li + li { margin-top: 6px; }
.split li strong { color: var(--ink); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 500px; justify-self: end; }
.photo-pair img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.photo-pair img:nth-child(2) { margin-top: 44px; }
.brand-intro { align-items: end; }
.brand-intro ul { margin-top: 0; }
.photo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 44px; }
.photo-trio figure { margin: 0; }
.photo-trio img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.photo-trio figcaption { margin-top: 10px; font: 11px/1.45 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: #667168; }

.prose { max-width: 720px; padding-bottom: 96px; color: #3d4941; font-size: 16px; line-height: 1.75; }
.prose h2 { font: 600 28px/1.15 var(--serif); letter-spacing: -.02em; color: var(--ink); margin: 44px 0 12px; }
.prose ul { padding-left: 18px; }
.prose a { border-bottom: 1px solid var(--green); color: var(--ink); }
.prose a:hover { color: var(--green); }
.prose .meta { font: 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.note { background: var(--white); border-left: 3px solid var(--green); padding: 18px 20px; margin: 24px 0; box-shadow: 0 10px 26px #203d2210; }

.story { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.story.flip { grid-template-columns: 1fr 360px; }
.story.flip .story-img { order: 2; }
.story-img img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.story .eyebrow { color: var(--green); }
.story h2 { font: 600 clamp(30px, 4vw, 44px)/1.06 var(--serif); letter-spacing: -.035em; margin: 12px 0 14px; }
.story p { color: var(--body); margin: 0 0 14px; }
.story ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.story ol li { display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); color: #3d4941; font-size: 15px; }
.story ol li span { font: 12px var(--mono); color: var(--green); padding-top: 3px; }

.form { display: grid; gap: 16px; max-width: 620px; background: var(--white); padding: 30px; box-shadow: 0 14px 35px #203d2214; }
.form label { display: grid; gap: 7px; font: 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #526258; }
.form input, .form textarea { font: 16px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; width: 100%; text-transform: none; letter-spacing: 0; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: transparent; }
.form textarea { min-height: 160px; resize: vertical; }
.form .button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-aside { font: 11px/1.6 var(--mono); color: var(--muted); margin: 18px 0 0; }
.form-aside a { border-bottom: 1px solid var(--green); }

/* ---------- Footer ---------- */
.footer { padding: 36px 0 40px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px 40px; color: #667168; font-size: 13px; }
.footer .brand { color: var(--ink); font-size: 14px; margin-bottom: 12px; }
.footer p { margin: 0 0 8px; max-width: 520px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: #445148; align-content: start; }
.footer-links a:hover { color: var(--green); }
.footer-inner > small { grid-column: 1 / -1; font: 10px var(--mono); letter-spacing: .04em; border-top: 1px solid var(--line); padding-top: 16px; }
.disclosure-line a { border-bottom: 1px solid var(--green); color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { gap: 20px; }
}
@media (max-width: 850px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { max-width: 700px; }
  .hero-art { min-height: 520px; }
  .sun { right: 18%; }
  .hero-note { right: 10%; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card:first-child { grid-column: span 2; }
  .section-head { align-items: start; flex-direction: column; }
  .process-grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .story, .story.flip { grid-template-columns: 1fr; gap: 26px; }
  .story.flip .story-img { order: 0; }
  .story-img { max-width: 420px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 1240px); }
  .site-header { min-height: 68px; }
  .nav-links {
    display: none; position: absolute; z-index: 10; top: 100%; left: 0; right: 0; background: var(--paper);
    padding: 20px 22px 24px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a[aria-current="page"] { box-shadow: none; }
  .nav-cta { text-align: center; }
  .menu-btn { display: block; }
}
@media (max-width: 600px) {
  .hero { padding: 52px 0 36px; }
  .hero h1 { font-size: clamp(46px, 13vw, 68px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { gap: 14px; }
  .hero-art { min-height: 470px; }
  .sun { width: 275px; height: 275px; right: 6%; top: 10%; }
  .mock-phone { transform: scale(.84) rotate(-5deg); transform-origin: center; }
  .hero-note { width: 108px; height: 108px; right: 0; top: 0; font-size: 14px; }
  .floating-card { left: -4px; bottom: 4%; transform: scale(.85) rotate(5deg); transform-origin: left bottom; }
  .marquee-inner { justify-content: flex-start; min-width: 760px; animation: marquee 20s linear infinite; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 40px; }
  .section-head > p { font-size: 14px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card:first-child { grid-column: auto; }
  .work-card { min-height: 360px; }
  .work-card.has-image { min-height: 480px; }
  .stats-row { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service { min-height: auto; padding: 23px 0 27px; }
  .service + .service { border-left: 0; border-top: 1px solid #ffffff45; padding: 23px 0 27px; }
  .service h3 { margin: 17px 0 8px; }
  .contact { padding: 66px 0; }
  .contact-grid { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 48px 0 28px; }
  .gallery { gap: 10px; }
  .gallery figcaption { padding: 8px 10px 10px; font-size: 10px; }
  .form { padding: 20px; }
  .photo-pair img:nth-child(2) { margin-top: 28px; }
  .photo-trio { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-top: 30px; padding-bottom: 6px; }
  .photo-trio figure { scroll-snap-align: start; }
  .story { padding: 44px 0; }
  .story-img img { aspect-ratio: 4 / 5; }
}
@keyframes marquee { to { transform: translateX(-35%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
