@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --h77-ivory: #f2eee7;
  --h77-ivory-2: #e9e2d8;
  --h77-ink: #191b19;
  --h77-charcoal: #111716;
  --h77-green: #173f36;
  --h77-sage: #a4ab98;
  --h77-line: rgba(57, 52, 45, .18);
  --h77-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --h77-sans: 'Manrope', Arial, sans-serif;
  --h77-radius: 22px;
  --h77-shadow: 0 18px 55px rgba(31, 27, 21, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.h77-site { margin: 0; overflow-x: hidden; background: var(--h77-ivory); color: var(--h77-ink); font-family: var(--h77-sans); font-size: 15px; font-weight: 300; line-height: 1.7; }
body.h77-site a { color: inherit; text-decoration: none; }
body.h77-site button, body.h77-site input, body.h77-site select, body.h77-site textarea { font: inherit; }
body.h77-site img { display: block; max-width: 100%; }
body.h77-modal-open { overflow: hidden; }
.h77-container { width: min(1380px, calc(100% - 72px)); margin-inline: auto; }
.h77-section { padding: 52px 0; }
.h77-section--tight { padding: 14px 0; }
.h77-section--last { padding-bottom: 48px; }
.h77-panel { background: rgba(255, 253, 248, .5); border: 1px solid rgba(255,255,255,.9); border-radius: var(--h77-radius); box-shadow: inset 0 0 0 1px rgba(84,74,60,.1), 0 18px 55px rgba(31,27,21,.07); }
.h77-glass { background: linear-gradient(135deg, rgba(250,247,239,.45), rgba(29,36,35,.2)); border: 1px solid rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 15px 35px rgba(4,9,9,.25); backdrop-filter: blur(18px) saturate(115%); -webkit-backdrop-filter: blur(18px) saturate(115%); }
.h77-eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.h77-icon { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.h77-header { position: absolute; z-index: 100; inset: 0 0 auto; height: 112px; color: #fff; transition: .35s ease; }
.h77-header.is-scrolled { position: fixed; height: 82px; background: rgba(14,20,19,.84); border-bottom: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(18px); }
.h77-header__inner { width: min(1440px, calc(100% - 72px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.h77-brand { display: inline-flex; align-items: center; gap: 13px; min-width: 220px; color: #fff; }
.h77-brand__mark { width: 36px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.05; }
.h77-brand span { display: flex; flex-direction: column; }
.h77-brand strong { font-family: var(--h77-serif); font-size: 22px; font-weight: 500; letter-spacing: .08em; line-height: 1.1; }
.h77-brand small { margin-top: 5px; font-size: 7px; font-weight: 500; letter-spacing: .32em; }
.h77-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2.2vw, 42px); min-height: 66px; padding: 8px 10px 8px 32px; border-radius: 19px; font-size: 12px; white-space: nowrap; }
.h77-nav a { opacity: .9; transition: opacity .2s; }
.h77-nav a:hover { opacity: 1; }
.h77-header .h77-nav__cta { height: 49px; padding: 0 21px; color: #fff; background: rgba(20,47,42,.64); border: 1px solid rgba(255,255,255,.7); border-radius: 13px; box-shadow: inset 0 0 16px rgba(255,255,255,.2), 0 0 0 4px rgba(255,255,255,.11); cursor: pointer; }
.h77-nav__cta span { margin-left: 17px; font-size: 17px; }
.h77-header .h77-menu-toggle { display: none; width: 46px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 12px; background: rgba(15,25,23,.3); }
.h77-menu-toggle span { display: block; width: 20px; height: 1px; margin: 6px auto; background: #fff; }

/* Buttons and hero */
body.h77-site .h77-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 188px; min-height: 54px; padding: 0 22px; color: #fff; background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(21,31,29,.42)); border: 1px solid rgba(255,255,255,.86); border-radius: 12px; box-shadow: inset 0 0 19px rgba(255,255,255,.22), 0 0 0 3px rgba(255,255,255,.1), 0 9px 20px rgba(8,12,11,.18); cursor: pointer; transition: transform .25s, background .25s; }
.h77-button:hover { transform: translateY(-2px); }
.h77-button > span:last-child, .h77-button > span[aria-hidden] { font-size: 20px; }
body.h77-site .h77-button--dark { min-width: 0; color: var(--h77-ink); background: transparent; border: 0; box-shadow: none; padding: 0; justify-content: flex-start; font-size: 12px; font-weight: 500; }
body.h77-site .h77-button--green { min-width: 262px; color: #fff; background: linear-gradient(135deg, #2c5b4c, #0d342c); box-shadow: inset 0 0 15px rgba(255,255,255,.2), 0 0 0 3px rgba(255,255,255,.55), 0 8px 20px rgba(17,44,37,.2); }
.h77-hero { position: relative; min-height: 790px; color: #fff; background-image: var(--hero); background-position: center; background-size: cover; overflow: hidden; }
.h77-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,13,.8) 0%, rgba(10,14,13,.45) 36%, rgba(10,14,13,.06) 72%), linear-gradient(0deg, rgba(6,10,9,.38), transparent 40%); }
.h77-hero__content { position: relative; z-index: 2; padding-top: 175px; }
.h77-hero h1 { max-width: 770px; margin: 0 0 22px; font-family: var(--h77-serif); font-size: clamp(76px, 8vw, 126px); font-weight: 400; letter-spacing: -.045em; line-height: .79; text-shadow: 0 2px 24px rgba(0,0,0,.2); }
.h77-hero__lead { margin: 30px 0 7px; font-size: 16px; font-weight: 500; letter-spacing: .075em; }
.h77-hero__services { margin: 0 0 27px; color: rgba(255,255,255,.92); font-size: 14px; line-height: 1.9; }
.h77-hero__services i { padding: 0 7px; font-style: normal; opacity: .65; }
.h77-hero__actions { display: flex; gap: 18px; }
.h77-hero--home { min-height: 790px; background-position: center 58%; }

/* Home projects */
.h77-home-projects { padding-top: 30px; }
.h77-project-editorial { display: grid; grid-template-columns: .88fr 1.22fr 1.16fr; gap: 18px; }
.h77-project-intro { min-height: 420px; padding: 42px 38px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.h77-project-intro h2, .h77-about-card h2, .h77-final-cta h2, .h77-collections h2, .h77-project-stats h2 { margin: 0; font-family: var(--h77-serif); font-size: clamp(38px, 3.3vw, 58px); font-weight: 400; letter-spacing: -.03em; line-height: 1.05; }
.h77-project-intro > p:not(.h77-eyebrow) { max-width: 290px; margin: 34px 0; font-size: 13px; }
.h77-project-intro .h77-button { margin-top: auto; }
.h77-project-card { position: relative; min-height: 258px; overflow: hidden; border: 2px solid rgba(255,255,255,.94); border-radius: var(--h77-radius); box-shadow: 0 9px 26px rgba(31,28,23,.16); color: #fff; }
.h77-project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.h77-project-card:hover img { transform: scale(1.035); }
.h77-project-card__shade { position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(5,8,8,.76)); }
.h77-project-card__info { position: absolute; z-index: 2; left: 28px; bottom: 19px; }
.h77-project-card__info h3 { margin: 0; font-family: var(--h77-serif); font-size: 30px; font-weight: 400; line-height: 1; }
.h77-project-card__info p { margin: 5px 0 0; font-size: 11px; }
.h77-project-card__info i { padding: 0 7px; font-style: normal; opacity: .65; }
.h77-project-card > a { position: absolute; z-index: 3; right: 17px; bottom: 17px; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; font-size: 18px; }
.h77-project-card--feature { min-height: 420px; }
.h77-project-stack { display: grid; gap: 18px; }
.h77-project-stack .h77-project-card { min-height: 201px; }
.h77-project-card--small { min-height: 310px; }
.h77-project-card--wide { min-height: 310px; }

/* Capabilities, about, CTA */
.h77-capabilities { padding: 24px 25px; display: grid; grid-template-columns: repeat(5, 1fr); }
.h77-capabilities > div { min-height: 88px; padding: 10px 24px; display: flex; align-items: center; gap: 18px; border-right: 1px solid var(--h77-line); }
.h77-capabilities > div:last-child { border: 0; }
.h77-capabilities .h77-icon { flex: 0 0 37px; width: 37px; height: 37px; }
.h77-capabilities p { margin: 0; line-height: 1.4; }
.h77-capabilities strong, .h77-capabilities span { display: block; }
.h77-capabilities strong { margin-bottom: 6px; font-size: 12px; font-weight: 600; }
.h77-capabilities span { font-size: 10px; }
.h77-about-card { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; }
.h77-about-card > img { width: 100%; height: 100%; min-height: 405px; object-fit: cover; }
.h77-about-card__copy { padding: 40px 46px 34px; }
.h77-about-card__copy > p:not(.h77-eyebrow) { max-width: 750px; margin: 22px 0 25px; font-size: 12px; }
.h77-metrics { display: grid; grid-template-columns: repeat(4, 1fr); }
.h77-metrics > div { padding: 5px 24px; border-left: 1px solid var(--h77-line); }
.h77-metrics > div:first-child { padding-left: 0; border: 0; }
.h77-metrics strong { display: block; font-family: var(--h77-serif); font-size: 39px; font-weight: 400; line-height: 1; }
.h77-metrics span { display: block; margin-top: 7px; font-size: 10px; }
.h77-final-cta { min-height: 110px; padding: 23px 29px 23px 38px; display: flex; align-items: center; justify-content: space-between; }
.h77-final-cta h2 { font-size: 36px; }

/* Projects page */
.h77-hero--projects { min-height: 580px; background-position: center 56%; }
.h77-hero--projects .h77-hero__content { padding-top: 230px; }
.h77-hero--projects h1 { font-size: clamp(68px, 7vw, 105px); line-height: .88; }
.h77-hero--projects .h77-hero__content > p { font-size: 14px; line-height: 1.6; }
.h77-filterbar { padding: 28px 0 20px; background: rgba(255,253,249,.66); }
.h77-filterbar__grid { display: grid; grid-template-columns: 1.04fr 1fr 1.12fr; }
.h77-filter { padding: 0 30px; border-right: 1px solid var(--h77-line); }
.h77-filter:first-child { padding-left: 0; }
.h77-filter:last-child { border: 0; }
.h77-filter > p { margin: 0 0 12px; display: flex; align-items: center; gap: 9px; font-size: 12px; }
.h77-filter .h77-icon { width: 22px; height: 22px; }
.h77-filter > div { display: flex; flex-wrap: wrap; gap: 9px; }
.h77-filter button { padding: 7px 12px; color: #535049; background: rgba(255,255,255,.55); border: 1px solid rgba(83,74,63,.14); border-radius: 8px; box-shadow: 0 4px 10px rgba(40,34,26,.08); font-size: 10px; cursor: pointer; }
.h77-filter button.is-active { color: #173e35; background: rgba(233,239,232,.86); box-shadow: inset 3px 0 #254f42, 0 4px 10px rgba(40,34,26,.08); }
.h77-projects-grid { display: grid; grid-template-columns: 1.15fr .92fr .92fr; grid-auto-rows: 260px; gap: 16px; }
.h77-projects-grid .h77-project-card { min-height: 0; }
.h77-projects-grid .is-featured { grid-row: span 2; grid-column: span 2; }
.h77-projects-grid .is-featured + .h77-project-card { grid-row: span 1; }
.h77-projects-grid .h77-project-card:nth-child(4), .h77-projects-grid .h77-project-card:nth-child(5), .h77-projects-grid .h77-project-card:nth-child(6) { grid-column: span 1; }
.h77-projects-grid [hidden] { display: none; }
.h77-collections { padding: 25px; display: grid; grid-template-columns: 1.8fr repeat(5, 1fr); gap: 18px; }
.h77-collections__intro { padding: 8px 10px; }
.h77-collections h2 { font-size: 34px; }
.h77-collections__intro .h77-button { margin-top: 35px; }
.h77-collection { text-align: center; font-family: var(--h77-serif); font-size: 16px; line-height: 1.2; }
.h77-collection img { width: 100%; aspect-ratio: .9; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 18px rgba(31,27,21,.14); }
.h77-collection span { display: block; margin-top: 10px; }
.h77-collection small { display: block; margin-top: 3px; font-family: var(--h77-sans); font-size: 9px; }
.h77-project-stats { display: grid; grid-template-columns: 1.3fr repeat(4, .75fr); border-top: 1px solid var(--h77-line); border-bottom: 1px solid var(--h77-line); }
.h77-project-stats > div { min-height: 195px; padding: 26px; border-right: 1px solid var(--h77-line); }
.h77-project-stats > div:last-child { border: 0; }
.h77-project-stats__intro h2 { font-size: 35px; }
.h77-project-stats__intro > p:not(.h77-eyebrow) { font-size: 10px; line-height: 1.6; }
.h77-project-stats > div:not(:first-child) { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.h77-project-stats strong { margin: 14px 0 8px; font-family: var(--h77-serif); font-size: 35px; font-weight: 400; line-height: 1; }
.h77-project-stats span { font-size: 9px; }
.h77-project-cta { position: relative; margin-top: 48px; min-height: 245px; display: flex; align-items: center; color: #fff; background-image: linear-gradient(90deg, rgba(7,12,11,.75), rgba(7,12,11,.38)), var(--hero); background-size: cover; background-position: center 57%; }
.h77-project-cta .h77-container { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 70px; }
.h77-project-cta h2 { margin: 0; font-family: var(--h77-serif); font-size: 56px; font-weight: 400; line-height: .95; }
.h77-project-cta p { max-width: 440px; margin: 0 0 18px; font-size: 12px; line-height: 1.6; }

/* About */
.h77-hero--about { min-height: 775px; overflow: visible; background-position: center 55%; }
.h77-hero--about .h77-hero__content { padding-top: 155px; }
.h77-hero--about h1 { font-size: clamp(58px, 6vw, 88px); line-height: .92; }
.h77-hero--about .h77-hero__content > p:not(.h77-eyebrow,.h77-hero__lead) { margin: 0 0 24px; font-size: 12px; }
.h77-floating-metrics { position: absolute; z-index: 5; left: 50%; bottom: -65px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(4,1fr); min-height: 130px; color: #fff; border-radius: 26px; background: linear-gradient(135deg, rgba(51,55,52,.66), rgba(14,17,16,.83)); }
.h77-floating-metrics > div { margin: 20px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid rgba(255,255,255,.25); text-align: center; }
.h77-floating-metrics > div:last-child { border: 0; }
.h77-floating-metrics strong { font-family: var(--h77-serif); font-size: 44px; font-weight: 400; line-height: 1; }
.h77-floating-metrics span { margin-top: 10px; font-size: 10px; line-height: 1.45; text-transform: uppercase; }
.h77-story { padding-top: 145px; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.h77-story__image img { width: 100%; height: 100%; min-height: 490px; object-fit: cover; }
.h77-story__copy { padding: 55px clamp(50px, 8vw, 135px); display: flex; flex-direction: column; justify-content: center; }
.h77-story h2, .h77-values h2, .h77-process h2 { margin: 0 0 24px; font-family: var(--h77-serif); font-size: 45px; font-weight: 400; line-height: 1.05; }
.h77-story__copy > p:not(.h77-eyebrow) { max-width: 600px; font-size: 12px; }
.h77-signature { margin-top: 18px; font-family: var(--h77-serif); font-size: 24px; font-style: italic; }
.h77-signature small { display: block; margin-top: 8px; font-family: var(--h77-sans); font-size: 9px; font-style: normal; font-weight: 600; text-transform: uppercase; }
.h77-values { background: rgba(250,248,243,.45); }
.h77-values header, .h77-process header { text-align: center; }
.h77-values h2, .h77-process h2 { font-size: 38px; }
.h77-values__grid { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 30px; }
.h77-values__grid > div { min-height: 120px; padding: 4px 24px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 16px; border-right: 1px solid var(--h77-line); }
.h77-values__grid > div:last-child { border: 0; }
.h77-values__grid .h77-icon { grid-row: span 2; width: 29px; }
.h77-values__grid h3 { margin: 0; font-size: 12px; }
.h77-values__grid p { margin: 7px 0; font-size: 9px; line-height: 1.7; }
.h77-founder { min-height: 360px; display: grid; grid-template-columns: 36% 37% 27%; color: #f3eee5; background: #101918; }
.h77-founder__visual { background-image: linear-gradient(90deg, transparent, #101918), var(--hero); background-size: cover; background-position: center; filter: grayscale(.18); }
.h77-founder__quote { display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.h77-founder__quote > span { color: #e9ddc5; font-family: var(--h77-serif); font-size: 70px; line-height: .5; }
.h77-founder blockquote { margin: 18px 0 24px; font-family: var(--h77-serif); font-size: 32px; line-height: 1.05; }
.h77-founder__quote p { font-size: 10px; font-weight: 500; }
.h77-founder__quote small { opacity: .65; }
.h77-founder__blueprint { opacity: .25; background-image: linear-gradient(rgba(214,228,223,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(214,228,223,.17) 1px, transparent 1px); background-size: 28px 28px; clip-path: polygon(18% 11%,100% 0,100% 100%,0 100%); }
.h77-process { padding-top: 55px; }
.h77-process__line { position: relative; display: grid; grid-template-columns: repeat(8,1fr); margin-top: 45px; gap: 18px; }
.h77-process__line::before { content: ''; position: absolute; left: 6%; right: 6%; top: 18px; height: 1px; background: #aaa59d; }
.h77-process__step { position: relative; text-align: center; }
.h77-process__step > span { position: relative; z-index: 2; width: 37px; height: 37px; margin: 0 auto 17px; display: grid; place-items: center; background: var(--h77-ivory); border: 1px solid #9c9991; border-radius: 50%; font-size: 10px; }
.h77-process__step h3 { height: 45px; margin: 0; font-size: 10px; line-height: 1.5; }
.h77-process__step img { width: 100%; aspect-ratio: .9; object-fit: cover; border-radius: 8px; }
.h77-process__action { margin-top: 25px; text-align: center; }
.h77-process__action .h77-button { min-width: 245px; min-height: 48px; padding: 0 30px; color: #fff; background: var(--h77-green); border: 1px solid rgba(255,255,255,.6); box-shadow: 0 4px 10px rgba(10,36,30,.3); }

/* Generic pages + form */
.h77-generic-hero { min-height: 570px; display: flex; align-items: flex-end; padding-bottom: 80px; color: #fff; background-image: linear-gradient(90deg, rgba(9,14,13,.78), rgba(9,14,13,.18)), var(--hero); background-size: cover; background-position: center; }
.h77-generic-hero h1 { margin: 0; font-family: var(--h77-serif); font-size: clamp(60px, 7vw, 100px); font-weight: 400; line-height: .9; }
.h77-generic-hero p:last-child { max-width: 650px; margin-top: 25px; }
.h77-generic-content { min-height: 360px; padding: 55px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; }
.h77-generic-content h2 { font-family: var(--h77-serif); font-size: 46px; font-weight: 400; line-height: 1; }
.h77-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.h77-form label { display: block; }
.h77-form label > span { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.h77-form input, .h77-form select, .h77-form textarea { width: 100%; padding: 11px 12px; color: var(--h77-ink); background: rgba(255,255,255,.54); border: 1px solid rgba(53,50,44,.2); border-radius: 8px; outline: none; }
.h77-form input:focus, .h77-form select:focus, .h77-form textarea:focus { border-color: var(--h77-green); box-shadow: 0 0 0 3px rgba(23,63,54,.09); }
.h77-form__wide { grid-column: 1 / -1; }
.h77-form .h77-button { min-height: 48px; color: #fff; background: var(--h77-green); padding: 0 22px; border-radius: 9px; }
.h77-form-success { padding: 20px; color: #fff; background: var(--h77-green); border-radius: 10px; }

/* Footer and modal */
.h77-footer { position: relative; padding: 44px 0 18px; overflow: hidden; color: rgba(255,255,255,.78); background: radial-gradient(circle at 83% 110%, rgba(63,88,72,.52), transparent 31%), linear-gradient(120deg, #121a19, #0a1010); }
.h77-footer::after { content: ''; position: absolute; right: -4%; bottom: -44%; width: 47%; height: 120%; opacity: .16; background-image: url('../images/hero-home.webp'); background-size: cover; clip-path: polygon(36% 0,100% 0,100% 100%,0 100%); }
.h77-footer__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr repeat(5,1fr); gap: 26px; }
.h77-brand--footer { min-width: auto; }
.h77-footer__claim { font-family: var(--h77-serif); font-size: 22px; line-height: 1.2; }
.h77-footer h3 { margin: 0 0 15px; color: #fff; font-size: 10px; font-weight: 500; text-transform: uppercase; }
.h77-footer__grid > div:not(:first-child) { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.17); }
.h77-footer__grid a, .h77-footer__grid p { display: block; margin: 0 0 7px; font-size: 9px; line-height: 1.55; }
.h77-socials { display: flex; gap: 10px; }
.h77-socials a { width: 27px; height: 27px; display: grid !important; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.h77-footer__bottom { position: relative; z-index: 2; margin-top: 32px; padding-top: 15px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); font-size: 9px; }
.h77-footer__bottom a { margin-left: 30px; }
.h77-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 25px; visibility: hidden; opacity: 0; transition: .25s; }
.h77-modal[aria-hidden="false"] { visibility: visible; opacity: 1; }
.h77-modal__backdrop { position: absolute; inset: 0; background: rgba(5,10,9,.7); backdrop-filter: blur(8px); }
.h77-modal__dialog { position: relative; width: min(720px, 100%); max-height: calc(100vh - 50px); overflow: auto; padding: 45px; background: var(--h77-ivory); border: 1px solid rgba(255,255,255,.9); border-radius: 23px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.h77-modal__dialog h2 { margin: 0; font-family: var(--h77-serif); font-size: 48px; font-weight: 400; line-height: 1; }
.h77-modal__dialog > p:not(.h77-eyebrow) { font-size: 12px; }
.h77-modal__close { position: absolute; top: 16px; right: 18px; width: 36px; height: 36px; border: 1px solid var(--h77-line); border-radius: 50%; background: transparent; font-size: 24px; cursor: pointer; }

/* Elementor cleanup */
.elementor-widget-h77design-page > .elementor-widget-container { margin: 0 !important; }
.page .elementor-location-single, .page .elementor { margin: 0; }

@media (max-width: 1180px) {
  .h77-nav { gap: 17px; padding-left: 22px; }
  .h77-nav a:nth-last-of-type(1) { display: none; }
  .h77-brand { min-width: 190px; }
  .h77-capabilities > div { padding-inline: 15px; }
  .h77-capabilities span { display: none; }
  .h77-collections { grid-template-columns: 1.5fr repeat(5,1fr); gap: 10px; }
}

@media (max-width: 900px) {
  .h77-container, .h77-header__inner { width: min(100% - 36px, 720px); }
  .h77-header { height: 86px; }
  .h77-header .h77-menu-toggle { display: block; position: relative; z-index: 3; }
  .h77-nav { position: fixed; inset: 0 0 0 auto; width: min(390px, 90vw); padding: 110px 28px 34px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; border: 0; border-radius: 0; background: rgba(12,20,18,.97); transform: translateX(105%); transition: transform .3s ease; }
  .h77-nav a { padding: 14px 5px; border-bottom: 1px solid rgba(255,255,255,.13); font-size: 14px; }
  .h77-nav a:nth-last-of-type(1) { display: block; }
  .h77-nav__cta { margin-top: 25px; }
  .h77-menu-open .h77-nav { transform: none; }
  .h77-hero { min-height: 720px; }
  .h77-hero__content { padding-top: 175px; }
  .h77-hero h1 { font-size: clamp(64px, 15vw, 96px); }
  .h77-project-editorial { grid-template-columns: 1fr 1fr; }
  .h77-project-intro, .h77-project-card--feature { min-height: 400px; }
  .h77-project-stack { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .h77-capabilities { grid-template-columns: 1fr 1fr; }
  .h77-capabilities > div { border-bottom: 1px solid var(--h77-line); }
  .h77-capabilities > div:nth-child(2n) { border-right: 0; }
  .h77-capabilities > div:last-child { grid-column: 1 / -1; }
  .h77-capabilities span { display: block; }
  .h77-about-card { grid-template-columns: 1fr; }
  .h77-filterbar__grid { grid-template-columns: 1fr; gap: 22px; }
  .h77-filter { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--h77-line); }
  .h77-projects-grid { grid-template-columns: 1fr 1fr; }
  .h77-projects-grid .is-featured { grid-column: 1 / -1; }
  .h77-collections { grid-template-columns: repeat(3,1fr); }
  .h77-collections__intro { grid-column: 1 / -1; }
  .h77-project-stats { grid-template-columns: repeat(2,1fr); }
  .h77-project-stats__intro { grid-column: 1 / -1; }
  .h77-project-stats > div { border-bottom: 1px solid var(--h77-line); }
  .h77-project-cta .h77-container { grid-template-columns: 1fr; gap: 25px; }
  .h77-floating-metrics { position: relative; left: auto; bottom: auto; transform: none; margin-top: -74px; grid-template-columns: 1fr 1fr; }
  .h77-hero--about { padding-bottom: 0; }
  .h77-story { padding-top: 42px; grid-template-columns: 1fr; }
  .h77-story__copy { padding: 50px 36px; }
  .h77-values__grid { grid-template-columns: 1fr 1fr; }
  .h77-values__grid > div { margin-bottom: 20px; }
  .h77-founder { grid-template-columns: 40% 60%; }
  .h77-founder__blueprint { display: none; }
  .h77-process__line { grid-template-columns: repeat(4,1fr); }
  .h77-footer__grid { grid-template-columns: repeat(3,1fr); }
  .h77-generic-content { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 600px) {
  body.h77-site { font-size: 14px; }
  .h77-container, .h77-header__inner { width: calc(100% - 28px); }
  .h77-brand__mark { width: 27px; height: 44px; }
  .h77-brand strong { font-size: 18px; }
  .h77-brand { min-width: 0; }
  .h77-hero { min-height: 690px; }
  .h77-hero__veil { background: linear-gradient(90deg, rgba(8,12,11,.78), rgba(8,12,11,.16)), linear-gradient(0deg, rgba(8,12,11,.6), transparent); }
  .h77-hero h1 { font-size: 62px; }
  .h77-hero__lead { font-size: 11px; }
  .h77-hero__services { font-size: 11px; }
  .h77-hero__actions { align-items: flex-start; flex-direction: column; }
  .h77-button { min-width: 205px; min-height: 50px; }
  .h77-project-editorial { grid-template-columns: 1fr; }
  .h77-project-intro { min-height: 350px; }
  .h77-project-stack { grid-column: auto; grid-template-columns: 1fr; }
  .h77-project-card, .h77-project-stack .h77-project-card, .h77-project-card--feature, .h77-project-card--small, .h77-project-card--wide { min-height: 280px; }
  .h77-capabilities { grid-template-columns: 1fr; }
  .h77-capabilities > div, .h77-capabilities > div:nth-child(2n) { grid-column: auto; border-right: 0; }
  .h77-about-card__copy { padding: 34px 24px; }
  .h77-metrics { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .h77-metrics > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .h77-final-cta { padding: 28px; align-items: flex-start; flex-direction: column; gap: 25px; }
  .h77-final-cta h2 { font-size: 34px; }
  .h77-hero--projects .h77-hero__content { padding-top: 190px; }
  .h77-projects-grid { grid-template-columns: 1fr; grid-auto-rows: 290px; }
  .h77-projects-grid .is-featured { grid-column: auto; grid-row: span 1; }
  .h77-collections { grid-template-columns: 1fr 1fr; }
  .h77-project-stats { grid-template-columns: 1fr 1fr; }
  .h77-project-stats__intro { grid-column: 1 / -1; }
  .h77-project-cta { min-height: 350px; }
  .h77-project-cta h2 { font-size: 45px; }
  .h77-floating-metrics { grid-template-columns: 1fr 1fr; }
  .h77-floating-metrics strong { font-size: 34px; }
  .h77-story__image img { min-height: 350px; }
  .h77-values__grid { grid-template-columns: 1fr; }
  .h77-values__grid > div { border-right: 0; border-bottom: 1px solid var(--h77-line); }
  .h77-founder { grid-template-columns: 1fr; }
  .h77-founder__visual { min-height: 300px; background-image: linear-gradient(0deg, #101918, transparent), var(--hero); }
  .h77-founder blockquote { font-size: 28px; }
  .h77-process__line { grid-template-columns: repeat(2,1fr); }
  .h77-process__line::before { display: none; }
  .h77-footer__grid { grid-template-columns: 1fr 1fr; }
  .h77-footer__grid > div:first-child { grid-column: 1 / -1; }
  .h77-footer__bottom { flex-direction: column; gap: 8px; }
  .h77-footer__bottom a { margin: 0 20px 0 0; }
  .h77-modal__dialog { padding: 36px 22px 24px; }
  .h77-modal__dialog h2 { font-size: 38px; }
  .h77-form { grid-template-columns: 1fr; }
  .h77-form__wide { grid-column: auto; }
  .h77-generic-content { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
