/* Arvel Developers brand system - derived from the supplied brand kit. */
:root {
  --paper: #F9F9F5;
  --ink: #2D2D2D;
  --forest: #2D2D2D;
  --forest-deep: #2D2D2D;
  --sage: #D7C9AE;
  --gold: #764D00;
  --muted: #756D62;
  --sand: #D7C9AE;
  --cream: #EAE0D2;
  --display: "Cormorant Garamond", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Avenir Next", Avenir, Manrope, Arial, sans-serif;
  --ease: cubic-bezier(.2,.72,.19,1);
}

html { background: var(--paper); }
body {
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(45,45,45,.045) 1px) 0 0 / 12.5vw 100%,
    var(--paper);
  font-family: var(--sans);
}
main { overflow: clip; }
::selection { background: var(--sand); color: var(--ink); }

/* Brand mark */
.brand { width: 172px; height: 74px; overflow: visible; }
.brand img { width: 100%; height: 62px; object-fit: contain; filter: none; mix-blend-mode: normal; }
.brand span,.footer-brand span { display: none; }
.site-header.scrolled { background: rgba(249,249,245,.94); border-color: rgba(45,45,45,.13); color: var(--ink); }
.site-header.scrolled .brand img { content: url("assets/arvel-logo-bronze.png"); }
.loader { background: var(--ink); }
.loader-logo { content: url("assets/arvel-logo-light.png"); width: min(260px,62vw); height: auto; }
.loader-line { width: 120px; background: rgba(249,249,245,.17); }
.loader-line i { background: var(--sand); }

/* Typography */
main h1,main h2,main h3,
.career-item summary,.value-list h3,.partner-name-list h3 {
  font-family: var(--display) !important;
  font-weight: 500;
  letter-spacing: -.035em !important;
}
main h1 em,main h2 em,main h3 em {
  font-family: var(--display) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: var(--gold) !important;
}
.hero h1,.page-hero-content h1 { font-size: clamp(72px,10vw,148px); line-height: .82; }
.hero h1 em,.page-hero-content h1 em { color: var(--cream) !important; }
.eyebrow,.section-index,.main-nav,.header-contact,.button,.page-hero-foot {
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { color: var(--gold); font-size: 10px; font-weight: 600; }
.section-index { color: #6e685f; }
.section-index > span { color: var(--gold); }
.section-index i { background: var(--gold); }

/* Header */
.site-header { height: 104px; border-color: rgba(249,249,245,.25); }
.site-header.scrolled { height: 80px; }
.main-nav { gap: clamp(20px,2.3vw,38px); font-size: 10px; }
.main-nav a { position: relative; }
.main-nav a:after { content:""; position:absolute; height:1px; left:0; right:100%; bottom:-8px; background:currentColor; transition:right .35s var(--ease); }
.main-nav a:hover:after,.main-nav a.active:after { right:0; }
.header-contact { border: 1px solid currentColor; padding: 11px 14px 10px; font-size: 9px; }

/* Architectural hero */
.hero,.page-hero { background: var(--ink); }
.page-hero:before {
  content:""; position:absolute; z-index:1; right:7vw; top:17%; width:min(31vw,440px); height:min(30vw,420px);
  background:repeating-linear-gradient(90deg,transparent 0 22px,rgba(215,201,174,.52) 23px 26px);
  clip-path:polygon(0 88%,58% 0,58% 100%,0 100%); pointer-events:none;
}
.page-hero:after {
  content:""; position:absolute; z-index:1; right:-3vw; top:21%; width:min(27vw,390px); height:2px;
  background:rgba(234,224,210,.72); transform:rotate(39deg); transform-origin:left; pointer-events:none;
}
.hero-image,.page-hero-image { filter: saturate(.48) contrast(1.06); }
.hero-shade { background: linear-gradient(90deg, rgba(45,45,45,.94) 0%,rgba(45,45,45,.7) 40%,rgba(45,45,45,.22) 78%),linear-gradient(0deg,rgba(45,45,45,.68),transparent 45%); }
.hero-kicker { color: var(--cream); }
.live-dot { background: var(--sand); box-shadow: 0 0 0 5px rgba(215,201,174,.14); }
.hero-content { max-width: 850px; }
.hero-copy,.page-hero-content > p:not(.eyebrow) { color: rgba(249,249,245,.78); }
.hero-depth {
  width: min(42vw,610px); height: min(38vw,530px); aspect-ratio: auto;
  right: 4vw; top: 49%; border: 0; border-radius: 0; box-shadow: none;
  opacity: .58; overflow: visible; animation: arvel-float 13s ease-in-out infinite;
}
.hero-depth:before {
  inset: auto auto 12% 2%; width: 45%; height: 65%; border: 0; border-radius: 0;
  transform: none; background: repeating-linear-gradient(90deg,transparent 0 23px,var(--sand) 24px 28px);
  clip-path: polygon(0 86%,100% 0,100% 100%,0 100%);
}
.hero-depth:after {
  inset: 4% 0 auto auto; width: 61%; height: 3px; border: 0; border-radius: 0;
  background: var(--cream); transform: rotate(42deg); transform-origin: left center;
}
.hero-depth span { left:45%; top:8%; width:4px; height:74%; border-radius:0; background:var(--cream); box-shadow:none; }
.hero-depth i { left:45%; top:81%; width:36%; height:4px; border-radius:0; background:var(--cream); box-shadow:none; }
.hero-depth b { display:none; }
@keyframes arvel-float { 0%,100% { translate:0 0; } 50% { translate:0 -12px; } }
.hero-caption { border-color: rgba(249,249,245,.3); }
.scroll-line { background: var(--sand); }

/* Buttons and links */
.button { min-height: 54px; padding: 0 24px; border: 1px solid currentColor; border-radius: 0; background: transparent; }
.button-light { background: transparent; color: inherit; border-color: currentColor; }
.button-light:hover { background: var(--cream); color: var(--ink); }
.play-button,.text-link,.collection-link,.office-map-link,.location-link,.back-link {
  min-height: 46px; width: max-content; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer;
  font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase;
  transition: background-color .3s,color .3s,border-color .3s,transform .3s var(--ease);
}
.play-button:hover,.text-link:hover,.collection-link:hover,.office-map-link:hover,.location-link:hover,.back-link:hover {
  background: var(--gold); border-color: var(--gold); color: var(--paper); transform: translateY(-2px);
}
.play-button .play-icon { border: 0; width: auto; height: auto; }
.play-button .play-time { padding-left: 10px; border-left: 1px solid currentColor; }
.project-intro-body .text-link + .text-link { margin-left: 8px; }
.project-open,.collection-arrow { background: var(--gold); border-color: var(--gold); color: var(--paper); }

/* Editorial sections */
.intro { background: var(--paper); }
.intro-stamp { border-color: var(--gold); color: var(--gold); }
.intro-stamp b { color: var(--gold); }
.projects,.contact-section,.career-cta,.work-outro,.collection-cta,.detail-cta { background: var(--ink); }
.projects { position: relative; }
.projects:before,.story-values:before,.career-cta:before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(135deg,transparent 0 76%,rgba(215,201,174,.07) 76% 76.25%,transparent 76.25%);
}
.project-photo,.collection-image,.amenity-card,.story-image-strip { border: 1px solid rgba(118,77,0,.24); }
.project-info { border-color: rgba(249,249,245,.2); }
.project-info h3,.collection-caption h3 { color: var(--paper); }
.project-type,.project-meta { color: rgba(249,249,245,.7); }
.home-contact-cta { background: var(--cream); color: var(--ink); }
.home-contact-cta:before { content:""; position:absolute; width:42vw; height:2px; right:-6vw; top:34%; background:var(--gold); transform:rotate(-36deg); transform-origin:right; opacity:.45; }
.home-contact-cta .light-index { color: #71695f; }
.home-contact-cta h2 em { color: var(--gold) !important; }
.home-contact-cta .button-light { background:transparent; border-color:var(--gold); color:var(--gold); }
.home-contact-cta .button-light:hover { background:var(--gold); color:var(--paper); }
.contact-orb { border-color: rgba(118,77,0,.25); }
.collection-intro,.story-statement,.careers-intro,.work-intro { background: var(--paper); }
.opportunity-alt,.project-gallery,.story-belief,.partner-form-section,.career-apply-section { background: var(--cream); }
.story-values { background: var(--ink); position:relative; }
.story-values h2 em,.career-cta h2 em,.work-outro h2 em,.collection-cta h2 em,.detail-cta h2 em { color: var(--sand) !important; }
.value-list article { border-color: rgba(215,201,174,.25); }
.value-list article > span { color: var(--sand); }

/* Facts, accordions and cards */
.facts-row,.career-item,.partner-name-list > div { border-color: rgba(45,45,45,.2); }
.rera-code,.location-card { border-color: rgba(118,77,0,.28); }
.career-hint b,.partner-name-list > div > span,.location-number { color: var(--gold); }
.person-name { display:flex; flex:1; align-items:baseline; justify-content:space-between; gap:24px; }
.person-name h3 { margin:0; }
.person-name p { margin:0; color:var(--muted); font-size:10px; letter-spacing:.1em; text-align:right; text-transform:uppercase; }
.story-team { display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(48px,9vw,140px); padding-top:105px; padding-bottom:120px; background:var(--cream); }
.story-team-heading > .eyebrow { margin:45px 0 12px; }
.story-team-heading h2 { margin:0 0 17px; font-size:clamp(46px,5.4vw,68px); line-height:1; }
.story-team-heading > p:last-child { max-width:360px; color:var(--muted); }
.core-team-list { align-self:center; }
.location-card { background: var(--cream); }
.opportunity-index a { border-color: rgba(45,45,45,.2); }

/* Forms */
.opportunity-form,.partner-form,.career-apply-form,.contact-page-form { background: var(--ink); border-top: 3px solid var(--gold); }
.contact-form input,.contact-form select,.contact-form textarea {
  border-color: rgba(215,201,174,.4); background: rgba(249,249,245,.035); color: var(--paper);
}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus { border-color: var(--sand); background: rgba(249,249,245,.08); }
.contact-form label { color: var(--paper); }
.contact-form label > span,.form-head p span { color: var(--sand); }
.form-head h3 { color: var(--paper); }
.contact-form .button-light { color:var(--paper); border-color:var(--sand); }
.contact-form .button-light:hover { background:var(--sand); color:var(--ink); }
.contact-map iframe,.project-location iframe { border: 1px solid var(--sand); filter: grayscale(.3) sepia(.12); }

/* Footer */
footer { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(215,201,174,.25); }
.footer-brand { width: 170px; }
.footer-brand img { content: url("assets/arvel-logo-light.png"); width: 170px; height: auto; }
footer > p,.copyright { color: rgba(249,249,245,.65); }

/* Motion */
.reveal { transform: translateY(30px); }
.project-card,.collection-card,.amenity-card,.location-card { transition: transform .6s var(--ease),box-shadow .6s var(--ease); }
.collection-card:hover,.location-card:hover { transform: translateY(-5px); }
.project-photo,.collection-image { box-shadow: 0 28px 80px rgba(45,45,45,.2); }

@media (max-width: 1000px) {
  .main-nav { background: var(--paper); }
  .hero-depth { right:-8vw; opacity:.42; }
}

@media (max-width: 700px) {
  body { background: var(--paper); }
  .site-header { height:82px; }
  .brand { width:125px; height:60px; }
  .brand img { height:52px; }
  .header-contact { border:0; padding:0; letter-spacing:.1em; }
  .hero h1,.page-hero-content h1 { font-size:clamp(68px,20vw,96px); }
  .hero-depth { width:86vw; height:68vw; right:-42vw; top:40%; opacity:.28; }
  .page-hero:before { right:-26vw; top:24%; width:68vw; height:62vw; opacity:.48; }
  .page-hero:after { right:-18vw; top:29%; width:61vw; opacity:.48; }
  .hero-depth:before { background:repeating-linear-gradient(90deg,transparent 0 14px,var(--sand) 15px 18px); }
  .intro,.collection-intro,.story-statement,.careers-intro,.work-intro { background:var(--paper); }
  .project-intro-body .text-link + .text-link { margin-left:0; margin-top:8px; }
  .story-team { display:block; padding-top:82px; padding-bottom:86px; }
  .story-team-heading > .eyebrow { margin:38px 0 11px; }
  .story-team-heading h2 { font-size:54px; }
  .core-team-list { margin-top:33px; }
  .person-name { display:block; }
  .person-name p { margin-top:4px; text-align:left; font-size:8px; }
  footer { gap:24px; }
  .footer-brand,.footer-brand img { width:140px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-depth { animation:none; }
}
