:root {
  --ink: #1d1d1f;
  --muted: #67615b;
  --paper: #f7f5f0;
  --stone: #ebe7df;
  --line: #d8d0c2;
  --gold: #b08a48;
  --gold-dark: #7a5a25;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(29, 29, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 240, 0.95)),
    radial-gradient(circle at 18% 15%, rgba(176, 138, 72, 0.12), transparent 34%),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(115deg, transparent 0 18%, rgba(29, 29, 31, 0.05) 18.5%, transparent 20% 48%, rgba(176, 138, 72, 0.08) 49%, transparent 50%),
    linear-gradient(22deg, transparent 0 58%, rgba(29, 29, 31, 0.04) 59%, transparent 61%);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 245, 240, 0.9);
  border-bottom: 1px solid rgba(216, 208, 194, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 74px;
  height: 52px;
  object-fit: cover;
  object-position: center 46%;
  background: var(--white);
  border: 1px solid rgba(176, 138, 72, 0.45);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #2c2926;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.main-nav a:hover {
  color: var(--gold-dark);
}

.nav-cta {
  padding: 11px 18px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--ink);
  border: 0;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  padding: 134px clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -7vw;
  bottom: -12vw;
  width: 42vw;
  aspect-ratio: 1;
  border: 1px solid rgba(176, 138, 72, 0.45);
  transform: rotate(45deg);
}

.hero-content,
.hero-card,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-media {
  grid-column: 2;
  order: 2;
  min-height: 520px;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  background: var(--stone);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 9vw, 118px);
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy {
  max-width: 620px;
  color: #49443f;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #3a332b);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  border-color: var(--line);
}

.hero-card {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  width: min(340px, calc(100% - 40px));
  padding: 22px;
  color: var(--white);
  background: rgba(29, 29, 31, 0.92);
  border-left: 5px solid var(--gold);
  box-shadow: var(--shadow);
}

.hero-card span {
  color: #d7c5a4;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card strong,
.hero-card a {
  font-size: 18px;
}

.intro-section,
.services,
.projects-section,
.work-section,
.contact-section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 6vw, 92px);
  background: var(--ink);
  color: var(--white);
}

.intro-section p:not(.eyebrow) {
  color: #e4dfd5;
  font-size: 18px;
  line-height: 1.8;
}

.section-heading {
  max-width: 760px;
}

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.service-grid article {
  min-height: 260px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.service-grid span {
  display: block;
  margin-bottom: 72px;
  color: var(--gold-dark);
  font-weight: 800;
}

.service-grid p,
.work-content p,
.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.projects-section {
  background: #ffffff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 16px;
  margin-top: 34px;
}

.project-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
  border: 1px solid var(--line);
}

.project-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
  transition: transform 260ms ease;
}

.project-grid figure:hover img {
  transform: scale(1.035);
}

.project-grid figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  color: var(--white);
  background: rgba(29, 29, 31, 0.82);
  border-left: 3px solid var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.project-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.section-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--gold-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.work-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  background: #ffffff;
}

.work-image {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.work-image img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.steps div {
  padding: 0 0 18px 24px;
  border-left: 3px solid var(--gold);
}

.steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.talent-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.talent-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.cv-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background: #f5f2eb;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(29, 29, 31, 0.08);
}

.cv-form label {
  display: grid;
  gap: 8px;
  color: #342f2a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.cv-form input,
.cv-form select,
.cv-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  background: var(--white);
  border: 1px solid #cfc6b9;
  outline: none;
}

.cv-form textarea {
  resize: vertical;
}

.cv-form input:focus,
.cv-form select:focus,
.cv-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 138, 72, 0.16);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
  background: linear-gradient(135deg, #f7f5f0, #e9e3d7);
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel a,
.contact-panel div {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-panel span {
  color: #d7c5a4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel strong {
  font-size: 18px;
  line-height: 1.35;
}

.contact-panel .button {
  margin-top: 8px;
  border: 0;
  background: var(--gold);
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #d8d0c2;
  background: #131314;
  font-size: 14px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  padding: 138px clamp(20px, 5vw, 72px) 72px;
  background: linear-gradient(135deg, #f8f6f1, #ebe5d9);
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.98;
}

.page-hero p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.page-hero img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  box-shadow: var(--shadow);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.portfolio-section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 54px;
}

.portfolio-filters a {
  padding: 11px 15px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  background: #f5f2eb;
  border: 1px solid var(--line);
}

.portfolio-group {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.portfolio-group h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

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

.portfolio-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--stone);
  border: 1px solid var(--line);
}

.portfolio-grid img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.portfolio-grid figcaption {
  padding: 13px 14px;
  color: #342f2a;
  font-size: 14px;
  font-weight: 800;
  background: #f7f5f0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(44px, 7vw, 80px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 83px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 15px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero,
  .intro-section,
  .work-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    grid-column: auto;
    order: 0;
    min-height: 380px;
  }

  .hero-content {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-media img {
    min-height: 380px;
  }

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

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .talent-section,
  .page-hero,
  .portfolio-group {
    grid-template-columns: 1fr;
  }

  .page-hero img {
    min-height: 340px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 58px;
    height: 42px;
  }

  .hero {
    padding: 112px 16px 224px;
  }

  .hero-media {
    clip-path: none;
    min-height: 300px;
  }

  .hero-media img {
    min-height: 300px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .cv-form,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .project-feature {
    grid-column: auto;
    grid-row: auto;
  }

  .service-grid article {
    min-height: 220px;
  }

  .service-grid span {
    margin-bottom: 44px;
  }

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