/* =========================================================
   Sunnybee Brows — black, white + honey
   ========================================================= */

:root {
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --paper: #fbfaf6;
  --paper-2: #f1efe8;
  --honey: #f2b21c;
  --honey-deep: #d99a06;
  --line: rgba(17, 17, 17, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--honey-deep); outline-offset: 3px; }

/* ---------- Type ---------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}
.display em {
  font-style: italic;
  font-weight: 300;
}
.display--md { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.display--sm { font-size: clamp(2rem, 4vw, 3.25rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.eyebrow--honey { color: var(--honey); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn--outline { border-color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--honey { background: var(--honey); color: var(--ink); }
.btn--honey:hover { background: var(--paper); transform: translateY(-2px); }

.oval-link {
  position: relative;
  display: inline-block;
  padding: 1.1em 2.4em;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.oval-link svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
}
.oval-link path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-dasharray: 800;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s var(--ease), stroke .3s;
  vector-effect: non-scaling-stroke;
}
.oval-link:hover path { stroke: var(--honey-deep); animation: redraw 1.1s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 800; } to { stroke-dashoffset: 0; } }

.link-under {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .4s var(--ease);
}
.link-under:hover { background-size: 0 1px; background-position: right bottom; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.brand img {
  height: 68px; width: auto;
}
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 18px;
  padding: 100px var(--gutter) 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-style: italic;
  font-weight: 300;
  text-decoration: none;
  line-height: 1.1;
}
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(64px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.hero__text .lede {
  max-width: 30ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 2rem 0 2.5rem;
}
.awards {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  max-width: 420px;
}
.awards img {
  height: 64px; width: auto;
  mix-blend-mode: multiply;
}
.awards p {
  margin: 0 0 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--ink-soft);
}
.awards strong { font-weight: 500; color: var(--ink); }

.hero__media { position: relative; }
.arch {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--paper-2);
}
.arch img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.hero__media:hover .arch img { transform: scale(1); }

.daisy { position: absolute; pointer-events: none; }
.daisy--hero {
  width: clamp(90px, 11vw, 140px);
  left: -8%; bottom: 8%;
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--ink);
}
.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  white-space: nowrap;
}
.marquee i { color: var(--honey); font-style: normal; font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */

.about {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 160px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.about__media {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.about__img { margin: 0; position: absolute; overflow: hidden; background: var(--paper-2); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a {
  width: 66%; aspect-ratio: 3 / 4;
  left: 0; top: 0;
  border-radius: 999px 999px 0 0;
}
.about__img--a img { object-position: 45% 40%; }
.about__img--b {
  width: 50%; aspect-ratio: 3 / 4;
  right: 0; bottom: 0;
  border: 8px solid var(--paper);
}
.about__img--b img { object-position: 55% 50%; transform: scale(1.5); transform-origin: 55% 45%; }
.daisy--about { width: 92px; right: 40%; bottom: 4%; animation: spin 30s linear infinite reverse; }

.about__text p { max-width: 48ch; }
.about__text h2 { margin-bottom: 1.5rem; }
.about__text strong { font-weight: 500; }

.facts {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.facts li { padding: 1.2rem 1rem 0 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 1rem; border-left: 1px solid var(--line); }
.facts__num { font-family: var(--serif); font-size: 2rem; line-height: 1; font-style: italic; font-weight: 300; }
.facts__label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Approach ---------- */

.approach {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 10vw, 140px);
  text-align: center;
}
.steps {
  list-style: none; padding: 0;
  margin: clamp(40px, 6vw, 72px) 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: left;
  border-top: 1px solid var(--ink);
}
.steps li { padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps__n { font-size: 0.78rem; letter-spacing: 0.2em; color: var(--honey-deep); font-weight: 500; }
.steps h3 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 2rem; margin: 6px 0 8px;
}
.steps p { margin: 0; color: var(--ink-soft); max-width: 32ch; }

/* ---------- Services (dark) ---------- */

.services {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  margin: 40px 0;
}
.wave {
  position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 80px);
  fill: var(--ink);
  display: block;
}
.wave--top { bottom: calc(100% - 1px); }
.wave--bottom { top: calc(100% - 1px); }

.services__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) var(--gutter);
}
.services__head { text-align: center; margin-bottom: 40px; }
.services__head .eyebrow { justify-content: center; }

.tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.tabs button {
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  padding: 0.7em 1.5em;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all .3s var(--ease);
}
.tabs button:hover { border-color: var(--paper); }
.tabs button[aria-selected="true"] { background: var(--honey); border-color: var(--honey); color: var(--ink); }

.menu { border-top: 1px solid var(--line-light); }
.menu[hidden] { display: none; }
.item { border-bottom: 1px solid var(--line-light); }
.item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto auto 24px;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
}
.item summary::-webkit-details-marker { display: none; }
.item summary::after {
  content: "+";
  font-size: 1.4rem; line-height: 1;
  color: var(--honey);
  justify-self: end;
  transition: transform .3s var(--ease);
}
.item[open] summary::after { transform: rotate(45deg); }
.item__name {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
}
.item summary:hover .item__name { font-style: italic; }
.item__meta { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: .6; white-space: nowrap; }
.item__price { font-family: var(--serif); font-size: 1.45rem; color: var(--honey); min-width: 3.5ch; text-align: right; }
.item p { margin: 0 0 1rem; max-width: 64ch; color: rgba(251, 250, 246, .78); }
.item p:last-child { margin-bottom: 26px; }
.item .note { font-size: .92rem; font-style: italic; color: rgba(251, 250, 246, .6); }

.tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid var(--honey);
  color: var(--honey);
  border-radius: var(--radius-pill);
  position: relative; top: -3px;
}

.services__cta {
  margin-top: 48px;
  display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap;
}

/* ---------- Portfolio ---------- */

.portfolio {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(110px, 13vw, 180px) var(--gutter) clamp(60px, 8vw, 100px);
}
.portfolio__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 12px;
}
.grid button {
  padding: 0; border: 0; background: var(--paper-2);
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.grid button.is-big { grid-column: span 2; grid-row: span 2; }
.grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .5s;
}
.grid button::after {
  content: "+";
  position: absolute; right: 12px; bottom: 10px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--honey); color: var(--ink);
  display: grid; place-items: center; font-size: 1.3rem;
  opacity: 0; transform: scale(.6);
  transition: all .35s var(--ease);
}
.grid button:hover img { transform: scale(1.05); }
.grid button:hover::after { opacity: 1; transform: scale(1); }
.grid button.is-hidden { display: none; }

.portfolio__more { text-align: center; margin-top: 40px; }
.portfolio__more[hidden] { display: none; }

.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(92vw, 720px); width: 100%;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(17, 17, 17, .88); }
.lightbox img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: var(--paper); border: 0; color: var(--ink);
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__close { top: -54px; right: 0; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: -56px; }
.lightbox__nav--next { right: -56px; }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  text-align: center;
  padding: clamp(60px, 8vw, 110px) var(--gutter) clamp(120px, 14vw, 190px);
  overflow: hidden;
}
.cta p { color: var(--ink-soft); margin: 1.5rem auto 2.5rem; max-width: 40ch; }
.daisy--cta {
  position: relative; display: block;
  width: 84px; margin: 0 auto 24px;
  animation: spin 20s linear infinite;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 6vw, 80px) var(--gutter) 28px;
  overflow: hidden;
}
.footer .wave--top { bottom: calc(100% - 1px); }
.footer { overflow: visible; }
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer address { font-style: normal; font-size: 1.15rem; margin-bottom: 24px; }
.footer address a { text-decoration: none; }
.footer address a:hover { color: var(--honey); }
.hours { margin: 0; }
.hours div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
  max-width: 320px;
}
.hours dt, .hours dd { margin: 0; }
.hours .closed { opacity: .55; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-family: var(--serif); font-size: 1.5rem; text-decoration: none; font-weight: 300;
}
.footer__links a:hover { font-style: italic; color: var(--honey); }

.footer__word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4.5rem, 19vw, 17rem);
  line-height: .85;
  letter-spacing: -0.04em;
  text-align: center;
  margin: clamp(48px, 7vw, 90px) 0 20px;
  padding-bottom: 0.2em; /* room for the "y" descender */
  white-space: nowrap;
}
.footer__word em { color: var(--honey); font-weight: 300; }
.footer__legal {
  text-align: center; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: .5; margin: 0;
}

.footer__credit {
  text-align: center; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin: 10px 0 0; color: rgba(251, 250, 246, .5);
}
.footer__credit a {
  color: rgba(251, 250, 246, .8);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .3s var(--ease);
}
.footer__credit a:hover { color: var(--honey); }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav--left { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .brand { justify-self: start; }
  .menu-toggle { display: block; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; width: 100%; margin: 0 auto; }
  .daisy--hero { left: auto; right: 0; bottom: -20px; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-actions .btn { display: none; }
  .site-header { padding-block: 10px; }
  .brand img { height: 52px; }
  .item summary { grid-template-columns: 1fr auto 20px; gap: 6px 14px; padding: 20px 0; }
  .item__meta { grid-column: 1; grid-row: 2; }
  .item__price { grid-row: 1; grid-column: 2; }
  .item summary::after { grid-row: 1; grid-column: 3; }
  .tag { display: table; margin: 6px 0 0; top: 0; }
  .facts__num { font-size: 1.6rem; }
  .facts li + li { padding-left: .7rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .hours div { max-width: none; }
}

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