:root {
  --cream: #f6efe5;
  --cream-soft: #fbf7f1;
  --beige: #eadfce;
  --sand: #d8c7b1;
  --taupe: #b49b82;
  --ink: #2f261d;
  --ink-soft: rgba(47, 38, 29, 0.72);
  --accent: #8f6f50;
  --accent-soft: #c9ae8c;
  --shadow: 0 24px 70px rgba(61, 42, 22, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f3eadf 0%, #eadfce 48%, #e0cfba 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-shell {
  min-height: 100vh;
}

.content-section {
  position: relative;
  padding: 6rem 4rem;
  background:
    radial-gradient(circle at top right, rgba(203, 181, 154, 0.42), transparent 30%),
    radial-gradient(circle at left center, rgba(241, 229, 214, 0.62), transparent 34%),
    linear-gradient(180deg, #f1e7da, #e9dcc9 100%);
}

.content-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 35%, rgba(160, 131, 97, 0.05));
  pointer-events: none;
}

#contact {
  scroll-margin-top: 7rem;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin-bottom: 2.2rem;
}

.section-heading-wide {
  max-width: 46rem;
}

.section-kicker {
  margin: 0 0 0.9rem;
  color: #7f6042;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 3.2vw, 4rem);
  line-height: 1.02;
  font-weight: 700;
  color: #33291f;
}

.section-intro,
.about-copy p,
.uniqueness-panel p,
.uniqueness-card p {
  color: rgba(51, 41, 31, 0.7);
  font-size: 1rem;
  line-height: 1.8;
}

.section-intro {
  margin: 1rem 0 0;
  max-width: 36rem;
}

.projects-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.82fr 0.98fr;
  grid-template-rows: 19rem 15rem;
  gap: 1.2rem;
  align-items: stretch;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.55rem;
  background: rgba(247, 239, 230, 0.9);
  border: 1px solid rgba(122, 95, 63, 0.1);
  box-shadow: 0 28px 70px rgba(61, 42, 22, 0.08);
  min-height: 15rem;
  isolation: isolate;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(223, 206, 184, 0.16) 38%, rgba(149, 118, 83, 0.18));
  pointer-events: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
  transform: scale(1.03);
  transition: transform 280ms ease, filter 280ms ease;
}

.project-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.06);
}

.project-card-content {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
}

.project-card-content span {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: #5a422e;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card-content h3 {
  margin: 0;
  max-width: 20rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 600;
  color: #1f1812;
}

.project-card-large {
  grid-row: 1 / span 2;
}

.project-card-vertical {
  grid-column: 2;
  grid-row: 1;
}

.project-card-top-right {
  grid-column: 3;
  grid-row: 1;
}

.project-card-bottom-right {
  grid-column: 3;
  grid-row: 2;
}

.project-card-wide {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.uniqueness-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.uniqueness-card,
.uniqueness-panel {
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(122, 95, 63, 0.12);
  background: linear-gradient(180deg, rgba(247, 239, 230, 0.95), rgba(235, 224, 210, 0.97));
  box-shadow: 0 24px 60px rgba(61, 42, 22, 0.06);
}

.uniqueness-card h3,
.uniqueness-panel h3 {
  margin: 0.7rem 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #33291f;
}

.uniqueness-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(143, 111, 80, 0.1);
  color: #7f6042;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.uniqueness-panel {
  background:
    radial-gradient(circle at top right, rgba(203, 181, 154, 0.34), transparent 36%),
    linear-gradient(180deg, rgba(245, 236, 225, 0.98), rgba(233, 221, 205, 0.98));
}

.panel-label {
  margin: 0;
  color: #7f6042;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 34rem;
}

.about-image {
  position: absolute;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 26px 60px rgba(61, 42, 22, 0.08);
  border: 1px solid rgba(122, 95, 63, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.about-image:hover img {
  transform: scale(1.05);
  filter: saturate(1.06);
}

.about-image-large {
  inset: 0 18% 6% 0;
}

.about-image-top {
  width: 34%;
  height: 40%;
  top: 2.5rem;
  right: 0;
}

.about-image-bottom {
  width: 36%;
  height: 34%;
  left: 4%;
  bottom: 0;
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-copy h2 {
  margin-bottom: 1rem;
}

.about-copy p {
  margin: 0 0 1rem;
  max-width: 34rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.about-highlights div {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(247, 239, 230, 0.82);
  border: 1px solid rgba(122, 95, 63, 0.08);
}

.about-highlights strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #33291f;
  font-size: 1rem;
  font-weight: 700;
}

.about-highlights span {
  color: rgba(51, 41, 31, 0.68);
  font-size: 0.84rem;
}

.site-footer {
  position: relative;
  padding: 5rem 4rem 4rem;
  background:
    radial-gradient(circle at top left, rgba(210, 188, 160, 0.32), transparent 32%),
    linear-gradient(180deg, #eadfce, #e0cfba 100%);
  border-top: 1px solid rgba(122, 95, 63, 0.14);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 38%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 78rem;
  margin: 0 auto;
}

.footer-kicker {
  margin: 0 0 0.85rem;
  color: #7f6042;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-footer h2 {
  margin: 0;
  color: #33291f;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  line-height: 1.05;
}

.footer-contact-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-contact-item {
  display: block;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(122, 95, 63, 0.14);
  background: rgba(248, 240, 231, 0.72);
  box-shadow: 0 14px 28px rgba(61, 42, 22, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.footer-contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 95, 63, 0.22);
  box-shadow: 0 18px 30px rgba(61, 42, 22, 0.1);
}

.footer-label {
  display: block;
  margin-bottom: 0.42rem;
  color: rgba(51, 41, 31, 0.64);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-contact-item strong {
  color: #33291f;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 3rem;
  background: linear-gradient(to bottom, rgba(250, 243, 235, 0.94), rgba(250, 243, 235, 0));
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 14rem;
}

.brand-logo {
  width: auto;
  height: 4.8rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-text strong {
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #33291f;
}

.brand-text small {
  margin-top: 0.18rem;
  font-size: 0.74rem;
  letter-spacing: 0.42em;
  color: #7f6042;
}

.contact-btn {
  padding: 0.95rem 1.8rem;
  border-radius: 0.35rem;
  background: linear-gradient(135deg, #eadcc9, #dcc8af);
  color: #33291f;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(122, 95, 63, 0.14);
  box-shadow: 0 14px 28px rgba(61, 42, 22, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.44);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  border-color: rgba(122, 95, 63, 0.18);
  box-shadow: 0 18px 34px rgba(61, 42, 22, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(243, 234, 222, 0.92), rgba(231, 218, 201, 0.78)),
    linear-gradient(to bottom, rgba(249, 244, 238, 0.94), rgba(236, 224, 211, 0.9));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/background_image.jpeg") center bottom / cover no-repeat;
  opacity: 0.82;
  transform: scale(1.03);
  filter: saturate(0.52) sepia(0.34) brightness(1.02) contrast(0.9);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(245, 235, 222, 0.62), rgba(232, 218, 199, 0.36)),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.12), rgba(228, 214, 196, 0.22));
  mix-blend-mode: normal;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(260px, 1.08fr) minmax(420px, 1.2fr);
  align-items: center;
  padding: 8.8rem 4rem 3.2rem;
}

.hero-copy {
  align-self: center;
  max-width: 40rem;
  padding-left: 1rem;
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(88, 70, 54, 0.78);
  animation: hero-text-rise 800ms ease both 140ms;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 4.5vw, 5.2rem);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  color: #33291f;
}

.headline-line {
  display: block;
  opacity: 0;
  animation: hero-text-rise 900ms ease both;
  will-change: transform, opacity;
}

.headline-line-1 {
  animation-delay: 260ms;
}

.headline-line-2 {
  font-weight: 800;
  letter-spacing: 0.01em;
  animation-delay: 410ms;
}

.headline-line-3 {
  display: block;
  margin-top: 0.12em;
  font-style: normal;
  animation-delay: 560ms;
}

@keyframes hero-text-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow,
  .headline-line {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.diamond-stage {
  position: relative;
  min-height: 37rem;
  isolation: isolate;
}

.diamond-stage::before,
.diamond-stage::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  border-radius: 0.2rem;
  transform: rotate(45deg);
  pointer-events: none;
}

.diamond-stage::before {
  width: clamp(17rem, 22vw, 27rem);
  right: 5.2rem;
  top: 1.2rem;
  border: 1px solid rgba(122, 95, 63, 0.08);
  background: linear-gradient(145deg, rgba(248, 240, 231, 0.12), rgba(205, 179, 149, 0.06));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  z-index: 0;
}

.diamond-stage::after {
  width: clamp(8rem, 11vw, 12rem);
  right: 16.8rem;
  top: 3rem;
  border: 1px solid rgba(122, 95, 63, 0.08);
  background: rgba(248, 240, 231, 0.08);
  box-shadow: 0 0 28px rgba(61, 42, 22, 0.08);
  opacity: 0.9;
  z-index: 0;
}

.diamond {
  position: absolute;
  width: var(--diamond-size, clamp(11rem, 14vw, 18rem));
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.2rem;
  transform: translateY(var(--diamond-y, 0)) rotate(45deg);
  transform-origin: center;
  box-shadow: 0 22px 60px rgba(61, 42, 22, 0.12);
  border: 1px solid rgba(122, 95, 63, 0.1);
  background: rgba(247, 239, 230, 0.5);
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
  z-index: var(--diamond-z, 1);
}

.diamond img {
  transform: rotate(-45deg) scale(1.24);
  width: 154%;
  height: 154%;
  margin-left: -27%;
  margin-top: -27%;
  transition: transform 220ms ease, filter 220ms ease;
}

.diamond-no-rotate-img img {
  transform: scale(1.08);
  width: 100%;
  height: 100%;
  margin-left: 0;
  margin-top: 0;
}

.diamond-no-rotate-img {
  transform: translateY(var(--diamond-y, 0));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  border-radius: 0;
}

.diamond:hover {
  transform: translateY(calc(var(--diamond-y, 0) - 6px)) rotate(45deg) scale(1.03);
  filter: brightness(1.02);
  box-shadow: 0 28px 68px rgba(61, 42, 22, 0.16);
}

.diamond:hover img {
  transform: rotate(-45deg) scale(1.3);
  filter: saturate(1.15) contrast(1.05);
}

.diamond-no-rotate-img:hover img {
  transform: scale(1.14);
}

.diamond-no-rotate-img:hover {
  transform: translateY(calc(var(--diamond-y, 0) - 6px)) scale(1.03);
}

.diamond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 248, 240, 0.04) 35%, rgba(147, 117, 86, 0.1));
  pointer-events: none;
}

.diamond::before {
  content: "";
  position: absolute;
  inset: 0.72rem;
  border: 1px solid rgba(122, 95, 63, 0.1);
  pointer-events: none;
}

.diamond-a {
  top: 0.7rem;
  right: 9.8rem;
  --diamond-size: clamp(10.5rem, 13vw, 16rem);
  --diamond-y: 0;
  --diamond-z: 2;
}

.diamond-b {
  top: 7.2rem;
  right: 0.8rem;
  --diamond-size: clamp(13rem, 16vw, 19rem);
  --diamond-y: -0.6rem;
  --diamond-z: 3;
}

.diamond-c {
  top: 18.2rem;
  right: 7.6rem;
  --diamond-size: clamp(9.5rem, 12vw, 14rem);
  --diamond-y: 0.8rem;
  --diamond-z: 1;
  opacity: 0.98;
}

.diamond-b::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(205, 182, 155, 0.06));
}

.diamond-c::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(193, 162, 127, 0.1));
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .contact-btn {
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: minmax(250px, 1fr) minmax(180px, 0.7fr);
    row-gap: 2rem;
  }

  .diamond-stage {
    grid-column: 2;
    min-height: 33rem;
  }

  .diamond-a {
    right: 7rem;
  }

  .diamond-b {
    right: 0.3rem;
  }

  .diamond-c {
    right: 6rem;
  }

  .projects-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 18rem 15rem 15rem;
  }

  .project-card-large {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .project-card-vertical,
  .project-card-top-right,
  .project-card-bottom-right,
  .project-card-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .project-card-wide {
    grid-column: 1 / -1;
  }

  .uniqueness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uniqueness-panel {
    grid-column: 1 / -1;
  }

  .about-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 1rem 1.25rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 4rem;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 10rem 1.25rem 2rem;
    align-items: start;
  }

  .hero-copy {
    padding-left: 0;
    max-width: 34rem;
  }

  .diamond-stage {
    display: none;
  }

  .content-section {
    padding: 4.5rem 1.25rem;
  }

  .projects-layout,
  .uniqueness-grid,
  .about-highlights {
    grid-template-columns: 1fr;
  }

  .projects-layout {
    grid-template-rows: auto;
  }

  .project-card,
  .uniqueness-card,
  .uniqueness-panel {
    min-height: 14rem;
  }

  .project-card-large,
  .project-card-wide {
    min-height: 18rem;
  }

  .about-media {
    min-height: 26rem;
  }

  .about-image-large {
    inset: 0 10% 8% 0;
  }

  .about-image-top {
    width: 38%;
    height: 38%;
  }

  .about-image-bottom {
    width: 42%;
    height: 30%;
  }

  .site-footer {
    padding: 4rem 1.25rem 3rem;
  }

  .footer-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.8rem;
  }

  .brand-logo {
    height: 3.45rem;
  }

  .brand-text strong {
    font-size: 0.98rem;
  }

  .brand-text small {
    font-size: 0.65rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .eyebrow {
    font-size: 0.78rem;
    line-height: 1.4;
  }
}