/* === ATELIER DU SOIR — Direction artistique v2 === */

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

:root {
  --black:    #080709;
  --dark:     #0D0C10;
  --mid:      #18171C;
  --gray:     #68656O;
  --stone:    #6A6762;
  --cream:    #E4E0D8;
  --white:    #F0ECE6;
  --platinum: #AEAAA3;
  --pt-dim:   rgba(174,170,163,0.14);
  --pt-line:  rgba(174,170,163,0.22);
  --mark:     #C4BFB8;

  --font-serif: 'Cormorant Garant', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: rgba(174,170,163,0.18);
  color: var(--white);
}

/* ─── CURSOR ─── */
.cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--platinum);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .22s var(--ease), height .22s var(--ease);
  mix-blend-mode: screen;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(174,170,163,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .38s var(--ease), height .38s var(--ease);
  will-change: transform;
}

.cursor.hover   { width: 10px; height: 10px; }
.cursor-ring.hover { width: 52px; height: 52px; border-color: rgba(174,170,163,0.2); }

@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ─── LOADER ─── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity .9s ease .1s, visibility .9s ease .1s;
}

.loader.out { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-mark {
  opacity: 0;
  animation: fadeIn .7s ease .2s forwards;
}

.loader-bar {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--platinum), transparent);
  animation: barGrow 1.3s var(--ease) .4s forwards;
}

.loader-text {
  font-family: var(--font-sans);
  font-size: .56rem;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: rgba(174,170,163,.45);
  opacity: 0;
  animation: fadeIn .7s ease .9s forwards;
}

@keyframes barGrow { from { width:0; opacity:0; } to { width:160px; opacity:1; } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes fadeUp  {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ─── NAV ─── */
#main-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding: 2rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding .5s var(--ease), background .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}

#main-nav.scrolled {
  padding: 1.3rem 3.5rem;
  background: rgba(8,7,9,.9);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border-bottom-color: var(--pt-line);
}

/* Logo — HTML-based for clean font rendering */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
}

.logo-mark {
  flex-shrink: 0;
  display: block;
}

.logo-sep {
  width: 1px;
  height: 18px;
  background: var(--pt-line);
  display: block;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: var(--font-serif);
  font-size: .82rem;
  font-weight: 300;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .85;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(228,224,216,.55);
  text-decoration: none;
  position: relative;
  transition: color .3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--platinum);
  transition: width .4s var(--ease);
}

.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--pt-line) !important;
  padding: .55rem 1.4rem !important;
  color: var(--platinum) !important;
  transition: background .35s ease, border-color .35s ease, color .35s ease !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: rgba(174,170,163,.07) !important;
  border-color: rgba(174,170,163,.5) !important;
  color: var(--cream) !important;
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}

.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .22s; }
.reveal-delay-3 { transition-delay: .34s; }
.reveal-delay-4 { transition-delay: .46s; }
.reveal-delay-5 { transition-delay: .58s; }

/* ─── SECTION BASE ─── */
section { padding: 9rem 3.5rem; }

.section-label {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-family: var(--font-sans);
  font-size: .56rem;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 3rem;
  opacity: .7;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--platinum);
  opacity: .5;
  flex-shrink: 0;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: -8%;
  opacity: 0;
  transition: opacity 2s ease;
  will-change: transform, opacity;
}

.hero-slide.active { opacity: 1; }

/* Hero — luxury event photography, Ken Burns */
.hero-slide:nth-child(1) {
  background-image: url('https://images.unsplash.com/photo-1524824267900-2fa9cbf7a506?w=1920&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 50%;
  animation: kb1 25s ease-in-out infinite alternate;
}

.hero-slide:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1525441273400-056e9c7517b3?w=1920&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  animation: kb2 30s ease-in-out infinite alternate;
}

.hero-slide:nth-child(3) {
  background-image: url('https://images.unsplash.com/photo-1533120921505-7f40f5237ee1?w=1920&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 60%;
  animation: kb3 22s ease-in-out infinite alternate;
}

@keyframes kb1 { 0% { transform:scale(1) translate(0,0); } 100% { transform:scale(1.13) translate(-2%,1.5%); } }
@keyframes kb2 { 0% { transform:scale(1.07) translate(2%,-1%); } 100% { transform:scale(1) translate(0,0); } }
@keyframes kb3 { 0% { transform:scale(1) translate(1%,1%); } 100% { transform:scale(1.11) translate(-1.5%,-2%); } }

/* Film-grain texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
  opacity: .04;
  z-index: 2;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,7,9,.88) 0%, rgba(8,7,9,.42) 30%, rgba(8,7,9,.25) 60%),
    linear-gradient(to top, rgba(8,7,9,.97) 0%, rgba(8,7,9,.7) 38%, rgba(8,7,9,.25) 65%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 0 3.5rem 7rem;
  max-width: 1000px;
}

/* Thin editorial rule above eyebrow — signature design detail */
.hero-rule {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--platinum));
  opacity: .4;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeIn .8s ease 2s forwards;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 2.2s forwards;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--platinum);
  opacity: .5;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 7.8vw, 8rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 2.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--cream);
  opacity: .85;
}

.hero-sub {
  font-size: .8rem;
  font-weight: 300;
  letter-spacing: .04em;
  color: rgba(228,224,216,.42);
  max-width: 340px;
  line-height: 1.85;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 2.65s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 3.5rem;
  right: 3.5rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  opacity: 0;
  animation: fadeIn 1s ease 3.2s forwards;
}

.hero-scroll-label {
  font-size: .52rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(174,170,163,.45);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  position: relative;
  overflow: hidden;
  background: rgba(174,170,163,.12);
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--platinum), transparent);
  animation: scrollPulse 2.4s var(--ease) 3.5s infinite;
}

@keyframes scrollPulse {
  0%   { transform: translateY(-100%); }
  70%  { transform: translateY(100%); }
  100% { transform: translateY(100%); opacity: 0; }
}

/* ─── PHILOSOPHY ─── */
#philosophy { background: var(--black); }

.philosophy-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.philosophy-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  font-weight: 300;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 2rem;
}

.philosophy-text h2 em { font-style: italic; color: var(--cream); opacity: .8; }

.philosophy-text p {
  font-size: .84rem;
  line-height: 2;
  color: rgba(228,224,216,.5);
  max-width: 440px;
}

.philosophy-text p + p { margin-top: 1.3rem; }

.divider-pt {
  width: 44px;
  height: 1px;
  background: var(--pt-line);
  margin: 2.2rem 0;
}

/* Editorial visual: images slightly break the grid — intentional tension */
.philosophy-visual {
  position: relative;
  height: 560px;
}

.phil-img {
  position: absolute;
  overflow: hidden;
}

.phil-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(174,170,163,.1);
  pointer-events: none;
  z-index: 2;
}

.phil-img-inner {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 12s var(--ease);
}

.phil-img:hover .phil-img-inner { transform: scale(1.05); }

.phil-img:nth-child(1) {
  width: 68%;
  height: 66%;
  top: 0;
  right: -2rem;
}

.phil-img:nth-child(1) .phil-img-inner {
  background-image:
    linear-gradient(rgba(8,7,9,0.2), rgba(8,7,9,0.1)),
    url('https://images.unsplash.com/photo-1650840542547-f618cf234a81?w=900&q=85&auto=format&fit=crop');
  animation: kb1 18s ease-in-out infinite alternate;
}

.phil-img:nth-child(2) {
  width: 50%;
  height: 52%;
  bottom: 0;
  left: 0;
}

.phil-img:nth-child(2) .phil-img-inner {
  background-image:
    linear-gradient(rgba(8,7,9,0.2), rgba(8,7,9,0.1)),
    url('https://images.unsplash.com/photo-1576020878377-226633b8d3e7?w=800&q=85&auto=format&fit=crop');
  animation: kb2 22s ease-in-out infinite alternate;
}

/* ─── SERVICES ─── */
#services { background: var(--dark); padding: 9rem 3.5rem; }

.services-inner { max-width: 1380px; margin: 0 auto; }

.services-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 5rem;
}

.services-top h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  font-weight: 300;
  line-height: 1.18;
  color: var(--white);
}

.services-top h2 em { font-style: italic; color: var(--cream); opacity: .8; }

.services-top p {
  font-size: .82rem;
  line-height: 2;
  color: rgba(228,224,216,.42);
  max-width: 360px;
  align-self: end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--pt-dim);
}

.service-card {
  padding: 3.5rem;
  border-right: 1px solid var(--pt-dim);
  position: relative;
  overflow: hidden;
  transition: background .5s ease;
}

.service-card:last-child { border-right: none; }

/* Large faint background number — editorial technique */
.service-card::before {
  font-family: var(--font-serif);
  font-size: 9rem;
  font-weight: 300;
  color: rgba(174,170,163,.04);
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  line-height: 1;
  pointer-events: none;
  transition: opacity .5s ease;
}

.service-card:nth-child(1)::before { content: '01'; }
.service-card:nth-child(2)::before { content: '02'; }
.service-card:nth-child(3)::before { content: '03'; }

.service-card:hover::before { color: rgba(174,170,163,.06); }

/* Bottom line reveal on hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--platinum), transparent);
  transition: width .7s var(--ease);
}

.service-card:hover { background: rgba(255,255,255,.015); }
.service-card:hover::after { width: 80%; }

.service-num {
  font-family: var(--font-sans);
  font-size: .58rem;
  letter-spacing: .35em;
  color: var(--platinum);
  opacity: .5;
  display: block;
  margin-bottom: 2.2rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.service-card h3 em { font-style: italic; color: var(--cream); opacity: .8; }

.service-card p {
  font-size: .77rem;
  line-height: 2;
  color: rgba(228,224,216,.42);
  position: relative;
  z-index: 1;
}

/* ─── PORTFOLIO ─── */
#portfolio { background: var(--black); }

.portfolio-inner { max-width: 1380px; margin: 0 auto; }

.portfolio-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.portfolio-top h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  font-weight: 300;
  color: var(--white);
}

.portfolio-top h2 em { font-style: italic; color: var(--cream); opacity: .8; }

.portfolio-note {
  font-size: .62rem;
  letter-spacing: .1em;
  color: rgba(174,170,163,.45);
  text-align: right;
  max-width: 160px;
  line-height: 1.7;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

.p-item { position: relative; overflow: hidden; }
.p-item:nth-child(1) { grid-column: 1 / 8; }
.p-item:nth-child(2) { grid-column: 8 / 13; }
.p-item:nth-child(3) { grid-column: 1 / 5; }
.p-item:nth-child(4) { grid-column: 5 / 10; }
.p-item:nth-child(5) { grid-column: 10 / 13; }

.p-img { position: relative; overflow: hidden; width: 100%; }
.p-item:nth-child(1) .p-img { aspect-ratio: 16/9; }
.p-item:nth-child(2) .p-img { aspect-ratio: 4/5; }
.p-item:nth-child(3) .p-img { aspect-ratio: 3/4; }
.p-item:nth-child(4) .p-img { aspect-ratio: 5/4; }
.p-item:nth-child(5) .p-img { aspect-ratio: 3/4; }

.p-img-inner {
  position: absolute;
  inset: -7%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 9s var(--ease);
}

.p-item:hover .p-img-inner { transform: scale(1.07); }

/* Portfolio — free Unsplash luxury event photos */
.p-item:nth-child(1) .p-img-inner {
  background-image: url('https://images.unsplash.com/photo-1749309610792-f8ad9b673fe5?w=1200&q=85&auto=format&fit=crop');
  background-position: center 40%;
}

.p-item:nth-child(2) .p-img-inner {
  background-image: url('https://images.unsplash.com/photo-1760385737098-0b555a75b2ba?w=900&q=85&auto=format&fit=crop');
}

.p-item:nth-child(3) .p-img-inner {
  background-image: url('https://images.unsplash.com/photo-1653821355736-0c2598d0a63e?w=800&q=85&auto=format&fit=crop');
  background-position: center top;
}

.p-item:nth-child(4) .p-img-inner {
  background-image: url('https://images.unsplash.com/photo-1562050147-fda1cc9a6378?w=1000&q=85&auto=format&fit=crop');
  background-position: center 30%;
}

.p-item:nth-child(5) .p-img-inner {
  background-image: url('https://images.unsplash.com/photo-1536942839176-bf9deb5b6f0d?w=800&q=85&auto=format&fit=crop');
  background-position: center;
}

.p-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,7,9,.92) 0%, transparent 62%);
  opacity: 0;
  transition: opacity .5s ease;
}

.p-item:hover .p-overlay { opacity: 1; }

.p-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.6rem;
  z-index: 2;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .52s var(--ease), opacity .52s ease;
}

.p-item:hover .p-caption { transform: translateY(0); opacity: 1; }

.p-caption-sub {
  font-family: var(--font-sans);
  font-size: .55rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--platinum);
  opacity: .75;
  display: block;
  margin-bottom: .35rem;
}

.p-caption h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  color: var(--white);
}

/* Corner bracket — appears on hover */
.p-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-top: 1px solid rgba(174,170,163,.45);
  border-left: 1px solid rgba(174,170,163,.45);
  z-index: 3;
  opacity: 0;
  transform: translate(-4px,-4px);
  transition: opacity .4s ease, transform .4s var(--ease);
}

.p-item:hover::before { opacity: 1; transform: translate(0,0); }

/* ─── STATEMENT — left-aligned, not centered (anti-template) ─── */
.statement {
  background: var(--dark);
  padding: 11rem 3.5rem;
  position: relative;
  overflow: hidden;
}

/* Large background letter — signature design element */
.statement::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 32rem;
  line-height: 1;
  color: rgba(174,170,163,.025);
  position: absolute;
  top: -4rem;
  left: 0;
  pointer-events: none;
}

.statement-inner {
  max-width: 1380px;
  margin: 0 auto;
}

.statement blockquote {
  max-width: 760px;
}

.statement-rule {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--platinum), transparent);
  opacity: .3;
  margin-bottom: 3rem;
}

.statement blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.42;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.statement blockquote p em {
  font-style: normal;
  color: var(--cream);
  opacity: .75;
}

.statement cite {
  font-family: var(--font-sans);
  font-size: .58rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--platinum);
  opacity: .5;
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.statement cite::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--platinum);
  opacity: .5;
}

/* ─── CONTACT ─── */
#contact { background: var(--black); }

.contact-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  font-weight: 300;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 1.8rem;
}

.contact-info h2 em { font-style: italic; color: var(--cream); opacity: .8; }

.contact-info > p {
  font-size: .82rem;
  line-height: 2;
  color: rgba(228,224,216,.45);
  margin-bottom: 3rem;
  max-width: 380px;
}

.contact-details { display: flex; flex-direction: column; gap: 1.8rem; }

.contact-detail-lbl {
  font-family: var(--font-sans);
  font-size: .55rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--platinum);
  opacity: .55;
  display: block;
  margin-bottom: .25rem;
}

.contact-detail-val {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  color: var(--cream);
}

.contact-detail-val a {
  color: inherit;
  text-decoration: none;
  transition: color .3s ease;
}

.contact-detail-val a:hover { color: var(--white); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.form-group { position: relative; }

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: .55rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(174,170,163,.52);
  margin-bottom: .7rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(228,224,216,.1);
  padding: .65rem 0;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: rgba(174,170,163,.3); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(228,224,216,.18); }

.form-group textarea { resize: none; height: 86px; }
.form-group select option { background: var(--dark); color: var(--cream); }

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--platinum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .42s var(--ease);
  pointer-events: none;
  opacity: .7;
}

.form-group:focus-within .form-line { transform: scaleX(1); }

.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  background: transparent;
  border: 1px solid rgba(174,170,163,.28);
  padding: .95rem 2.2rem;
  color: var(--platinum);
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: none;
  transition: background .38s ease, border-color .38s ease, padding .38s var(--ease), color .38s ease;
  align-self: flex-start;
  margin-top: .3rem;
}

.btn-send:hover {
  background: rgba(174,170,163,.06);
  border-color: rgba(174,170,163,.5);
  padding-right: 3rem;
  color: var(--cream);
}

.btn-send-arrow {
  display: flex;
  align-items: center;
  position: relative;
  width: 20px;
  transition: width .38s var(--ease);
}

.btn-send:hover .btn-send-arrow { width: 34px; }

.btn-send-arrow::before {
  content: '';
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.btn-send-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .7;
}

.form-success {
  display: none;
  padding: 1.4rem;
  border: 1px solid rgba(174,170,163,.22);
  background: rgba(174,170,163,.04);
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 300;
  color: var(--platinum);
  font-style: italic;
}

.form-success.show { display: block; }

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--pt-dim);
  padding: 3rem 3.5rem;
}

.footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  opacity: .5;
}

.footer-logo .logo-wordmark { font-size: .72rem; }

.footer-copy {
  font-size: .58rem;
  letter-spacing: .16em;
  color: rgba(228,224,216,.25);
  text-align: center;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

.footer-links a {
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(228,224,216,.25);
  text-decoration: none;
  transition: color .3s ease;
}

.footer-links a:hover { color: var(--platinum); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .philosophy-inner { gap: 4rem; }
  .phil-img:nth-child(1) { right: 0; }
}

@media (max-width: 900px) {
  #main-nav { padding: 1.5rem 1.75rem; }
  #main-nav.scrolled { padding: 1rem 1.75rem; }
  .nav-links { display: none; }

  section { padding: 5.5rem 1.75rem; }
  #philosophy, #services, #portfolio, #contact { padding: 5.5rem 1.75rem; }

  .hero-content { padding: 0 1.75rem 5.5rem; }
  .hero-scroll { display: none; }

  .philosophy-inner { grid-template-columns: 1fr; gap: 3rem; }
  .philosophy-visual { height: 300px; }
  .phil-img:nth-child(1) { width: 72%; height: 72%; right: 0; }
  .phil-img:nth-child(2) { width: 55%; height: 56%; }

  .services-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--pt-dim); }
  .service-card:last-child { border-bottom: none; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .p-item { grid-column: auto !important; }
  .p-img { aspect-ratio: 4/3 !important; }

  .statement { padding: 7rem 1.75rem; }
  .statement::before { font-size: 16rem; }

  .contact-inner { grid-template-columns: 1fr; gap: 4rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.2rem; }
  .footer-links { justify-content: center; }
  .footer-logo { justify-content: center; }
}
