/* FRÉDÉRIC ARMINOT LABS - V5.3 */

:root {
  --bg: #090909;
  --surface: #101011;
  --text: #f5f5f2;
  --muted: #c3c3bd;
  --muted2: #989892;
  --line: rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.055);
  --blue: #91bff2;
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; }

.site {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
  font-weight: 300;
}

button {
  font: inherit;
  font-weight: 300;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* HEADER */

.header {
  position: relative;
  z-index: 50;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.logo {
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: .12em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  color: #a8a8a2;
  font-size: 13px;
}

.nav a {
  transition: color .2s ease;
  font-weight: 300;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }

.contact-link {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #efefeb;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* HERO */

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 88px 0 104px;
}

.eyebrow {
  margin: 0 0 26px;
  color: #999993;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 100%;
  color: var(--text);
  font-size: clamp(64px, 7.1vw, 112px);
  line-height: .91;
  font-weight: 300;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--text);
  font-weight: 300;
}

.lead {
  max-width: 650px;
  margin: 38px 0 0;
  color: #d0d0ca;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px 26px;
  margin-top: 40px;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-radius: 999px;
  font-size: 13px;
  transition: transform .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-light {
  border: 0;
  background: #efefeb;
  color: #111112;
}

.btn-dark {
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: #efefeb;
}

.simple-link {
  color: #c5c5bf;
  font-size: 13px;
}

/* GENERIC SECTIONS */

.section {
  padding: clamp(96px, 9vw, 130px) 0;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(150px, 250px) 1fr;
  gap: clamp(28px, 4vw, 50px);
  margin-bottom: clamp(48px, 6vw, 70px);
}

.index {
  margin: 8px 0 0;
  color: #92928c;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.section-intro {
  max-width: 660px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

/* BUNT */

.product {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 83% 34%, rgba(65,112,170,.12), rgba(9,9,9,0) 30%),
    radial-gradient(circle at 72% 78%, rgba(37,72,123,.10), rgba(9,9,9,0) 28%),
    #101011;
}

.product-copy {
  min-width: 0;
  padding: clamp(38px, 4vw, 58px) 24px clamp(38px, 4vw, 58px) clamp(38px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9f9f99;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bunt-label {
  margin: 48px 0 13px;
  color: #aaa9a3;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bunt-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(62px, 7vw, 100px);
  line-height: .9;
  font-weight: 300;
  letter-spacing: -.06em;
}

.bunt-tagline {
  margin: 25px 0 0;
  color: #f0f0ec;
  font-size: clamp(24px, 2.4vw, 29px);
  line-height: 1.2;
  letter-spacing: -.03em;
}

.bunt-description {
  max-width: 760px;
  margin-top: 28px;
}

.bunt-description p {
  margin: 0 0 20px;
  color: #d0d0ca;
  font-size: 15px;
  line-height: 1.72;
}

.languages {
  max-width: 760px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.languages span {
  color: #f0f0ec;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.languages p {
  margin: 12px 0 0;
  color: #bababa;
  font-size: 13px;
  line-height: 1.65;
}

.product-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.status {
  color: #9a9a95;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* REAL BUNT PREVIEWS */

.real-previews {
  position: relative;
  min-height: 920px;
  background: transparent;
  overflow: hidden;
}

.real-previews::before {
  content: "";
  position: absolute;
  inset: 10% 4% 8% 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(37,79,141,.18), transparent 34%),
    radial-gradient(circle at 54% 74%, rgba(20,39,69,.16), transparent 32%);
  filter: blur(8px);
  pointer-events: none;
}

.real-previews figure {
  margin: 0;
  position: absolute;
  width: 42%;
  max-width: 350px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.real-previews figure:first-child {
  left: 3%;
  bottom: 7%;
  z-index: 3;
  transform: rotate(-8deg);
}

.real-previews figure:last-child {
  right: 2%;
  top: 10%;
  z-index: 1;
  transform: rotate(8deg);
  opacity: .64;
}

.real-previews img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 26px 58px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.02) inset,
    0 0 28px rgba(44,98,170,.12);
}

.real-previews figure:last-child img {
  filter: brightness(.48) saturate(.88);
}

/* STUDIO */

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(48px, 7vw, 90px);
}

.studio-copy p {
  margin: 0 0 28px;
  color: #f0f0ec;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.42;
  letter-spacing: -.025em;
}

.studio-copy p:nth-child(n+2) { color: var(--muted); }

.facts { border-top: 1px solid var(--line); }

.fact {
  padding: 23px 0;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.fact span {
  color: #989892;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.fact .fact-value {
  color: #e5e5e0;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

/* PROJECTS */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project-card {
  min-height: 280px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0c0c0d;
}

.project-name {
  color: #969691;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 76px 0 16px;
  color: #f1f1ed;
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: -.025em;
}

.project-card p {
  margin: 0;
  color: #c0c0ba;
  font-size: 14px;
  line-height: 1.65;
}

/* PRINCIPLES */

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle {
  min-height: 350px;
  padding: 38px 34px;
  border-right: 1px solid var(--line);
}

.principle:last-child { border-right: 0; }

.principle-number {
  color: #969691;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.principle h3 {
  margin: 82px 0 17px;
  color: var(--text);
  font-size: 28px;
  font-weight: 300;
}

.principle p {
  max-width: 300px;
  margin: 0;
  color: #c0c0ba;
  font-size: 14px;
  line-height: 1.65;
}

/* CONTACT */

.contact-box {
  min-height: 510px;
  padding: clamp(42px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 30%, rgba(77,124,180,.12), transparent 30%),
    #101011;
}

.contact-box h2 {
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(54px, 7vw, 98px);
  line-height: .92;
  font-weight: 300;
  letter-spacing: -.055em;
}

.contact-box p:not(.index) {
  max-width: 560px;
  margin: 30px 0 36px;
  color: #c7c7c1;
  font-size: 17px;
  line-height: 1.6;
}

.mail-button { cursor: pointer; }

/* INTERNAL PAGES */

.page-hero {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 92px 0 104px;
}

.legal-hero { min-height: 570px; }

.editorial-grid,
.legal-row {
  display: grid;
  grid-template-columns: minmax(150px, 250px) 1fr;
  gap: clamp(28px, 4vw, 50px);
}

.editorial-copy,
.legal-row > div { max-width: 790px; }

.editorial-lead {
  margin: 28px 0;
  color: #f0f0ec;
  font-size: clamp(23px, 2.3vw, 29px);
  line-height: 1.42;
  letter-spacing: -.025em;
}

.editorial-copy p:not(.editorial-lead),
.legal-row p {
  color: #d0d0ca;
  font-size: 16px;
  line-height: 1.75;
}

.legal-list { display: grid; }

.legal-row {
  padding: clamp(48px, 6vw, 68px) 0;
  border-top: 1px solid var(--line-soft);
}

.legal-row h2 {
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(30px, 3.2vw, 34px);
  font-weight: 300;
  letter-spacing: -.035em;
}

.legal-emphasis {
  color: var(--text);
  font-weight: 300;
}

.legal-row a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FOOTER */

.footer {
  min-height: 160px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  border-top: 1px solid var(--line-soft);
  color: #969691;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 11px;
}

.footer-links a { color: #c5c5bf; }
.footer-links a:hover { color: var(--text); }

.footer-copy {
  margin: 0;
  text-align: right;
  color: #969691;
  font-size: 11px;
  letter-spacing: .05em;
}

/* TABLET */

@media (max-width: 1100px) {
  .wrap { width: min(var(--max), calc(100% - 40px)); }

  .header { min-height: 84px; }

  .hero {
    min-height: auto;
    display: flex;
    padding: 72px 0 84px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(58px, 8vw, 84px);
  }

  .section-head,
  .editorial-grid,
  .legal-row {
    grid-template-columns: 160px 1fr;
    gap: 28px;
  }

  .product {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
  }

  .real-previews { min-height: 820px; }

  .real-previews figure {
    width: 48%;
    max-width: 300px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE MENU + SMALL TABLET */

@media (max-width: 860px) {
  .wrap { width: calc(100% - 36px); }

  .header {
    min-height: 76px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav {
    position: fixed;
    inset: 76px 18px auto 18px;
    z-index: 100;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(12,12,13,.98);
    box-shadow: 0 24px 60px rgba(0,0,0,.55);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    padding: 16px 14px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
    color: #e2e2dd;
  }

  .nav a:last-child { border-bottom: 0; }

  .contact-link {
    margin-top: 7px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
  }

  .hero {
    display: flex;
    padding: 70px 0 80px;
  }

  .hero-copy { max-width: 720px; }

  .section-head,
  .editorial-grid,
  .legal-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product {
    grid-template-columns: 1fr;
  }

  .product-copy {
    padding: 42px;
  }

  .real-previews {
    min-height: 720px;
  }

  .real-previews figure {
    width: 39%;
    max-width: 310px;
  }

  .real-previews figure:first-child {
    left: 14%;
    bottom: 5%;
  }

  .real-previews figure:last-child {
    right: 14%;
    top: 5%;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle:last-child { border-bottom: 0; }

  .page-hero {
    min-height: auto;
    padding: 72px 0 82px;
  }

  .footer {
    grid-template-columns: 1fr auto;
    padding: 38px 0;
    min-height: auto;
  }

  .footer-copy {
    grid-column: 1 / -1;
    text-align: left;
  }
}

/* PHONE */

@media (max-width: 600px) {
  .wrap { width: calc(100% - 28px); }

  .header { min-height: 70px; }

  .logo {
    max-width: calc(100vw - 92px);
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
    letter-spacing: .08em;
  }

  .nav { inset: 70px 14px auto 14px; }

  .hero {
    padding: 58px 0 68px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(48px, 15vw, 64px);
    line-height: .94;
    letter-spacing: -.055em;
  }

  .lead {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.6;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .btn {
    width: 100%;
    justify-content: space-between;
  }

  .simple-link { padding: 6px 2px; }

  .section {
    padding: 78px 0;
  }

  .section-title {
    font-size: clamp(40px, 12vw, 52px);
  }

  .section-intro {
    margin-top: 20px;
    font-size: 16px;
  }

  .product {
    border-radius: 18px;
  }

  .product-copy {
    padding: 28px 22px 20px;
  }

  .product-top {
    align-items: flex-start;
    font-size: 8px;
  }

  .product-top span:last-child {
    max-width: 150px;
    text-align: right;
  }

  .bunt-label { margin-top: 36px; }

  .bunt-title {
    font-size: clamp(62px, 21vw, 84px);
  }

  .bunt-tagline {
    font-size: 24px;
  }

  .bunt-description p {
    font-size: 15px;
    line-height: 1.68;
  }

  .languages {
    margin-top: 26px;
    padding-top: 20px;
  }

  .real-previews {
    min-height: 570px;
  }

  .real-previews figure {
    width: 47%;
    max-width: none;
  }

  .real-previews figure:first-child {
    left: 5%;
    bottom: 4%;
    transform: rotate(-7deg);
  }

  .real-previews figure:last-child {
    right: 5%;
    top: 4%;
    transform: rotate(7deg);
  }

  .real-previews img {
    border-radius: 24px;
  }

  .studio-copy p {
    font-size: 23px;
  }

  .fact {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 240px;
    padding: 26px;
  }

  .project-card h3 {
    margin-top: 56px;
  }

  .principle {
    padding: 30px 26px;
  }

  .principle h3 {
    margin-top: 52px;
  }

  .contact-box {
    min-height: 410px;
    padding: 34px 24px;
    border-radius: 18px;
  }

  .contact-box h2 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .contact-box p:not(.index) {
    font-size: 16px;
  }

  .editorial-lead {
    font-size: 23px;
  }

  .editorial-copy p:not(.editorial-lead),
  .legal-row p {
    font-size: 15px;
    line-height: 1.7;
  }

  .legal-row {
    padding: 46px 0;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* VERY SMALL PHONES */

@media (max-width: 390px) {
  .hero h1,
  .page-hero h1 {
    font-size: 45px;
  }

  .section-title {
    font-size: 38px;
  }

  .real-previews {
    min-height: 520px;
  }

  .contact-box h2 {
    font-size: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
