:root {
  --brown-900: #503523;
  --brown-800: #5f3f2b;
  --brown-700: #745138;
  --brown-600: #876146;
  --tan-300: #d3a27c;
  --tan-200: #efb78b;
  --cream-100: #fed5a7;
  --paper: #f5f0e5;
  --paper-soft: #eeeae1;
  --white: #ffffff;
  --ink: #211710;
  --shadow: 0 18px 48px rgba(80, 53, 35, 0.22);
}

@font-face {
  font-family: "SVN Gilroy";
  src: url("assets/fonts/SVN-Gilroy-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN Gilroy";
  src: url("assets/fonts/SVN-Gilroy-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN Gilroy";
  src: url("assets/fonts/SVN-Gilroy-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SVN Gilroy";
  src: url("assets/fonts/SVN-Gilroy-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN Gilroy";
  src: url("assets/fonts/SVN-Gilroy-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN Gilroy";
  src: url("assets/fonts/SVN-Gilroy-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN Gilroy";
  src: url("assets/fonts/SVN-Gilroy-XBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN Gilroy";
  src: url("assets/fonts/SVN-Gilroy-Heavy.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url("assets/texture-bg.jpg") center / cover fixed,
    var(--paper);
  color: var(--brown-900);
  font-family: "SVN Gilroy", "SVN-Gilroy", "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1238px, calc(100% - 40px));
  margin-inline: auto;
}










.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 20;
  display: grid;
  width: min(1240px, calc(100% - 40px));
  min-height: 70px;
  grid-template-columns: 185px 1fr 52px;
  align-items: center;
  gap: 28px;
  padding: 10px 15px 10px 40px;
  border: 1px solid rgba(211, 162, 124, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(92deg, rgba(80, 53, 35, 0.9), rgba(116, 81, 56, 0.92));
  box-shadow: 0 12px 36px rgba(34, 20, 13, 0.25);
  color: var(--white);
  transform: translateX(-50%);
  transition: min-height 180ms ease, top 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  top: 12px;
  min-height: 62px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
    linear-gradient(92deg, rgba(80, 53, 35, 0.98), rgba(116, 81, 56, 0.98));
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-100);
}

.brand-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--cream-100);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand small,
.footer-brand small {
  display: block;
  margin-top: 3px;
  color: var(--tan-200);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--cream-100);
}

.search-button,
.menu-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--tan-300);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--cream-100);
}

.search-button svg,
.menu-button svg {
  width: 20px;
  height: 20px;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  height: min(790px, 82svh);
  min-height: 620px;
  overflow: hidden;
  background: var(--brown-900);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.intro-band {
  padding: 36px 0 42px;
  background: linear-gradient(90deg, var(--brown-900), var(--brown-700));
  color: var(--tan-200);
}

.intro-copy {
  max-width: 1096px;
  margin: 0 auto 34px;
  font-size: 1.32rem;
  line-height: 1.7;
  text-align: center;
}

.intro-copy strong {
  color: var(--cream-100);
  font-weight: 900;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1114px;
  margin: 0 auto;
  border: 5px solid var(--cream-100);
  border-radius: 24px;
  padding: 19px 28px 20px;
}

.stats-panel article {
  padding-inline: 20px;
  text-align: center;
}

.stats-panel strong {
  display: block;
  color: var(--cream-100);
  font-size: 3.1rem;
  font-weight: 400;
  line-height: 1;
}

.stats-panel h2 {
  margin: 23px 0 8px;
  color: var(--cream-100);
  font-size: 1rem;
  text-transform: uppercase;
}

.stats-panel p {
  margin: 0;
  font-size: 0.92rem;
}

.section {
  padding: 46px 0 60px;
}

.projects-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.68)),
    url("assets/texture-bg.jpg") center / cover,
    var(--paper);
}

.section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.section-heading h2,
.video-column h2,
.consult-form h2,
.architect-section h2,
.testimonials-section h2,
.partners-section h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-transform: uppercase;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 22px;
}

.project-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--brown-700);
  font-weight: 750;
  text-transform: uppercase;
}

.project-tabs button::after {
  position: absolute;
  right: 50%;
  bottom: -8px;
  left: 50%;
  height: 3px;
  border-radius: 999px;
  background: var(--brown-700);
  content: "";
  transition: left 160ms ease, right 160ms ease;
}

.project-tabs button.is-active::after,
.project-tabs button:hover::after {
  right: 8px;
  left: 8px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px 64px;
}

.project-card {
  position: relative;
  min-height: 252px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--brown-800);
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-card.is-hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 252px;
  object-fit: cover;
}

.project-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(80, 53, 35, 0.95) 28%, rgba(116, 81, 56, 0));
  content: "";
}

.project-card h3 {
  position: absolute;
  right: 22px;
  bottom: 21px;
  left: 22px;
  z-index: 1;
  margin: 0;
  color: var(--cream-100);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 31px auto 0;
  border-bottom: 1px solid currentColor;
  color: var(--brown-700);
  font-size: 0.92rem;
  font-weight: 850;
  text-transform: uppercase;
}

.more-link svg {
  width: 16px;
  height: 16px;
}

.projects-section .container {
  text-align: center;
}

.consult-section {
  background: rgba(255, 255, 255, 0.52);
}

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.video-column h2,
.consult-form h2 {
  margin-bottom: 28px;
  font-size: 1.55rem;
}

.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--brown-900);
  box-shadow: var(--shadow);
  aspect-ratio: 1.9;
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: rgba(254, 213, 167, 0.9);
  color: var(--brown-900);
  transform: translate(-50%, -50%);
}

.play-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.video-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.video-thumbs img {
  height: 105px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.consult-form {
  padding: 28px 36px 26px;
  border-radius: 12px;
  background: var(--brown-700);
  color: var(--white);
  box-shadow: var(--shadow);
}

.consult-form h2 {
  color: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consult-form label {
  display: grid;
  gap: 6px;
  color: var(--cream-100);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.consult-form input,
.consult-form textarea {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  padding: 10px 12px;
  text-transform: none;
}

.consult-form textarea {
  margin-top: 14px;
  resize: vertical;
}

.consult-form input:focus,
.consult-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(254, 213, 167, 0.36);
}

.consult-form button {
  display: block;
  min-width: 96px;
  margin: 17px auto 0;
  border: 0;
  border-radius: 4px;
  background: var(--white);
  color: var(--brown-900);
  padding: 8px 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--cream-100);
  text-align: center;
}

.form-status.is-error {
  color: #ffe4dc;
}

.architect-section {
  overflow: hidden;
  padding: 44px 0;
  background: linear-gradient(90deg, var(--brown-900), var(--brown-700));
}

.architect-section h2 {
  color: var(--cream-100);
  margin-bottom: 30px;
}

.architect-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.architect-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 226px;
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(80, 53, 35, 0.1), rgba(239, 183, 139, 0.16), rgba(80, 53, 35, 0.08));
  color: var(--tan-200);
}

.architect-card img {
  width: 140px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: -7px 4px 9px rgba(0, 0, 0, 0.25);
}

.architect-card h3 {
  margin: 0 0 7px;
  color: var(--cream-100);
  font-size: 1rem;
  text-transform: uppercase;
}

.architect-card p {
  margin: 0 0 11px;
  color: var(--white);
  font-style: italic;
}

.architect-card span {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  font-style: italic;
}

.testimonials-section {
  background: var(--paper-soft);
}

.testimonials-section h2 {
  margin-bottom: 32px;
}

.testimonials-section h2 span {
  color: var(--brown-600);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
}

.testimonial-card {
  min-height: 257px;
  padding: 25px 34px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.testimonial-card div {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.testimonial-card img {
  width: 50px;
  height: 53px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card p,
.testimonial-card blockquote {
  margin: 0;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  font-style: italic;
}

.testimonial-card blockquote {
  color: var(--brown-900);
  font-size: 1.08rem;
  line-height: 1.45;
}

.partners-section {
  padding: 42px 0 36px;
  background: rgba(255, 255, 255, 0.68);
}

.partners-section h2 {
  margin-bottom: 26px;
  color: var(--brown-600);
}

.partner-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  overflow-x: auto;
  padding: 5px 0 12px;
}

.partner-strip img {
  max-width: 154px;
  max-height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-footer {
  padding: 58px 0 44px;
  background: linear-gradient(90deg, var(--brown-900), var(--brown-700));
  color: var(--cream-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: 180px 150px minmax(330px, 1fr) 260px;
  gap: 56px;
  align-items: start;
}

.site-footer nav,
.site-footer address,
.fanpage {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.site-footer nav a,
.site-footer address a,
.site-footer address span {
  color: var(--cream-100);
  font-size: 0.95rem;
}

.site-footer address strong,
.fanpage strong {
  color: var(--tan-200);
  margin-bottom: 4px;
}

.site-footer address a,
.site-footer address span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.site-footer svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.fanpage > div:first-of-type {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: var(--tan-300);
  color: var(--brown-900);
}

.fanpage img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.fanpage p {
  margin: 0;
  font-weight: 800;
}

.fanpage span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 400;
}

.social-row {
  display: flex;
  gap: 8px;
}

.social-row a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(254, 213, 167, 0.42);
  border-radius: 50%;
}

.video-dialog {
  max-width: min(980px, calc(100vw - 32px));
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: transparent;
}

.video-dialog::backdrop {
  background: rgba(25, 15, 9, 0.76);
}

.video-dialog button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--brown-900);
}

.video-dialog img {
  width: 100%;
  border-radius: 12px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}




/* ── news section ───────────────────────────────────────────────────── */
.news-section { background: #f5f5f0; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.news-cover { aspect-ratio: 16/9; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-cover img { transform: scale(1.04); }
.news-cover--placeholder { background: linear-gradient(135deg,#e8e3db,#d4c9b8); }
.news-body { padding: 1.1rem 1.25rem 1.4rem; }
.news-cat { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #8b6f47; margin-bottom: .5rem; }
.news-body h3 { font-size: 1rem; line-height: 1.4; margin-bottom: .5rem; color: #1a1a1a; }
.news-body p { font-size: .875rem; color: #666; line-height: 1.55; margin-bottom: .65rem; }
.news-body time { font-size: .78rem; color: #aaa; }
.news-loading, .news-empty { text-align: center; padding: 3rem; color: #aaa; font-size: .95rem; }
