:root {
  --navy: #10263d;
  --navy-dark: #0b1d2f;
  --orange: #f68712;
  --orange-text: #9b4c04;
  --cream: #f4efe7;
  --paper: #fdfbf7;
  --muted: #536171;
  --line: #dcdedc;
  --sans: "Inter", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(20px, 4.3vw, 64px);
  color: var(--navy);
  font-family: var(--sans);
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.shell { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section-space { padding-block: clamp(68px, 9vw, 132px); }
section[id] { scroll-margin-top: 86px; }
.skip {
  position: fixed; left: var(--gutter); top: -90px; z-index: 40;
  padding: 13px 18px; background: white; color: var(--navy);
}
.skip:focus { top: 12px; }

.header {
  position: sticky; top: 0; z-index: 20; background: var(--paper);
  border-bottom: 1px solid #142f5017;
}
.header-inner {
  min-height: 80px; width: min(1390px, calc(100% - 2 * var(--gutter))); margin-inline: auto;
  display: flex; justify-content: space-between; align-items: center; gap: clamp(18px, 3vw, 52px);
}
.brand { flex: 0 0 auto; }
.brand img { width: 172px; height: auto; }
.navigation { display: flex; align-items: center; gap: clamp(18px, 2.55vw, 38px); }
.navigation a {
  padding-block: 17px; font-size: 14px; font-weight: 650; text-decoration: none;
}
.navigation a:hover, .footer-links a:hover { color: var(--orange-text); }
.navigation .mobile-contact { display: none; }
.header-actions { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; }
.language { display: flex; gap: 2px; align-items: center; border: 1px solid var(--line); padding: 3px; border-radius: 5px; }
.language button {
  border: 0; border-radius: 3px; background: transparent; color: var(--muted);
  min-width: 33px; min-height: 33px; padding: 0 5px; font-weight: 750; font-size: 11px;
}
.language button[aria-pressed="true"] { color: white; background: var(--navy); }
.header-cta {
  display: flex; align-items: center; gap: 15px; min-height: 43px;
  background: var(--navy); color: white; padding: 9px 14px;
  border: 1px solid var(--navy); border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 700;
}
.header-cta:hover { background: #21415d; }
.menu-button { display: none; }

.hero { position: relative; display: grid; isolation: isolate; min-height: clamp(540px, 49vw, 720px); color: white; overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero-shade {
  background: linear-gradient(90deg, #091b2cf2 0%, #0b2035dd 30%, #0b2035a8 52%, transparent 82%),
              linear-gradient(0deg, #07162563 0%, transparent 28%);
}
.hero-layout { position: relative; display: flex; align-items: center; padding-block: 80px 114px; }
.hero-copy { max-width: 670px; }
.eyebrow { color: var(--orange-text); margin: 0 0 16px; font-size: 11px; font-weight: 800; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-light { color: #ffb864; }
.hero .eyebrow { color: #ffdeb5; }
.hero-copy { text-shadow: 0 2px 10px #071625b3; }
.hero h1, h2, .project-name {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.045em;
}
.hero h1 { margin: 0; font-size: clamp(62px, 7.3vw, 108px); line-height: .98; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-weight: 400; color: #ffe7c8; }
.hero-intro { margin: 25px 0 29px; max-width: 455px; color: white; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-guide { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; color: white; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.button {
  display: inline-flex; min-height: 51px; align-items: center; justify-content: center; gap: 18px;
  border: 1px solid transparent; border-radius: 4px; padding: 12px 18px; font-weight: 750; line-height: 1.25;
  font-size: 14px; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-orange { background: var(--orange); color: var(--navy-dark); }
.button-orange:hover { background: #ffab50; }
.hero-actions .button { text-shadow: none; }
.button-glass { color: white; border-color: #ffffffb3; background: #10263de6; }
.button-glass:hover { background: #10263dd9; border-color: white; }
.button-navy { background: var(--navy); color: white; }
.button-navy:hover { background: #234662; }
.arrow { position: relative; display: inline-block; width: .8em; height: .8em; flex: 0 0 .8em; }
.arrow::before { content: ""; position: absolute; inset: 0 0 auto auto; width: .52em; height: .52em; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 1em; height: 1.5px; background: currentColor; transform: rotate(-45deg); transform-origin: 0 50%; }
.arrow-down { transform: rotate(135deg); }
.arrow-back { transform: rotate(-135deg); }
.hero-caption {
  position: absolute; right: 0; bottom: 27px; display: flex; align-items: center; gap: 25px;
  color: white; background: #10263de8; border: 1px solid #ffffff39; padding: 12px 15px;
  text-decoration: none; border-radius: 4px;
}
.hero-caption:hover { background: var(--navy); }
.hero-caption strong, .hero-caption div span { display: block; }
.hero-caption strong { font-size: 14px; }
.hero-caption div span { color: #edf1f4; margin-top: 4px; font-size: 12px; }
.caption-arrow { color: #ffbd76; }

.fact-bar { background: var(--cream); border-bottom: 1px solid #ded8d0; }
.fact-grid { display: grid; grid-template-columns: .8fr 1.1fr 1fr; }
.fact-grid > div { padding: 23px 22px; }
.fact-grid > div:first-child { padding-left: 0; }
.fact-grid > div + div { border-left: 1px solid #ded8d0; }
.fact-grid strong, .fact-grid span { display: block; }
.fact-grid strong { font-size: clamp(15px, 1.65vw, 23px); letter-spacing: -.035em; line-height: 1.2; }
.fact-grid span { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.section-head {
  display: grid; grid-template-columns: 1fr minmax(240px, 390px);
  gap: 28px; align-items: end; margin-bottom: 30px;
}
h2 { margin: 0; font-size: clamp(45px, 5.6vw, 77px); line-height: 1.01; }
.section-head > p, .guide-content > p:not(.eyebrow), .about-content > p:not(.eyebrow, .founder-role), .rentals p:not(.eyebrow) {
  color: var(--muted); margin: 0; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.7;
}
.portfolio-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
  border-block: 1px solid var(--line); padding: 12px 0; margin-bottom: 22px;
}
.project-filters { display: flex; gap: 5px; flex-wrap: wrap; }
.project-filters button {
  color: var(--navy); border: 1px solid transparent; background: transparent;
  border-radius: 4px; padding: 10px 13px; min-height: 40px; font-size: 13px; font-weight: 700;
}
.project-filters button:hover { border-color: var(--line); }
.project-filters button[aria-pressed="true"] { color: white; background: var(--navy); }
.portfolio-count { margin: 0; color: var(--muted); font-size: 12px; text-align: right; line-height: 1.35; }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.project-card {
  grid-column: span 4; min-width: 0; display: flex; flex-direction: column; text-align: left; padding: 0;
  border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--navy); overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:hover { border-color: #a0a9ae; box-shadow: 0 9px 24px #10263d10; }
.card-media { position: relative; display: block; height: clamp(165px, 18vw, 265px); overflow: hidden; background: var(--cream); }
.project-card:nth-child(-n+2) .card-media { height: clamp(205px, 23vw, 325px); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .32s ease; }
.project-card:hover .card-media img { transform: scale(1.035); }
.card-type {
  position: absolute; top: 11px; left: 11px; padding: 5px 8px;
  background: #fffdf8ed; color: var(--navy); border-radius: 3px; font-size: 11px; font-weight: 750;
}
.card-caption { display: flex; align-items: center; gap: 15px; justify-content: space-between; flex: 1; padding: 17px 16px; }
.card-title { min-width: 0; }
.project-name { display: block; font-size: clamp(24px, 2.45vw, 34px); line-height: 1.02; }
.card-detail { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.4; }
.card-arrow {
  display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px;
  border: 1px solid var(--line); border-radius: 50%; color: var(--navy);
}
.project-card:hover .card-arrow { border-color: var(--orange); background: var(--orange); }

.services { background: var(--navy); color: #fffdf9; }
.services-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 113px); }
.services-copy > p:not(.eyebrow), .contact-content > p:not(.eyebrow) {
  color: #e0e7eb; font-size: 16px; line-height: 1.7; max-width: 480px; margin: 19px 0;
}
.text-link { display: inline-flex; gap: 13px; align-items: center; font-size: 14px; font-weight: 750; text-underline-offset: 5px; }
.light-link { color: #ffc188; }
.service-image { margin: 32px 0 0; }
.service-image img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 4px; }
.service-image figcaption { margin-top: 8px; color: #cbd6df; font-size: 11px; }
.service-list { border-top: 1px solid #ffffff39; }
.service-list article { padding: 19px 0; border-bottom: 1px solid #ffffff39; }
.service-list h3 { margin: 0 0 5px; font-size: clamp(17px, 1.8vw, 22px); letter-spacing: -.025em; }
.service-list p { margin: 0; color: #d7e0e7; font-size: 14px; line-height: 1.5; }

.guide { background: var(--cream); }
.guide-layout, .about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 8vw, 111px); align-items: center; }
.guide-figure { margin: 0; width: min(100%, 510px); justify-self: center; }
.guide-photo { background: white; padding: 8px; box-shadow: 0 14px 45px #192b3d20; border-radius: 5px; }
.guide-photo img { width: 100%; height: auto; aspect-ratio: 1.38; object-fit: cover; object-position: center 67%; border-radius: 2px; }
.guide-figure figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 13px; font-size: 13px; }
.guide-figure figcaption span { color: var(--muted); font-size: 12px; }
.guide-content h2, .about-content h2 { margin-bottom: 17px; }
.guide-topics { list-style: none; padding: 0; margin: 26px 0; border-top: 1px solid #d7d5d0; }
.guide-topics li { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid #d7d5d0; font-size: 14px; line-height: 1.4; }
.guide-topics li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-top: 7px; flex-shrink: 0; }
.about-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.about-content .founder-role { font-size: 16px; font-weight: 750; margin: 0 0 17px; }
.founder-image { margin: 0; width: min(100%, 480px); justify-self: end; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: white; }
.founder-image img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; object-position: center 29%; }
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 27px; }
.areas > div { border-top: 2px solid #d88736; padding: 12px 0 0; }
.areas strong, .areas span { display: block; }
.areas strong { font-size: 17px; }
.areas span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.rentals { border-top: 1px solid var(--line); background: var(--cream); }
.rentals-layout { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(190px, .85fr) auto; gap: 24px; align-items: center; padding-block: 34px; }
.rentals .eyebrow { margin-bottom: 7px; }
.rentals h2 { font-size: clamp(30px, 3.35vw, 45px); }
.rentals .text-link { white-space: nowrap; }

.contact { background: var(--navy-dark); color: #fffdf9; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 8vw, 110px); align-items: start; }
.contact-links { margin-top: 29px; border-top: 1px solid #ffffff39; max-width: 430px; }
.contact-links a { display: grid; grid-template-columns: 1fr auto; gap: 3px 14px; padding: 13px 0; text-decoration: none; border-bottom: 1px solid #ffffff39; }
.contact-links small { grid-column: 1; color: #d7e0e7; font-size: 12px; }
.contact-links strong { grid-column: 1; font-size: 17px; font-weight: 650; }
.contact-links a > span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #ffb56f; }
.contact-links a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.contact-form { background: var(--paper); color: var(--navy); padding: clamp(19px, 3vw, 34px); border-radius: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.field { display: grid; gap: 5px; margin-bottom: 13px; min-width: 0; }
.field label { font-size: 13px; font-weight: 750; }
.field input, .field select, .field textarea {
  min-height: 44px; width: 100%; padding: 10px 11px; font-size: 15px; color: var(--navy);
  background: white; border: 1px solid #bec7ce; border-radius: 3px;
}
.field textarea { resize: vertical; }
.contact-form > .button { width: 100%; }
.form-note { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.footer { padding: 27px 0 31px; }
.footer-layout { display: flex; gap: 20px; justify-content: space-between; align-items: center; }
.footer-layout img { width: 145px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a {
  display: flex; align-items: center; gap: 9px; min-height: 49px; padding: 7px 10px;
  border: 1px solid var(--line); border-radius: 5px; background: #fff; text-decoration: none;
}
.footer-links a:hover { border-color: var(--orange); }
.footer-links a:active { background: var(--cream); }
.footer-links .social-icon { width: 21px; height: 21px; flex: 0 0 21px; }
.footer-links .social-platform { display: block; color: var(--muted); font-size: 11px; line-height: 1.25; }
.footer-links strong { display: block; font-size: 12px; line-height: 1.35; }
.footer-links .arrow { margin-left: auto; }
@media (max-width: 520px) {
  .footer-links { display: grid; width: 100%; }
}
.footer-meta { display: grid; gap: 7px; color: var(--muted); font-size: 12px; }
.site-credit {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; width: fit-content;
  padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; background: #fff;
  color: var(--navy); text-decoration: none;
}
.site-credit:hover { border-color: var(--orange); }
.site-credit img { width: 24px; height: 30px; object-fit: contain; }
.floating-whatsapp {
  position: fixed; z-index: 19; bottom: max(20px, env(safe-area-inset-bottom)); right: max(20px, env(safe-area-inset-right));
  display: grid; place-items: center; width: 54px; height: 54px; background: #138c49;
  color: white; border: 1px solid #ffffff59; border-radius: 50%; box-shadow: 0 6px 23px #0b1d2f44;
}
.floating-whatsapp:hover { background: #0d6e38; }
.floating-whatsapp svg { width: 32px; height: 32px; fill: currentColor; }

.project-dialog {
  width: min(1080px, calc(100% - 36px)); max-width: none; max-height: min(90dvh, 900px);
  border: 0; padding: 0; margin: auto; background: var(--paper); color: var(--navy);
  border-radius: 7px; box-shadow: 0 20px 75px #0006; overflow: hidden;
}
.project-dialog::backdrop { background: #071525cf; }
.dialog-shell { display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: min(90dvh, 900px); }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 19px 23px 14px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.02; }
.dialog-header p { color: var(--muted); font-size: 13px; margin: 5px 0 0; }
.icon-button { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--navy); font-size: 26px; line-height: 1; }
.icon-button:hover { background: var(--cream); }
.dialog-content { overflow: auto; overscroll-behavior: contain; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px 23px 22px; }
.album-tile {
  position: relative; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: var(--cream); color: var(--navy); aspect-ratio: 4 / 3;
}
.album-tile img { width: 100%; height: 100%; object-fit: cover; }
.album-tile span {
  position: absolute; bottom: 6px; left: 6px; background: #fffdf8ef; padding: 4px 6px;
  border-radius: 2px; font-size: 10px; line-height: 1.1; font-weight: 700;
}
.album-tile:hover { border-color: var(--orange); }
.viewer { padding: 12px 23px 16px; }
.viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.back-to-album {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--navy);
  padding: 7px 0; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px;
}
#viewer-count, .viewer-caption { color: var(--muted); font-size: 12px; }
.viewer-stage { position: relative; display: grid; place-items: center; background: var(--navy-dark); border-radius: 4px; overflow: hidden; touch-action: pan-y pinch-zoom; }
.viewer-stage img { width: 100%; height: min(59dvh, 620px); object-fit: contain; }
.viewer-prev, .viewer-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.viewer-prev { left: 10px; }
.viewer-next { right: 10px; }
.viewer-caption { margin: 9px 0 0; }

@media (max-width: 1000px) {
  .header-inner { gap: 16px; }
  .brand img { width: 146px; }
  .header-actions { gap: 9px; }
  .header-cta { gap: 8px; font-size: 12px; }
  .navigation { gap: 14px; }
  .navigation a { font-size: 13px; }
}
@media (max-width: 830px) {
  .header-inner { min-height: 67px; }
  .navigation {
    display: none; position: absolute; inset: 100% 0 auto; padding: 6px var(--gutter) 14px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 10px 25px #10263d12;
  }
  .navigation.open { display: grid; }
  .navigation a { display: block; padding: 12px 2px; font-size: 15px; }
  .navigation .mobile-contact { display: block; }
  .header-cta { display: none; }
  .language button { min-width: 39px; min-height: 38px; }
  .menu-button {
    display: grid; gap: 4px; align-content: center; justify-items: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 4px; background: transparent;
  }
  .menu-button span { display: block; width: 16px; height: 2px; background: var(--navy); }
  .project-grid { gap: 14px; }
  .project-card, .project-card:nth-child(1), .project-card:nth-child(2) { grid-column: span 6; }
  .card-media, .project-card:nth-child(-n+2) .card-media { height: clamp(165px, 30vw, 250px); }
  .rentals-layout { grid-template-columns: 1fr 1fr; }
  .rentals .text-link { grid-column: 2; }
}
@media (max-width: 640px) {
  section[id] { scroll-margin-top: 70px; }
  .brand img { width: 137px; }
  .hero { min-height: clamp(510px, 70svh, 610px); }
  .hero-layout { align-items: end; padding-block: 90px 81px; }
  .hero-media img { object-position: 59% center; }
  .hero-shade { background: linear-gradient(0deg, #07192df7 0%, #0b2035d9 36%, #0b2035b8 88%, #0b20356b 100%); }
  .hero h1 { font-size: clamp(52px, 11.1vw, 70px); }
  .hero-intro { margin-block: 17px 20px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding: 11px 12px; min-height: 47px; font-size: 13px; gap: 8px; }
  .hero-guide { margin-top: 4px; font-size: 13px; }
  .hero-caption { bottom: 16px; right: auto; left: 0; padding: 8px 10px; gap: 16px; }
  .hero-caption strong { font-size: 12px; }
  .hero-caption div span { font-size: 11px; margin-top: 3px; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact-grid > div { padding: 13px 8px; }
  .fact-grid > div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #ded8d0; padding-left: 0; }
  .fact-grid span { margin-top: 4px; font-size: 11px; }
  .section-head, .services-layout, .guide-layout, .about-layout, .contact-grid { grid-template-columns: 1fr; }
  .section-head { gap: 13px; margin-bottom: 22px; }
  h2 { font-size: clamp(41px, 10vw, 56px); }
  .portfolio-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 16px; }
  .project-filters button { padding: 7px 9px; min-height: 44px; font-size: 12px; }
  .portfolio-count { text-align: left; }
  .project-grid { gap: 12px; }
  .project-card:nth-child(-n+2) { grid-column: 1 / -1; }
  .card-media { height: auto; aspect-ratio: 1.25; }
  .project-card:nth-child(-n+2) .card-media { height: auto; aspect-ratio: 1.85; }
  .card-caption { padding: 11px 10px; gap: 5px; }
  .project-name { font-size: 22px; overflow-wrap: anywhere; }
  .project-card:nth-child(-n+2) .project-name { font-size: 29px; }
  .project-card:nth-child(n+3) .card-arrow { display: none; }
  .card-detail { font-size: 11px; }
  .card-type { left: 7px; top: 7px; font-size: 10px; }
  .service-image img { aspect-ratio: 1.7; }
  .guide-content { grid-row: 1; }
  .guide-figure { width: min(100%, 350px); }
  .founder-image { justify-self: center; width: min(100%, 390px); }
  .rentals-layout { grid-template-columns: 1fr; gap: 12px; }
  .rentals .text-link { grid-column: 1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .footer { padding-bottom: 76px; }
  .footer-layout { flex-wrap: wrap; gap: 15px 20px; }
  .floating-whatsapp { width: 48px; height: 48px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .floating-whatsapp svg { width: 28px; height: 28px; }
  .project-dialog { width: calc(100% - 16px); max-height: 93dvh; }
  .dialog-shell { max-height: 93dvh; }
  .dialog-header { padding: 13px 12px 11px; }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 10px 10px 14px; }
  .viewer { padding: 8px 9px 13px; }
  .viewer-stage { min-height: 145px; }
  .viewer-stage img { height: auto; max-height: min(55dvh, 520px); }
  .viewer-prev { left: 5px; }
  .viewer-next { right: 5px; }
}
@media (max-width: 355px) {
  .header-inner { gap: 9px; }
  .brand img { width: 116px; }
  .header-actions { gap: 6px; }
  .hero h1 { font-size: clamp(40px, 14vw, 48px); }
  .project-card:nth-child(n) { grid-column: 1 / -1; }
  .project-card:nth-child(n) .card-media { aspect-ratio: 1.85; }
  .project-card:nth-child(n) .card-arrow { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.portfolio-actions { display: flex; justify-content: center; margin-top: 28px; }
.catalog .section-head h1 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(41px, 5.6vw, 77px); line-height: 1.01; letter-spacing: -.045em;
}
.catalog .project-card:nth-child(n), .project-grid-featured .project-card:nth-child(n) { grid-column: span 4; }
.catalog .card-media, .project-grid-featured .card-media { height: clamp(165px, 18vw, 265px); }
.catalog-references { margin-top: 50px; }
.catalog-references h2 { font-size: clamp(30px, 4vw, 46px); }
.reference-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none; gap: 10px; padding: 0; margin: 18px 0 0;
}
.reference-grid li {
  display: grid; gap: 5px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 5px; background: white;
}
.reference-grid span { color: var(--muted); font-size: 12px; }
@media (max-width: 830px) {
  .catalog .project-card:nth-child(n), .project-grid-featured .project-card:nth-child(n) { grid-column: span 6; }
  .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .catalog .card-media, .project-grid-featured .card-media { height: auto; aspect-ratio: 1.25; }
  .catalog .project-name, .project-grid-featured .project-name { font-size: 22px; }
}
@media (max-width: 355px) {
  .catalog .project-card:nth-child(n), .project-grid-featured .project-card:nth-child(n) { grid-column: 1 / -1; }
  .reference-grid { grid-template-columns: 1fr; }
}
