:root{
  --clr-bg:#f7f4ee;
  --clr-cream:#efe9de;
  --clr-ink:#1c1712;
  --clr-ink-soft:#4a4239;
  --clr-brown-900:#221a13;
  --clr-brown-800:#2e241a;
  --clr-brown-700:#4b3a29;
  --clr-gold:#b48a4e;
  --clr-gold-soft:#cbab74;
  --clr-line:rgba(28,23,18,0.12);
  --clr-line-light:rgba(255,255,255,0.18);
  --maxw:1680px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Playfair Display',sans-serif;
  color:var(--clr-ink);
  background:var(--clr-bg);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}

/* ---------- Header ---------- */
header{
  position:absolute;
  top:0; left:0; right:0;
  z-index:40;
}
header .wrap{ display:flex; align-items:center; justify-content:space-between; padding: 12px;}
.logo{ color:#fff; font-family:'Fraunces',serif; }
.logo .top{ font-size:22px; letter-spacing:0.22em; line-height:1; display:block; }
.logo .bottom{ font-size:9px; letter-spacing:0.32em; opacity:.75; display:block; margin-top:3px; font-family:'Playfair Display',sans-serif; }
nav ul{ display:flex; gap:34px; list-style:none; }
nav a{ color:var(--clr-brown-900); font-size:13pt; letter-spacing:0.01em; opacity: .9; transition:opacity .2s; text-decoration:none; font-weight:400; }
nav a:hover{ opacity:1; }
.header-right{ display:flex; align-items:center; gap:22px; margin-right:20px; }
.lang{ color:#f2ede2; font-size:13px; display:flex; align-items:center; gap:4px; }
@media (max-width:980px){ nav{ display:none; } }

nav .mega-dropdown{ position:static; }
nav .mega-menu{
  position:absolute;
  top:100% !important;
  left:0 !important;
  right:0 !important;
  width:100vw;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  border-top:1px solid var(--clr-line);
  border-radius:0;
  background:var(--clr-bg);
  box-shadow:0 18px 30px rgba(28,23,18,.14);
  transform:none !important;
}
nav .mega-dropdown:hover > .mega-menu,
nav .mega-dropdown:focus-within > .mega-menu{ display:block; }
.mega-menu-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:34px 40px 38px;
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:32px;
  align-items:center;
}
.mega-menu-heading h2{ margin-top:9px; font-size:28px; }
.mega-card-grid{ display:grid; gap:14px; }
.mega-card-grid-collections{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.mega-card-grid-originals{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.mega-menu .mega-card{
  position:relative;
  display:flex;
  min-width:0;
  aspect-ratio:1.55;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  padding:16px;
  color:#fff;
  opacity:1;
  background:#514536;
}
.mega-menu .mega-card::after{
  position:absolute;
  inset:0;
  content:"";
  background:linear-gradient(180deg,rgba(0,0,0,.02) 20%,rgba(0,0,0,.66));
  transition:background .2s ease;
}
.mega-menu .mega-card:hover::after{ background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.78)); }
.mega-menu .mega-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.mega-menu .mega-card:hover img{ transform:scale(1.04); }
.mega-menu .mega-card span,
.mega-menu .mega-card small{ position:relative; z-index:1; color:#fff; opacity:1; }
.mega-menu .mega-card span{ font-family:'Fraunces',serif; font-size:18px; line-height:1.2; }
.mega-menu .mega-card small{ margin-top:5px; font-family:'Poppins',sans-serif; font-size:11px; }
@media (max-width:1200px){
  .mega-menu-inner{ grid-template-columns:180px minmax(0,1fr); gap:22px; padding-right:28px; padding-left:28px; }
  .mega-card-grid{ gap:10px; }
  .mega-menu .mega-card{ padding:12px; }
  .mega-menu .mega-card span{ font-size:16px; }
}

a{color:inherit; text-decoration:none;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 40px;}
  h1,h2,h3,h4{
    font-family:'Fraunces', serif;
    font-weight:400;
    letter-spacing:-0.01em;
    line-height:1.08;
  }
  .eyebrow{
    font-size:12.5px;
    letter-spacing:0.14em;
    color:var(--clr-gold);
    font-weight:500;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 28px;
    font-size:13px;
    letter-spacing:0.06em;
    border-radius:2px;
    white-space:nowrap;
    transition:background .25s ease, color .25s ease, border-color .25s ease;
  }

  /* placeholder photography */
  .ph{
    position:relative;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    overflow:hidden;
  }
  .ph::after{
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(160deg, rgba(0,0,0,0.06), rgba(0,0,0,0.28));
  }
  .ph-living{ background-image: radial-gradient(circle at 30% 20%, #7c6a55, #372c22 70%); }
  .ph-mountain{ background-image: linear-gradient(160deg,#8b9aa8,#3f4c5c 55%, #1c2530); }
  .ph-hand{ background-image: linear-gradient(150deg,#4a3a26,#1c140d 70%); }
  .ph-hotel{ background-image: radial-gradient(circle at 60% 30%, #6c5943, #241a11 75%); }
  .ph-restaurant{ background-image: radial-gradient(circle at 50% 40%, #7a5326, #241408 75%); }
  .ph-side1{ background-image: linear-gradient(160deg,#8a7a5f,#3a2f21); }
  .ph-side2{ background-image: linear-gradient(160deg,#7d6a4e,#332a1c); }
  .ph-side3{ background-image: linear-gradient(160deg,#9c8a68,#453824); }
  .ph-side4{ background-image: linear-gradient(160deg,#5f5546,#211c15); }
  .ph-room1{ background-image: linear-gradient(160deg,#c8bda5,#8c7a5c); }
  .ph-room2{ background-image: linear-gradient(160deg,#b7a888,#71604a); }
  .ph-room3{ background-image: linear-gradient(160deg,#d3c6ab,#93805e); }
  .ph-room4{ background-image: linear-gradient(160deg,#a89678,#5c4c37); }
  .ph-room5{ background-image: linear-gradient(160deg,#cabca0,#82705a); }
  .ph-room6{ background-image: linear-gradient(160deg,#b0a184,#5f5138); }
  .ph-journal1{ background-image: linear-gradient(160deg,#8f7c5f,#40331f); }
  .ph-journal2{ background-image: linear-gradient(160deg,#7a6a55,#2c2115); }
  .ph-journal3{ background-image: linear-gradient(160deg,#a29070,#463a26); }
  .ph-sideboard{ background-image: linear-gradient(100deg,#6b4a28,#8a6535 45%, #4a3319); }

.btn-gold{ background:var(--clr-gold); color:#fff; }
.btn-gold:hover{ background:#9c7538; color: white; }
.btn-outline{ border:1px solid var(--clr-line-light); color:#fff; }
.btn-outline:hover{ background:rgba(255,255,255,0.12); }
.btn-dark-outline{ border:1px solid var(--clr-line); color:var(--clr-ink); }
.btn-dark-outline:hover{ background:var(--clr-ink); color:#fff; border-color:var(--clr-ink); }
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 40px;}

/* Swiper Tam Ekran Ayarları ve Taşma Gizleme */
.home-banner-swiper {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Görsel Karartma Katmanı */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* İçerik Konumlandırma (Yatayda ve Altta Tam Ortalanmış) */
.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    color: #fff;
}

/* Tipografi */
.slide-title {
    font-family: serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.slide-desc {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: #d1d1d1;
    margin-bottom: 25px;
    font-weight: 300;
}

/* Butonlar */
.btn-custom {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    padding: 10px 24px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

/* Slayt Numaratörü (Sol Alt Köşe) */
.slide-counter {
    position: absolute;
    bottom: 40px;
    left: 50px;
    z-index: 10;
    color: #fff;
    font-family: monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Swiper Ok Renkleri */
.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
    transform: scale(0.7);
}


.stats{
  background:var(--clr-cream);
  border-bottom:1px solid var(--clr-line);
}
.stats .wrap{
  display:grid;
  grid-template-columns:repeat(5,1fr);
}
.stat{
  text-align:center;
  padding:34px 10px;
  border-left:1px solid var(--clr-line);
}
.stat:first-child{ border-left:none; }
@media (min-width:1081px){
  .stats-desktop .stat:first-child{ border-left:1px solid var(--clr-line); }
  .stats-desktop .stat:last-child{ border-right:1px solid var(--clr-line); }
}
.stat .num{ font-family:'Playfair Display',serif; font-size:1.6rem; color:var(--clr-brown-800); }
.stat .label{ font-size:0.9rem; color:var(--clr-ink-soft); margin-top:4px; letter-spacing:.02em; }

.glass {
  background: rgba(255, 255, 255, 0.40); /* Yarı saydam beyaz arka plan */
  background-color: rgba(255, 255, 255, 0.40) !important;
  backdrop-filter: blur(12px); /* Arkadaki içeriği bulanıklaştırma derecesi */
  -webkit-backdrop-filter: blur(12px); /* Safari desteği için */
  border: 1px solid rgba(255, 255, 255, 0.3); /* İnce, şeffaf bir kenarlık */
  padding: 30px;
  color: #fff; /* Metin rengi */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); /* Derinlik veren hafif gölge */
}


/* ---------- Why Safa ---------- */
.section{ padding:100px 0; }
.why{ align-items:start; }
.why h2{ font-size:38px; margin-top:14px; max-width:420px; }
.why-copy{ font-size:13pt; color:var(--clr-ink-soft); line-height:1.75; max-width:380px; padding-top:8px; }
.features{ grid-column:1/-1; margin-top:60px; display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.feature{ border-right:1px solid var(--clr-line); padding-top:16px; }
.feature .icon{
  border:1px solid var(--clr-gold); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--clr-gold); font-size:16px;
}
.feature h4{ font-size:13pt; font-weight:500; margin-bottom:8px; font-family:'Playfair Display',sans-serif;}
.feature p{ font-size:11pt; color:var(--clr-ink-soft); line-height:1.6; max-width:280px; }

/* ---------- Section headers ---------- */
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:44px; }
.section-head h3{ font-size:30pt; margin-top:8px; }
.section-head .view-all{ font-size:13pt; border-bottom:1px solid var(--clr-ink); padding-bottom:2px; }

/* ---------- Originals ---------- */
.originals-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.orig-card{ height:400px; border-radius:2px; display:flex; align-items:flex-end; padding:26px; }
.orig-card h4{ color:#fff; font-size:24px; letter-spacing:.04em; position:relative; z-index:2; font-weight:400;}
.orig-card .sub{ color:#e6ddc9; font-size:11px; letter-spacing:.1em; margin-top:6px; position:relative; z-index:2; }


/* ---------- Collections row ---------- */
.collections-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
.coll-card{ text-align:left; }
.coll-card .img{ height:170px; border-radius:2px; margin-bottom:14px; }
.coll-card .name{ font-size:14px; font-weight:500; }


/* ---------- Professionals ---------- */
.pro-section{ background:var(--clr-brown-900); color:#fff; padding:40px 0; }
.pro-top{ display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-bottom:56px; align-items:end;}
.pro-top .eyebrow{ color:var(--clr-gold-soft); }
.pro-top h3{ font-size:34px; color:#fff; margin-top:12px; max-width:420px; }
.pro-cards{ display:grid; gap:2px; background:rgba(255,255,255,.08);}
.pro-card{ background:var(--clr-brown-900); padding:44px 34px; }
.pro-card h4{ font-size:19px; font-weight:400; font-family:'Playfair Display',serif; color:#fff; margin-bottom:10px; }
.pro-card p{ font-size:13px; color:#c9beac; line-height:1.6; margin-bottom:22px; }
.pro-card .link{ font-size:12.5px; letter-spacing:.04em; border-bottom:1px solid rgba(255,255,255,.4); padding-bottom:3px; color:#fff; }

/* ---------- Global presence ---------- */
.global{ padding:40px 0; }
.global-grid{ display:grid; gap:60px; align-items:center; }
.global h3{ font-size:32px; margin-top:12px; max-width:340px;}
.map-box{ position:relative; height:280px; border-radius:2px; background:
    radial-gradient(circle at 20% 30%, rgba(180,138,78,.18), transparent 40%),
    radial-gradient(circle at 55% 55%, rgba(180,138,78,.22), transparent 35%),
    radial-gradient(circle at 78% 35%, rgba(180,138,78,.18), transparent 35%),
    var(--clr-cream);
  border:1px solid var(--clr-line);
}
.global-copy{ font-size:14px; color:var(--clr-ink-soft); line-height:1.7; margin:18px 0 30px; max-width:400px;}
.global-stats{ display:flex; gap:50px; }
.global-stats .num{ font-family:'Fraunces',serif; font-size:28px; color:var(--clr-brown-800); }
.global-stats .label{ font-size:12px; color:var(--clr-ink-soft); margin-top:4px; }


/* ---------- Heritage ---------- */
.heritage{ display:grid; grid-template-columns:7fr 5fr; }
.heritage .ph{ height:520px; }
.heritage-copy{
  background:var(--clr-cream);
  display:flex; flex-direction:column; justify-content:center;
  padding:80px;
}
.heritage-copy .eyebrow{ margin-bottom:8px; }
.heritage-copy h3{ font-size:32px; margin-bottom:20px; max-width:380px; }
.heritage-copy p{ font-size:14px; color:var(--clr-ink-soft); line-height:1.75; max-width:380px; margin-bottom:26px; }
.heritage-copy .link{ font-size:13px; border-bottom:1px solid var(--clr-ink); padding-bottom:3px; align-self:flex-start; }


/* ---------- Projects ---------- */
.projects{ padding:40px 0 0; }
.proj-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.proj-card{ height:380px; border-radius:2px; display:flex; align-items:flex-end; padding:30px; }
.proj-card h4{ color:#fff; font-size:22px; font-weight:400; position:relative; z-index:2;}
.proj-card p{ color:#ddd3bf; font-size:11.5px; letter-spacing:.03em; margin-top:6px; position:relative; z-index:2;}


/* ---------- Award banner ---------- */
.award{ margin-top:60px; background:var(--clr-cream); border-top:1px solid var(--clr-line); border-bottom:1px solid var(--clr-line); }
.award .wrap{ align-items:center; gap:36px;}
.award-badge{ width:78px; height:78px; background:#c0392b; color:#fff; flex-shrink:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; font-size:9.5px; letter-spacing:.04em; line-height:1.3; padding:6px;}
.award-text .tag{ font-size:11px; letter-spacing:.12em; color:var(--clr-ink-soft); margin-bottom:6px;}
.award-text h4{ font-size:20px; font-weight:400; }
.award-side{ margin-left:auto; width:180px; height:64px; border-radius:2px; flex-shrink:0; }

/* ---------- Journal ---------- */
.journal-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:34px; }
.journal-card .img{ height:230px; border-radius:2px; margin-bottom:18px; }
.journal-card .img img{ display:block; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.journal-card .date{ font-size:11.5px; color:var(--clr-gold); letter-spacing:.06em; margin-bottom:8px;}
.journal-card h4{ font-size:18px; font-weight:400; margin-bottom:12px; line-height:1.35; }
.journal-card .read{ font-size:12px; border-bottom:1px solid var(--clr-ink); padding-bottom:2px;}

/* ---------- CTA / footer top ---------- */
.cta-band{ background:var(--clr-brown-900); color:#fff; padding:80px 0; }
.cta-band .wrap{ display:flex; justify-content:space-between; align-items:center; gap:40px;}
.cta-band h3{ color:#fff; font-size:30px; max-width:420px; }
.cta-band .actions{ display:flex; gap:14px; flex-shrink:0; }

footer{ background:#161009; color:#c9beac; padding:70px 0 0; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; gap:30px; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,.08); }
.foot-logo{ color:#fff; font-family:'Fraunces',serif; font-size:20px; letter-spacing:.18em; margin-bottom:16px; }
.foot-grid p{ font-size:12.5px; line-height:1.7; max-width:230px; }
.foot-col h5{ color:#fff; font-size:13px; font-weight:500; margin-bottom:18px; letter-spacing:.03em; }
.foot-col ul{ list-style:none; display:flex; flex-direction:column; gap:11px; }
.foot-col a{ font-size:12.5px; color:#c9beac; }
.foot-col a:hover{ color:#fff; }
.foot-tagline{ font-size:11px; line-height:1.8; letter-spacing:.08em; text-align:right; color:#8f8574;}
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; padding:26px 0; font-size:12px; color:#8f8574;}
.foot-social{ display:flex; gap:16px; margin-top:16px;}

@media (max-width:1080px){
  .originals-grid{ grid-template-columns:repeat(2,1fr); }
  .collections-grid{ grid-template-columns:repeat(3,1fr); }
  .why{ grid-template-columns:1fr; }
  .features{ grid-template-columns:1fr 1fr; }
  .pro-cards{ grid-template-columns:1fr; }
  .pro-top{ grid-template-columns:1fr; }
  .global-grid{ grid-template-columns:1fr; }
  .heritage{ grid-template-columns:1fr; }
  .proj-grid{ grid-template-columns:1fr; }
  .journal-grid{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
  .stats .wrap{ grid-template-columns:repeat(2,1fr); }
  .stat{ border-left:none; border-top:1px solid var(--clr-line); }
}
@media (max-width:640px){
  .award{ margin-top:30px; padding:24px 0; }
  .award-main{ flex-direction:column; align-items:center !important; text-align:center; }
  .award-logo{ height:200px !important; margin-bottom:18px; }
  .award-main .award-text{ padding-left:0 !important; }
  .award-text h4{ font-size:13pt !important; }
  .award-text .tag{ font-size:10pt !important; }
  .award-photo{ margin-top:20px; }
  .global{ padding:30px 0; }
  .global-hero{ padding:10px 0 20px; background-size:cover; background-position:center; }
  .global-hero .eyebrow{ margin-top:0 !important; }
  .global-hero h3{ font-size:22pt !important; max-width:100%; }
  .global-copy{ max-width:100%; margin:8px 0 22px; }
  .global-stats{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; text-align:center; }
  .global-stats .num{ font-size:18px; }
  .global-stats .label{ font-size:11px; }
  .global .link{ display:block !important; text-align:center; margin-top:24px !important; }
  .collections-grid{ grid-template-columns:repeat(2,1fr); }
  .orig-card{ height:auto; aspect-ratio:1/1; padding:16px; background-size:cover; background-position:center; }
  .orig-card h4{ font-size:16px; }
  .orig-card .sub{ font-size:9px; }
  .wrap{ padding:0 20px; }
  .slide h1{ font-size:30px; }
  .heritage .ph{ height:260px; background-size:cover; background-position:center; }
  .heritage-copy{ padding:30px 20px 36px; text-align:center; align-items:center; }
  .heritage-copy h3{ font-size:22pt; max-width:100%; margin-bottom:14px; }
  .heritage-copy p{ font-size:13px; max-width:100%; margin-bottom:20px; }
  .heritage-copy .link{ align-self:center; }
  .cta-band{ padding:50px 0; }
  .home-banner-swiper{ height:60vh; }
  footer{ padding-top:40px; }
  .foot-grid{ grid-template-columns:1fr 1fr; gap:24px 16px; padding-bottom:30px; }
  .foot-brand{ grid-column:1 / -1; text-align:center; }
  .foot-brand .foot-logo{ margin-bottom:12px; }
  .foot-brand .foot-logo img{ display:block; margin:0 auto; height:auto; }
  .foot-grid .foot-brand p{ max-width:100%; margin:0 auto; }
  .foot-brand .foot-social{ justify-content:center; }
  .foot-col{ text-align:center; padding-top:20px; border-top:1px solid rgba(255,255,255,.08); min-width:0; overflow-wrap:anywhere; }
  .foot-col h5{ margin-bottom:12px; }
  .foot-col ul{ align-items:center; }
  .foot-bottom{ flex-direction:column; gap:10px; text-align:center; padding:20px 0; }
  .cta-band .wrap{ flex-direction:column; align-items:stretch; gap:24px; }
  .cta-band h3{ max-width:100%; font-size:22pt; }
  .cta-band .actions{ flex-direction:column; flex-shrink:1; width:100%; gap:12px; }
  .cta-band .actions .btn{ width:100%; text-align:center; }
}
/* ---------- Contact ---------- */
body:has(> .contact-page) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contact-page {
  flex: 1 0 auto;
  padding: clamp(2.5rem, 6vw, 6rem) 0;
  background: var(--clr-bg);
  color: var(--clr-ink);
}

.contact-page-intro {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.contact-page-intro p {
  margin-bottom: .5rem;
  color: #72532f;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
}

.contact-page h1,
.contact-page h2 {
  font-family: 'Playfair Display', Georgia, serif;
}

.contact-page h1 {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 5rem);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1rem;
}

.contact-page-details,
.contact-page-map {
  border-radius: .75rem;
}

.contact-page-details {
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: var(--clr-brown-800);
  color: #fbf9f5;
  overflow-wrap: anywhere;
}

.contact-page-details h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-page-details dt,
.contact-page-details h3 {
  margin-bottom: .35rem;
  color: var(--clr-gold-soft);
  font-size: .875rem;
  font-weight: 600;
}

.contact-page-details dd {
  margin-bottom: 1.1rem;
}

.contact-page-details dl {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--clr-line-light);
}

.contact-page-details a {
  color: inherit;
  text-underline-offset: .2em;
}

.contact-page-details a:hover {
  color: var(--clr-gold-soft);
}

.contact-page-social {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-page-social a {
  display: inline-block;
  padding: .4rem .65rem;
  border: 1px solid var(--clr-line-light);
  border-radius: .4rem;
  font-size: .85rem;
  text-decoration: none;
}

.contact-page-social i {
  margin-right: .3rem;
}

.contact-page-map {
  display: grid;
  min-height: 30rem;
  overflow: hidden;
  background: #efe9de;
}

.contact-page-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767.98px) {
  .contact-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-page-map {
    min-height: 22rem;
  }
}

/* ---------- About us ---------- */
.about-page {
  background: var(--clr-bg);
  color: var(--clr-ink);
}

.about-page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--clr-brown-900);
  color: #fbf9f5;
}

.about-page-intro {
  padding: clamp(2.75rem, 7vw, 7rem);
  align-self: center;
}

.about-page h1,
.about-page h2,
.about-page h3 {
  font-family: 'Playfair Display', Georgia, serif;
}

.about-page h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 5.5vw, 5.5rem);
  line-height: 1.05;
}

.about-page h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.about-page p {
  line-height: 1.7;
}

.about-page-intro > :last-child {
  max-width: 32rem;
  margin-bottom: 0;
  color: #e6ddd0;
}

.about-page-kicker,
.about-page-milestones span {
  color: #72532f;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.about-page-intro .about-page-kicker {
  color: var(--clr-gold-soft);
}

.about-page-image {
  min-height: 22rem;
  background: #4b3a29 url('https://safab2b.s3.nl-ams.scw.cloud/0f828f14d6be6d3dad8672a3a560d3fb.webp') center / cover;
}

.about-page-story {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.about-page-milestones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about-page-milestones li {
  padding: 1.25rem;
  border-top: 2px solid var(--clr-gold);
  background: #fbf9f5;
}

.about-page-milestones h3 {
  margin: .75rem 0;
  font-size: 1.25rem;
}

.about-page-milestones p {
  margin-bottom: 0;
  font-size: .9rem;
}

.about-page-cta {
  padding-block: clamp(2rem, 5vw, 4rem);
  background: #efe9de;
}

.about-page-cta .btn-gold {
  background: var(--clr-brown-800);
}

.about-page-cta .btn-gold:hover {
  background: var(--clr-brown-700);
}

@media (max-width: 991.98px) {
  .about-page-milestones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .about-page-hero {
    grid-template-columns: 1fr;
  }

  .about-page-image {
    min-height: 16rem;
  }
}

@media (max-width: 479.98px) {
  .about-page-milestones {
    grid-template-columns: 1fr;
  }
}

/* ---------- Product listings ---------- */
.product-listing {
  min-height: 60vh;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.product-listing-heading {
  padding-block: clamp(2rem, 5vw, 4rem) 1.5rem;
}

.product-listing-heading > a,
.sitev2-product-card .product-card-category {
  color: #72532f;
  font-size: .85rem;
}

.product-listing-heading h1 {
  margin: .5rem 0 0;
  font: 500 clamp(2rem, 5vw, 4rem)/1.15 'Playfair Display', Georgia, serif;
}

.product-listing .tf-shop-control {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.25rem;
}

.product-listing .btn-select {
  border: 1px solid var(--clr-line);
  background: #fff;
}

.product-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.5rem);
}

.sitev2-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--clr-line);
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(44, 34, 30, .06);
}

.sitev2-product-card .card-product-wrapper {
  position: relative;
}

.sitev2-product-card .image-wrap {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #efe9de;
}

.sitev2-product-card .img-product {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sitev2-product-card .img-hover {
  display: none;
}

.sitev2-product-card .list-product-btn {
  position: absolute;
  top: .65rem;
  right: .65rem;
}

.sitev2-product-card .wishlist {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--clr-line);
  border-radius: 50%;
  background: #fff;
}

.sitev2-product-card .wishlist.favorited {
  background: #fbebe9;
}

.sitev2-product-card .list-btn-main {
  padding: .75rem .9rem 0;
}

.sitev2-product-card .btn-main-product {
  display: block;
  padding: .6rem .75rem;
  border-radius: .35rem;
  background: #efe3cf;
  color: #4b3520;
  font-size: .85rem;
  text-align: center;
}

.sitev2-product-card .btn-main-product:hover,
.sitev2-product-card .btn-main-product:focus-visible {
  background: #e4d1b2;
}

.sitev2-product-card .card-product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  padding: .85rem .9rem 1rem;
  overflow-wrap: anywhere;
}

.sitev2-product-card .title {
  font: 600 clamp(1rem, 2vw, 1.35rem)/1.3 'Playfair Display', Georgia, serif;
}

.sitev2-product-card .price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  font-size: .9rem;
}

.sitev2-product-card .discount-badge {
  background: var(--clr-brown-700);
}

.sitev2-product-card .old-price {
  color: #6c6258;
}

@media (max-width: 767.98px) {
  .product-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Product detail ---------- */
.sitev2-product-detail {
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.product-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.25rem;
  color: #72532f;
  font-size: .85rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.product-detail-gallery {
  min-width: 0;
}

.product-detail-gallery .tf-product-media-main {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: .75rem;
  background: #efe9de;
}

.product-detail-gallery .swiper-slide > a {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}

.product-detail-gallery .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-thumbs {
  display: flex;
  gap: .5rem;
  padding: .65rem 2px 2px;
  overflow-x: auto;
}

.product-detail-thumbs button {
  flex: 0 0 4.5rem;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: .4rem;
  background: #efe9de;
}

.product-detail-thumbs button[aria-pressed="true"] {
  border-color: #9c7538;
}

.product-detail-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-summary,
.product-detail-specs {
  border: 1px solid var(--clr-line);
  border-radius: .75rem;
  background: #fff;
}

.product-detail-summary {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  overflow-wrap: anywhere;
}

.product-detail-summary .tf-product-tag {
  margin-bottom: .5rem;
  color: #72532f;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-detail-summary h1,
.product-detail-related h2,
.product-detail-offcanvas-title {
  font-family: 'Playfair Display', Georgia, serif;
}

.product-detail-summary h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.product-detail-summary .tf-product-info-price,
.product-detail-module .price-on-sale {
  color: var(--clr-brown-800);
  font-weight: 600;
}

.sitev2-product-detail .compare-at-price {
  margin-left: .35rem;
  color: #6c6258;
}

.sitev2-product-detail .badges-on-sale {
  background: var(--clr-brown-700);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}

.product-detail-actions .wg-quantity {
  display: inline-flex;
  border: 1px solid var(--clr-line);
  border-radius: .4rem;
}

.product-detail-actions .quantity-product {
  width: 3rem;
  border: 0;
  background: transparent;
}

.product-detail-button,
.product-detail-actions .btn-fav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .55rem .85rem;
  border: 1px solid transparent;
  border-radius: .4rem;
}

.product-detail-button {
  background: #efe3cf;
  color: #4b3520;
}

.product-detail-button:hover,
.product-detail-button:focus-visible {
  background: #e4d1b2;
}

.product-detail-actions .btn-fav {
  border-color: var(--clr-line);
}

.product-detail-actions .btn-fav.favorited {
  background: #fbebe9;
}

.product-detail-specs,
.product-detail-related {
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.product-detail-specs details + details {
  border-top: 1px solid var(--clr-line);
}

.product-detail-specs summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
}

.product-detail-specs details > div {
  padding: 0 1.25rem 1rem;
  overflow-wrap: anywhere;
  overflow-x: auto;
}

.product-detail-dimensions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: .75rem;
  margin: 0;
}

.product-detail-dimensions > div {
  padding: .75rem;
  border-radius: .4rem;
  background: var(--clr-bg);
}

.product-detail-dimensions dd {
  margin: .25rem 0 0;
}

.product-detail-related h2 {
  margin-bottom: 1rem;
}

.product-detail-modules {
  --bs-offcanvas-height: min(90vh, 48rem);
  background: var(--clr-bg);
}

.product-detail-module {
  min-width: 0;
  overflow: hidden;
}

.product-detail-module > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-detail-module h3 {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .product-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product-detail-hero {
  padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4.5rem);
  background: #ede6dc;
  border-bottom: 1px solid var(--clr-line);
}

.product-detail-hero-inner {
  max-width: var(--maxw);
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.product-detail-hero .product-detail-summary {
  align-self: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-detail-content {
  padding-top: clamp(1rem, 3vw, 2rem);
}

.product-detail-rich-text figure,
.product-detail-rich-text img {
  max-width: 100% !important;
  min-width: 0 !important;
}

.product-detail-rich-text img {
  height: auto !important;
}

.product-gallery-expand {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--clr-ink);
}

.product-gallery-lightbox .modal-content {
  background: #1c1712;
  color: #fff;
}

.product-gallery-lightbox .modal-header {
  border-color: var(--clr-line-light);
}

.product-gallery-lightbox .modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.4rem, 2vw, 1.5rem);
  min-height: 0;
  overflow: hidden;
}

.product-gallery-lightbox img {
  min-width: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-gallery-lightbox .product-gallery-nav {
  flex: 0 0 auto;
  padding: .25rem clamp(.4rem, 1vw, .8rem);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.product-gallery-lightbox .product-gallery-nav:hover,
.product-gallery-lightbox .product-gallery-nav:focus-visible {
  background: rgba(255, 255, 255, .15);
}

/* ---------- Member pages ---------- */
.member-page {
  padding-block: clamp(2.5rem, 7vw, 6rem);
  background: #ede6dc;
  color: var(--clr-ink);
}

body:has(> .member-page) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.member-page {
  flex: 1 0 auto;
}

.member-auth-grid,
.member-account-grid {
  display: grid;
  align-items: start;
  gap: clamp(1.25rem, 5vw, 4rem);
}

.member-auth-grid {
  max-width: 1120px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.member-account-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
}

.member-intro {
  padding-block: clamp(0rem, 3vw, 2rem);
}

.member-intro > :last-child {
  max-width: 33ch;
  line-height: 1.7;
}

.member-kicker {
  margin-bottom: .6rem;
  color: #72532f;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.member-page h1,
.member-page h2 {
  font-family: 'Playfair Display', Georgia, serif;
}

.member-page h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.1;
}

.member-page h2 {
  margin-bottom: .85rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.member-account-heading {
  margin-bottom: 1.75rem;
}

.member-panel {
  min-width: 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--clr-line);
  border-radius: .85rem;
  background: #fbf9f5;
  overflow-wrap: anywhere;
}

.member-form,
.member-fields {
  display: grid;
  gap: 1rem;
}

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

.member-form label {
  display: block;
  font-size: .9rem;
  font-weight: 500;
}

.member-form .form-control,
.member-form .form-select {
  min-height: 2.85rem;
  margin-top: .4rem;
  border-color: #d8cfc1;
  background-color: #fff;
}

.member-form .form-control[readonly] {
  background-color: #f1ece4;
}

.member-form .form-control:focus,
.member-form .form-select:focus {
  border-color: #9c7538;
  box-shadow: 0 0 0 .2rem rgba(156, 117, 56, .2);
}

.member-password .form-control {
  padding-right: 3rem;
}

.member-password .toggle-password {
  position: absolute;
  inset: 0 0 0 auto;
  width: 2.8rem;
  border: 0;
  background: transparent;
  color: #72532f;
}

.member-button {
  min-height: 2.85rem;
  padding: .6rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  background: #efe3cf;
  color: #4b3520;
  font-weight: 600;
}

.member-button:hover,
.member-button:focus-visible {
  background: #e4d1b2;
}

.member-link {
  color: #72532f;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.member-panel-note,
.member-page .account-password {
  padding-top: 1rem;
  border-top: 1px solid var(--clr-line);
}

.member-panel-note {
  margin-top: 1.25rem;
  font-size: .9rem;
}

.member-panel-note p,
.member-form-hint {
  margin-bottom: .5rem;
}

.member-form-hint {
  color: var(--clr-ink-soft);
  font-size: .9rem;
}

.member-page .account-password {
  gap: .75rem;
}

.member-page .account-password .title {
  margin-bottom: 0;
}

.member-form .member-checkbox {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
}

.member-checkbox .form-check-input {
  margin-top: 0;
}

.member-page .my-account-nav {
  display: grid;
  gap: .6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 767.98px) {
  .member-auth-grid,
  .member-account-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 479.98px) {
  .member-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Shopping cart ---------- */
body:has(> .sitev2-cart) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sitev2-cart {
  flex: 1 0 auto;
  padding-block: clamp(2rem, 6vw, 5rem);
  background: #ede6dc;
  color: var(--clr-ink);
}

.sitev2-cart [hidden] {
  display: none;
}

.cart-page-heading {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.cart-page-heading > a {
  color: #72532f;
  font-size: .85rem;
}

.cart-page-heading h1 {
  margin-top: .4rem;
  font: 500 clamp(2.4rem, 6vw, 4.5rem)/1.1 'Playfair Display', Georgia, serif;
}

.cart-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(16rem, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2rem);
}

.cart-page-items {
  display: grid;
  gap: .75rem;
}

.cart-page-item,
.cart-page-summary,
.cart-page-notes,
.cart-page-empty {
  min-width: 0;
  padding: clamp(.9rem, 2vw, 1.4rem);
  border: 1px solid var(--clr-line);
  border-radius: .75rem;
  background: #fbf9f5;
}

.cart-page-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: .75rem;
}

.cart-page-item .tf-cart-item_product {
  display: flex;
  align-items: center;
  gap: .75rem;
  overflow-wrap: anywhere;
}

.cart-page-item .img-box {
  flex: 0 0 clamp(3.5rem, 7vw, 5rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: .4rem;
  background: #efe9de;
}

.cart-page-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-page-item .cart-title {
  font: 600 1.1rem/1.25 'Playfair Display', Georgia, serif;
}

.cart-page-item small,
.cart-page-item .variant,
.cart-page-item .price-regular {
  color: var(--clr-ink-soft);
  font-size: .78rem;
}

.cart-page-item-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: .65rem;
  font-size: .85rem;
  overflow-wrap: anywhere;
}

.cart-page-label {
  display: block;
  margin-bottom: .35rem;
  color: #72532f;
  font-size: .72rem;
}

.cart-page-item .wg-quantity {
  display: inline-flex;
  border: 1px solid var(--clr-line);
  border-radius: .35rem;
}

.cart-page-item .quantity-product,
.cart-page-item .btn-quantity,
.cart-page-item .cart-remove-item {
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--clr-ink);
  text-align: center;
}

.cart-page-item .quantity-product {
  width: 2rem;
  appearance: textfield;
}

.cart-page-item .quantity-product::-webkit-inner-spin-button,
.cart-page-item .quantity-product::-webkit-outer-spin-button {
  appearance: none;
}

.cart-page-item .btn-quantity,
.cart-page-item .cart-remove-item {
  width: 1.85rem;
}

.cart-page-item .cart-remove-item {
  border: 1px solid var(--clr-line);
  border-radius: .35rem;
  color: #8b4939;
}

.cart-page-item .btn-quantity:hover,
.cart-page-item .cart-remove-item:hover {
  background: #efe3cf;
}

.cart-page-notes label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 500;
}

.cart-page-summary .title {
  margin-bottom: 1rem;
  font: 600 1.5rem/1.2 'Playfair Display', Georgia, serif;
}

.cart-page-summary .subtotal,
.cart-page-summary .discount,
.cart-page-summary .total-order {
  gap: .65rem;
  margin-bottom: .65rem;
}

.cart-page-summary .total-order {
  padding-top: .75rem;
  border-top: 1px solid var(--clr-line);
}

.cart-page-summary .box-progress-checkout {
  display: grid;
  gap: .65rem;
}

.cart-page-button,
.cart-page-summary .complete-pre-order {
  display: inline-flex;
  justify-content: center;
  padding: .65rem .9rem;
  border-radius: .4rem;
  background: #efe3cf;
  color: #4b3520;
  text-align: center;
}

.cart-page-button:hover,
.cart-page-summary .complete-pre-order:hover {
  background: #e4d1b2;
}

.cart-page-summary .complete-pre-order[aria-disabled="true"] {
  opacity: .65;
}

.cart-page-empty {
  text-align: center;
}

@media (max-width: 991.98px) {
  .cart-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  .cart-page-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cart-page-item-controls {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ---------- Project portfolio ---------- */
.project-archive {
  background: var(--clr-bg);
  color: var(--clr-ink);
}

.project-archive-hero {
  padding-block: clamp(2.75rem, 7vw, 6rem);
  background: var(--clr-brown-900);
  color: #fbf9f5;
}

.project-archive-kicker {
  margin-bottom: .6rem;
  color: #72532f;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-archive-hero .project-archive-kicker {
  color: var(--clr-gold-soft);
}

.project-archive-hero h1,
.project-archive-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  overflow-wrap: anywhere;
}

.project-archive-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}

.project-archive-intro {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: #e6ddd0;
}

.project-archive-content {
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem);
}

.project-archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.project-archive-filters a {
  padding: .55rem .85rem;
  border: 1px solid var(--clr-line);
  border-radius: 2rem;
  background: #fff;
  font-size: .85rem;
}

.project-archive-filters a:hover,
.project-archive-filters a[aria-current="page"] {
  background: #efe3cf;
  color: #4b3520;
}

.project-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 3vw, 2rem);
}

.project-archive-card,
.project-archive-empty {
  overflow: hidden;
  border: 1px solid var(--clr-line);
  border-radius: .75rem;
  background: #fff;
}

.project-archive-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #efe9de;
}

.project-archive-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-archive-card-body,
.project-archive-empty {
  padding: clamp(1rem, 3vw, 2rem);
  overflow-wrap: anywhere;
}

.project-archive-card h2 {
  margin-bottom: .65rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.project-archive-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.project-archive-link,
.project-detail-breadcrumb a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.project-archive-link {
  color: #72532f;
}

.project-detail-hero {
  position: static;
}

.project-detail-hero .project-archive-intro {
  max-width: 100%;
}

.project-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: .75rem;
  color: #fff;
  font-size: .85rem;
}

.project-detail-breadcrumb a,
.project-detail-breadcrumb a:hover,
.project-detail-breadcrumb a:focus-visible {
  color: inherit;
}

.project-detail-description {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.project-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  align-items: start;
  gap: 1rem;
  margin-top: 1rem;
}

.project-detail-gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .5rem;
}

@media (max-width: 767.98px) {
  .project-archive-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
