:root {
  --body-font-size: 16px;
  --body-line-height: 1.8;
}

body {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 84px;
  background: rgba(247, 244, 239, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border, #d4cec6);
  box-shadow: 0 8px 30px rgba(17, 17, 16, 0.04);
  transition: transform 0.3s ease;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 80px;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo-text {
  display: none;
}

.nav-logo:hover img {
  transform: scale(1.04);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-logo img {
  height: 80px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 34px;
  align-items: center;
}

.nav-links ul a,
.nav-links ul a.active {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted, #4a4640);
  transition: color 0.2s ease;
}

.nav-links ul a:hover,
.nav-links ul a.active {
  color: var(--gold, #c9a84c);
}

.nav-cta {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 0.5px solid var(--gold, #c9a84c);
  color: var(--slate, #1c1c1a);
  background: var(--gold, #c9a84c);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold-lt, #e2c97a);
}

.hero-eyebrow,
.section-label,
.footer-links a {
  font-family: 'Inter', sans-serif;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.hero-eyebrow {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 22px;
}

.hero-title em {
  font-style: italic;
  color: rgba(226, 201, 122, 0.65);
}

.hero-sub,
.section-body,
.footer-copy {
  font-family: 'Inter', sans-serif;
}

.hero-sub {
  font-size: 16px;
  color: rgba(247, 244, 239, 0.72);
  max-width: 520px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.section-label {
  font-size: 11px;
  letter-spacing: 2.8px;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.9;
}

.section-body {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.85;
}

.footer-copy {
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 0.3px;
  text-align: center;
}

.footer-links a {
  font-size: 12px;
  color: #ffffff;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 52px;
  height: 52px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.8px;
  background: var(--slate, #1c1c1a);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero,
.page-hero {
  animation: fadeInUp 0.8s ease both;
}

.hero-content,
.page-hero .section-inner {
  animation: fadeInUp 0.9s ease 0.1s both;
}

.vert-card,
.proj-card,
.stat,
.feature,
.award-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.vert-card:hover,
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(17, 17, 16, 0.12);
}

.hero-bg {
  animation: panImage 16s ease-in-out infinite alternate;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panImage {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
    line-height: 1.8;
  }

  nav {
    flex-wrap: wrap;
    min-height: 84px;
    padding: 0 20px;
  }

  .nav-logo img {
    height: 32px;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    padding: 8px 0 10px;
  }

  .nav-links.is-open {
    display: block;
  }

  .nav-links ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0 2px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 10px;
  }

  .nav-cta {
    margin-left: auto;
  }
}

/* Page-specific CSS */
:root {
  --slate: #1C1C1A;
  --stone: #E8E2D9;
  --gold: #C9A84C;
  --gold-lt: #E2C97A;
  --white: #F7F4EF;
  --muted: #4A4640;
  --border: #D4CEC6;
  --black: #111110;
  --cream: #F4F0E8;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--slate);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  left: 32px;
  top: 0;
  width: 1px;
  height: 100vh;
  background: var(--gold);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

section {
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 80px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--slate);
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--muted);
}

.section-title-white {
  color: var(--white);
}

.section-body-dim {
  color: rgba(247, 244, 239, 0.5);
}

.gold-rule {
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin: 20px 0 28px;
  opacity: 0.55;
}

.btn-gold {
  display: inline-block;
  padding: 13px 28px;
  background: var(--gold);
  color: var(--slate);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-gold:hover {
  background: var(--gold-lt);
}

.btn-ghost {
  display: inline-block;
  padding: 13px 28px;
  border: 0.5px solid var(--border);
  color: var(--slate);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost-white {
  display: inline-block;
  padding: 13px 28px;
  border: 0.5px solid rgba(247, 244, 239, 0.3);
  color: rgba(247, 244, 239, 0.8);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s;
}

.btn-ghost-white:hover {
  border-color: var(--white);
  color: var(--white);
}

.page-hero {
  padding-top: 84px;
  background: var(--slate);
}

.page-hero .section-inner {
  padding: 88px 80px 72px;
  border-bottom: 0.5px solid rgba(201, 168, 76, 0.15);
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.08;
}

.page-hero-title em {
  font-style: italic;
  color: rgba(226, 201, 122, 0.5);
}

.page-hero-sub {
  font-size: 15px;
  color: rgba(247, 244, 239, 0.45);
  max-width: 520px;
  margin-top: 16px;
  line-height: 1.8;
}

footer {
  background: var(--black);
  padding: 44px 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  border-top: 0.5px solid rgba(201, 168, 76, 0.15);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 80px;
  display: block;
}

.footer-copy {
  font-size: 12px;
  color: rgba(247, 244, 239, 0.2);
  letter-spacing: 0.3px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.tenants {
  background: var(--slate);
  border-bottom: 0.5px solid rgba(201, 168, 76, 0.12);
}

.tenants .section-inner {
  padding: 38px 80px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.tenants-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.28);
  white-space: nowrap;
}

.tenants-div {
  width: 1px;
  height: 28px;
  background: rgba(201, 168, 76, 0.25);
  flex-shrink: 0;
}

.tenants-names {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.tenants-names span {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: rgba(247, 244, 239, 0.28);
  font-style: italic;
}

/* Projects page styles */
.proj-list {
  background: var(--white);
}

.proj-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 52px;
  grid-auto-rows: 480px;
}

.proj-card-full {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 480px;
  text-decoration: none;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.proj-card-full:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(17, 17, 16, 0.16);
}

.proj-card-full.span-2 {
  grid-column: span 2;
}

.proj-img-full {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.proj-card-full:hover .proj-img-full {
  transform: scale(1.05);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 16, 0.12) 0%, rgba(17, 17, 16, 0.72) 100%);
}

.proj-body-full {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  color: #fff;
  padding: 0;
  max-width: 440px;
}

.proj-tag-full {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.proj-name-full {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.7vw, 42px);
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.05;
}

.proj-loc-full {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.proj-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

/* Services page styles */
.svc-intro {
  background: var(--white);
}

.svc-intro .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.svc-cards {
  background: var(--stone);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.svc-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(17, 17, 16, 0.12);
}

.svc-card-img {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.svc-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 16, 0.35) 0%, transparent 60%);
}

.svc-card-body {
  padding: 32px 28px 36px;
}

.svc-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 8px;
}

.svc-card-rule {
  width: 36px;
  height: 1.5px;
  background: var(--gold);
  margin-bottom: 16px;
  opacity: 0.7;
}

.svc-card-body-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.svc-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-card-list li {
  font-size: 12px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.svc-card-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.9;
}

.svc-detail-1 {
  background: var(--white);
}

.svc-detail-1 .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.svc-detail-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
}

.svc-detail-2 {
  background: var(--slate);
}

.svc-detail-2 .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wellness {
  background: var(--cream);
}

.wellness .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wellness-visual {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.wellness-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://www.carnoustie.in/images/yoga.png');
  background-size: cover;
  background-position: center;
  background-color: #0d1e0d;
}

.wellness-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 17, 16, 0.6) 0%, rgba(17, 17, 16, 0.2) 100%);
}

.wellness-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  background: rgba(17, 17, 16, 0.75);
  backdrop-filter: blur(8px);
  padding: 20px 24px;
  border-left: 2px solid var(--gold);
}

.wellness-badge-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 4px;
}

.wellness-badge-sub {
  font-size: 11px;
  color: rgba(247, 244, 239, 0.55);
  letter-spacing: 0.5px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.expertise-item {
  background: var(--white);
  padding: 20px;
  border-top: 1.5px solid var(--gold);
}

.expertise-item-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 6px;
}

.expertise-item-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.process {
  background: var(--slate);
}

.process .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.step-list {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 0.5px solid rgba(201, 168, 76, 0.12);
}

.step:first-child {
  padding-top: 0;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  color: var(--gold);
  opacity: 0.45;
  flex-shrink: 0;
  line-height: 1;
  width: 48px;
}

.step-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 5px;
}

.step-body {
  font-size: 13px;
  color: rgba(247, 244, 239, 0.42);
  line-height: 1.75;
}

.cta-band {
  background: var(--gold);
}

.cta-band .section-inner {
  padding: 52px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--slate);
  font-weight: 400;
}

.btn-slate {
  display: inline-block;
  padding: 13px 28px;
  background: var(--slate);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-slate:hover {
  background: #2e2e2c;
}

/* Offices page styles */
.featured {
  background: var(--slate);
}

.featured .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.featured-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
}

.feature {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 0.5px solid rgba(201, 168, 76, 0.12);
}

.feature:first-of-type {
  padding-top: 0;
  border-top: 0.5px solid rgba(201, 168, 76, 0.12);
  margin-top: 24px;
}

.feature-dash {
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
  padding-top: 2px;
  opacity: 0.7;
}

.feature-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 3px;
}

.feature-body {
  font-size: 13px;
  color: rgba(247, 244, 239, 0.42);
}

.options {
  background: var(--white);
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.opt-card {
  background: var(--stone);
  padding: 36px 32px;
  border-top: 2px solid var(--gold);
}

.opt-size {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  color: var(--slate);
  margin-bottom: 6px;
}

.opt-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.opt-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.amenities {
  background: var(--cream);
}

.amen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 52px;
  border-top: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
}

.amen {
  padding: 28px 24px;
  border-right: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.amen-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 6px;
}

.amen-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--slate);
  font-weight: 400;
}

@media (max-width: 900px) {
  .section-inner {
    padding: 64px 28px;
  }

  nav {
    padding: 0 20px;
  }

  nav ul {
    display: none;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 28px;
  }

  .footer-links {
    justify-content: center;
  }

  body::before {
    display: none;
  }

  .page-hero .section-inner {
    padding: 60px 28px;
  }

  .tenants .section-inner {
    padding: 28px;
  }

  .proj-grid-full {
    grid-template-columns: 1fr;
    grid-auto-rows: 420px;
  }

  .proj-card-full.span-2 {
    grid-column: span 1;
  }

  .proj-card-full {
    min-height: 420px;
  }

  .svc-intro .section-inner,
  .svc-detail-1 .section-inner,
  .svc-detail-2 .section-inner,
  .wellness .section-inner,
  .process .section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .cta-band .section-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 28px;
  }

  .featured .section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .opt-grid {
    grid-template-columns: 1fr;
  }

  .amen-grid {
    grid-template-columns: 1fr 1fr;
  }
}
