:root {
  --bg: #f7f5f1;
  --fg: #16181d;
  --mut: #6b6f78;
  --card: #ffffff;
  --line: #e3dfd7;
  --acc: #b4532a;
  --ph1: #d9cdbb;
  --ph2: #c2b49c;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0f12;
    --fg: #f0eee9;
    --mut: #9a9ea8;
    --card: #16181d;
    --line: #26292f;
    --acc: #e07a4d;
    --ph1: #2b2f38;
    --ph2: #3a3f4b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0f12;
  --fg: #f0eee9;
  --mut: #9a9ea8;
  --card: #16181d;
  --line: #26292f;
  --acc: #e07a4d;
  --ph1: #2b2f38;
  --ph2: #3a3f4b;
  color-scheme: dark;
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
* {
  box-sizing: border-box;
  margin: 0;
}
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  transition:
    background 0.4s,
    color 0.4s;
  overflow-x: clip;
}
h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 110px 0;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 14px;
  display: block;
}
h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 24px;
}
.mask {
  overflow: hidden;
  display: block;
}
.mask > span {
  display: block;
}
/* nav */
nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 600;
}
.logo i {
  color: var(--acc);
  margin-right: 8px;
}
.links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.9rem;
}
.links a {
  position: relative;
}
.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--acc);
  transition: width 0.3s;
}
.links a:hover::after {
  width: 100%;
}
#theme {
  background: none;
  border: 1px solid var(--line);
  color: var(--fg);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
#theme:hover {
  border-color: var(--acc);
  color: var(--acc);
  transform: rotate(20deg);
}
@media (max-width: 720px) {
  .links a {
    display: none;
  }
}
#burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--fg);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 10px;
  transition: 0.3s;
}
#burger:hover {
  border-color: var(--acc);
  color: var(--acc);
}
#mnav {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 40px;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}
#mnav a {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 9vw, 2.8rem);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    color 0.3s,
    padding 0.3s;
}
#mnav a i {
  font-size: 0.9rem;
  color: var(--mut);
}
#mnav a:hover,
#mnav a:active {
  color: var(--acc);
  padding-left: 8px;
}
#mnav small {
  color: var(--mut);
  margin-top: 32px;
  font-size: 0.85rem;
}
@media (max-width: 720px) {
  #burger {
    display: grid;
    place-items: center;
  }
}
@media (min-width: 721px) {
  #mnav {
    display: none;
  }
}

/* hero */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}
.weave {
  position: absolute;
  inset: -10% 0;
  opacity: 0.5;
  background:
    repeating-linear-gradient(0deg, transparent 0 6px, var(--line) 6px 7px), repeating-linear-gradient(90deg, transparent 0 6px, var(--line) 6px 7px);
  -webkit-mask-image: radial-gradient(circle at 75% 40%, #000, transparent 65%);
  mask-image: radial-gradient(circle at 75% 40%, #000, transparent 65%);
}
#hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 6rem);
  max-width: 900px;
}
#hero h1 em {
  color: var(--acc);
  font-style: italic;
}
#hero p {
  max-width: 520px;
  margin: 28px 0 36px;
  color: var(--mut);
  font-size: 1.1rem;
}
.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid var(--fg);
  border-radius: 40px;
  font-size: 0.9rem;
  transition: 0.3s;
}
.btn:hover {
  background: var(--fg);
  color: var(--bg);
}
.btn i {
  transition: transform 0.3s;
}
.btn:hover i {
  transform: translateX(5px);
}
.stats {
  display: flex;
  gap: 48px;
  margin-top: 70px;
  flex-wrap: wrap;
}
.stats b {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 500;
  display: block;
}
.stats span {
  font-size: 0.8rem;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
/* about */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 820px) {
  .grid2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.ph {
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, var(--ph1) 0 5px, var(--ph2) 5px 6px), var(--ph1);
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 5px, rgba(0, 0, 0, 0.07) 5px 6px);
}
.ph .inner {
  position: absolute;
  inset: -12% 0;
  transition: transform 0.8s;
}
.ph span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--card);
  padding: 5px 12px;
  border-radius: 20px;
}
.about-img {
  aspect-ratio: 4/5;
}
.feat {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.feat div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feat i {
  color: var(--acc);
  margin-top: 6px;
  width: 20px;
}
.feat p {
  color: var(--mut);
}
.feat strong {
  color: var(--fg);
  font-weight: 500;
}
/* gallery */
.gal {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.gal .ph {
  cursor: pointer;
  min-height: 240px;
}
.gal .ph:hover .inner {
  transform: scale(1.08);
}
.g1 {
  grid-column: span 7;
  min-height: 380px !important;
}
.g2 {
  grid-column: span 5;
}
.g3 {
  grid-column: span 4;
}
.g4 {
  grid-column: span 4;
}
.g5 {
  grid-column: span 4;
}
@media (max-width: 720px) {
  .gal > * {
    grid-column: span 12 !important;
  }
}
/* team */
.team {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}
@media (max-width: 1000px) {
  .team {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
.card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition:
    transform 0.4s,
    border-color 0.4s,
    box-shadow 0.4s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--acc);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.4);
}
.pic {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s;
}
.card:hover .pic img {
  transform: scale(1.08);
}
.soc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 26px 14px 14px;
  transform: translateY(100%);
  transition: transform 0.4s;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}
.card:hover .soc {
  transform: none;
}
@media (hover: none) {
  .soc {
    transform: none;
  }
}
.soc a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #16181d;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  transition: 0.3s;
}
.soc a:hover {
  background: var(--acc);
  color: #fff;
}
.info {
  padding: 16px 16px 18px;
}
.card h3 {
  font-size: 1.05rem;
}
.card p {
  color: var(--mut);
  font-size: 0.8rem;
}
#prog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 60;
}
/* contact */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.contact a {
  display: block;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  transition: 0.4s;
}
.contact a:hover {
  border-color: var(--acc);
  transform: translateY(-6px);
}
.contact i {
  color: var(--acc);
  font-size: 1.4rem;
  margin-bottom: 16px;
  display: block;
}
.contact small {
  color: var(--mut);
  display: block;
}
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--mut);
  font-size: 0.85rem;
  text-align: center;
}
/* preloader + transition */
#pre,
#pt {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  display: grid;
  place-items: center;
}
#pt {
  z-index: 90;
  transform: translateY(100%);
  pointer-events: none;
}
#pre .l {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
}
#bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--acc);
}
#pct {
  position: absolute;
  bottom: 24px;
  right: 28px;
  font-size: 0.85rem;
}

.map iframe {
  margin-top: 2rem;
  border: 1px solid var(--line);
  width: 100%;
  height: 40vh;
  border-radius: 20px;
}
