:root {
  --ink: #183c3b;
  --muted: #65807b;
  --paper: #f4f0e8;
  --peach: #e7a27f;
  --coral: #d97663;
  --sage: #a7b9a7;
  --line: rgba(24, 60, 59, 0.17);
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: '';
  opacity: .5;
  background-image: linear-gradient(rgba(24, 60, 59, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 60, 59, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 76%);
}

.page-shell { max-width: 1440px; min-height: 100vh; margin: 0 auto; padding: 32px 6.5vw 24px; }

.topbar, footer { display: flex; align-items: center; justify-content: space-between; }
.topbar { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.main-nav { display: flex; align-items: center; gap: 27px; }
.society-menu { position: relative; }
.society-menu summary { display: flex; align-items: center; gap: 9px; color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 700; list-style: none; }
.society-menu summary::-webkit-details-marker { display: none; }
.society-menu summary span { color: var(--coral); font-size: 17px; line-height: 1; transition: transform .2s; }
.society-menu[open] summary span { transform: rotate(180deg); }
.society-menu-list { position: absolute; top: calc(100% + 15px); right: 0; z-index: 3; display: grid; width: 255px; padding: 7px 13px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 28px rgba(24, 60, 59, .12); }
.society-menu-list a { padding: 10px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 11px; text-decoration: none; }
.society-menu-list a:last-child { border-bottom: 0; }
.society-menu-list a:hover { color: var(--coral); }
.nav-contact { color: var(--ink); font-size: 11px; font-weight: 700; text-decoration-color: var(--coral); text-underline-offset: 5px; }
.wordmark { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; }
.wordmark strong { color: var(--coral); font-weight: 500; }
.wordmark-mark { display: flex; align-items: flex-end; gap: 3px; width: 23px; height: 22px; }
.wordmark-mark i { display: block; width: 5px; background: var(--ink); transform: skew(-15deg); }
.wordmark-mark i:nth-child(1) { height: 12px; opacity: .54; }
.wordmark-mark i:nth-child(2) { height: 17px; opacity: .78; }
.wordmark-mark i:nth-child(3) { height: 22px; }
.status-pill { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(217, 118, 99, .14); }

.hero { display: grid; grid-template-columns: minmax(310px, .82fr) 1.18fr; min-height: 530px; border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 74px 9% 76px 0; animation: rise .8s ease-out both; }
.eyebrow { margin: 0 0 26px; color: var(--coral); font-family: var(--mono); font-size: 10px; letter-spacing: .11em; line-height: 1.5; text-transform: uppercase; }
.eyebrow span { margin-right: 15px; color: var(--muted); }
h1 { max-width: 650px; margin: 0; font-size: clamp(46px, 6.2vw, 86px); font-weight: 600; letter-spacing: -.065em; line-height: .98; }
h1 em { color: var(--coral); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.07em; }
.intro { max-width: 390px; margin: 31px 0 27px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.contact-link { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: none; }
.contact-link span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 15px; transition: color .2s, background .2s; }
.contact-link:hover span { color: var(--paper); background: var(--ink); }

.architectural-art { position: relative; min-height: 530px; overflow: hidden; background: var(--sage); }
.architectural-art::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 58%, rgba(24, 60, 59, .72) 100%); pointer-events: none; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.art-caption { position: absolute; right: 25px; bottom: 19px; left: 25px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.art-label { color: var(--paper); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }

.societies { padding: 56px 0 61px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.societies-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 32px; }
.societies-heading .eyebrow { margin-bottom: 17px; }
.societies-heading h2 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
.societies-heading h2 em { color: var(--coral); font-family: Georgia, serif; font-weight: 400; }
.societies-heading > p { max-width: 330px; margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.society-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
.society-item { min-width: 0; padding: 19px 0 22px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.society-index { color: var(--coral); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.society-item h3 { margin: 14px 0 9px; font-size: 17px; font-weight: 700; line-height: 1.25; }
.society-item p { min-height: 66px; margin: 0 0 15px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.society-item p.society-type { min-height: 0; margin-bottom: 15px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.society-item > a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--mono); font-size: 9px; text-decoration: none; text-transform: uppercase; }
.society-item > a span { color: var(--coral); font-size: 14px; }
.society-item > a:hover { color: var(--coral); }

.project-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); min-height: 430px; border-bottom: 1px solid var(--line); }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 64px 10% 64px 0; animation: rise .8s ease-out both; }
.project-copy h1 { max-width: 700px; font-size: clamp(48px, 6.4vw, 82px); }
.project-intro { max-width: 440px; margin: 26px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.project-facts { display: flex; flex-direction: column; justify-content: center; align-self: stretch; padding: 36px; background: var(--ink); color: var(--paper); }
.project-facts .eyebrow { color: var(--peach); }
.project-facts .eyebrow span { color: rgba(244, 240, 232, .55); }
.project-facts dl { margin: 0; }
.project-facts dl div { padding: 16px 0; border-top: 1px solid rgba(244, 240, 232, .22); }
.project-facts dt { margin-bottom: 6px; color: var(--peach); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.project-facts dd { margin: 0; font-size: 13px; line-height: 1.6; }
.project-description { display: grid; grid-template-columns: minmax(190px, .7fr) 1.3fr; column-gap: 8%; padding: 55px 0 62px; border-bottom: 1px solid var(--line); }
.project-description .eyebrow { grid-column: 1; margin-bottom: 0; }
.project-description h2 { grid-column: 1; align-self: start; margin: 18px 0 0; font-size: clamp(29px, 3.7vw, 44px); font-weight: 600; letter-spacing: -.055em; line-height: 1.04; }
.project-description > p:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: 610px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.project-enquiry { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 35px 0; padding: 29px 32px; background: var(--ink); color: var(--paper); }
.project-enquiry .eyebrow { margin-bottom: 14px; color: var(--peach); }
.project-enquiry .eyebrow span { color: rgba(244, 240, 232, .55); }
.project-enquiry h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; }
.project-contact { display: inline-flex; align-items: center; gap: 13px; padding-bottom: 8px; border-bottom: 1px solid rgba(244, 240, 232, .45); color: var(--paper); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.project-contact span { color: var(--peach); font-size: 16px; }
.project-contact:hover { color: var(--peach); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--coral); }

.details { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8%; padding: 43px 0 55px; }
.service-block h2 { margin: -3px 0 15px; font-size: clamp(27px, 3.4vw, 45px); font-weight: 600; letter-spacing: -.06em; line-height: 1.04; }
.service-block > p:not(.eyebrow) { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.service-tags span { padding: 8px 10px; border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.contact-block { padding: 25px 28px 29px; background: var(--ink); color: var(--paper); }
.contact-block .eyebrow { color: var(--peach); }
.contact-block .eyebrow span { color: rgba(244, 240, 232, .55); }
.contact-name { margin: -2px 0 20px; color: var(--paper); font-size: 24px; font-weight: 600; }
.contact-block a { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; margin-top: 9px; padding: 13px 0; border-top: 1px solid rgba(244, 240, 232, .22); color: var(--paper); font-family: var(--mono); font-size: 14px; text-decoration: none; }
.contact-block a span { color: var(--peach); font-size: 17px; }
.contact-block a:hover { color: var(--peach); }
footer { padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 700px) {
  .page-shell { padding: 22px 22px 20px; }
  .topbar { padding-bottom: 23px; }
  .main-nav { gap: 17px; }
  .society-menu summary, .nav-contact { font-size: 10px; }
  .society-menu-list { right: -10px; width: min(255px, calc(100vw - 44px)); }
  .hero { display: block; min-height: 0; }
  .hero-copy { padding: 63px 0 56px; }
  h1 { font-size: clamp(46px, 14vw, 67px); }
  .intro { margin-top: 25px; font-size: 14px; }
  .architectural-art { min-height: 330px; }
  .art-caption { right: 16px; bottom: 14px; left: 16px; }
  .art-label { font-size: 8px; }
  .societies { padding: 42px 0 45px; }
  .societies-heading { display: block; margin-bottom: 24px; }
  .societies-heading > p { margin-top: 17px; }
  .society-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .society-item p { min-height: 88px; }
  .society-item p.society-type { min-height: 0; }
  .project-hero { grid-template-columns: 1fr; min-height: 0; }
  .project-copy { padding: 56px 0 48px; }
  .project-facts { padding: 25px 21px; }
  .project-description { grid-template-columns: 1fr; row-gap: 16px; padding: 39px 0 44px; }
  .project-description .eyebrow, .project-description h2, .project-description > p:last-child { grid-column: 1; grid-row: auto; }
  .project-description h2 { margin: -4px 0 2px; }
  .project-description > p:last-child { font-size: 13px; }
  .project-enquiry { align-items: flex-start; flex-direction: column; margin: 27px 0; padding: 23px 20px; }
  .details { grid-template-columns: 1fr; gap: 35px; padding: 35px 0 44px; }
  .contact-block { padding: 23px 20px 25px; }
  .eyebrow { margin-bottom: 21px; }
  footer { align-items: flex-start; gap: 12px; font-size: 8px; line-height: 1.5; }
  footer span:last-child { text-align: right; }
}

@media (max-width: 460px) {
  .wordmark { gap: 7px; font-size: 11px; }
  .wordmark-mark { transform: scale(.85); transform-origin: left center; width: 20px; }
  .main-nav { gap: 12px; }
  .society-grid { grid-template-columns: 1fr; }
  .society-item p { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
}
