@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #1e201e;
  --paper: #f1f0eb;
  --soft: #dedfd8;
  --line: rgba(30, 32, 30, .18);
  --muted: #74756f;
  --display: clamp(4.4rem, 12.1vw, 12.8rem);
  --page-pad: clamp(1.25rem, 3vw, 3.25rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--paper); }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, figure { margin: 0; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: max(43rem, 100svh);
  overflow: hidden;
  color: #fff;
  background: #1c201d;
}

.hero__image, .hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.03);
  animation: hero-arrival 1.8s cubic-bezier(.16, 1, .3, 1) both;
}

.hero__veil {
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 17, 14, .52) 0%, rgba(17, 20, 17, .06) 34%, rgba(13, 16, 14, .8) 100%);
}

.hero__meta, .hero__content, .hero__scroll { position: absolute; }

.hero__meta {
  top: 1.5rem;
  right: var(--page-pad);
  left: var(--page-pad);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.hero__meta { text-shadow: 0 1px 12px rgba(0, 0, 0, .36); }
.hero__meta a { transition: opacity .25s ease; }
.hero__meta a:hover { opacity: .65; }

.hero__content {
  right: var(--page-pad);
  bottom: clamp(2rem, 6.5vw, 5.6rem);
  left: var(--page-pad);
}

.eyebrow, .index {
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: .7rem 0 1.5rem;
  max-width: 11ch;
  font-size: clamp(3.7rem, 11vw, 11rem);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.075em;
}

.hero__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: 55rem;
  gap: 2rem;
}

.hero__bottom p {
  font-size: clamp(.86rem, 1.4vw, 1.08rem);
  line-height: 1.55;
  letter-spacing: -.02em;
}

.hero__actions { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.hero__phone { font-size: .7rem; font-weight: 700; letter-spacing: .08em; transition: opacity .25s ease; }
.hero__phone:hover { opacity: .65; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: .9rem 1.1rem 1rem 1.25rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background-color .3s ease, color .3s ease;
}

.button span { font-size: 1rem; line-height: 0; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translate(2px, -2px); }
.button--light { color: #21231f; background: #fff; }
.button--light:hover { background: #e9e9e4; }

.hero__scroll {
  right: var(--page-pad);
  bottom: 1.35rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .13em;
  opacity: .7;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.material { position: relative; overflow: hidden; }
.material h2, .about h2, .contacts h2 { font-weight: 700; line-height: .85; letter-spacing: -.085em; }
.material__description { font-size: clamp(.98rem, 1.35vw, 1.25rem); line-height: 1.55; letter-spacing: -.025em; }

.granite {
  display: grid;
  grid-template-columns: minmax(16rem, .88fr) minmax(24rem, 1.12fr);
  min-height: 100svh;
  padding: var(--page-pad);
  background: #cbc7bd;
}

.granite__intro { z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: .3rem 0 0; }
.granite__intro h2 { margin: auto 0 1.5rem; font-size: var(--display); }
.granite__intro .material__description { max-width: 21rem; }
.granite__figure { position: relative; min-height: 34rem; margin: 0; overflow: hidden; border-radius: 1.6rem; }
.granite__figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.granite__figure:hover img { transform: scale(1.035); }
.granite__quiet { position: absolute; right: 2.7rem; bottom: 2.7rem; color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-align: right; text-transform: uppercase; }

.marble {
  display: grid;
  grid-template-columns: minmax(16rem, .78fr) minmax(21rem, 1.22fr);
  align-items: center;
  min-height: 100svh;
  padding: var(--page-pad);
  background: #e7e7df;
}

.marble__image-wrap { height: min(72vw, 58rem); min-height: 37rem; overflow: hidden; border-radius: 50% 50% 0 0; }
.marble__image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.marble__image-wrap:hover img { transform: scale(1.04); }
.marble__copy { align-self: stretch; display: flex; flex-direction: column; padding: .2rem 0 .2rem clamp(2rem, 8vw, 10rem); }
.marble__copy h2 { margin: auto 0 1.7rem; font-size: var(--display); }
.marble__copy .material__description { max-width: 25rem; }

.porcelain { padding: var(--page-pad); min-height: 100svh; background: #d9dcda; }
.porcelain__top { display: grid; grid-template-columns: minmax(8rem, .72fr) minmax(28rem, 1.28fr); gap: 2rem; align-items: start; padding: .4rem 0 clamp(4.5rem, 9vw, 9.2rem); }
.porcelain__top h2 { font-size: clamp(3.7rem, 10.75vw, 11.3rem); }
.porcelain__top .material__description { margin-top: 1.8rem; max-width: 31rem; }
.porcelain__figure { height: min(52vw, 41rem); min-height: 24rem; margin: 0; overflow: hidden; border-radius: 1.6rem; }
.porcelain__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; filter: saturate(.72); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.porcelain__figure:hover img { transform: scale(1.025); }

.about { display: flex; flex-direction: column; justify-content: space-between; min-height: 84svh; padding: var(--page-pad); background: #f6f5f0; }
.about__statement { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 2rem; }
.about h2 { font-size: clamp(4.2rem, 11vw, 11.5rem); }
.about__statement p { max-width: 28rem; padding-bottom: .45rem; font-size: clamp(1.15rem, 2vw, 1.75rem); line-height: 1.35; letter-spacing: -.045em; }

.contacts { min-height: 100svh; padding: var(--page-pad); color: #f8f8f4; background: #20231f; }
.contacts .index { color: #bdbfb8; }
.contacts__content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; padding-top: clamp(7rem, 14vh, 12rem); }
.contacts h2 { font-size: clamp(4.3rem, 10.5vw, 11.5rem); }
.contacts__details { align-self: end; display: flex; flex-direction: column; gap: .85rem; padding-bottom: .5rem; }
.contacts__details a { width: fit-content; font-size: clamp(1.15rem, 1.8vw, 1.65rem); letter-spacing: -.04em; transition: color .25s ease; }
.contacts__details a:hover { color: #afb6ad; }
.contacts address { margin-top: 2rem; color: #c6c8c2; font-size: .9rem; font-style: normal; line-height: 1.55; }
footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(7rem, 18vh, 15rem); padding-top: 1.1rem; border-top: 1px solid rgba(248, 248, 244, .24); color: #c8cac3; font-size: .62rem; font-weight: 700; letter-spacing: .09em; }
footer a { transition: color .25s ease; }
footer a:hover { color: #fff; }

.section-reveal { opacity: 0; transform: translateY(2.4rem); transition: opacity .8s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.section-reveal.is-visible { opacity: 1; transform: none; }
.image-reveal { clip-path: inset(10% 0 10% 0 round 1.6rem); transition: clip-path 1.05s cubic-bezier(.16, 1, .3, 1); }
.is-visible .image-reveal { clip-path: inset(0 round 1.6rem); }

@keyframes hero-arrival { from { transform: scale(1.1); opacity: .1; } to { transform: scale(1.03); opacity: 1; } }

@media (max-width: 760px) {
  :root { --display: clamp(4.1rem, 17.2vw, 7.7rem); --page-pad: 1.25rem; }
  .hero { min-height: max(43rem, 100svh); }
  .hero__image { object-position: 61% center; }
  .hero__meta { top: 1.2rem; font-size: .57rem; letter-spacing: .08em; }
  .hero h1 { margin: .65rem 0 1.65rem; font-size: clamp(3.9rem, 17.5vw, 7rem); }
  .hero__bottom { align-items: flex-start; flex-direction: column; gap: 1.3rem; }
  .hero__bottom p { font-size: .88rem; }
  .hero__actions { align-items: flex-start; }
  .button { min-height: 2.8rem; padding: .84rem 1.15rem .88rem 1.2rem; }
  .hero__scroll { display: none; }
  .material__description { font-size: .98rem; }
  .granite { display: flex; flex-direction: column; min-height: auto; gap: 3rem; padding-top: 4.25rem; padding-bottom: 1.25rem; }
  .granite__intro { min-height: 32rem; }
  .granite__intro h2 { margin: auto 0 1.2rem; }
  .granite__figure { min-height: 33rem; border-radius: 1.15rem; }
  .granite__quiet { right: 1.25rem; bottom: 1.35rem; }
  .marble { display: flex; flex-direction: column-reverse; align-items: stretch; min-height: auto; gap: 3rem; padding-top: 4.3rem; padding-bottom: 1.25rem; }
  .marble__copy { display: block; padding: 0; }
  .marble__copy h2 { margin: 7rem 0 1.25rem; }
  .marble__image-wrap { height: 39rem; min-height: 0; border-radius: 50vw 50vw 0 0; }
  .porcelain { min-height: auto; padding-top: 4.3rem; padding-bottom: 1.25rem; }
  .porcelain__top { display: block; padding: 0 0 3rem; }
  .porcelain__top > .index { margin-bottom: 5.5rem; }
  .porcelain__top h2 { font-size: clamp(3.4rem, 15.1vw, 6rem); }
  .porcelain__top .material__description { margin-top: 1.2rem; }
  .porcelain__figure { height: 33rem; min-height: 0; border-radius: 1.15rem; }
  .about { min-height: 76svh; padding-top: 4.25rem; }
  .about__statement { display: block; }
  .about h2 { margin-bottom: 2.5rem; font-size: clamp(4rem, 17vw, 7rem); }
  .about__statement p { font-size: 1.13rem; }
  .contacts { min-height: 47rem; padding-top: 4.25rem; }
  .contacts__content { display: flex; flex-direction: column; gap: 5rem; padding-top: 5.5rem; }
  .contacts h2 { font-size: clamp(4rem, 17vw, 7rem); }
  .contacts__details { gap: .8rem; }
  .contacts__details a { font-size: 1.12rem; }
  footer { flex-wrap: wrap; margin-top: 8.5rem; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .section-reveal { opacity: 1; transform: none; }
  .image-reveal { clip-path: none; }
}
