:root {
  color-scheme: dark;
  --background: #101213;
  --text: #efe6d9;
  --muted: #aaa398;
  --soft: #c9bdaf;
  --line: #323536;
  --accent: #bda48b;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 82px; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Quiet architectural framing, outside the photography itself. */
@media (min-width: 1000px) {
  body::before,
  body::after {
    content: "";
    position: fixed;
    top: 70px;
    bottom: 18px;
    width: 26px;
    pointer-events: none;
    z-index: 12;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  }

  body::before {
    left: 0;
    background: linear-gradient(to right, rgba(189, 164, 139, 0.055), transparent);
    border-right: 1px solid rgba(189, 164, 139, 0.22);
  }

  body::after {
    right: 0;
    background: linear-gradient(to left, rgba(189, 164, 139, 0.055), transparent);
    border-left: 1px solid rgba(189, 164, 139, 0.22);
  }

  main::before,
  main::after {
    content: "";
    position: fixed;
    top: 50%;
    width: 5px;
    height: 5px;
    background: #a08d78;
    opacity: 0.42;
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 13;
  }

  main::before { left: 23px; }
  main::after { right: 23px; }

}

a { color: inherit; }

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.7rem 1rem;
  background: var(--text);
  color: var(--background);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 2;
  height: clamp(115px, 10vw, 142px);
}

.brand {
  position: absolute;
  left: 50%;
  bottom: -72px;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(420px, 41vw, 550px);
  height: auto;
  /* Warm the original white artwork without changing its silhouette or alpha. */
  filter: sepia(0.32) saturate(0.53) brightness(0.95);
}

.brand-flank {
  position: absolute;
  bottom: 4px;
  width: auto;
  color: #cbbcac;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(0.95rem, 1.35vw, 1.12rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.brand-flank-left {
  right: calc(50% + clamp(210px, 20.5vw, 275px) + 6px);
}

.brand-flank-right {
  left: calc(50% + clamp(210px, 20.5vw, 275px) - 18px);
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3.6vw, 58px);
  min-height: 60px;
  padding: 17px clamp(18px, 4vw, 64px);
  background:
    linear-gradient(to right, transparent 8%, rgba(189, 164, 139, 0.12) 28%, rgba(189, 164, 139, 0.30) 50%, rgba(189, 164, 139, 0.12) 72%, transparent 92%) center bottom / 100% 1px no-repeat,
    rgba(16, 18, 19, 0.95);
  border-top: 1px solid rgba(220, 217, 207, 0.10);
  border-bottom: 1px solid rgba(220, 217, 207, 0.16);
  backdrop-filter: blur(14px);
}

.main-nav::before,
.main-nav::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(189, 164, 139, 0.60);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.main-nav::before { left: 26%; }
.main-nav::after { right: 26%; }

.main-nav a {
  position: relative;
  color: var(--soft);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-nav a:not(.instagram-link)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.main-nav a:not(.instagram-link):hover::after,
.main-nav a:not(.instagram-link):focus-visible::after,
.main-nav a[aria-current="page"]:not(.instagram-link)::after { width: 22px; }

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--text); }

.main-nav .instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: -7px 0;
  padding: 5px 12px 5px 7px;
  border: 1px solid rgba(189, 164, 139, 0.42);
  background: rgba(189, 164, 139, 0.075);
  color: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.main-nav .instagram-link:hover,
.main-nav .instagram-link:focus-visible {
  border-color: var(--accent);
  background: rgba(189, 164, 139, 0.15);
}

.instagram-link img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: cover;
}


.featured { padding: 0 clamp(15px, 2.7vw, 48px); }

.hero-photograph {
  width: 100%;
  background: #0a0d0f;
  overflow: hidden;
}

.hero-photograph img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.portfolio-work {
  max-width: 1580px;
  margin: 0 auto;
  padding: clamp(95px, 10vw, 160px) clamp(24px, 5vw, 80px) clamp(65px, 7vw, 116px);
  scroll-margin-top: 0;
}

.work-heading {
  margin-bottom: clamp(40px, 5vw, 78px);
}

.work-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 6vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 1.05;
}

.work-heading h2 em { color: var(--soft); font-weight: 400; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(27px, 4.7vw, 76px);
  row-gap: clamp(62px, 7.7vw, 120px);
}

.gallery-item { margin: 0; min-width: 0; }

.photo-open {
  display: block;
  background: #191c1d;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.photo-open:hover { opacity: 0.86; }

.photo-open img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 1px 0;
}

.photo-number {
  flex-shrink: 0;
  color: #888a88;
  font-size: 0.57rem;
  letter-spacing: 0.17em;
}

.photo-title {
  color: #ded1c1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.4vw, 1.23rem);
  font-style: italic;
  text-align: right;
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 3vw, 42px);
  border: 0;
  background: #0c0e0f;
  color: var(--text);
}

.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.94); }

.lightbox-header,
.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.lightbox-header { min-height: 35px; }
.lightbox-footer { min-height: 55px; }

.lightbox-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, 320px);
  flex: 1 1 auto;
  gap: clamp(30px, 4vw, 72px);
  min-height: 0;
}

.lightbox-details {
  align-self: center;
  max-height: 100%;
  overflow-y: auto;
  padding: 20px 0;
}

.lightbox-counter,
.lightbox-close,
.lightbox-arrow {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lightbox-counter { color: var(--muted); }

.lightbox button {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
}

.lightbox button:hover { color: #f3e8d9; }
.lightbox button:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.lightbox-close span { margin-left: 12px; font-size: 1.2rem; vertical-align: -0.06em; }

.lightbox-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  padding: 12px 0;
}

.lightbox-image-wrap img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-title {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
}

.lightbox-description {
  margin: 25px 0 0;
  color: #c9bdaf;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.74;
}

.lightbox-credit {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  align-items: baseline;
  color: #c3b9ab;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.6;
}
.lightbox-credit[hidden] { display: none; }
.lightbox-credit-label {
  flex-basis: 100%;
  color: var(--accent);
  font-size: 0.57rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.lightbox-credit a { color: #e5d8c8; text-underline-offset: 4px; }
.lightbox-credit a:hover, .lightbox-credit a:focus-visible { color: #f5e9da; }
.lightbox-credit a[hidden] { display: none; }

.lightbox-inquiry {
  display: inline-block;
  margin-top: 34px;
  padding: 0 0 9px;
  border-bottom: 1px solid rgba(189, 164, 139, 0.66);
  color: #dbd0c1;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.lightbox-inquiry:hover,
.lightbox-inquiry:focus-visible {
  color: #fff1de;
  border-color: #fff1de;
}

.artist-statement {
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(96px, 11vw, 182px) clamp(24px, 7.5vw, 120px) clamp(115px, 12vw, 195px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(60px, 10vw, 190px);
}

.statement-heading h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 6.4vw, 6.9rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 1.04;
}

.statement-heading h1 em { color: var(--soft); font-weight: 400; }

.statement-body { padding-top: 57px; max-width: 475px; }

.statement-body p {
  margin: 0 0 24px;
  color: #c7bbad;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.11rem, 1.35vw, 1.4rem);
  line-height: 1.78;
}

.text-link {
  display: inline-block;
  margin-top: 34px;
  padding-bottom: 12px;
  border-bottom: 1px solid #77726c;
  color: var(--text);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease;
}

.text-link:hover { border-color: var(--accent); }

.instagram-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 38px;
  padding: 13px 18px 13px 12px;
  border: 1px solid rgba(189, 164, 139, 0.36);
  background: linear-gradient(110deg, rgba(189, 164, 139, 0.095), rgba(189, 164, 139, 0.012) 75%);
  color: var(--text);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.instagram-feature:hover,
.instagram-feature:focus-visible {
  border-color: rgba(189, 164, 139, 0.78);
  background-color: rgba(189, 164, 139, 0.06);
  transform: translateY(-2px);
}

.instagram-feature-avatar {
  display: block;
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  object-fit: cover;
  border: 1px solid rgba(189, 164, 139, 0.20);
}

.instagram-feature-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.instagram-feature-label {
  color: #b9ae9f;
  font-size: 0.60rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.55;
  text-transform: uppercase;
}

.instagram-feature-handle {
  color: var(--text);
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1;
}


.contact-section {
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(70px, 8vw, 120px) clamp(24px, 7.5vw, 120px) clamp(100px, 10vw, 155px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(60px, 10vw, 190px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 22px;
}

.contact-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 6vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 1.06;
}

.contact-heading h2 em { color: var(--soft); font-weight: 400; }

.contact-body { padding-top: 52px; max-width: 475px; }

.contact-body p {
  margin: 0;
  color: #c7bbad;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.11rem, 1.35vw, 1.4rem);
  line-height: 1.78;
}

.contact-body .text-link {
  margin-top: 27px;
  font-size: 0.87rem;
  letter-spacing: 0.025em;
  text-transform: none;
}

.site-footer {
  margin: 0 clamp(24px, 5vw, 96px);
  padding: 35px 0 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #818480;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  line-height: 1.7;
  text-transform: uppercase;
}
/* Optional type study. The standard portfolio remains unchanged without ?type=study. */
.type-study .work-heading h2,
.type-study .statement-heading h1,
.type-study .contact-heading h2 {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.type-study .work-heading h2 { font-size: clamp(3.4rem, 7vw, 7.1rem); }
.type-study .statement-heading h1 { font-size: clamp(3.6rem, 7.1vw, 7.6rem); }
.type-study .contact-heading h2 { font-size: clamp(3.4rem, 7vw, 7.1rem); }

.type-study .work-heading h2 em,
.type-study .statement-heading h1 em,
.type-study .contact-heading h2 em { font-weight: 400; }

.type-study .photo-title {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.2rem, 1.75vw, 1.58rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.type-study .lightbox-title {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: clamp(2.15rem, 3.5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.type-study .main-nav a { letter-spacing: 0.14em; }
.type-study .brand-flank { letter-spacing: 0.035em; }

@media (max-width: 640px) {
  .type-study .work-heading h2 { font-size: clamp(3.35rem, 12vw, 5rem); }
  .type-study .statement-heading h1 { font-size: clamp(3.55rem, 12.5vw, 5.2rem); }
  .type-study .contact-heading h2 { font-size: clamp(3.35rem, 12vw, 5rem); }
  .type-study .photo-title { font-size: 1.3rem; }
  .type-study .lightbox-title { font-size: 2.25rem; }
}

/* Alternative direction: upright, inscription-inspired display typography. */
.type-marcellus .work-heading h2,
.type-marcellus .statement-heading h1,
.type-marcellus .contact-heading h2 {
  font-family: Marcellus, Georgia, serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.018em;
  line-height: 1.13;
}

.type-marcellus .work-heading h2 { font-size: clamp(2.55rem, 4.3vw, 4.75rem); }
.type-marcellus .statement-heading h1 { font-size: clamp(2.35rem, 4vw, 4.4rem); }
.type-marcellus .contact-heading h2 { font-size: clamp(2.3rem, 3.95vw, 4.3rem); }

.type-marcellus .work-heading h2 em,
.type-marcellus .statement-heading h1 em,
.type-marcellus .contact-heading h2 em {
  font-style: normal;
  font-weight: 400;
  color: #b7b1a9;
}

.type-marcellus .photo-title,
.type-marcellus .lightbox-title {
  font-family: Marcellus, Georgia, serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.type-marcellus .photo-title { font-size: clamp(1.04rem, 1.52vw, 1.34rem); }
.type-marcellus .lightbox-title {
  font-size: clamp(2rem, 3.25vw, 3.3rem);
  line-height: 1.2;
}

.type-marcellus .main-nav a { letter-spacing: 0.105em; }
.type-marcellus .brand-flank { letter-spacing: 0.035em; }
.type-marcellus .photo-number { letter-spacing: 0.125em; }

@media (max-width: 640px) {
  .type-marcellus .work-heading h2 { font-size: clamp(2.35rem, 9vw, 4.1rem); }
  .type-marcellus .statement-heading h1 { font-size: clamp(2.25rem, 8.4vw, 3.85rem); }
  .type-marcellus .contact-heading h2 { font-size: clamp(2.2rem, 8.25vw, 3.75rem); }
  .type-marcellus .photo-title { font-size: 1.17rem; }
  .type-marcellus .lightbox-title { font-size: 2rem; }
}

/* Soft variation: keep Marcellus's clarity, add old-style italic movement. */
.type-soft .work-heading h2 em,
.type-soft .statement-heading h1 em,
.type-soft .contact-heading h2 em {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.038em;
  color: #c8c0b6;
}

.type-soft .photo-title {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.14rem, 1.6vw, 1.45rem);
  letter-spacing: -0.005em;
}

.type-soft .lightbox-title {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-style: italic;
  font-size: clamp(2.15rem, 3.5vw, 3.6rem);
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .type-soft .photo-title { font-size: 1.28rem; }
  .type-soft .lightbox-title { font-size: 2.12rem; }
}

@media (max-width: 860px) {
  .main-nav::before,
  .main-nav::after { display: none; }
  .brand-flank {
    top: 17px;
    bottom: auto;
    width: 45%;
    font-size: clamp(0.82rem, 2.4vw, 1.02rem);
    letter-spacing: 0.015em;
  }
  .brand-flank-left { left: 0; right: auto; }
  .brand-flank-right { right: 0; left: auto; }
}

@media (max-width: 720px) {
  .site-header {
    height: clamp(102px, 27vw, 120px);
  }

  /* Keep the desktop's flanking inscription on the logo's visual baseline. */
  .brand { bottom: -22px; }
  .brand-logo { width: clamp(260px, 76vw, 375px); }
  .brand-flank {
    top: clamp(66px, 18vw, 85px);
    bottom: auto;
    width: auto;
    font-size: clamp(0.69rem, 2.65vw, 0.89rem);
    white-space: nowrap;
  }
  .brand-flank-left { left: clamp(20px, 5.7vw, 32px); right: auto; }
  .brand-flank-right { right: clamp(9px, 3vw, 18px); left: auto; }
  .main-nav { min-height: 54px; padding: 10px 11px; gap: clamp(10px, 3.1vw, 20px); }
  .main-nav a { font-size: 0.58rem; letter-spacing: 0.07em; }
  .main-nav .instagram-link { padding: 4px 7px 4px 4px; gap: 6px; font-size: 0.57rem; letter-spacing: 0.025em; }
  .instagram-link img { width: 23px; height: 23px; }
  /* Let the image rise behind the mark, echoing the desktop hero overlap. */
  .featured {
    position: relative;
    margin-top: -24px;
    padding: 0 clamp(10px, 2.7vw, 20px);
  }

  .hero-photograph img {
    height: auto;
    /* The artwork must keep its desktop 16:9 composition on narrow screens. */
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
  }

  .portfolio-work { padding: clamp(76px, 19vw, 95px) clamp(19px, 5vw, 30px) 42px; }
  .work-heading { margin-bottom: 38px; }
  .work-heading h2 { font-size: clamp(2.9rem, 11vw, 5rem); }
  .photo-grid { grid-template-columns: 1fr; row-gap: 65px; }
  .gallery-item figcaption { padding-top: 15px; }
  .photo-title { font-size: 1.09rem; }
  .lightbox { padding: 12px 17px max(12px, env(safe-area-inset-bottom)); }
  .lightbox-header { min-height: 44px; flex: 0 0 auto; }
  .lightbox-close { min-height: 44px; }
  .lightbox-content { display: flex; flex-direction: column; gap: 0; overflow-y: auto; }
  .lightbox-image-wrap { height: auto; flex: 0 0 auto; padding: 14px 0; }
  .lightbox-image-wrap img { max-height: 53svh; }
  .lightbox-details { align-self: stretch; overflow: visible; padding: 12px 5px 25px; }
  .lightbox-arrow span { display: none; }
  .lightbox-footer {
    min-height: 62px;
    flex: 0 0 auto;
    border-top: 1px solid rgba(174, 190, 192, 0.22);
  }
  .lightbox .lightbox-arrow {
    min-width: 64px;
    min-height: 44px;
    padding: 5px 16px;
    border: 1px solid rgba(174, 190, 192, 0.28);
    font-size: 1.35rem;
    line-height: 1;
  }
  .lightbox-title { font-size: 1.7rem; }
  .lightbox-description { font-size: 1rem; line-height: 1.65; margin-top: 17px; }

  .artist-statement {
    padding: 96px 28px 116px;
    display: block;
  }

  .statement-heading h1 { font-size: clamp(3.1rem, 11.2vw, 5rem); }
  .statement-body { padding-top: 35px; }
  .statement-body p { font-size: 1.1rem; line-height: 1.72; }
  .text-link { margin-top: 14px; }
  .instagram-feature { margin-top: 29px; gap: 13px; padding: 11px 13px 11px 10px; }
  .instagram-feature-avatar { width: 74px; height: 74px; flex-basis: 74px; }
  .instagram-feature-label { font-size: 0.54rem; }
  .instagram-feature-handle { font-size: 1.42rem; }

  .contact-section { padding: 72px 28px 100px; display: block; }
  .contact-heading h2 { font-size: clamp(3.1rem, 11.2vw, 5rem); }
  .contact-body { padding-top: 30px; }
  .contact-body p { font-size: 1.1rem; line-height: 1.72; }
  .contact-body .text-link { margin-top: 21px; }

  .site-footer {
    margin: 0 25px;
    padding: 28px 0 34px;
    flex-direction: column;
    gap: 10px;
    font-size: 0.49rem;
  }
}

@media (max-width: 400px) {
  /* Compact iPhones need the signature higher within the opening frame. */
  .page-home .brand { bottom: -4px; }
  .brand-logo { width: 76vw; }
  .brand-flank { font-size: 0.69rem; }
  .main-nav { gap: 9px; }
  .main-nav a { font-size: 0.54rem; }
  .main-nav .instagram-link { font-size: 0.54rem; }
}

@media (max-width: 375px) {
  .page-home .brand { bottom: 4px; }
  /* Keep all three portfolio sections on one line on compact phones. */
  .main-nav { justify-content: space-between; gap: 6px; }
  .main-nav a:not(.instagram-link) { white-space: nowrap; }
  .main-nav .instagram-link { padding: 4px; }
  .main-nav .instagram-link span { display: none; }
  .brand-logo { width: 68vw; }
  .brand-flank-left { left: 18px; }
  .brand-flank-right { right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Private design studio. These treatments do not appear on the standard site. */
@media (min-width: 1000px) {
  .studio-edge-pinstripe body::before,
  .studio-edge-pinstripe body::after {
    width: 34px;
    top: 65px;
    bottom: 19px;
    border: 0;
    background:
      linear-gradient(to right, rgba(189, 164, 139, 0.33) 0 1px, transparent 1px 9px, rgba(189, 164, 139, 0.16) 9px 10px, transparent 10px),
      linear-gradient(to right, rgba(189, 164, 139, 0.055), transparent);
  }

  .studio-edge-pinstripe body::before { left: 9px; }
  .studio-edge-pinstripe body::after { right: 9px; transform: scaleX(-1); }

  .studio-edge-pinstripe main::before,
  .studio-edge-pinstripe main::after {
    width: 18px;
    height: 1px;
    background: rgba(189, 164, 139, 0.64);
    opacity: 0.60;
    transform: translateY(-50%);
  }

  .studio-edge-pinstripe main::before { left: 29px; }
  .studio-edge-pinstripe main::after { right: 29px; }

  .studio-edge-shadowline body::before,
  .studio-edge-shadowline body::after {
    width: 66px;
    top: 57px;
    bottom: 10px;
    border: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.32), rgba(189, 164, 139, 0.06) 27%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 9%, black 91%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 9%, black 91%, transparent);
  }

  .studio-edge-shadowline body::after { transform: scaleX(-1); }
  .studio-edge-shadowline main::before,
  .studio-edge-shadowline main::after { display: none; }

  /* One elongated pointed arch per edge, like a quiet stone aisle. */
  .studio-edge-lancet body::before,
  .studio-edge-lancet body::after {
    top: 83px;
    bottom: 23px;
    width: 49px;
    border: 1px solid rgba(189, 164, 139, 0.35);
    border-bottom: 0;
    border-radius: 50% 50% 0 0 / 62px 62px 0 0;
    background: linear-gradient(to right, rgba(189, 164, 139, 0.065), transparent 63%);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .studio-edge-lancet body::before { left: 6px; }
  .studio-edge-lancet body::after { right: 6px; transform: scaleX(-1); }

  .studio-edge-lancet main::before,
  .studio-edge-lancet main::after {
    top: 49%;
    width: 9px;
    height: 25px;
    opacity: 0.76;
    background: #b7a48f;
    clip-path: polygon(50% 0, 65% 42%, 100% 50%, 65% 58%, 50% 100%, 35% 58%, 0 50%, 35% 42%);
    transform: translateY(-50%);
  }

  .studio-edge-lancet main::before { left: 29px; }
  .studio-edge-lancet main::after { right: 29px; }

  /* Four restrained mat-board corners, with an uninterrupted center. */
  .studio-edge-corners body::before,
  .studio-edge-corners body::after {
    top: 85px;
    bottom: 25px;
    width: 91px;
    border: 0;
    background:
      linear-gradient(rgba(189, 164, 139, 0.52), rgba(189, 164, 139, 0.52)) left top / 72px 1px no-repeat,
      linear-gradient(rgba(189, 164, 139, 0.52), rgba(189, 164, 139, 0.52)) left top / 1px 108px no-repeat,
      linear-gradient(rgba(189, 164, 139, 0.52), rgba(189, 164, 139, 0.52)) left bottom / 72px 1px no-repeat,
      linear-gradient(rgba(189, 164, 139, 0.52), rgba(189, 164, 139, 0.52)) left bottom / 1px 108px no-repeat;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .studio-edge-corners body::before { left: 15px; }
  .studio-edge-corners body::after { right: 15px; transform: scaleX(-1); }
  .studio-edge-corners main::before,
  .studio-edge-corners main::after { display: none; }

  /* Dense black rails and a single warm glint, without ornate repetition. */
  .studio-edge-obsidian body::before,
  .studio-edge-obsidian body::after {
    top: 63px;
    bottom: 10px;
    width: 38px;
    border: 0;
    background:
      linear-gradient(to right, transparent 2px, rgba(189, 164, 139, 0.53) 3px, transparent 4px, transparent 10px, rgba(189, 164, 139, 0.20) 11px, transparent 12px),
      linear-gradient(to right, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.11));
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 11%, black 89%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 11%, black 89%, transparent);
  }

  .studio-edge-obsidian body::after { transform: scaleX(-1); }
  .studio-edge-obsidian main::before,
  .studio-edge-obsidian main::after {
    width: 3px;
    height: 36px;
    background: var(--accent);
    opacity: 0.76;
    transform: translateY(-50%);
  }

  .studio-edge-obsidian main::before { left: 2px; }
  .studio-edge-obsidian main::after { right: 2px; }

  /* Quiet ribs suggest carved columns without literal stone textures. */
  .studio-edge-pillar body::before,
  .studio-edge-pillar body::after {
    top: 77px;
    bottom: 30px;
    width: 45px;
    border: 0;
    background:
      linear-gradient(rgba(189, 164, 139, 0.45), rgba(189, 164, 139, 0.45)) left 5px top 0 / 36px 1px no-repeat,
      linear-gradient(rgba(189, 164, 139, 0.45), rgba(189, 164, 139, 0.45)) left 5px bottom 0 / 36px 1px no-repeat,
      linear-gradient(to right, transparent 7px, rgba(189, 164, 139, 0.30) 8px, transparent 9px, transparent 15px, rgba(189, 164, 139, 0.18) 16px, transparent 17px, transparent 25px, rgba(189, 164, 139, 0.11) 26px, transparent 27px),
      linear-gradient(to right, rgba(189, 164, 139, 0.05), transparent);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .studio-edge-pillar body::before { left: 10px; }
  .studio-edge-pillar body::after { right: 10px; transform: scaleX(-1); }

  .studio-edge-pillar main::before,
  .studio-edge-pillar main::after {
    width: 30px;
    height: 1px;
    background: rgba(189, 164, 139, 0.64);
    opacity: 0.82;
    transform: translateY(-50%);
  }

  .studio-edge-pillar main::before { left: 14px; }
  .studio-edge-pillar main::after { right: 14px; }

  /* A nod to the sharp, elegant spikes in the original Taibhse404 mark. */
  .studio-edge-thorns body::before,
  .studio-edge-thorns body::after {
    top: 71px;
    bottom: 17px;
    width: 35px;
    border: 0;
    background:
      linear-gradient(to right, transparent 16px, rgba(189, 164, 139, 0.34) 17px, transparent 18px),
      linear-gradient(to right, rgba(189, 164, 139, 0.055), transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 7%, black 93%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 7%, black 93%, transparent);
  }

  .studio-edge-thorns body::before { left: 0; }
  .studio-edge-thorns body::after { right: 0; transform: scaleX(-1); }

  .studio-edge-thorns main::before,
  .studio-edge-thorns main::after {
    width: 23px;
    height: 61px;
    background: rgba(189, 164, 139, 0.76);
    opacity: 0.90;
    clip-path: polygon(48% 0, 54% 35%, 100% 48%, 58% 52%, 52% 100%, 46% 55%, 0 48%, 43% 43%);
    transform: translateY(-50%);
  }

  .studio-edge-thorns main::before { left: 7px; }
  .studio-edge-thorns main::after { right: 7px; transform: translateY(-50%) scaleX(-1); }

  .studio-edge-bookends body::before,
  .studio-edge-bookends body::after {
    top: 88px;
    bottom: 27px;
    width: 62px;
    border: 0;
    background:
      linear-gradient(rgba(189, 164, 139, 0.51), rgba(189, 164, 139, 0.51)) left top / 52px 1px no-repeat,
      linear-gradient(rgba(189, 164, 139, 0.51), rgba(189, 164, 139, 0.51)) left bottom / 52px 1px no-repeat,
      linear-gradient(to right, transparent 9px, rgba(189, 164, 139, 0.42) 10px, transparent 11px, transparent 20px, rgba(189, 164, 139, 0.14) 21px, transparent 22px);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .studio-edge-bookends body::before { left: 17px; }
  .studio-edge-bookends body::after { right: 17px; transform: scaleX(-1); }
  .studio-edge-bookends main::before,
  .studio-edge-bookends main::after { display: none; }

  /* New graphic studies, deliberately distinct from the earlier line treatments. */
  .studio-edge-lunar body::before,
  .studio-edge-lunar body::after,
  .studio-edge-ironvine body::before,
  .studio-edge-ironvine body::after,
  .studio-edge-roseglass body::before,
  .studio-edge-roseglass body::after,
  .studio-edge-scrollwork body::before,
  .studio-edge-scrollwork body::after,
  .studio-edge-fretwork body::before,
  .studio-edge-fretwork body::after {
    top: 74px;
    bottom: 28px;
    width: 80px;
    border: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 76px auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 13%, black 87%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 13%, black 87%, transparent);
  }

  .studio-edge-lunar body::before,
  .studio-edge-ironvine body::before,
  .studio-edge-roseglass body::before,
  .studio-edge-scrollwork body::before,
  .studio-edge-fretwork body::before { left: 3px; }
  .studio-edge-lunar body::after,
  .studio-edge-ironvine body::after,
  .studio-edge-roseglass body::after,
  .studio-edge-scrollwork body::after,
  .studio-edge-fretwork body::after { right: 3px; transform: scaleX(-1); }

  .studio-edge-lunar body::before,
  .studio-edge-lunar body::after { background-image: url('./assets/studio-lunar.svg'); }

  .studio-edge-ironvine body::before,
  .studio-edge-ironvine body::after { background-image: url('./assets/studio-ironvine.svg'); }

  .studio-edge-roseglass body::before,
  .studio-edge-roseglass body::after { background-image: url('./assets/studio-roseglass.svg'); }

  .studio-edge-scrollwork body::before,
  .studio-edge-scrollwork body::after { background-image: url('./assets/studio-scrollwork.svg'); }

  .studio-edge-fretwork body::before,
  .studio-edge-fretwork body::after { background-image: url('./assets/studio-fretwork.svg'); }

  .studio-edge-lunar main::before,
  .studio-edge-lunar main::after,
  .studio-edge-ironvine main::before,
  .studio-edge-ironvine main::after,
  .studio-edge-roseglass main::before,
  .studio-edge-roseglass main::after,
  .studio-edge-scrollwork main::before,
  .studio-edge-scrollwork main::after,
  .studio-edge-fretwork main::before,
  .studio-edge-fretwork main::after { display: none; }

  .studio-edge-veil body::before,
  .studio-edge-veil body::after {
    top: 58px;
    bottom: 0;
    width: 125px;
    border: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.52), rgba(178, 193, 197, 0.085) 24%, rgba(61, 69, 72, 0.055) 44%, transparent 92%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  }
  .studio-edge-veil body::before { left: 0; }
  .studio-edge-veil body::after { right: 0; transform: scaleX(-1); }
  .studio-edge-veil main::before,
  .studio-edge-veil main::after { display: none; }
}

.studio-nav-gallery .main-nav {
  background:
    linear-gradient(to right, transparent 7%, rgba(189, 164, 139, 0.32) 23%, rgba(189, 164, 139, 0.32) 77%, transparent 93%) center 4px / 100% 1px no-repeat,
    linear-gradient(to right, transparent 7%, rgba(189, 164, 139, 0.32) 23%, rgba(189, 164, 139, 0.32) 77%, transparent 93%) center calc(100% - 4px) / 100% 1px no-repeat,
    rgba(18, 20, 21, 0.975);
  border-top-color: rgba(189, 164, 139, 0.23);
  border-bottom-color: rgba(189, 164, 139, 0.25);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.18);
}

.studio-nav-gallery .main-nav::before,
.studio-nav-gallery .main-nav::after {
  width: 23px;
  height: 1px;
  border: none;
  background: rgba(189, 164, 139, 0.48);
  transform: translateY(-50%);
}

.studio-nav-gallery .main-nav a:not(:first-child):not(.instagram-link)::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 3px;
  height: 11px;
  border-left: 1px solid rgba(189, 164, 139, 0.30);
}

.studio-nav-nocturne .main-nav {
  min-height: 67px;
  background: rgba(9, 11, 12, 0.955);
  border-top: 1px solid rgba(189, 164, 139, 0.075);
  border-bottom: 1px solid rgba(189, 164, 139, 0.44);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.48);
}

.studio-nav-nocturne .main-nav::before,
.studio-nav-nocturne .main-nav::after {
  width: 3px;
  height: 3px;
  border: none;
  background: var(--accent);
  opacity: 0.55;
}

.studio-nav-nocturne .main-nav a:not(.instagram-link) {
  letter-spacing: 0.19em;
}

.studio-nav-script .main-nav {
  gap: clamp(30px, 4.3vw, 68px);
  background: rgba(15, 17, 18, 0.965);
  border-top-color: rgba(189, 164, 139, 0.28);
  border-bottom-color: rgba(189, 164, 139, 0.31);
}

.studio-nav-script .main-nav a:not(.instagram-link) {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.013em;
  text-transform: none;
}

.studio-nav-script .main-nav::before,
.studio-nav-script .main-nav::after {
  width: 41px;
  height: 1px;
  border: 0;
  background: rgba(189, 164, 139, 0.60);
  transform: translateY(-50%);
}

.studio-nav-chapel .main-nav {
  min-height: 67px;
  background:
    linear-gradient(to right, transparent 16%, rgba(189, 164, 139, 0.29) 50%, transparent 84%) center 7px / 100% 1px no-repeat,
    linear-gradient(to right, transparent 16%, rgba(189, 164, 139, 0.29) 50%, transparent 84%) center calc(100% - 7px) / 100% 1px no-repeat,
    rgba(17, 19, 20, 0.97);
  border-top-color: rgba(189, 164, 139, 0.27);
  border-bottom-color: rgba(189, 164, 139, 0.27);
}

.studio-nav-chapel .main-nav::before,
.studio-nav-chapel .main-nav::after {
  width: 15px;
  height: 19px;
  border: 0;
  background:
    linear-gradient(rgba(189, 164, 139, 0.60), rgba(189, 164, 139, 0.60)) center / 1px 19px no-repeat,
    linear-gradient(rgba(189, 164, 139, 0.60), rgba(189, 164, 139, 0.60)) center 7px / 13px 1px no-repeat;
  transform: translateY(-50%);
}

.studio-nav-chapel .main-nav a:not(.instagram-link) {
  font-family: Marcellus, Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
}

.studio-nav-salon .main-nav {
  gap: 3px;
  min-height: 70px;
  background: rgba(20, 22, 23, 0.99);
  border-top: 2px solid rgba(189, 164, 139, 0.27);
  border-bottom: 1px solid rgba(189, 164, 139, 0.44);
  box-shadow: 0 6px 19px rgba(0, 0, 0, 0.33);
}

.studio-nav-salon .main-nav a:not(.instagram-link) {
  padding: 9px clamp(17px, 2.9vw, 40px);
  border-left: 1px solid rgba(189, 164, 139, 0.26);
  color: #ded8ce;
  font-family: Marcellus, Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.075em;
}

.studio-nav-salon .main-nav a:nth-child(3) { border-right: 1px solid rgba(189, 164, 139, 0.26); }
.studio-nav-salon .main-nav .instagram-link { margin-left: 24px; }
.studio-nav-salon .main-nav::before,
.studio-nav-salon .main-nav::after { display: none; }

.studio-nav-folio .main-nav {
  gap: clamp(19px, 3.4vw, 54px);
  background: rgba(16, 18, 19, 0.985);
  border-top-color: rgba(189, 164, 139, 0.21);
  border-bottom-color: rgba(189, 164, 139, 0.34);
}

.studio-nav-folio .main-nav a:not(.instagram-link) {
  font-family: Marcellus, Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
}

.studio-nav-folio .main-nav a:not(.instagram-link)::before {
  display: inline-block;
  margin-right: 11px;
  color: var(--accent);
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 0.75rem;
  font-style: italic;
  letter-spacing: 0;
}

.studio-nav-folio .main-nav a:nth-child(1)::before { content: "I"; }
.studio-nav-folio .main-nav a:nth-child(2)::before { content: "II"; }
.studio-nav-folio .main-nav a:nth-child(3)::before { content: "III"; }
.studio-nav-folio .main-nav::before,
.studio-nav-folio .main-nav::after { display: none; }

.studio-nav-vespers .main-nav {
  gap: clamp(29px, 4.4vw, 70px);
  min-height: 65px;
  background:
    linear-gradient(to right, transparent, rgba(178, 188, 187, 0.28) 23%, rgba(226, 214, 196, 0.42) 50%, rgba(178, 188, 187, 0.28) 77%, transparent) center bottom / 78% 1px no-repeat,
    linear-gradient(to right, rgba(12, 15, 16, 0.98), rgba(39, 44, 45, 0.96) 50%, rgba(12, 15, 16, 0.98));
  border-top-color: rgba(221, 210, 193, 0.11);
  border-bottom-color: rgba(178, 188, 187, 0.27);
}

.studio-nav-vespers .main-nav a:not(.instagram-link) {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.06rem;
  font-variant: small-caps;
  font-weight: 400;
  letter-spacing: 0.045em;
  text-transform: none;
  color: #e7dccc;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
}

.studio-nav-vespers .main-nav a:nth-child(2)::before,
.studio-nav-vespers .main-nav a:nth-child(3)::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 43%;
  width: 4px;
  height: 4px;
  background: rgba(194, 202, 200, 0.65);
  transform: rotate(45deg);
}

.studio-nav-vespers .main-nav::before,
.studio-nav-vespers .main-nav::after {
  display: block;
  width: clamp(18px, 6vw, 88px);
  height: 1px;
  top: 50%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(to right, transparent, rgba(213, 206, 193, 0.38));
  transform: translateY(-50%);
}
.studio-nav-vespers .main-nav::before { left: clamp(11px, 14vw, 190px); }
.studio-nav-vespers .main-nav::after { right: clamp(11px, 14vw, 190px); transform: translateY(-50%) scaleX(-1); }

.studio-nav-portico .main-nav {
  min-height: 68px;
  gap: clamp(19px, 3.1vw, 49px);
  background:
    linear-gradient(rgba(189, 164, 139, 0.37), rgba(189, 164, 139, 0.37)) left 3% top 7px / 94% 1px no-repeat,
    linear-gradient(rgba(189, 164, 139, 0.37), rgba(189, 164, 139, 0.37)) left 3% bottom 7px / 94% 1px no-repeat,
    rgba(19, 21, 22, 0.985);
  border-top: 1px solid rgba(189, 164, 139, 0.16);
  border-bottom: 1px solid rgba(189, 164, 139, 0.31);
}

.studio-nav-portico .main-nav a:not(.instagram-link) {
  padding: 6px 3px;
  color: #d4cec6;
  font-family: Marcellus, Georgia, serif;
  font-size: 0.77rem;
  letter-spacing: 0.145em;
}

.studio-nav-portico .main-nav::before,
.studio-nav-portico .main-nav::after {
  top: 50%;
  width: 1px;
  height: 23px;
  border: 0;
  background: rgba(189, 164, 139, 0.62);
  transform: translateY(-50%);
}

.studio-nav-portico .main-nav::before { left: 17%; }
.studio-nav-portico .main-nav::after { right: 17%; }

.studio-mood-velvet body {
  background:
    radial-gradient(ellipse 83% 78% at 50% 45%, transparent 37%, rgba(0, 0, 0, 0.34) 100%),
    var(--background);
  background-attachment: fixed;
}

.studio-mood-warmth body {
  background:
    radial-gradient(ellipse 86% 75% at 48% -8%, rgba(189, 164, 139, 0.080), transparent 72%),
    radial-gradient(ellipse 64% 54% at 54% 111%, rgba(111, 77, 56, 0.046), transparent 84%),
    var(--background);
  background-attachment: fixed;
}

.studio-mood-moonstone {
  --accent: #aebec0;
  --text: #f0e6d8;
  --soft: #d1c6b7;
  --muted: #aaa69e;
  background: #101213;
}

.studio-mood-moonstone body {
  position: relative;
  z-index: 1;
  background: transparent;
}

.studio-mood-moonstone::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #101213 url('/assets/moonstone-wide.webp') center center / cover no-repeat;
}

@media (max-width: 720px) {
  .studio-mood-moonstone::before {
    background-image: url('/assets/moonstone-portrait.webp');
  }
}

.studio-mood-moonstone .portfolio-work {
  /* Let the continuous backdrop carry through the entire gallery. */
  background: transparent;
}

.studio-nav-vespers.studio-mood-moonstone .main-nav {
  box-shadow: 0 5px 28px rgba(5, 8, 9, 0.23);
}

.studio-nav-vespers.studio-mood-moonstone .main-nav a:not(.instagram-link):hover,
.studio-nav-vespers.studio-mood-moonstone .main-nav a:not(.instagram-link):focus-visible { color: #f3e8d9; }

.studio-nav-vespers.studio-mood-moonstone .main-nav a:not(.instagram-link)::after { background: #c6cbc6; }

.studio-nav-vespers.studio-mood-moonstone .main-nav .instagram-link {
  border-color: rgba(178, 190, 188, 0.48);
  background: linear-gradient(135deg, rgba(188, 203, 203, 0.115), rgba(235, 223, 205, 0.035));
  color: #f0e6d8;
  box-shadow: inset 0 0 0 1px rgba(229, 221, 205, 0.035);
}

.studio-nav-vespers.studio-mood-moonstone .main-nav .instagram-link:hover,
.studio-nav-vespers.studio-mood-moonstone .main-nav .instagram-link:focus-visible {
  border-color: rgba(221, 220, 207, 0.72);
  background: rgba(187, 201, 203, 0.16);
}

.studio-mood-moonstone.studio-gallery-floating .photo-open {
  box-shadow: 0 15px 31px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(174, 190, 192, 0.24);
}
.studio-mood-moonstone.studio-gallery-floating .photo-open:hover {
  box-shadow: 0 27px 49px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(214, 216, 209, 0.33);
}
.studio-mood-moonstone.studio-gallery-floating .gallery-item figcaption { border-bottom-color: rgba(174, 190, 192, 0.24); }

.studio-mood-moonstone .instagram-feature {
  border-color: rgba(174, 190, 192, 0.36);
  background: linear-gradient(110deg, rgba(174, 190, 192, 0.09), rgba(239, 230, 216, 0.012) 75%);
}
.studio-mood-moonstone .instagram-feature:hover,
.studio-mood-moonstone .instagram-feature:focus-visible { border-color: rgba(198, 207, 206, 0.72); }
.studio-mood-moonstone .text-link { border-bottom-color: rgba(174, 190, 192, 0.38); }

.studio-mood-patina body {
  background:
    radial-gradient(ellipse 55% 66% at 6% 42%, rgba(149, 111, 82, 0.12), transparent 77%),
    radial-gradient(ellipse 55% 66% at 94% 56%, rgba(149, 111, 82, 0.11), transparent 77%),
    var(--background);
  background-attachment: fixed;
}

.studio-mood-patina .portfolio-work,
.studio-mood-patina .artist-statement {
  box-shadow: inset 0 1px rgba(189, 164, 139, 0.16);
  background: linear-gradient(to bottom, rgba(154, 122, 91, 0.060), transparent 37%);
}

.studio-mood-noir {
  --accent: #c8beb4;
}

.studio-mood-noir body {
  background:
    radial-gradient(ellipse 58% 63% at 50% 44%, rgba(26, 30, 31, 0.22), rgba(0, 0, 0, 0.38)),
    var(--background);
  background-attachment: fixed;
}

.studio-mood-noir .portfolio-work,
.studio-mood-noir .artist-statement,
.studio-mood-noir .contact-section {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.014), rgba(0, 0, 0, 0.25) 80%);
  box-shadow: inset 0 1px rgba(225, 213, 198, 0.12);
}

.studio-mood-oxblood { --accent: #b99190; }

.studio-mood-oxblood body {
  background:
    radial-gradient(ellipse 67% 73% at 5% 32%, rgba(89, 40, 49, 0.25), transparent 75%),
    radial-gradient(ellipse 75% 63% at 96% 81%, rgba(89, 40, 49, 0.21), transparent 75%),
    var(--background);
  background-attachment: fixed;
}

.studio-mood-oxblood .portfolio-work,
.studio-mood-oxblood .artist-statement {
  background: linear-gradient(to right, rgba(109, 55, 63, 0.045), transparent 55%, rgba(109, 55, 63, 0.045));
}

.studio-mood-moss { --accent: #a7ae98; }

.studio-mood-moss body {
  background:
    radial-gradient(ellipse 83% 65% at 49% -11%, rgba(78, 94, 70, 0.20), transparent 75%),
    radial-gradient(ellipse 75% 62% at 43% 116%, rgba(65, 83, 67, 0.15), transparent 83%),
    var(--background);
  background-attachment: fixed;
}

.studio-mood-moss .portfolio-work {
  background: linear-gradient(to bottom, rgba(103, 118, 98, 0.055), transparent 44%);
}

.studio-mood-ivory { --accent: #d1c5b7; }

.studio-mood-ivory body {
  background:
    radial-gradient(ellipse 75% 88% at 50% -9%, rgba(204, 193, 179, 0.095), transparent 78%),
    radial-gradient(ellipse 84% 66% at 50% 115%, rgba(119, 115, 111, 0.085), transparent 86%),
    var(--background);
  background-attachment: fixed;
}

.studio-mood-ivory .portfolio-work,
.studio-mood-ivory .artist-statement {
  box-shadow: inset 0 1px rgba(213, 201, 186, 0.21);
}

/* The photograph pixels are untouched; only the print presentation changes. */
.studio-gallery-hairline .photo-open {
  padding: 5px;
  border: 1px solid rgba(189, 164, 139, 0.49);
  background: #131617;
}

.studio-gallery-hairline .gallery-item figcaption { padding-top: 14px; }

.studio-gallery-matted .photo-open {
  padding: clamp(12px, 1.8vw, 25px);
  border: 1px solid rgba(189, 164, 139, 0.22);
  background: #1b1e1e;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
}

.studio-gallery-matted .gallery-item figcaption { padding: 15px 8px 0; }

.studio-gallery-plaque .photo-open { border: 1px solid rgba(189, 164, 139, 0.32); }
.studio-gallery-plaque .gallery-item figcaption {
  margin-top: 0;
  padding: 16px 14px;
  border: 1px solid rgba(189, 164, 139, 0.31);
  border-top: 0;
  background: rgba(189, 164, 139, 0.045);
}

.studio-gallery-plaque .photo-number { color: var(--accent); }

.studio-gallery-floating .photo-open {
  box-shadow: 0 15px 31px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(189, 164, 139, 0.14);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.studio-gallery-floating .photo-open:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 27px 49px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(189, 164, 139, 0.25);
}

.studio-gallery-floating .gallery-item figcaption {
  padding-top: 24px;
  border-bottom: 1px solid rgba(189, 164, 139, 0.20);
  padding-bottom: 13px;
}

/* Material, framing, and hanging experiments for the existing photographs. */
.studio-gallery-archival .photo-open {
  padding: clamp(18px, 2.35vw, 35px);
  border: 1px solid #d1c6b6;
  background: #bdb5a8;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .30);
}
.studio-gallery-archival .photo-open img { box-shadow: 0 0 0 1px #6b6a65; }
.studio-gallery-archival .gallery-item figcaption { padding: 18px 5px 0; }

.studio-gallery-silvermat .photo-open {
  padding: clamp(16px, 2.1vw, 30px);
  border: 4px solid #343b3e;
  background: #8a9497;
  box-shadow: 0 0 0 1px #7e898c, 0 17px 33px rgba(0, 0, 0, .35);
}
.studio-gallery-silvermat .photo-open img { box-shadow: 0 0 0 1px #3e4649; }
.studio-gallery-silvermat .gallery-item figcaption { padding: 18px 5px 0; }

.studio-gallery-shadowbox .photo-open {
  padding: clamp(13px, 2vw, 27px);
  border: 5px solid #080a0b;
  background: #171a1b;
  box-shadow: inset 0 0 0 1px #596166, inset 0 10px 23px #050607, 0 13px 35px rgba(0, 0, 0, .6);
}
.studio-gallery-shadowbox .photo-open img { box-shadow: 0 0 0 1px #030505, 0 5px 16px #050607; }
.studio-gallery-shadowbox .gallery-item figcaption { padding-top: 19px; }

.studio-gallery-bevel .photo-open {
  padding: 15px;
  border: 1px solid rgba(205, 197, 185, .65);
  background: #1c2021;
  box-shadow: inset 0 0 0 5px #101213, inset 0 0 0 6px rgba(205, 197, 185, .36), 0 10px 25px rgba(0, 0, 0, .25);
}
.studio-gallery-bevel .gallery-item figcaption { padding: 18px 4px 0; }

.studio-gallery-monograph .photo-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 790px;
  margin: 0 auto;
  row-gap: clamp(70px, 10vw, 150px);
}
.studio-gallery-monograph .gallery-item figcaption {
  padding: 22px 0 0;
  border-top: 1px solid rgba(189, 164, 139, .22);
  margin-top: 14px;
}
.studio-gallery-monograph .photo-number { font-size: .67rem; }
.studio-gallery-monograph .photo-title { font-size: clamp(1.24rem, 2vw, 1.68rem); }

@media (min-width: 721px) {
  .studio-gallery-salonhang .photo-grid { row-gap: clamp(90px, 10vw, 155px); padding-bottom: 65px; }
  .studio-gallery-salonhang .gallery-item:nth-child(even) { transform: translateY(95px); }
  .studio-gallery-salonhang .gallery-item:nth-child(odd) { padding-right: clamp(0px, 2.6vw, 33px); }
  .studio-gallery-salonhang .gallery-item:nth-child(even) { padding-left: clamp(0px, 2.6vw, 33px); }
}
.studio-gallery-salonhang .photo-open { box-shadow: 0 14px 35px rgba(0, 0, 0, .26); }
.studio-gallery-salonhang .gallery-item figcaption { border-top: 1px solid rgba(189, 164, 139, .23); margin-top: 12px; }

.studio-gallery-folioleaf .photo-grid { grid-template-columns: minmax(0, 1fr); row-gap: 60px; }
.studio-gallery-folioleaf .gallery-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(185px, .42fr);
  align-items: end;
  gap: clamp(24px, 4vw, 70px);
  border-bottom: 1px solid rgba(189, 164, 139, .22);
  padding-bottom: 45px;
}
.studio-gallery-folioleaf .gallery-item figcaption {
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  gap: 16px;
  padding-bottom: 22px;
}
.studio-gallery-folioleaf .photo-title { text-align: left; font-size: clamp(1.35rem, 2.2vw, 2.15rem); }
.studio-gallery-folioleaf .photo-number { color: var(--accent); }

.studio-gallery-inkplate .gallery-item {
  border: 1px solid rgba(179, 187, 185, .28);
  padding: clamp(9px, 1.4vw, 18px);
  background: #090c0d;
  box-shadow: 0 13px 25px rgba(0, 0, 0, .18);
}
.studio-gallery-inkplate .gallery-item figcaption {
  padding: 22px 13px 9px;
  border-top: 1px solid rgba(179, 187, 185, .19);
  margin-top: 14px;
}
.studio-gallery-inkplate .photo-number { color: #b7c0be; }

.style-studio { display: none; }

.studio-mode .style-studio {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: block;
  width: min(460px, calc(100vw - 36px));
  max-height: calc(100vh - 285px);
  overflow-y: auto;
  border: 1px solid rgba(189, 164, 139, 0.49);
  background: rgba(16, 18, 19, 0.975);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.49);
  backdrop-filter: blur(14px);
  scrollbar-color: #514c46 #141617;
  scrollbar-width: thin;
}

.studio-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(189, 164, 139, 0.20);
  background: rgba(16, 18, 19, 0.985);
}

.studio-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.studio-header h2 {
  margin: 0;
  color: #eee2d1;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.38rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.studio-toggle,
.studio-reset,
.studio-undo,
.studio-copy {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.studio-toggle:hover,
.studio-reset:hover,
.studio-undo:hover,
.studio-copy:hover { color: var(--text); }

.studio-undo:disabled { color: #666865; cursor: not-allowed; }

.studio-toggle span { margin-left: 5px; color: var(--accent); }
.studio-content { padding: 0 20px 18px; }

.studio-intro {
  margin: 15px 0 21px;
  color: #bdb1a2;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.04rem;
  line-height: 1.3;
}

.studio-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 20px;
  padding: 0 0 17px;
  border-bottom: 1px solid rgba(189, 164, 139, 0.20);
}

.studio-presets button {
  display: flex;
  min-width: 0;
  min-height: 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(189, 164, 139, 0.24);
  background: linear-gradient(150deg, rgba(189, 164, 139, 0.065), rgba(255, 255, 255, 0.008));
  color: #e5d9ca;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.studio-presets button span { font-family: "EB Garamond", Garamond, Georgia, serif; font-size: 1.08rem; font-style: italic; }
.studio-presets button small { color: #a6a4a0; font-size: 0.48rem; letter-spacing: 0.045em; }
.studio-presets button:hover,
.studio-presets button:focus-visible,
.studio-presets button[aria-pressed="true"] { border-color: var(--accent); background: rgba(189, 164, 139, 0.16); }
.studio-presets button[aria-pressed="true"] small { color: #e2d0bc; }

.studio-explore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}

.studio-explore > span {
  color: #b2aca4;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.02rem;
  font-style: italic;
}

.studio-explore button {
  border: 1px solid rgba(189, 164, 139, 0.49);
  padding: 7px 11px;
  background: rgba(189, 164, 139, 0.12);
  color: #e0d4c7;
  cursor: pointer;
  font-size: 0.60rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.studio-explore button:hover,
.studio-explore button:focus-visible { background: rgba(189, 164, 139, 0.20); }
.studio-explore button span { margin-left: 4px; color: var(--accent); font-size: 0.87rem; }

.studio-section { border-bottom: 1px solid rgba(189, 164, 139, 0.22); }
.studio-section summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  color: #e5d9ca;
  cursor: pointer;
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  list-style: none;
  text-transform: uppercase;
}

.studio-section summary::-webkit-details-marker { display: none; }
.studio-section summary span { margin-right: auto; }
.studio-section summary b { margin-right: 8px; color: var(--accent); font-size: 0.61rem; font-weight: 400; }
.studio-section summary small { color: #858784; font-size: 0.53rem; letter-spacing: 0.045em; text-transform: none; }
.studio-section summary::after { content: "+"; width: 13px; color: var(--accent); font-size: 1rem; font-weight: 300; text-align: right; }
.studio-section[open] summary::after { content: "−"; }
.studio-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 15px; }

.studio-options button {
  min-height: 34px;
  padding: 6px 3px;
  border: 1px solid rgba(189, 164, 139, 0.20);
  background: rgba(255, 255, 255, 0.02);
  color: #a9aaa9;
  cursor: pointer;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.63rem;
  letter-spacing: 0.035em;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.studio-options button:hover,
.studio-options button:focus-visible { color: var(--text); border-color: rgba(189, 164, 139, 0.56); }

.studio-options button[aria-pressed="true"] {
  border-color: rgba(189, 164, 139, 0.72);
  background: rgba(189, 164, 139, 0.15);
  color: #f0e6d8;
}

.studio-work-link {
  display: inline-flex;
  gap: 8px;
  margin: -2px 0 14px;
  color: #b6a18b;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  text-decoration-color: rgba(189, 164, 139, 0.35);
  text-underline-offset: 3px;
}

.studio-work-link:hover { color: var(--text); }
.studio-mood-moonstone .studio-work-link { color: #bdc6c3; }

.studio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 23px;
  padding-top: 15px;
  border-top: 1px solid rgba(189, 164, 139, 0.20);
}

.studio-copy { color: var(--accent); }
.studio-feedback { margin: 9px 0 0; color: #888b89; font-size: 0.56rem; line-height: 1.4; }

.style-studio.is-collapsed { width: auto; min-width: 245px; }
.style-studio.is-collapsed .studio-header { padding: 12px 15px; align-items: center; border-bottom: 0; }
.style-studio.is-collapsed .studio-kicker { display: none; }
.style-studio.is-collapsed .studio-header h2 { font-size: 1.14rem; }
.style-studio.is-collapsed .studio-content { display: none; }

@media (max-width: 860px) {
  .studio-nav-gallery .main-nav a:not(:first-child):not(.instagram-link)::before { display: none; }
  .studio-nav-vespers .main-nav a:nth-child(2)::before,
  .studio-nav-vespers .main-nav a:nth-child(3)::before {
    display: block;
    left: -9px;
    top: 50%;
    width: 3px;
    height: 3px;
    background: rgba(198, 207, 204, 0.72);
    transform: translateY(-50%) rotate(45deg);
  }
  .studio-nav-vespers .main-nav::before,
  .studio-nav-vespers .main-nav::after {
    display: block;
    width: clamp(11px, 2.5vw, 25px);
    opacity: 0.6;
  }
  .studio-nav-vespers .main-nav::before { left: 7px; }
  .studio-nav-vespers .main-nav::after { right: 7px; }
}

@media (max-width: 375px) {
  /* The separators stay; side flourishes yield to the narrower viewport. */
  .studio-nav-vespers .main-nav::before,
  .studio-nav-vespers .main-nav::after { display: none; }
  .studio-nav-vespers .main-nav a:nth-child(2)::before,
  .studio-nav-vespers .main-nav a:nth-child(3)::before { left: -17px; }
}

@media (max-width: 720px) {
  .studio-gallery-folioleaf .gallery-item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-bottom: 25px; }
  .studio-gallery-folioleaf .gallery-item figcaption { flex-direction: row; align-items: baseline; gap: 14px; padding: 12px 0 0; }
  .studio-gallery-folioleaf .photo-title { text-align: right; font-size: 1.2rem; }
  .studio-nav-nocturne .main-nav { min-height: 55px; }
  .studio-nav-nocturne .main-nav a:not(.instagram-link) { letter-spacing: 0.065em; }
  .studio-nav-script .main-nav { gap: clamp(9px, 3.1vw, 18px); }
  .studio-nav-script .main-nav a:not(.instagram-link) { font-size: 0.9rem; }
  .studio-nav-chapel .main-nav { min-height: 55px; }
  .studio-nav-chapel .main-nav a:not(.instagram-link) { font-size: 0.60rem; letter-spacing: 0.055em; }
  .studio-nav-salon .main-nav { min-height: 55px; gap: 2px; }
  .studio-nav-salon .main-nav a:not(.instagram-link) { padding: 6px 4px; font-size: 0.55rem; letter-spacing: 0.018em; }
  .studio-nav-salon .main-nav .instagram-link { margin-left: 4px; }
  .studio-nav-folio .main-nav { gap: 8px; }
  .studio-nav-folio .main-nav a:not(.instagram-link) { font-size: 0.58rem; letter-spacing: 0.045em; }
  .studio-nav-folio .main-nav a:not(.instagram-link)::before { margin-right: 3px; font-size: 0.52rem; }
  .studio-nav-vespers .main-nav { min-height: 55px; gap: clamp(9px, 3.1vw, 18px); }
  .studio-nav-vespers .main-nav a:not(.instagram-link) { font-size: 0.86rem; letter-spacing: 0.015em; }
  .studio-nav-portico .main-nav { min-height: 55px; gap: clamp(9px, 3.1vw, 18px); }
  .studio-nav-portico .main-nav a:not(.instagram-link) { font-size: 0.55rem; letter-spacing: 0.045em; padding: 6px 0; }
  .studio-mode .style-studio { right: 10px; bottom: 10px; width: calc(100vw - 20px); max-height: 67vh; }
  .style-studio.is-collapsed { width: auto; min-width: 230px; left: auto; }
  .studio-header { padding: 14px 17px 11px; }
  .studio-content { padding: 0 17px 15px; }
  .studio-intro { margin-top: 12px; margin-bottom: 16px; }
  .studio-presets { margin-bottom: 14px; padding-bottom: 14px; }
  .studio-presets button { min-height: 49px; }
  .studio-presets button span { font-size: 0.95rem; }
  .studio-section summary { min-height: 39px; }
}

/* Separate-page gallery concept. Existing Taibhse404 artwork and visual language are retained. */
.concept-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.concept-page > main { flex: 1 0 auto; }

.concept-page .site-footer { flex: 0 0 auto; }

.concept-page .main-nav a[aria-current="page"]:not(.instagram-link) {
  color: #f1e6d7;
}

.concept-page .main-nav a[aria-current="page"]:not(.instagram-link)::after {
  width: 22px;
}

/* A slow, opacity-only entrance for the homepage signature. */
.page-home .brand-logo {
  animation: home-signature-appear 3.5s ease-out 0.1s both;
}

.page-home .brand-flank {
  animation: home-inscription-appear 2.6s ease-out 2.3s both;
}

@keyframes home-signature-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes home-inscription-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .brand-logo,
  .page-home .brand-flank {
    animation: none;
  }
}

.hero-entry {
  display: block;
  position: relative;
  color: var(--text);
  text-decoration: none;
}

.hero-entry img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-entry-label {
  position: absolute;
  right: clamp(26px, 5vw, 78px);
  bottom: clamp(75px, 8vw, 125px);
  display: inline-block;
  padding: 14px 0 13px;
  border-bottom: 1px solid rgba(235, 224, 208, 0.75);
  background: linear-gradient(90deg, transparent, rgba(5, 8, 9, 0.27));
  color: #f1e6d7;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.18rem, 1.7vw, 1.65rem);
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  transition: border-color 180ms ease;
}

.hero-entry:hover .hero-entry-label,
.hero-entry:focus-visible .hero-entry-label {
  border-color: #f3e8d9;
}

.hero-entry:focus-visible { outline-offset: -8px; }

.concept-work {
  padding-top: clamp(100px, 10vw, 150px);
}

.concept-work .work-heading h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 6vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 1.05;
}

.concept-work .work-heading h1 em { color: var(--soft); font-weight: 400; }

.gallery-inquiry {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(78px, 9vw, 145px);
  padding-top: 32px;
  border-top: 1px solid rgba(189, 164, 139, 0.23);
}

.gallery-inquiry p {
  margin: 0;
  color: #d6cbbd;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  font-style: italic;
  line-height: 1.25;
}

.gallery-inquiry a {
  flex-shrink: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(189, 164, 139, 0.64);
  color: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.gallery-inquiry a:hover,
.gallery-inquiry a:focus-visible { border-color: #f3e8d9; color: #f3e8d9; }

.type-marcellus .concept-work .work-heading h1 {
  font-family: Marcellus, Georgia, serif;
  font-size: clamp(2.55rem, 4.3vw, 4.75rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.13;
}

.type-soft .concept-work .work-heading h1 em {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-style: italic;
  letter-spacing: -0.038em;
  color: #c8c0b6;
}

.concept-about { padding-top: clamp(110px, 12vw, 175px); }

.about-closing {
  margin-top: clamp(65px, 7vw, 100px);
  padding-top: 34px;
  border-top: 1px solid rgba(189, 164, 139, 0.26);
}

.about-closing p { margin-bottom: 34px; }

.about-closing-photo { margin: 0; }

.about-closing-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(189, 164, 139, 0.18);
}

.about-closing-photo figcaption {
  margin-top: 13px;
  color: #b7aa9d;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 0.98rem;
  font-style: italic;
  text-align: right;
}
.concept-contact {
  padding-top: clamp(115px, 12vw, 180px);
  border-top: 0;
}

.concept-contact .contact-heading h1 {
  margin: 0;
  font-family: Marcellus, Georgia, serif;
  font-size: clamp(2.3rem, 3.95vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.13;
}

.concept-contact .contact-heading h1 em {
  color: #c8c0b6;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.038em;
}

@media (max-width: 720px) {
  .concept-page .main-nav { min-height: 56px; padding-top: 6px; padding-bottom: 6px; }
  .concept-page .main-nav a:not(.instagram-link) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 3px;
  }
  .concept-page .main-nav .instagram-link { min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
  .concept-page .site-footer { color: #a0a29e; font-size: 0.61rem; letter-spacing: 0.12em; }

  /* A phone needs a portrait-sized entrance; keep the original photograph and
     its desktop framing untouched, but crop it around the subject on mobile. */
  .page-home .hero-entry {
    height: clamp(370px, calc(100svh - 245px), 690px);
    overflow: hidden;
  }

  .page-home .hero-entry img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 49% center;
  }

  .page-home .hero-entry::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 58%, rgba(6, 9, 10, 0.4) 86%, rgba(6, 9, 10, 0.63));
    pointer-events: none;
  }

  .page-home .hero-entry-label {
    z-index: 1;
    right: 25px;
    bottom: 38px;
    padding: 11px 0;
    background: none;
    font-size: 1.55rem;
  }

  .concept-work { padding-top: 84px; }
  .concept-work .work-heading h1 { font-size: clamp(2.9rem, 11vw, 5rem); }
  .type-marcellus .concept-work .work-heading h1 { font-size: clamp(2.35rem, 9vw, 4.1rem); }
  .gallery-inquiry { flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 76px; padding-top: 26px; }
  .gallery-inquiry p { font-size: 1.5rem; }
  .concept-about { padding-top: 96px; }
  .concept-contact { padding-top: 105px; }
  .concept-contact .contact-heading h1 { font-size: clamp(2.2rem, 8.25vw, 3.75rem); }
}

/* Small mechanical tally tucked into the homepage footer. */
.visitor-clock[hidden] { display: none; }
.home-site-footer { justify-content: space-between; align-items: center; }
.visitor-clock { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.visitor-clock-title {
  color: #96948d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.58rem;
  font-weight: normal;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}
.visitor-clock-dials {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: #111617;
  border: 1px solid #45473f;
  border-radius: 2px;
}
.visitor-clock-digit {
  position: relative;
  display: grid;
  place-items: center;
  width: 17px;
  height: 25px;
  overflow: hidden;
  color: #bfb3a1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(#242927 0%, #202625 49%, #151b1a 50%, #1b2120 100%);
  border: 1px solid #353c38;
}
.visitor-clock-digit::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline: 0;
  border-top: 1px solid rgba(171, 159, 139, 0.22);
}
.visitor-clock.is-ready .visitor-clock-digit {
  animation: visitor-clock-settle 650ms ease-out both;
  animation-delay: calc(var(--dial-index, 0) * 75ms);
}
@keyframes visitor-clock-settle {
  from { opacity: 0.4; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .home-site-footer { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .visitor-clock.is-ready .visitor-clock-digit { animation: none; }
}
