:root {
  color-scheme: dark;
  --oxblood: #24070d;
  --oxblood-deep: #100509;
  --ruby: #b5172e;
  --moss: #526422;
  --silver: #c7c7c4;
  --ink: #f7f2f1;
  --muted: #cdbebd;
  --paper: #f5f3f3;
  --paper-ink: #211a1c;
  --gutter: clamp(24px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--oxblood-deep); color: var(--ink); font-family: Onest, system-ui, sans-serif; font-weight: 300; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(380px, .84fr) minmax(620px, 1.16fr);
  background:
    radial-gradient(circle at 78% 22%, rgba(181, 23, 46, .18), transparent 34%),
    linear-gradient(135deg, #2d0912 0%, var(--oxblood) 52%, var(--oxblood-deep) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(247, 242, 241, .34) 0 1px, transparent 1.3px);
  background-size: 14px 14px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 34%);
}

.site-header {
  position: absolute;
  top: clamp(26px, 3vw, 42px);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.brand strong { font: 400 31px/1 "Poiret One", sans-serif; letter-spacing: .04em; }

nav { display: flex; gap: clamp(24px, 3vw, 44px); }
nav a { position: relative; color: rgba(247, 242, 241, .78); text-decoration: none; font-size: 13px; font-weight: 400; }
nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 1px; background: var(--silver); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.22,1,.36,1); }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }

.hero-copy {
  z-index: 2;
  align-self: end;
  padding: 150px 24px clamp(72px, 10vh, 112px) var(--gutter);
}
.opening-note { max-width: 30ch; margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.55; }
h1 { max-width: 670px; margin: 0; font: 400 clamp(58px, 5vw, 78px)/.95 "Poiret One", sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.hero-intro { max-width: 510px; margin: 30px 0 0; color: rgba(247, 242, 241, .76); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.62; text-wrap: pretty; }
.text-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 38px; padding-bottom: 7px; border-bottom: 1px solid rgba(247, 242, 241, .38); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 400; transition: border-color .2s ease; }
.text-link:hover, .text-link:focus-visible { border-color: var(--ink); }
.dot-arrow { color: #e75568; font-size: 13px; letter-spacing: 4px; transition: transform .28s cubic-bezier(.22,1,.36,1); }
.text-link:hover .dot-arrow, .text-link:focus-visible .dot-arrow { transform: translateX(5px); }

.hero-art {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(58vw, 100svh);
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  box-shadow: -18px 0 36px rgba(16, 5, 9, .22);
}
.hero-art img { width: 100%; height: 100%; object-fit: contain; }

@media (min-width: 761px) {
  nav a { color: rgba(36, 7, 13, .78); }
  nav a::after { background: var(--ruby); }
}

.portrait-study .hero {
  display: block;
  background: var(--oxblood-deep);
}
.portrait-study .hero::before {
  z-index: 1;
  opacity: .12;
  mask-image: linear-gradient(90deg, #000 0%, transparent 38%);
}
.portrait-study .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 5, 9, .62) 0%, rgba(16, 5, 9, .30) 31%, transparent 54%);
}
.portrait-study .hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  width: min(48%, 690px);
  flex-direction: column;
  justify-content: flex-end;
}
.portrait-study .hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  box-shadow: none;
}
.portrait-study .hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.portrait-study nav a { color: rgba(247, 242, 241, .78); }
.portrait-study nav a::after { background: var(--silver); }

.teal-study .hero::after {
  background: linear-gradient(90deg, rgba(3, 15, 17, .58) 0%, rgba(3, 15, 17, .24) 32%, transparent 55%);
}
.teal-study .dot-arrow { color: #eb5a68; }
.teal-study .teal-study-wide img { object-position: 67% center; }
.teal-study .teal-study-flowers img { transform: scale(1.9); object-position: 69% 31%; }
.teal-study .teal-study-flowers:hover img { transform: scale(1.94); }
.teal-study .teal-study-dress img { transform: scale(2.05); object-position: 65% 76%; }
.teal-study .teal-study-dress:hover img { transform: scale(2.09); }
.teal-study .about { background: linear-gradient(145deg, #031416, #0b292b); }
.teal-study .about-mark span:nth-child(1) { background: #bf2639; }
.teal-study .about-mark span:nth-child(2) { background: #e07b84; }
.teal-study .about-mark span:nth-child(3) { background: #96b3ad; }
.teal-study .about-mark span:nth-child(4) { background: #587950; }
.teal-study .about-mark span:nth-child(5) { background: #164648; }
.teal-study footer { background: #031113; }


.collection {
  background: var(--paper);
  color: var(--paper-ink);
  padding: clamp(88px, 12vw, 168px) var(--gutter) clamp(94px, 12vw, 160px);
}
.collection-heading { width: min(1180px, 100%); margin: 0 auto clamp(52px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .68fr); gap: clamp(42px, 8vw, 120px); align-items: end; }
.collection h2, .about h2 { margin: 0; font: 400 clamp(48px, 5.6vw, 82px)/.98 "Poiret One", sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.collection-heading p { max-width: 580px; margin: 0 0 7px; color: #5e5154; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.58; text-wrap: pretty; }

.collection-tabs {
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto clamp(44px, 6vw, 74px);
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  overflow-x: auto;
  scrollbar-width: none;
}
.collection-tabs::-webkit-scrollbar { display: none; }
.collection-tabs::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: #cec7c8; }
.collection-tab {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin: 0;
  padding: 0 0 17px;
  border: 0;
  background: transparent;
  color: #776a6d;
  font: 400 clamp(18px, 2vw, 25px)/1.2 "Poiret One", sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  transition: color .28s ease;
}
.collection-tab::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--ruby); transform: scaleX(0); transform-origin: left; transition: transform .38s cubic-bezier(.22,1,.36,1); }
.collection-tab:hover { color: #3b3033; }
.collection-tab[aria-selected="true"] { color: #8f1025; }
.collection-tab[aria-selected="true"]::after { transform: scaleX(1); }
.collection-tab:focus-visible { outline: 2px solid var(--ruby); outline-offset: 5px; }

.collection-panels { width: min(1240px, 100%); margin: 0 auto; }
.collection-panel[hidden] { display: none; }
.collection-panel.is-active { animation: collection-reveal .48s cubic-bezier(.22,1,.36,1) both; }
.collection-panel:focus { outline: none; }
.collection-panel:focus-visible { outline: 2px solid var(--ruby); outline-offset: 10px; }
@keyframes collection-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.collection-intro { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(320px, .62fr); align-items: end; gap: clamp(38px, 7vw, 100px); margin-bottom: clamp(34px, 5vw, 58px); }
.collection-intro h3 { margin: 0; font: 400 clamp(35px, 4.2vw, 58px)/1 "Poiret One", sans-serif; letter-spacing: -.02em; text-wrap: balance; }
.collection-intro p { max-width: 530px; margin: 0 0 4px; color: #65585b; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.62; text-wrap: pretty; }

.project-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); grid-template-rows: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.project-slot { position: relative; min-height: 346px; overflow: hidden; margin: 0; color: #fff; background: #82777a; isolation: isolate; }
.project-slot-featured { grid-row: 1 / 3; min-height: 720px; }
.project-slot::before { content: ""; position: absolute; inset: 22px; z-index: 1; border: 1px solid rgba(255,255,255,.24); pointer-events: none; }
.project-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.project-slot:hover img { transform: scale(1.018); }
.project-3d-featured img { object-position: 50% 50%; }
.project-3d-detail img { transform: scale(1.45); object-position: 12% 62%; }
.project-3d-detail:hover img { transform: scale(1.48); }
.project-3d-process img { transform: scale(1.4); object-position: 78% 46%; }
.project-3d-process:hover img { transform: scale(1.43); }
.project-house-featured img { object-position: 50% 55%; }
.project-house-detail img { transform: scale(1.5); object-position: 53% 54%; }
.project-house-detail:hover img { transform: scale(1.54); }
.project-house-process img { transform: scale(1.38); object-position: 14% 42%; }
.project-house-process:hover img { transform: scale(1.42); }
.project-card-featured img { object-position: 50% 52%; }
.project-card-detail img { transform: scale(1.48); object-position: 54% 48%; }
.project-card-detail:hover img { transform: scale(1.52); }
.project-card-process img { transform: scale(1.38); object-position: 78% 76%; }
.project-card-process:hover img { transform: scale(1.42); }
.project-slot figcaption { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 54px 20px 18px; background: linear-gradient(transparent, rgba(18,7,10,.78)); }
.project-slot figcaption span { font-size: 15px; font-weight: 400; }
.project-slot figcaption small { color: rgba(255,255,255,.72); font-size: 11px; }
.concept-note { width: min(1240px, 100%); margin: 18px auto 0; color: #75696b; font-size: 11px; line-height: 1.55; }

.about { min-height: 72svh; display: grid; grid-template-columns: minmax(220px, .45fr) minmax(0, 1.55fr); align-items: center; gap: clamp(40px, 9vw, 140px); padding: clamp(90px, 12vw, 170px) var(--gutter); background: linear-gradient(145deg, var(--oxblood-deep), var(--oxblood)); }
.about-mark { justify-self: center; display: grid; grid-template-columns: repeat(5, 14px); gap: 9px; transform: rotate(-7deg); }
.about-mark span { width: 14px; height: 14px; border-radius: 50%; background: var(--ruby); box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset; }
.about-mark span:nth-child(2) { background: #d97f8b; transform: translateY(18px); }
.about-mark span:nth-child(3) { background: var(--silver); transform: translateY(-10px); }
.about-mark span:nth-child(4) { background: var(--moss); transform: translateY(12px); }
.about-mark span:nth-child(5) { background: #781426; transform: translateY(-4px); }
.about-copy { max-width: 850px; }
.about-copy p { max-width: 650px; margin: 32px 0 0; color: rgba(247, 242, 241, .72); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.58; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px var(--gutter); border-top: 1px solid rgba(255,255,255,.12); background: var(--oxblood-deep); }
.footer-brand strong { font-size: 25px; }
footer p { margin: 0; color: rgba(247,242,241,.48); font-size: 11px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(330px, .8fr) minmax(500px, 1.2fr); }
  .hero-art { width: min(64vw, 100svh); }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .site-header { top: 22px; }
  .brand strong { font-size: 27px; }
  nav { gap: 22px; }
  nav a { font-size: 12px; }
  .hero-art { order: 1; width: 100%; margin: 72px 0 0; aspect-ratio: 1; box-shadow: none; }

  .portrait-study .hero { display: flex; }
  .portrait-study .hero-copy { position: relative; order: 2; display: block; min-height: 0; width: 100%; }
  .portrait-study .hero-art { position: relative; inset: auto; order: 1; width: 100%; height: auto; margin: 72px 0 0; aspect-ratio: 16 / 9; }
  .portrait-study .hero-art img { object-position: center; }

  .hero-copy { order: 2; align-self: auto; padding: 30px var(--gutter) 74px; }
  .opening-note { margin-bottom: 18px; font-size: 13px; }
  h1 { font-size: clamp(53px, 15vw, 70px); line-height: .95; }
  .hero-intro { margin-top: 23px; font-size: 16px; line-height: 1.55; }
  .text-link { margin-top: 30px; }
  .collection { padding: 78px var(--gutter) 84px; }
  .collection-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 44px; }
  .collection h2, .about h2 { font-size: clamp(45px, 12.5vw, 62px); }
  .collection-heading p { font-size: 17px; }
  .collection-tabs { gap: 14px; margin-bottom: 42px; }
  .collection-tab { padding-bottom: 14px; font-size: clamp(17px, 5.2vw, 20px); }
  .collection-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .collection-intro h3 { font-size: clamp(37px, 11vw, 50px); }
  .collection-intro p { font-size: 16px; }
  .project-grid { display: flex; flex-direction: column; }
  .project-slot-featured { min-height: 470px; }
  .project-slot:not(.project-slot-featured) { min-height: 285px; }
  .project-slot figcaption { padding: 52px 15px 15px; }
  .project-3d-detail img, .project-house-detail img, .project-card-detail img { transform: scale(1.24); }
  .project-3d-process img, .project-house-process img, .project-card-process img { transform: scale(1.18); }
  .about { min-height: auto; grid-template-columns: 1fr; gap: 52px; padding: 88px var(--gutter) 96px; }
  .about-mark { justify-self: start; margin-left: 8px; }
  .about-copy p { margin-top: 25px; font-size: 18px; }
  footer { align-items: flex-end; }
  footer p { max-width: 135px; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .collection-panel.is-active { animation: none; }
  .collection-tab, .collection-tab::after, nav a::after, .dot-arrow { transition: none; }
}
