@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiKold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-soft: #eeece5;
  --text: #17212a;
  --muted: #64717c;
  --line: rgba(23, 33, 42, 0.1);
  --line-strong: rgba(23, 33, 42, 0.16);
  --primary: #8c6b4c;
  --primary-dark: #5c4430;
  --accent: #b9c4bd;
  --ink: #26323d;
  --shadow: 0 24px 70px rgba(40, 48, 56, 0.11);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1360px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 33, 42, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 33, 42, 0.03) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 33, 42, 0.08);
  background: rgba(247, 246, 242, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--primary-dark);
  font-family: "Lora", Georgia, serif;
  font-size: 1.3rem;
  box-shadow: 0 12px 34px rgba(40, 48, 56, 0.08);
}

.brand-name {
  overflow-wrap: anywhere;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(140, 107, 76, 0.11);
  color: var(--primary-dark);
}

.main-nav .nav-cta {
  margin-left: 8px;
  background: var(--ink);
  color: #fff;
}

.main-nav .nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  border-radius: 999px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(140, 107, 76, 0.36);
  background: #fff;
}

.hero {
  min-height: auto;
  padding: 42px 0 58px;
}

.hero-grid {
  display: grid;
  min-height: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  gap: 28px;
}

.hero-copy,
.hero-media,
.page-hero,
.cta-section,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}

.hero-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--surface-soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(23, 33, 42, 0.36));
}

.hero-note {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  width: min(360px, calc(100% - 56px));
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  color: var(--ink);
}

.hero-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Lora", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.25;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid rgba(140, 107, 76, 0.24);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 17ch;
  font-size: clamp(2.45rem, 4.5vw, 4.9rem);
}

.page-hero h1,
.section-head h2,
.cta-section h2 {
  font-size: clamp(2.15rem, 4.6vw, 4.8rem);
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-text,
.lead,
.section-head p,
.card p,
.project-card p,
.timeline-item p,
.panel p,
.cta-section p,
.footer p,
.footer a {
  color: var(--muted);
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.section {
  padding: 90px 0;
}

.section.tight {
  padding-top: 42px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.42fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  margin: 0;
  font-size: 1.03rem;
}

.stats-grid,
.services-grid,
.project-grid,
.trust-grid,
.team-grid,
.jobs-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 20px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.card,
.project-card,
.timeline-item,
.job-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 52px rgba(40, 48, 56, 0.07);
}

.stat-card {
  padding: 26px;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  overflow: hidden;
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.project-card:hover,
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(40, 48, 56, 0.12);
}

.card-number,
.tag,
.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.card-number {
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.card p {
  margin: 12px 0 0;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid.large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card img,
.service-row img,
.team-card img,
.image-panel img,
.career-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image {
  aspect-ratio: 1.24 / 1;
  overflow: hidden;
  background: var(--surface-soft);
}

.project-body {
  padding: 22px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  background: rgba(140, 107, 76, 0.12);
  color: var(--primary-dark);
  padding: 6px 10px;
}

.status {
  background: rgba(38, 50, 61, 0.08);
  color: var(--ink);
  padding: 6px 10px;
}

.project-card h3 {
  font-family: "Lora", Georgia, serif;
  font-size: 1.35rem;
}

.project-card p {
  margin: 10px 0 16px;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline-item {
  position: relative;
  min-height: 210px;
  padding: 22px;
}

.timeline-item span {
  display: block;
  margin-bottom: 34px;
  color: rgba(23, 33, 42, 0.34);
  font-family: "Lora", Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

.timeline-item p {
  margin: 10px 0 0;
}

.trust-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}

.image-panel,
.career-image {
  overflow: hidden;
  min-height: 460px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list .card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.trust-list .card-number {
  margin: 0;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 58px);
}

.cta-section p {
  max-width: 620px;
  margin: 14px 0 0;
}

.page-hero {
  margin-top: 46px;
  padding: clamp(34px, 7vw, 76px);
}

.page-hero h1 {
  max-width: 14ch;
}

.page-hero .lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 1.16rem;
}

.service-list {
  display: grid;
  gap: 24px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.52fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-copy {
  padding: clamp(28px, 4vw, 48px);
}

.service-copy h2 {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
}

.service-copy p {
  max-width: 760px;
  margin: 18px 0 24px;
  color: var(--muted);
}

.service-copy ul,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-copy li,
.plain-list li {
  position: relative;
  padding-left: 22px;
}

.service-copy li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.service-visual {
  min-height: 320px;
  background: var(--surface-soft);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-bar button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  padding: 0 16px;
  cursor: pointer;
  font-weight: 700;
}

.filter-bar button.is-active,
.filter-bar button:hover {
  background: var(--ink);
  color: #fff;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.panel {
  padding: clamp(26px, 4vw, 46px);
}

.panel h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
}

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

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.team-card figure {
  margin: 0;
}

.team-card picture,
.team-card img {
  display: block;
}

.team-card .project-image {
  aspect-ratio: 1.55 / 1;
}

.team-card figcaption {
  padding: 22px;
}

.notice {
  border: 1px solid rgba(140, 107, 76, 0.22);
  border-radius: 20px;
  background: rgba(140, 107, 76, 0.08);
  padding: 18px 20px;
  color: var(--primary-dark);
  font-weight: 600;
}

.jobs-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.job-card {
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card p {
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.58fr);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 168px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(140, 107, 76, 0.65);
  box-shadow: 0 0 0 4px rgba(140, 107, 76, 0.12);
}

.form-message {
  min-height: 26px;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.contact-card {
  padding: 24px;
}

.contact-card + .contact-card {
  margin-top: 14px;
}

.contact-card strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  grid-template-columns: 1.1fr 0.7fr 0.7fr 0.8fr;
  padding: 42px 0;
}

.footer h2,
.footer h3 {
  margin: 0 0 14px;
  font-family: "Lora", Georgia, serif;
}

.footer a {
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 18px 0 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1120px) {
  .hero-grid,
  .section-head,
  .trust-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .project-grid.large,
  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-media {
    min-height: 520px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .main-nav .nav-cta {
    width: 100%;
    margin-left: 0;
  }

  .services-grid,
  .project-grid,
  .values-grid,
  .team-grid,
  .footer-grid,
  .service-row {
    grid-template-columns: 1fr;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-visual {
    min-height: 280px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-name {
    max-width: 190px;
    line-height: 1.2;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  .hero-copy,
  .page-hero,
  .panel,
  .cta-section {
    border-radius: 22px;
  }

  .hero-media {
    min-height: 380px;
    border-radius: 22px;
  }

  .hero-note {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .stats-grid,
  .project-grid.large,
  .jobs-grid,
  .timeline,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
