/* ---------------------------------------------------------------
   Deliberate single-world design: a white ground, one grotesk
   family throughout, bold lowercase tight-tracked type system.
----------------------------------------------------------------*/
:root{
  --mat: #FFFFFF;
  --paper: #FFFFFF;
  --paper-dim: #F3F3F3;
  --ink: #101010;
  --line: #E6E6E6;
  --accent: #EC6EB9;
  --muted: #8A8A8A;
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--mat);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

::selection{ background: var(--accent); color: #101010; }

a{ color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.label{
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--muted);
}

.display{
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--accent);
}

/* ------------------------------- page card ------------------------------- */
.page{
  max-width: 76rem;
  margin: 0 auto;
  background: var(--paper);
}
@media (min-width: 900px){
  .page{ margin: 1.4rem auto; }
}

/* ---------------------------------- nav ---------------------------------- */
.topnav{
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.4rem);
}
.topnav .wordmark{
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.topnav .links{
  display: flex;
  gap: 1.8rem;
}
.topnav .links a{
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.topnav .links a:hover{ color: var(--ink); }
@media (max-width: 640px){
  .topnav .links{ display: none; }
}

/* ---------------------------------- hero ---------------------------------- */
.hero{
  text-align: center;
  padding: clamp(2.6rem, 7vw, 4.6rem) clamp(1.25rem, 6vw, 2.4rem) clamp(2.8rem, 6vw, 4rem);
}
.hero .masthead{
  margin: 0 0 0.7rem;
  font-size: clamp(2.8rem, 11vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
}
.hero .tagline{
  margin: 0 0 2.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--muted);
}
.hero-star{
  display: block;
  margin: 1.6rem 0 1rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
}
.view-portfolio{
  display: inline-block;
  margin-top: 1.4rem;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: #101010;
  background-image: linear-gradient(#101010, #101010);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.3s ease;
  padding-bottom: 0.15em;
}
.view-portfolio:hover{ background-size: 100% 1px; }

/* --------------------------------- photo row --------------------------------- */
.collage-wrap{
  padding: 2.5rem clamp(1.25rem, 6vw, 2.4rem) clamp(3.2rem, 7vw, 4.6rem);
}
.collage{
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 1.8vw, 1.4rem);
  max-width: 68rem;
  margin: 0 auto;
}
.scrap{
  width: 31%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.collage.count-2 .scrap{ width: 47%; }
.collage.count-4 .scrap{ width: 23%; }
.collage.count-5 .scrap{ width: 18%; }
.scrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}
.scrap img:hover{ opacity: 0.92; }
.scrap.contain img{ object-fit: contain; }

.photo{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---------------------------------- ticker ---------------------------------- */
.ticker{
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--accent);
  color: #101010;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.95rem 0;
}
.ticker-track{
  display: inline-flex;
  animation: scroll-left 26s linear infinite;
}
.ticker-track span{
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  padding: 0 1.4rem;
}
@keyframes scroll-left{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .ticker-track{ animation: none; }
}

/* ----------------------------- generic panel ----------------------------- */
.panel{
  padding: clamp(2.6rem, 6vw, 4rem) clamp(1.25rem, 6vw, 2.4rem);
  scroll-margin-top: 4.5rem;
}
.panel + .panel{ border-top: 1px solid var(--line); }
.panel .inner{ max-width: 34rem; margin: 0 auto; }
.panel .eyebrow{ display: block; text-align: center; margin-bottom: 1.6rem; }

/* ------------------------------- measurements ------------------------------- */
.specs{ border-top: 1px solid var(--line); }
.spec-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-row .label{ color: var(--ink); }
.spec-row .value{
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------- folder grid (portfolio contents) ----------------------------------- */
.folder-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 2.4rem 1rem;
  max-width: 64rem;
  margin: 0 auto;
}
.folder-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}
.folder-icon{
  width: 5.5rem;
  height: auto;
  transition: transform 0.15s ease;
}
.folder-item:hover .folder-icon{ transform: scale(1.06) rotate(-2deg); }
.folder-name{
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.15;
}
.folder-date{
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--muted);
}

/* ----------------------------------- brand detail page ----------------------------------- */
.back-link{ display: inline-flex; align-items: center; gap: 0.4em; margin-bottom: 1.6rem; }
.brand-header{
  text-align: center;
  padding: clamp(2.2rem, 6vw, 3.4rem) clamp(1.25rem, 6vw, 2.4rem) 0.4rem;
}
.brand-header .display{
  font-size: clamp(2rem, 7vw, 3.6rem);
  margin: 0 0 0.5rem;
}

/* ---------------------------------- contact ---------------------------------- */
.contact-links{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.contact-links a{
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.35s ease;
  padding-bottom: 0.15em;
}
.contact-links a:hover{ background-size: 100% 1px; }

/* ---------------------------------- footer ---------------------------------- */
.footer-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-links{
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a{
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-links a:hover{ color: var(--ink); }
.footer-photo{
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: var(--paper-dim);
}
.signature{
  text-align: center;
  margin: clamp(2.2rem, 6vw, 3.6rem) 0 clamp(1.6rem, 4vw, 2.4rem);
  font-size: clamp(2.2rem, 9vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
}
.footer-meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------- lightbox --------------------------------- */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 100;
  cursor: zoom-out;
}
.lightbox.open{
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* --------------------------------- banner --------------------------------- */
.banner-wrap{
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}
.banner-track{
  display: flex;
  width: max-content;
  animation: banner-scroll 36s linear infinite;
}
.banner-img{
  display: block;
  height: 22rem;
  width: auto;
  flex-shrink: 0;
}
@keyframes banner-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .banner-track{ animation: none; }
}
@media (max-width: 640px){
  .banner-img{ height: 12rem; }
}
