/* ============================================================
   Demi Trott theme — all site styling lives in this one file.
   Sections: reset, nav + dropdown, hero, image gallery, video
   gallery, about page.
   ============================================================ */

html, body {
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Jost', sans-serif;
  background: #fbfaf7;
}
img, video { max-width: 100%; }

/* ---------- Nav (shared: hero uses --dark, pages use --light) ---------- */
.dt-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.2rem 1.6rem;
  box-sizing: border-box;
}
.dt-nav--dark{
  color: #fff;
}
.dt-nav--light{
  color: #161513;
}
.dt-logo{
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.dt-nav--dark .dt-logo a{ color:#fff; }
.dt-nav--light .dt-logo a{ color:#161513; }
.dt-logo a{ text-decoration: none; }

.dt-links{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dt-links > a{ text-decoration: none; opacity: 0.85; }
.dt-nav--dark .dt-links > a{ color: #fff; }
.dt-nav--light .dt-links > a{ color: #161513; }
.dt-links > a:hover{ opacity: 1; }
.dt-links a.active{
  text-decoration: underline;
  text-underline-offset: 5px;
  opacity: 1;
}
.dt-links svg{ display:block; width:14px; height:14px; }
.dt-nav--dark .dt-links svg{ fill:#fff; }
.dt-nav--light .dt-links svg{ fill:#161513; }

/* dropdown */
.dt-dropdown{ position: relative; }
.dt-dropdown > a::after{
  content: '\25BE';
  display: inline-block;
  margin-left: 0.35em;
  font-size: 0.8em;
  opacity: 0.7;
}
.dt-dropdown-menu{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  margin-top: 0.7rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-radius: 3px;
  padding: 0.4rem 0;
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.dt-dropdown:hover .dt-dropdown-menu,
.dt-dropdown:focus-within .dt-dropdown-menu{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dt-dropdown-menu a{
  display: block;
  padding: 0.55rem 1.1rem;
  color: #161513 !important;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1 !important;
}
.dt-dropdown-menu a:hover{ background: #f2f0ea; }

/* ---------- Hero (homepage) ---------- */
.dt-hero{
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  background: #e9e6df;
}
.dt-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 0;
}
.dt-bg.dt-bg-base{ opacity: 1; }
.dt-bg.dt-active{ opacity: 1; z-index: 1; }
.dt-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
  z-index: 2;
  pointer-events: none;
}
.dt-title{
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fdfaf4;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 7.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
  flex-wrap: wrap;
}
.dt-title a{ color: inherit; text-decoration: none; }
.dt-word{
  cursor: pointer;
  padding: 0 0.15em;
  transition: opacity 0.3s ease;
}
.dt-word:hover{ opacity: 0.85; }

/* ---------- Image gallery (Studio / Lifestyle / collections) ---------- */
.dt-gallery-head{
  padding: 2.5rem 2.2rem 1rem;
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #161513;
}
.dt-gallery-subnav{
  padding: 5.6rem 2.2rem 0.5rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dt-gallery-subnav-active{
  color: #161513;
  font-weight: 600;
}
.dt-gallery-subnav a{
  color: #161513;
  opacity: 0.4;
  text-decoration: none;
}
.dt-gallery-subnav a:hover{
  opacity: 0.75;
}
.dt-gallery-subnav-sep{
  opacity: 0.3;
  margin: 0 0.7em;
  display: inline-block;
}
.dt-gallery-empty{
  text-align: center;
  color: #161513;
  opacity: 0.5;
  font-size: 0.85rem;
  padding: 4rem 2.2rem;
}
.dt-gallery{
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2.2rem 6rem;
}
.dt-gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.dt-gallery-grid figure{ margin: 0; }
.dt-gallery-grid img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #e9e6df;
  transition: opacity 0.25s ease, transform 0.4s ease;
}
.dt-gallery-grid a{ display:block; overflow:hidden; }
.dt-gallery-grid a:hover img{ opacity: 0.9; transform: scale(1.015); }
.dt-gallery-grid figcaption{
  margin-top: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: #161513;
  text-align: center;
}
@media (max-width: 900px){
  .dt-gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .dt-gallery-grid{ grid-template-columns: 1fr; }
}

/* Landscape photos stand out at roughly double size (spanning 2 of the 3
   grid columns) instead of being squeezed into the same portrait box as
   everything else. */
.dt-gallery-grid figure.dt-landscape{
  grid-column: span 2;
}
.dt-gallery-grid figure.dt-landscape img{
  aspect-ratio: auto;
}
@media (max-width: 900px){
  .dt-gallery-grid figure.dt-landscape{ grid-column: span 2; }
}
@media (max-width: 560px){
  .dt-gallery-grid figure.dt-landscape{ grid-column: span 1; }
}

/* ---------- Extra large photos: span the full row for a hero-style standout ---------- */
.dt-gallery-grid figure.dt-xlarge{
  grid-column: 1 / -1;
}
.dt-gallery-grid figure.dt-xlarge img{
  aspect-ratio: auto;
}


/* ---------- Video gallery (Motion) ---------- */
.dt-video-gallery{ width: 100%; padding-top: 4.8rem; }
.dt-video-trio{
  display: flex;
  gap: 0;
}
.dt-video-trio video{
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #000;
}
.dt-video-landscape{ width: 100%; }
.dt-video-landscape video{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #000;
}
/* Keep the same 3-across trio layout at every screen size (including
   tablet and mobile) rather than stacking to a single column. */

/* ---------- About page ---------- */
.dt-about{
  max-width: 1040px;
  margin: 0 auto;
  padding: 8rem 2.2rem 6rem;
  text-align: left;
  display: flex;
  gap: 4.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.dt-about-content{
  flex: 1 1 360px;
  max-width: 480px;
}
.dt-about-description{
  font-size: 1rem;
  line-height: 1.7;
  color: #3a3833;
  margin: 0 0 1.6rem;
}
.dt-about-email{
  margin: 0 0 2.4rem;
}
.dt-about-email a{
  color: #161513;
  text-decoration: none;
  font-size: 0.95rem;
}
.dt-about-email a:hover{ text-decoration: underline; }
.dt-about-clients-label{
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #161513;
  margin: 0 0 0.9rem;
}
.dt-about-clients-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.dt-about-clients-list li{
  font-size: 0.95rem;
  line-height: 1.5;
  color: #3a3833;
}
.dt-about-image{
  flex: 0 1 300px;
}
.dt-about-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
@media (max-width: 720px){
  .dt-about{ flex-direction: column; }
  .dt-about-image{ order: -1; max-width: 240px; }
}





/* A manual row break Demi can drop between two photos in the Gallery
 * Images panel, so she can force any pair to sit together on their own
 * row instead of following the automatic 3-up fill order. */
.dt-gallery-grid .dt-gallery-break {
	grid-column: 1 / -1;
	height: 0;
	margin: 0;
	padding: 0;
}

.dt-gallery-spacer {
	height: 0;
	margin: 0;
	padding: 0;
	pointer-events: none;
}
