:root{
  --bg:#f6f3ee;
  --ink:#1f1f1f;
  --muted:#6b6b6b;
  --btn:#2a2a2a;
  --tile-shadow: 0 18px 45px rgba(0,0,0,.12);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  overflow-x:hidden;
  overflow-y:auto;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-weight:500;
}
img{ max-width:100%; height:auto; }

/* Canvas */
.stage{
  position:relative;
  width:100vw;
  min-height:100vh;
  opacity:0;
  transform: translateY(10px);
  animation: in 700ms ease forwards;
}
@keyframes in { to { opacity:1; transform: translateY(0); } }

/* Center content */
.brand{
  position:absolute;
  top:36px;
  left:50%;
  transform:translateX(-50%);
  letter-spacing:.2px;
  font-size:22px;
  color:#222;
}

.nav{
  position:absolute;
  top:38px;
  right:44px;
  display:flex;
  gap:20px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#3a3a3a;
}
.nav a{ color:inherit; text-decoration:none; opacity:.75; }
.nav a:hover{ opacity:1; }

.center{
  position:absolute;
  inset:0;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  pointer-events:none;
  z-index:2;
}

.center-inner{
  pointer-events:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:clamp(10px, 2vw, 18px);
  width:100%;
  max-width:100%;
}

.logo{
  width:clamp(170px, 28vw, 360px);
  height:auto;
  display:block;
  margin-bottom:clamp(4px, 1.5vw, 12px);
}

h1{
  margin:0 auto;
  font-weight:900;
  line-height:1.05;
  font-size: clamp(44px, 6vw, 78px);
  letter-spacing:-.02em;
  color:#baaf94;
  text-align:center;
  width:100%;
  max-width:100%;
}

.sub{
  margin:12px auto 0;
  font-size:clamp(14px, 2.5vw, 24px);
  color:var(--muted);
  letter-spacing:10.5px;
  text-transform:uppercase;
  text-align:center;
  width:100%;
  max-width:100%;
}

.btn{
  margin-top:6px;
  background:var(--btn);
  color:#fff;
  border:0;
  border-radius:2px;
  padding:14px 46px;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  cursor:pointer;
  transition: transform 200ms ease, opacity 200ms ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px) scale(.99); opacity:.95; }

/* Tiles collage */
.tile{
  --tile-scale: 1;
  position:absolute;
  width:280px;
  height:190px;
  overflow:hidden;
  background:#ddd;
  box-shadow: var(--tile-shadow);
  border-radius:0px;
  transform: translate3d(0,0,0);
  will-change: transform;
}
.tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
}

/* Different sizes like the reference */
.tile.sm{ width:240px; height:170px; }
.tile.lg{ width:360px; height:250px; }
.tile.vt{ width:240px; height:300px; }

/* positions (tweak freely) */
.t1{ left:-60px; top:-40px; }          /* top-left */
.t2{ left:140px; top:60px; }           /* upper-left */
.t3{ right:120px; top:-30px; }         /* top-right */
.t4{ right:-40px; top:170px; }         /* mid-right big */
.t5{ left:-70px; top:330px; }          /* mid-left */
.t6{ left:120px; bottom:70px; }        /* bottom-left */
.t7{ right:70px; bottom:150px; }       /* bottom-right portrait */
.t8{ right:260px; top:120px; }         /* small top-right */
.t9{ left:260px; bottom:-40px; }       /* bottom mid */


/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 16px 20px;
    border-radius: 10px;
    z-index: 1000;
    max-width: 600px;
    width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hidden { display: none; }

.cookie-title { 
    font-size: 14px; 
    margin: 0 0 4px 0; 
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.cookie-options { 
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 0;
}

.cookie-option { 
    background: rgba(0,0,0,0.03);
    padding: 10px 12px;
    flex: 1;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.05);
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 10px;
}

.cookie-option-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex: 1;
}

.cookie-badge {
    font-size: 10px;
    color: var(--muted);
    background: rgba(0,0,0,0.06);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.cookie-option-desc {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.15);
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--bg);
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-checkbox:checked + .cookie-slider {
    background-color: var(--ink);
}

.cookie-checkbox:checked + .cookie-slider:before {
    transform: translateX(20px);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin: 0;
}

.cookie-btn {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.cookie-btn-accept { 
    background: #8B6F47;
    color: var(--bg);
    font-weight: 500;
}

.cookie-btn-accept:hover {
    background: #6B5435;
    transform: translateY(-1px);
}

.cookie-btn-reject { 
    background: transparent;
    color: #8B6F47;
    border: 1px solid #8B6F47;
}

.cookie-btn-reject:hover {
    background: rgba(139, 111, 71, 0.1);
    color: #6B5435;
}

@media (max-width: 680px) {
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        padding: 14px 16px;
        gap: 12px;
        border-radius: 8px;
    }
    
    .cookie-title {
        font-size: 14px;
        margin: 0 0 4px 0;
    }
    
    .cookie-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-option {
        padding: 10px 12px;
    }
    
    .cookie-option-header {
        margin-bottom: 5px;
        gap: 8px;
    }
    
    .cookie-option-title {
        font-size: 11px;
    }
    
    .cookie-option-desc {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .cookie-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .cookie-buttons {
        flex-direction: row;
        gap: 8px;
        width: 100%;
        margin-top: 4px;
    }
    
    .cookie-btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 11px;
    }
    
    .cookie-toggle {
        width: 38px;
        height: 20px;
        flex-shrink: 0;
    }
    
    .cookie-slider:before {
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
    }
    
    .cookie-checkbox:checked + .cookie-slider:before {
        transform: translateX(18px);
    }
}


/* make sure center stays readable on small screens */
@media (max-width: 860px){
  .tile{ filter: saturate(.95); opacity:.95; }
  .t4{ display:none; }
  .nav{ right:18px; }
  .brand{ top:22px; }
}

@media (max-width: 1024px){
  .tile{ width:200px; height:140px; }
  .tile.lg{ width:280px; height:200px; }
  .tile.vt{ width:200px; height:260px; }
  .center-inner{
    background: rgba(246, 243, 238, 0.92);
    padding: 22px 26px;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  }
}

@media (max-width: 680px){
  .center-inner{
    background: rgba(246, 243, 238, 0.92);
    padding: 22px 26px;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  }

  .logo{ width:clamp(140px, 45vw, 180px); }
  h1{ font-size: clamp(32px, 9vw, 36px); }

  .tile{ opacity:.6; }
  .t1,
  .t3,
  .t4,
  .t7{ display:none; }
}

@media (max-width: 480px){
  .logo{ width:clamp(130px, 55vw, 160px); }
  h1{ font-size: clamp(26px, 9vw, 32px); }
}

@media (min-width: 1200px){
  .tile{ --tile-scale: 1.08; }
  .tile.lg{ --tile-scale: 1.12; }
  .tile.vt{ --tile-scale: 1.1; }
}

@media (min-width: 1600px){
  .tile{ --tile-scale: 1.16; }
  .tile.lg{ --tile-scale: 1.22; }
  .tile.vt{ --tile-scale: 1.18; }
}

/* Footer */
footer{
  background:var(--bg);
  padding:60px 20px 40px;
  margin-top:80px;
}

/* Elfsight Instagram Widget Styling */
.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1{
  margin-bottom:50px;
}

/* Hide placeholder text and style widget */
.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1 {
  min-height: 200px;
}

/* Hide common placeholder elements */
.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1 *[class*="placeholder"],
.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1 *[class*="free-instagram"],
.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1 *[class*="widget"]:not([class*="elfsight"]),
.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1 svg[class*="refresh"],
.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1 div:has-text("Free Instagram Feed Widget"),
.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1 > div:first-child:not([class*="elfsight-instagram"]) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
}

/* Style Elfsight widget to match page colors */
.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1,
.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1 *{
  color:var(--ink) !important;
  background:transparent !important;
}

.elfsight-app-c5b5e1cb-1228-4a8c-94a8-541e530572d1 iframe{
  background:var(--bg) !important;
}

.footer-content{
  max-width:1200px;
  margin:0 auto;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:40px;
  margin-bottom:40px;
}

.footer-section{
  text-align:center;
}

.footer-title{
  font-size:18px;
  font-weight:500;
  color:var(--ink);
  margin:0 0 20px 0;
  letter-spacing:0.5px;
  text-transform:uppercase;
  font-size:14px;
  letter-spacing:.1em;
  text-align:center;
}

.footer-info p,
.footer-email,
.footer-address{
  margin:12px 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
  text-align:center;
}

.footer-info p{
  text-align:center;
}

.footer-label{
  color:var(--ink);
  font-weight:500;
  font-size:13px;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.footer-email a{
  color:var(--ink);
  text-decoration:none;
  transition:color 0.2s ease;
}

.footer-email a:hover{
  color:var(--muted);
  text-decoration:underline;
}

.footer-address{
  color:var(--muted);
  line-height:1.8;
}

.footer-divider{
  height:1px;
  background:rgba(0,0,0,0.08);
  margin:40px 0 30px;
}

.footer-copyright{
  text-align:center;
  color:var(--muted);
  font-size:13px;
  margin:0;
  letter-spacing:.02em;
}

@media (max-width: 680px){
  .footer-grid{
    grid-template-columns:1fr;
    gap:30px;
  }
  
  .footer-section{
    text-align:center;
  }
  
  footer{
    padding:40px 20px 30px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .stage{ animation:none; opacity:1; transform:none; }
  .tile{ transform:none !important; }
}
