/* Arvel Developers — final refinement layer */
:root {
  --paper: #F9F9F5;
  --ink: #2D2D2D;
  --gold: #764D00;
  --sand: #D7C9AE;
  --cream: #EAE0D2;
  --muted: #746E65;
  --line: rgba(45,45,45,.16);
  --light-line: rgba(249,249,245,.22);
  --shadow-soft: 0 24px 70px rgba(35,31,25,.11);
  --shadow-card: 0 16px 42px rgba(35,31,25,.09);
  --gutter: clamp(22px, 6.5vw, 108px);
}

html { scroll-padding-top: 88px; }
body {
  font-size: 15px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  background-image:
    repeating-linear-gradient(0deg, rgba(45,45,45,.28) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(45,45,45,.16) 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
}
body.menu-open { overflow: hidden; }
img { background: transparent; }
.reveal { transition-delay: calc(var(--reveal-order, 0) * 70ms); }
.reveal.is-visible { transition-delay: calc(var(--reveal-order, 0) * 70ms); }
main p:not(.eyebrow):not(.form-status):not(.form-privacy) {
  font-size: clamp(13px, .98vw, 15px);
  line-height: 1.82;
}
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Header and progress */
.site-header {
  height: 96px;
  padding-inline: var(--gutter);
  transition: height .35s var(--ease), background-color .35s, color .35s, border-color .35s, box-shadow .35s;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  transition: transform .08s linear;
}
.site-header.scrolled {
  height: 76px;
  box-shadow: 0 10px 35px rgba(45,45,45,.065);
  backdrop-filter: blur(18px) saturate(1.15);
}
.brand { width: 156px; height: 70px; }
.brand img { width: 100%; height: 60px; }
.main-nav { gap: clamp(18px, 2.1vw, 34px); font-size: 10px; }
.main-nav a { padding: 12px 0; }
.header-contact {
  min-height: 46px;
  padding: 0 17px;
  font-size: 10px;
  background: rgba(249,249,245,.05);
  backdrop-filter: blur(10px);
}
.site-header.scrolled .header-contact { background: transparent; }

/* Hero clarity and entrance */
.hero, .page-hero { min-height: 650px; }
.hero-image, .page-hero-image {
  filter: saturate(.62) contrast(1.04);
  transition: transform 1.3s var(--ease), filter .8s ease;
}
.hero-shade,
.page-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(31,29,26,.91) 0%, rgba(31,29,26,.71) 42%, rgba(31,29,26,.2) 80%),
    linear-gradient(0deg, rgba(31,29,26,.72) 0%, transparent 40%, rgba(31,29,26,.14) 100%);
}
.hero-content, .page-hero-content { max-width: 860px; }
.hero-content .eyebrow, .page-hero-content .eyebrow {
  color: var(--cream);
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}
.hero h1, .page-hero-content h1 {
  font-size: clamp(70px, 9.6vw, 138px);
  line-height: .86;
  text-wrap: balance;
}
.hero-copy, .page-hero-content > p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(249,249,245,.88);
  font-size: clamp(13px, 1vw, 15px) !important;
  line-height: 1.75;
}
.hero-content > *, .page-hero-content > * { opacity: 0; transform: translateY(18px); }
.loaded .hero-content > *, .loaded .page-hero-content > * { animation: refresh-in .85s var(--ease) forwards; }
.loaded .hero-content > :nth-child(2), .loaded .page-hero-content > :nth-child(2) { animation-delay: .08s; }
.loaded .hero-content > :nth-child(3), .loaded .page-hero-content > :nth-child(3) { animation-delay: .16s; }
.loaded .hero-content > :nth-child(4), .loaded .page-hero-content > :nth-child(4) { animation-delay: .24s; }
@keyframes refresh-in { to { opacity: 1; transform: translateY(0); } }
.hero-caption, .page-hero-foot { color: rgba(249,249,245,.8); }
.page-hero:before { opacity: .58; }
.page-hero:after { opacity: .7; }

/* Controls */
.button, .play-button, .text-link, .collection-link,
.office-map-link, .location-link, .back-link {
  min-height: 50px;
  padding: 0 19px;
  border: 1px solid currentColor;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.button { gap: 24px; }
.hero .button-light, .page-hero .button-light {
  color: var(--paper);
  background: rgba(249,249,245,.06);
  border-color: rgba(249,249,245,.72);
  backdrop-filter: blur(10px);
}
.hero .button-light:hover, .page-hero .button-light:hover,
.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);
  box-shadow: 0 12px 30px rgba(55,37,11,.18);
}
.hero .play-button, .page-hero .play-button {
  border-color: rgba(249,249,245,.58);
  background: rgba(249,249,245,.035);
  color: var(--paper);
}
.play-icon { border: 0; }
.play-time { opacity: .76; }
.eyebrow { font-size: 10px; line-height: 1.5; }
.section-index { font-size: 9px; line-height: 1.5; }

/* Editorial rhythm */
.intro, .collection-intro, .project-intro, .story-statement,
.careers-intro, .work-intro, .story-belief, .story-partners,
.story-team, .career-apply-section, .partner-form-section,
.contact-page-main, .contact-locations {
  padding-top: clamp(88px, 10vw, 142px);
  padding-bottom: clamp(88px, 10vw, 142px);
}
.intro h2, .section-heading h2, .collection-intro h2,
.project-intro h2, .story-statement h2, .careers-intro h2,
.work-intro h2, .story-partners-heading h2, .story-team-heading h2 {
  text-wrap: balance;
}
.intro-bottom > p,
.collection-intro > div:nth-child(2) > p,
.project-intro-body > p:not(.eyebrow),
.story-statement-copy > p:not(.eyebrow),
.careers-intro > div:nth-child(2) > p:last-child,
.work-intro > div:nth-child(2) > p:last-child,
.story-partners-heading > p:last-child,
.story-team-heading > p:last-child {
  color: var(--muted);
  font-size: clamp(13px, .98vw, 15px);
}
.intro-stamp { width: 138px; height: 138px; background: rgba(234,224,210,.25); }

/* Image cards */
.project-photo, .collection-image, .amenity-card, .gallery-pair img,
.story-image-strip, .location-card {
  border-color: rgba(118,77,0,.22);
}
.project-photo, .collection-image {
  box-shadow: var(--shadow-soft);
}
.collection-image:after, .project-photo .photo-grain {
  background: linear-gradient(0deg, rgba(25,23,20,.72), transparent 42%);
}
.project-card, .collection-card, .amenity-card, .location-card {
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s;
}
.project-card:hover, .collection-card:hover, .location-card:hover { transform: translateY(-6px); }
.project-card:hover .project-photo, .collection-card:hover .collection-image,
.location-card:hover { box-shadow: var(--shadow-card); border-color: rgba(118,77,0,.42); }
.project-info, .collection-caption { padding-top: 24px; }
.project-info h3, .collection-caption h3 { line-height: 1; }
.amenity-grid { gap: clamp(10px, 1.35vw, 20px); }
.amenity-card { min-height: 300px; }
.amenity-card:after { inset: 38% 0 0; background: linear-gradient(0deg, rgba(20,18,16,.82), transparent); }
.amenity-card figcaption { font-size: 11px; letter-spacing: .03em; }
.gallery-pair { gap: 14px; }
.gallery-pair img { transition: transform .7s var(--ease), filter .5s; }
.gallery-pair img:hover { transform: scale(1.018); filter: saturate(1.06); }

/* Story and people */
.story-belief { background: linear-gradient(120deg, var(--cream), #f0ebe2 74%); }
.story-belief-copy > p:not(.eyebrow), .story-belief-values .value-list p,
.value-list p { font-size: 13px; line-height: 1.82; }
.value-list article { padding: 27px 0; }
.partner-name-list > div {
  position: relative;
  min-height: 92px;
  padding: 12px 0;
  transition: padding-left .35s var(--ease), background-color .35s;
}
.partner-name-list > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform .35s var(--ease);
}
.partner-name-list > div:hover { padding-left: 18px; background: rgba(234,224,210,.28); }
.partner-name-list > div:hover::before { transform: scaleY(1); }
.person-name p { font-size: 10px; line-height: 1.5; }
.story-image-strip:after {
  background: linear-gradient(90deg, rgba(30,27,23,.88), rgba(30,27,23,.48) 52%, rgba(30,27,23,.08));
}
.story-image-strip .eyebrow { color: var(--cream); }

/* Facts, careers and opportunities */
.facts-row { padding: 21px 0; }
.facts-row dt, .role-facts dt { font-size: 10px; }
.facts-row dd, .rera-code strong, .role-facts dd { font-size: 13px; }
.career-item summary { min-height: 82px; font-size: clamp(23px, 2.1vw, 31px); }
.career-item[open] { background: rgba(234,224,210,.26); }
.career-item[open] summary, .career-item-body { padding-left: 18px; padding-right: 18px; }
.career-item-body { padding-bottom: 28px; }
.career-hint { font-size: 11px; }
.opportunity-index a { min-height: 48px; align-items: center; font-size: 10px; }
.opportunity-form, .partner-form, .career-apply-form, .contact-page-form {
  border-top-width: 4px;
  box-shadow: 0 26px 70px rgba(32,29,25,.18);
}

/* Forms */
.contact-form label { margin-bottom: 20px; font-size: 11px; }
.contact-form label small { font-size: 9px; }
.contact-form input, .contact-form select {
  height: 52px;
  padding-inline: 15px;
  font-size: 13px;
}
.contact-form textarea { min-height: 112px; padding: 14px 15px; font-size: 13px; }
.form-head h3 { font-size: clamp(28px, 3vw, 38px); }
.form-head > p:last-child, .form-project-note, .form-privacy, .form-status { font-size: 11px; }
.form-submit { margin-top: 5px; }
.contact-info-list > div { padding: 19px 0; }
.contact-info-list > div > span { font-size: 10px; }
.contact-info-list a { font-size: 14px; }
.contact-info-list address { font-size: 13px; }
.location-card { min-height: 260px; padding: 31px; background: rgba(249,249,245,.7); }
.location-card h3 { font-size: 31px; }
.location-card address { font-size: 13px; }

/* Maps */
.contact-map iframe, .project-location iframe {
  filter: grayscale(.18) sepia(.08) saturate(.86);
  box-shadow: var(--shadow-card);
}
.project-location { gap: clamp(40px, 7vw, 110px); }
.project-location-address { font-size: 13px; line-height: 1.8; }

/* Closing sections and footer */
.home-contact-cta, .collection-cta, .detail-cta, .career-cta, .work-outro { isolation: isolate; }
.home-contact-cta .home-contact-copy > p:not(.eyebrow) { color: var(--muted); }
.home-contact-cta::after, .collection-cta::after, .detail-cta::after,
.career-cta::after, .work-outro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(215,201,174,.12), transparent 29%),
    linear-gradient(135deg, transparent 0 74%, rgba(215,201,174,.07) 74% 74.18%, transparent 74.18%);
}
footer {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(180px, .8fr) minmax(260px, 1.15fr);
  align-items: start;
  gap: 38px;
  padding: 72px var(--gutter) 34px;
}
.footer-brand, .footer-brand img { width: 190px; }
footer > p {
  margin: 18px 0 0;
  color: rgba(249,249,245,.74);
  font: 400 24px/1.15 var(--display);
  letter-spacing: -.025em;
}
footer .footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 15px 26px;
  font-size: 11px;
  line-height: 1.4;
}
.footer-links a { position: relative; width: max-content; max-width: 100%; }
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--sand);
  transition: right .3s var(--ease);
}
.footer-links a:hover { opacity: 1; }
.footer-links a:hover::after { right: 0; }
.copyright {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 21px;
  border-top: 1px solid var(--light-line);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .main-nav {
    position: fixed;
    inset: 82px 0 0;
    height: calc(100dvh - 82px);
    padding: 48px var(--gutter);
    gap: 0;
    justify-content: flex-start;
    background: rgba(249,249,245,.98);
    box-shadow: none;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font: 500 clamp(30px, 6vw, 48px)/1 var(--display);
    letter-spacing: -.025em;
    text-transform: none;
  }
  .main-nav a::after { display: none; }
  .menu-toggle { position: relative; z-index: 2; }
  .menu-toggle span { transition: transform .3s var(--ease), opacity .3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-header.menu-open { position: fixed; background: var(--paper); color: var(--ink); border-color: var(--line); }
  footer { grid-template-columns: 1fr 1fr; }
  footer .footer-links { grid-column: 2; grid-row: 1 / span 2; }
  footer > p { grid-column: 1; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .project-location { display: block; }
  .project-location-head { margin-bottom: 34px; }
  .project-location > iframe { height: 390px; min-height: 390px; }
  .contact-page-main, .career-apply-section, .partner-form-section,
  .opportunity-section, .story-belief, .story-partners, .story-team {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 700px) {
  :root { --gutter: 22px; }
  body::before { opacity: .022; }
  .site-header { height: 82px; }
  .site-header.scrolled { height: 72px; }
  .brand { width: 126px; height: 58px; }
  .brand img { height: 50px; }
  .header-contact { min-height: 42px; margin-right: 18px; padding: 0 11px; font-size: 8px; }
  .main-nav { inset: 72px 0 0; height: calc(100dvh - 72px); padding-top: 34px; }
  .hero, .page-hero { min-height: 620px; height: 100svh; }
  .hero h1, .page-hero-content h1 { font-size: clamp(61px, 18vw, 88px); line-height: .88; }
  .hero-content, .page-hero-content { left: var(--gutter); right: var(--gutter); max-width: none; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; max-width: 340px; }
  .hero-actions .button, .hero-actions .play-button { width: 100%; justify-content: space-between; }
  .page-hero-content > p:not(.eyebrow), .hero-copy { font-size: 13px !important; }
  .hero-caption, .page-hero-foot { font-size: 8px; gap: 18px; }
  .scroll-cue, .hero-side-note { display: none; }
  .page-hero:before { opacity: .32; }
  .page-hero:after { opacity: .4; }
  .button, .play-button, .text-link, .collection-link,
  .office-map-link, .location-link, .back-link { min-height: 48px; font-size: 9px; }
  .intro-stamp { display: none; }
  .section-heading, .life-top, .career-board-head { display: block; }
  .section-heading > p, .life-top > p { margin: 20px 0 0; }
  .amenity-grid { grid-template-columns: 1fr; }
  .amenity-card, .amenity-card:last-child { grid-column: auto; height: 280px; min-height: 280px; }
  .gallery-pair { grid-template-columns: 1fr; grid-template-rows: repeat(3, 240px); }
  .gallery-pair img:first-child { grid-column: auto; }
  .career-item summary { min-height: 76px; font-size: 22px; }
  .career-hint { max-width: 110px; text-align: right; }
  .role-facts > div { grid-template-columns: 1fr; gap: 5px; padding: 15px 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form input, .contact-form select { height: 52px; font-size: 16px; }
  .contact-form textarea { font-size: 16px; }
  .location-cards { grid-template-columns: 1fr; }
  .location-card { min-height: 230px; }
  .project-location > iframe, .contact-map iframe { height: 330px; min-height: 330px; }
  .project-location-head > .text-link { margin-top: 0; }
  .story-image-strip { height: 440px; }
  .story-image-strip:after { background: linear-gradient(90deg, rgba(30,27,23,.88), rgba(30,27,23,.28)); }
  .partner-name-list > div { min-height: 82px; }
  footer { display: block; padding-top: 58px; }
  .footer-brand, .footer-brand img { width: 164px; }
  footer > p { margin: 25px 0 35px; font-size: 22px; }
  footer .footer-links { grid-template-columns: 1fr 1fr; gap: 17px 18px; }
  .copyright { margin-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .page-hero-content > * { opacity: 1; transform: none; }
  .loaded .hero-content > *, .loaded .page-hero-content > * { animation: none; }
  .site-header::after { transition: none; }
}
