:root {
  --black: #181918;
  --ink: #2e302d;
  --stone: #787a75;
  --line: #deded9;
  --canvas: #f5f4ef;
  --white: #fff;
  --accent: #78846a;
  --accent-pale: #e6e9de;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.08;
  margin: 18px 0 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 600;
  transition: .2s;
}
.text-link:hover { color: var(--accent); gap: 18px; }

.hero { background: var(--black); color: #fff; overflow: hidden; }
.hero-inner { padding: 140px 0 100px; }
.hero-logo { margin-bottom: 28px; }
.hero-logo img {
  height: 80px;
  width: auto;
  display: block;
  border-radius: 2px;
  opacity: .92;
}
.hero-copy { max-width: 700px; }
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.05em;
  margin: 0 0 26px;
}
.hero h1 em { color: #dce1d3; }
.hero p { max-width: 440px; color: #c4c6c0; font-size: 16px; margin: 0 0 34px; }
.hero-photo-row { display: flex; justify-content: flex-end; margin-top: -30px; }
.hero-cluster { position: relative; width: 460px; height: 400px; margin-bottom: 24px; }
.hero-cluster img {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 18px 34px rgba(0,0,0,.45);
  transition: transform .35s ease, box-shadow .35s ease;
}
.hero-cluster img:hover {
  transform: rotate(0deg) scale(1.06) !important;
  box-shadow: 0 26px 46px rgba(0,0,0,.55);
  z-index: 10 !important;
}
.hc1 { width: 200px; height: 148px; top: 6px; left: 0; transform: rotate(-11deg); z-index: 1; }
.hc2 { width: 250px; height: 180px; top: 0; left: 205px; transform: rotate(6deg); z-index: 2; }
.hc3 { width: 190px; height: 150px; top: 200px; left: 22px; transform: rotate(9deg); z-index: 3; }
.hc4 { width: 240px; height: 182px; top: 214px; left: 208px; transform: rotate(-6deg); z-index: 4; }
.hero-credit {
  position: absolute;
  z-index: 5;
  bottom: -20px;
  right: 0;
  font: 400 9px 'DM Mono', monospace;
  letter-spacing: .1em;
  color: #8f9188;
}

.intro {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 12%;
  padding: 110px 0;
}
.intro-copy { font-size: 19px; line-height: 1.62; max-width: 650px; }
.intro-copy p:first-child { margin-top: 0; }
.intro-copy p { margin: 0 0 24px; }

.process-text { max-width: 640px; font-size: 16px; line-height: 1.75; color: var(--ink); margin-top: 8px; }
.process-text p { margin: 0 0 22px; }
.process-text p:last-child { margin-bottom: 0; }
.process-text strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-style: italic;
  color: var(--black);
}

.rates { padding: 115px 0 130px; }
.rates-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9%; align-items: start; }
.rates-aside { padding-top: 5px; }
.rates-aside h2 {
  font: 600 clamp(30px, 3vw, 44px)/1.08 'DM Sans', Arial, sans-serif;
  letter-spacing: -.06em;
  margin: 15px 0 0;
}
.rates-aside p { font-size: 13px; color: var(--stone); max-width: 280px; margin: 24px 0 0; }
.rate-list { display: flex; flex-direction: column; gap: 20px; }
.rate {
  padding: 26px 28px;
  background: var(--white);
  border-radius: 3px;
}
.rate h3 { font-size: 17px; line-height: 1.35; margin: 0 0 4px; font-weight: 600; }
.rate h3 span { display: block; color: var(--stone); font-size: 12px; font-weight: 400; margin-top: 5px; }
.rate p { font-size: 14px; color: var(--stone); margin: 10px 0 0; }
.rate-price {
  display: inline-block;
  margin-top: 14px;
  font: 500 15px 'DM Mono', monospace;
  color: var(--accent);
}
.other { margin: 6px 0 0; padding: 4px 28px 0; font-size: 12px; color: var(--stone); }

.portfolio { background: var(--black); color: #fff; padding: 122px 0 125px; overflow: hidden; }
.portfolio-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 46px; }
.portfolio .section-title { color: #fff; }
.portfolio-intro { color: #bdbfb9; font-size: 14px; max-width: 345px; margin: 0; }
.carousel { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; }
.track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.track:hover { animation-play-state: paused; }
.project {
  height: 390px;
  width: 550px;
  margin-right: 16px;
  position: relative;
  overflow: hidden;
  background: #30322f;
  flex-shrink: 0;
}
.project img { width: 100%; height: 100%; object-fit: cover; opacity: .96; transition: .6s; }
.project:hover img { transform: scale(1.035); opacity: 1; }
.project-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 42px 28px 21px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  font-size: 13px;
}
.project-info span {
  display: block;
  font: 400 9px 'DM Mono', monospace;
  letter-spacing: .09em;
  color: #d1d8c0;
  margin-bottom: 5px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 32px)); }
}

.contact { padding: 140px 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 12%; }
.contact h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(39px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 18px 0 31px;
}
.contact-details { font-size: 14px; color: var(--stone); }
.contact-details a { color: var(--ink); display: block; font-weight: 600; margin: 8px 0; }
.contact-details a:hover { color: var(--accent); }

.form {
  background: var(--white);
  padding: 32px;
  box-shadow: 0 12px 45px rgba(32,32,28,.05);
}
.form iframe { display: block; width: 100%; border: 0; }

footer {
  background: #101110;
  color: #8d908a;
  padding: 28px 0;
  font: 400 10px 'DM Mono', monospace;
  letter-spacing: .04em;
}
footer .container { display: flex; justify-content: space-between; }

@media (max-width: 800px) {
  .container { padding: 0 19px; }
  .hero-inner { padding: 96px 28px 60px; }
  .hero-logo img { height: 36px; }
  .hero-copy { max-width: 100%; }
  .hero-photo-row { margin-top: 40px; justify-content: center; }
  .hero-cluster { width: 260px; height: 230px; }
  .hc1 { width: 116px; height: 86px; top: 4px; left: 0; }
  .hc2 { width: 142px; height: 102px; top: 0; left: 116px; }
  .hc3 { width: 110px; height: 86px; top: 114px; left: 12px; }
  .hc4 { width: 136px; height: 104px; top: 122px; left: 118px; }
  .intro, .contact { display: block; padding: 60px 0; }
  .intro-copy { font-size: 17px; margin-top: 37px; }
  .rates { padding: 60px 0; }
  .portfolio-head { display: block; }
  .portfolio-intro { margin-top: 18px; }
  .process-text { font-size: 15px; }
  .rates-layout { display: block; }
  .rates-aside p { margin-bottom: 35px; }
  .rate { padding: 22px; }
  .portfolio { padding: 85px 0; }
  .project { width: 320px; height: 285px; }
  .contact h2 { margin-bottom: 23px; }
  .form { margin-top: 42px; padding: 24px; }
  footer .container { display: block; }
  footer .container span + span { display: block; margin-top: 8px; }
}
