:root {
  --ink: #102333;
  --ink-soft: #19384b;
  --paper: #f2eee6;
  --sand: #d6c8b1;
  --gold: #b88120;
  --line: rgba(16, 35, 51, .18);
  --gutter: clamp(24px, 5.6vw, 104px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
.eyebrow, .overline { color: var(--gold); font: 10px "DM Mono", monospace; letter-spacing: .15em; text-transform: uppercase; }

.header {
  height: 86px; padding: 0 var(--gutter); display: flex; align-items: center; border-bottom: 1px solid var(--line);
  background: var(--paper); position: relative; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; letter-spacing: .13em; font-size: 16px; }
.brand small { display: block; margin-top: 3px; font: 7px "DM Mono", monospace; letter-spacing: .31em; }
.brand-mark { display: block; position: relative; width: 29px; height: 28px; overflow: hidden; }
.brand-mark img { position: absolute; width: 57px; height: 57px; max-width: none; top: -20px; left: -11px; }
.nav { display: flex; gap: 27px; margin: auto; }
.nav a, .quote-link { font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.nav a { color: rgba(16, 35, 51, .72); }
.nav a:hover { color: var(--gold); }
.quote-link { border-bottom: 1px solid var(--gold); padding-bottom: 6px; }
.quote-link span { margin-left: 13px; color: var(--gold); font-size: 15px; }
.menu-button { display: none; }

.hero { min-height: calc(100svh - 86px); display: grid; grid-template-columns: minmax(390px, .93fr) minmax(430px, 1.07fr); position: relative; }
.hero-copy { padding: clamp(85px, 15vh, 170px) var(--gutter) 80px; align-self: center; }
.hero h1, h2 { font-weight: 500; letter-spacing: -.07em; line-height: .91; }
.hero h1 { font-size: clamp(58px, 6.85vw, 121px); max-width: 650px; margin-bottom: 30px; }
em { color: var(--gold); font-family: "Playfair Display", Georgia, serif; font-weight: 500; letter-spacing: -.09em; }
.hero-intro { max-width: 390px; font-size: 15px; line-height: 1.8; color: #52606a; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 26px; padding: 16px 19px; text-decoration: none; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .09em; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-3px); }
.button.dark { color: var(--paper); background: var(--ink); }
.button.gold { color: #fff; background: var(--gold); }
.button span { font-size: 17px; }
.quiet-link, .under-link { font-size: 11px; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 7px; }
.quiet-link span, .under-link span { color: var(--gold); margin-left: 16px; font-size: 16px; }
.hero-image { position: relative; margin: 0; background: var(--ink); overflow: hidden; min-height: 540px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; display: block; transition: transform 1s ease; }
.hero-image:hover img { transform: scale(1.025); }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 18, 28, .52), transparent 42%); }
.hero-image figcaption { position: absolute; z-index: 1; color: white; bottom: 26px; right: 30px; font: 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .13em; }
.hero-count { position: absolute; color: var(--gold); font: 10px "DM Mono", monospace; letter-spacing: .1em; left: var(--gutter); bottom: 29px; }

.statement { padding: 18vh var(--gutter); display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(45px, 9vw, 170px); }
.statement-label span { display: block; color: #6c726e; font-size: 12px; line-height: 1.6; }
.statement-main { max-width: 750px; }
.overline { color: #617077; margin-bottom: 25px; }
.statement h2, .build-heading h2, .section-head h2, .services h2, .difference h2, .contact h2 { font-size: clamp(49px, 5.85vw, 103px); margin-bottom: 29px; }
.body-copy { max-width: 440px; font-size: 15px; line-height: 1.85; color: #58656d; margin-bottom: 29px; }

.build-story { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: auto 1fr; min-height: 750px; }
.build-heading { padding: 70px var(--gutter) 35px; }
.build-heading h2 { margin: 0; }
.build-heading h2 em { color: #dfb65d; }
.story-image { grid-row: 1 / span 2; grid-column: 2; min-height: 100%; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; opacity: .83; }
.story-steps { padding: 10px var(--gutter) 65px; align-self: end; }
.story-step { display: grid; grid-template-columns: 44px 1fr; gap: 15px; border-top: 1px solid rgba(242, 238, 230, .22); padding: 16px 0; cursor: pointer; transition: padding .25s; }
.story-step:last-child { border-bottom: 1px solid rgba(242, 238, 230, .22); }
.story-step:hover, .story-step.active { padding-left: 10px; }
.story-step > span { color: #e1b85c; font: 10px "DM Mono", monospace; }
.story-step h3 { font-size: 15px; font-weight: 500; margin: 0; }
.story-step p { max-height: 0; overflow: hidden; opacity: 0; color: #b6c0c0; font-size: 12px; line-height: 1.6; margin: 0; transition: .35s; }
.story-step.active p { max-height: 70px; opacity: 1; margin-top: 7px; }

.projects { padding: 17vh var(--gutter); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 65px; }
.section-head h2 { margin: 0; }
.project-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 15px; }
.project { position: relative; min-height: 355px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; }
.project.feature { grid-row: span 2; min-height: 725px; }
.project img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.75); transition: transform .7s ease, filter .5s; }
.project:hover img { transform: scale(1.04); filter: brightness(.9); }
.project::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(5, 17, 28, .88)); }
.project div { position: absolute; z-index: 1; bottom: 26px; left: 27px; right: 27px; }
.project span { color: #ecc567; font: 9px "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.project h3 { margin: 9px 0 6px; font-size: clamp(19px, 2.1vw, 29px); letter-spacing: -.055em; }
.project p { margin: 0; color: #e4e2dc; font-size: 12px; }

.services { background: #ddcfb8; color: var(--ink); padding: 15vh var(--gutter); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(45px, 9vw, 155px); }
.services-intro > p:last-child { max-width: 265px; font-size: 13px; line-height: 1.75; color: #5e625e; }
.services-list { border-top: 1px solid rgba(16, 35, 51, .3); }
.services-list a { display: grid; grid-template-columns: 48px 1fr 25px; gap: 12px; align-items: center; min-height: 71px; border-bottom: 1px solid rgba(16, 35, 51, .3); text-decoration: none; transition: padding .25s, background .25s; }
.services-list a:hover { padding-left: 12px; background: rgba(255, 255, 255, .18); }
.services-list span { color: #8b5e18; font: 9px "DM Mono", monospace; }
.services-list h3 { margin: 0; font-size: clamp(17px, 1.75vw, 25px); font-weight: 500; letter-spacing: -.055em; }
.services-list b { font-weight: 400; color: #8b5e18; font-size: 19px; }

.difference { padding: 17vh var(--gutter); }
.difference-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: start; }
.difference h2 { margin: 0; }
.difference-list { border-top: 1px solid var(--line); }
.difference-list article { display: grid; grid-template-columns: 43px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.difference-list span { color: var(--gold); font: 9px "DM Mono", monospace; }
.difference-list h3 { margin: 0; font-size: 19px; letter-spacing: -.045em; }
.difference-list p { grid-column: 2; margin: 8px 0 0; color: #687278; font-size: 12px; line-height: 1.65; }

.contact { min-height: 700px; background: var(--ink) url('traditional-kerala-home.png') center / cover; background-blend-mode: soft-light; color: var(--paper); padding: 15vh var(--gutter) 30px; position: relative; display: flex; flex-direction: column; }
.contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 25, 37, .95), rgba(8, 25, 37, .55), rgba(8, 25, 37, .22)); }
.contact-content, .contact-details { position: relative; z-index: 1; }
.contact-content { max-width: 710px; }
.contact h2 { margin-bottom: 24px; }
.contact h2 em { color: #e5ba5b; }
.contact-content > p:not(.eyebrow) { max-width: 355px; color: #dee2de; font-size: 14px; line-height: 1.75; margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 6px; align-self: flex-end; text-align: right; margin-top: auto; font-size: 12px; }
.contact-details a { color: var(--paper); text-decoration: none; }
.contact-details span { color: #c2cbc8; margin-top: 8px; }
.footer { background: #091923; color: #bdc6c3; padding: 17px var(--gutter); display: flex; justify-content: space-between; font: 9px "DM Mono", monospace; letter-spacing: .08em; }
.footer a { color: #e0b758; text-decoration: none; }

@media (max-width: 820px) {
  .header { height: 70px; }
  .nav, .quote-link { display: none; }
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 32px; height: 32px; padding: 0; margin-left: auto; border: 0; background: transparent; }
  .menu-button span { width: 24px; height: 1px; background: var(--ink); display: block; }
  .header.open { position: fixed; inset: 0 0 auto; background: var(--paper); }
  .header.open .nav { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; padding: 24px var(--gutter) 28px; background: var(--paper); border-top: 1px solid var(--line); gap: 20px; }
  .hero { min-height: 760px; grid-template-columns: 1fr; grid-template-rows: 1fr 310px; }
  .hero-copy { padding: 82px var(--gutter) 70px; align-self: start; }
  .hero h1 { font-size: clamp(54px, 15vw, 82px); }
  .hero-image { grid-row: 2; min-height: 0; }
  .hero-image figcaption { bottom: 17px; right: 20px; }
  .hero-count { bottom: 330px; }
  .statement { grid-template-columns: 1fr; padding-top: 105px; padding-bottom: 105px; gap: 44px; }
  .statement h2, .build-heading h2, .section-head h2, .services h2, .difference h2, .contact h2 { font-size: clamp(47px, 13vw, 73px); }
  .build-story { display: block; padding: 0; min-height: auto; }
  .build-heading { padding: 80px var(--gutter) 45px; }
  .story-image { height: 330px; }
  .story-steps { padding: 28px var(--gutter) 80px; }
  .projects { padding-top: 105px; padding-bottom: 105px; }
  .section-head { display: block; margin-bottom: 42px; }
  .section-head .under-link { display: inline-block; margin-top: 24px; }
  .project-grid { display: flex; flex-direction: column; gap: 12px; }
  .project, .project.feature { min-height: 390px; height: 390px; }
  .services { display: block; padding-top: 105px; padding-bottom: 105px; }
  .services-intro { max-width: 500px; margin-bottom: 49px; }
  .difference { padding-top: 105px; padding-bottom: 105px; }
  .difference-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact { min-height: 720px; padding-top: 110px; }
  .contact-details { align-self: start; text-align: left; }
  .footer { gap: 12px; flex-wrap: wrap; line-height: 1.5; }
}

@media (max-width: 430px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero { min-height: 790px; grid-template-rows: 1fr 280px; }
  .hero-count { bottom: 300px; }
  .services-list a { grid-template-columns: 37px 1fr 20px; }
  .services-list h3 { font-size: 16px; }
}
