.hasitha-profile { margin: 0; background: #130a0b; color: #f8f1e7; }
.hasitha-profile main { display: block; }
.hasitha-profile h1, .hasitha-profile main h2 { font-family: "Bodoni 72", "Didot", "Times New Roman", serif; font-weight: 400; }
.hasitha-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px; background: #150d10; }
.hasitha-strip a { display: block; overflow: hidden; }
.hasitha-strip img { display: block; width: 100%; height: auto; transition: transform 250ms ease; }
.hasitha-strip a:hover img { transform: scale(1.025); transform-origin: center 25%; }
.hasitha-strip a:focus-visible { outline: 3px solid #fff2df; outline-offset: -4px; }
.look { scroll-margin-top: 16px; padding: clamp(40px,8vw,126px) clamp(16px,6vw,108px); }
.look-crown { background: #2f121a; }
.look-teal { background: #09282c; }
.look-bronze { background: #362119; }
.look-inner { max-width: 1392px; margin: auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); align-items: center; gap: clamp(25px,6vw,115px); }
.look-teal .look-main { order: 2; }
.look figure { margin: 0; }
.look img { display: block; width: 100%; height: auto; }
.look-main { box-shadow: 0 20px 55px #0004; }
.look h2, .hasitha-facts h2 { margin: 0 0 .25em; font-size: clamp(44px,6.4vw,108px); letter-spacing: -.055em; line-height: .94; }
.swatches { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; list-style: none; padding: 0; margin: 24px 0; color: #2d2521; }
.swatches li { background: #f7efe5; padding: 5px 6px 8px; font-size: clamp(11px,1vw,14px); }
.swatches span { display: block; min-height: 28px; height: 4vw; margin-bottom: 5px; background: var(--swatch); }
.swatches small { display: block; color: #544944; }
.hasitha-facts { background: #f2e9df; color: #271a19; padding: clamp(40px,8vw,100px) clamp(16px,6vw,108px); }
.facts-inner { max-width: 1392px; margin: auto; }
.facts-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin-top: 35px; }
.fact-group { border-top: 1px solid #a89289; padding-top: 12px; }
.fact-group h3 { margin: 0 0 12px; font-size: 18px; }
.fact-group dl { margin: 0; }
.fact-group dl div { display: grid; grid-template-columns: minmax(75px,1fr) minmax(0,1.5fr); gap: 10px; padding: 5px 0; font-size: 14px; }
.fact-group dt { color: #65524c; }
.fact-group dd { margin: 0; }
@media (max-width: 700px) {
  .look-inner, .facts-grid { grid-template-columns: minmax(0,1fr); }
  .look-teal .look-main { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hasitha-strip img { transition: none; }
}

.hasitha-credit { padding: clamp(38px,6vw,84px) 6vw; background: #fff; color: #261b19; text-align: center; }
.hasitha-credit p { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hasitha-credit h2 { margin: 0; font-size: clamp(36px,5vw,70px); line-height: 1; }
.credit-inner { display: flex; align-items: center; justify-content: center; gap: clamp(15px,5vw,75px); max-width: 780px; margin: auto; text-align: left; }
.credit-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 17px; }
.credit-logo { display: block; position: relative; width: clamp(94px,15vw,160px); aspect-ratio: 2.3; overflow: hidden; }
.credit-logo img { position: absolute; width: 139%; max-width: none; height: auto; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.credit-signature { width: clamp(73px,11vw,128px); height: auto; }
.look-gallery { max-width: 1392px; margin: clamp(34px,6vw,80px) auto 0; }
.look-gallery h3 { margin: 0 0 18px; padding-top: 12px; border-top: 1px solid #f8f1e767; font: 400 clamp(24px,3vw,44px)/1.1 "Bodoni 72", "Didot", Georgia, serif; }
.look-gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; gap: clamp(6px,1.1vw,18px); }
.look-gallery-grid a { display: block; overflow: hidden; background: #170d10; }
.look-gallery-grid a:first-child { grid-area: span 2 / span 2; }
.look-gallery-grid img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.look-gallery-grid a:hover img { transform: scale(1.045); }
.look-gallery-grid a:focus-visible { outline: 2px solid #fff3e6; outline-offset: 3px; }
@media (max-width: 700px) {
  .look-gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.credit-photo { flex: none; text-align: center; }
.credit-photo-card { position: relative; width: clamp(105px,26vw,195px); margin: 6px 0; padding: clamp(5px,1vw,9px); background: #fff; border: 1px solid #e1ddd8; box-shadow: 1px 8px 17px #261b1924; transform: rotate(-5deg); }
.credit-portrait { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/5; object-position: center 18%; }
.credit-copy .credit-role { margin: .65em 0 0; max-width: 35ch; color: #5a4b4d; text-transform: none; letter-spacing: 0; line-height: 1.45; }
.hasitha-viewer { position: fixed; inset: 0; box-sizing: border-box; margin: auto; border: 0; padding: 48px clamp(42px,8vw,100px); background: transparent; color: white; overflow: visible; }
.hasitha-viewer::backdrop { background: #0d0709f2; }
.hasitha-viewer img { display: block; max-width: min(72vw,1000px); max-height: 82vh; object-fit: contain; }
.hasitha-viewer button { position: absolute; display: grid; place-content: center; width: 42px; height: 42px; border: 1px solid #fff6; border-radius: 50%; background: #22151b; color: #fff; font: 28px/1 system-ui,sans-serif; cursor: pointer; }
.viewer-close { top: 0; right: 0; }
.viewer-prev { top: calc(50% - 21px); left: 0; }
.viewer-next { top: calc(50% - 21px); right: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hasitha-viewer[open], .hasitha-viewer[open] img { animation: photo-arrival .28s ease both; }
  @keyframes photo-arrival { from { opacity: 0; transform: translateY(7px) scale(.98); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .look-gallery-grid img { transition: none; }
}
.credit-link { display: inline-block; margin-top: .65rem; color: #63334b; font-size: .875rem; text-underline-offset: .24em; }

@media (max-width: 700px) {
  .spread-teal .look-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .spread-teal .look-gallery-grid a:first-child { grid-area: auto / span 2; }
}


.portfolio-index {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  padding: .9rem clamp(16px,5vw,84px);
  background: #fbf8f3;
  color: #251d18;
}
.portfolio-index div { display: flex; flex-wrap: wrap; gap: .4rem clamp(.8rem,3vw,2.5rem); }
.portfolio-index a { color: inherit; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.portfolio-index a:hover, .portfolio-index a:focus-visible { text-decoration: underline; text-underline-offset: .3em; }
.hasitha-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(540px,66vw,850px);
  padding: clamp(22px,6vw,100px) clamp(24px,8vw,136px) clamp(22px,6vw,100px) clamp(30px,15vw,290px);
  overflow: hidden;
  background: #100b09;
  color: #fff7e8;
}
.hasitha-hero-copy { position: relative; z-index: 1; max-width: 66%; }
.hasitha-hero-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem,6vw,6.8rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-shadow: 0 2px 28px #100b09b0;
}
.hasitha-hero-copy h1 span { display: block; margin-top: .18em; font-size: .65em; letter-spacing: -.015em; }
.cover-credit { margin: 0 0 clamp(12px,1.8vw,25px); color: #f0cfaa; font-size: clamp(.67rem,1.05vw,.85rem); letter-spacing: .2em; text-transform: uppercase; }
.cover-line { margin: clamp(14px,2vw,27px) 0 0; color: #f4e2cd; font: 400 clamp(.875rem,1.35vw,1.18rem)/1.35 system-ui,sans-serif; }
.hasitha-hero-portrait { position: absolute; z-index: -1; inset: 0 0 0 auto; width: min(72%,1250px); }
.hasitha-hero-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right 42%; }
.hasitha-hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#100b09 0%,#100b09aa 16%,transparent 52%); pointer-events: none; }
.hasitha-selection { padding: clamp(36px,7vw,110px) clamp(16px,6vw,100px); background: #fbf8f3; color: #261c18; }
.hasitha-selection .look-gallery { margin: 0 auto; }
.hasitha-selection h2 { margin: 0 0 clamp(18px,3vw,40px); padding-top: .22em; border-top: 1px solid #53443b; font-size: clamp(3rem,9vw,8.5rem); font-weight: 400; line-height: .95; letter-spacing: -.07em; }
.hasitha-selection .look-gallery-grid { grid-template-columns: repeat(4,minmax(0,1fr)); align-items: stretch; gap: clamp(6px,1.4vw,24px); }
.hasitha-selection .look-gallery-grid a { position: relative; aspect-ratio: 2/3; }
.hasitha-selection .look-gallery-grid a:first-child { aspect-ratio: auto; min-height: 0; }
.hasitha-selection .look-gallery-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hasitha-selection .look-gallery-grid a:first-child img { object-fit: contain; }
.selection-gold { background: #ede0ce; }
.selection-gold h2 { text-align: right; }
.selection-gold .look-gallery-grid a:first-child { grid-area: 1 / 3 / span 2 / span 2; }
.selection-gold .look-gallery-grid a:first-child img { object-fit: cover; object-position: center 38%; }
.hasitha-selection .look-gallery-grid a:focus-visible { outline-color: #6d3625; }

@media (max-width: 700px) {
  .portfolio-index { padding-block: .7rem; }
  .portfolio-index a { font-size: .65rem; letter-spacing: .045em; }
  .hasitha-hero { min-height: 0; padding: 0; }
  .hasitha-hero-copy { position: relative; max-width: none; padding: clamp(22px,6vw,38px) 10px 10px; text-align: center; }
  .hasitha-hero-copy h1 { font-size: clamp(1.2rem,6.5vw,2.8rem); line-height: 1.15; letter-spacing: -.018em; }
  .hasitha-hero-copy h1 span { display: inline; margin: 0; font-size: inherit; letter-spacing: inherit; }
  .cover-credit { margin-bottom: .55rem; letter-spacing: .15em; }
  .cover-line { margin-top: .48rem; }
  .hasitha-hero-portrait { position: relative; inset: auto; width: 100%; aspect-ratio: 1 / 1.12; }
  .hasitha-hero-portrait img { height: 100%; object-position: center 83%; }
  .hasitha-hero-portrait::after { background: linear-gradient(#100b09 0%,transparent 7%); }
  .hasitha-selection .look-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hasitha-selection .look-gallery-grid a { min-width: 0; aspect-ratio: auto; }
  .hasitha-selection .look-gallery-grid a:first-child { grid-area: 1 / 1 / auto / span 2; aspect-ratio: auto; }
  .hasitha-selection .look-gallery-grid img,
  .hasitha-selection .look-gallery-grid a:first-child img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
  .hasitha-selection .look-gallery-grid a:first-child img { max-height: 72svh; object-fit: contain; }
  .selection-gold .look-gallery-grid a:first-child img { max-height: none; object-fit: cover; }
}

.look-crown { background: #f1e4db; color: #321c18; }
.look-teal { background: #e5ece8; color: #142b2c; }
.look-bronze { background: #eaded3; color: #38251e; }
.look-gallery h3 { border-color: currentColor; }
.hasitha-strip { background: #fbf8f3; gap: 4px; }

.hasitha-credit .ilahe-links { display: flex; flex-wrap: wrap; gap: .35rem .85rem; margin-top: .65rem; }
.hasitha-credit .ilahe-links a { display: inline-flex; align-items: center; gap: .35rem; min-height: 28px; color: #743950; font-size: .875rem; text-underline-offset: .22em; }
