@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');
/* 01. Brand පාට සහ මූලික layout සැකසුම් */
:root {
  --cream: #ffffff;
  --ink: #111111;
  --gold: #d6ac59;
  --muted: #626262;
  --line: #e5e5e5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.75 'DM Sans', sans-serif;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #b58139;
  outline-offset: 5px;
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.page-section {
  padding-block: 90px;
}
h1, h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -2px;
}
h1 {
  font-size: clamp(46px, 5.4vw, 80px);
}
h2 {
  font-size: clamp(34px, 3.6vw, 51px);
}
h1 em, h2 em {
  color: #a2793f;
  font-weight: 500;
}
h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
p {
  margin: 0 0 20px;
}
.eyebrow {
  margin-bottom: 21px;
  color: #98723c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.4px;
}
.small-note {
  font-size: 12px;
  color: var(--muted);
}
.glass {
  background: #ffffffd9;
  border: 1px solid #e7e7e7;
  box-shadow: 0 12px 35px #382c1709;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 12px;
}
/* 02. පැහැදිලි header එක. ප්‍රධාන links පහම භාවිතයට පහසු ලෙස පෙන්වයි. */
.site-header {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  padding: 27px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.wordmark {
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
}
.wordmark span {
  display: block;
  margin-top: 9px;
  font: 500 9px/1.5 'DM Sans', sans-serif;
  letter-spacing: 2.3px;
  color: #8b7354;
}
.top-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-nav a {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 7px;
  transition: background-color 180ms, color 180ms;
}
.top-nav a:hover {
  background: #ede1cf;
}
.top-nav a[aria-current] {
  color: #94703b;
  background: #eee4d5;
}
.top-nav a:last-child {
  background: var(--ink);
  color: var(--cream);
  margin-left: 9px;
  padding-inline: 23px;
}
/* 03. විශාල hero කොටස: dark brown පසුබිම සහ gold accents */
#home {
  width: min(1440px, calc(100% - 32px));
  padding: 0;
  margin: 0 auto 16px;
  background: radial-gradient(ellipse at 85% 15%, #b78a2733, transparent 55%), #080808;
  color: #ffffff;
  border-radius: 25px;
  overflow: hidden;
}
.hero {
  display: grid;
  grid-template-columns: 1.22fr 0.85fr;
  gap: 70px;
  align-items: center;
  padding: 85px max(40px, calc((100% - 1200px) / 2));
  min-height: 690px;
}
.hero-copy {
  max-width: 660px;
}
.hero .eyebrow {
  color: #e4bd7e;
  font-size: 11px;
}
.tiny-star {
  font-size: 18px;
  margin-right: 7px;
}
.hero h1 em {
  color: var(--gold);
}
.hero .lead {
  max-width: 500px;
  color: #d0d0d0;
  font-size: 16px;
  margin: 28px 0 31px;
}
.hero .small-note {
  color: #c2b29d;
  margin: 23px 0 0;
  font-size: 12px;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 14px 23px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  transition: transform 200ms, background-color 200ms, box-shadow 200ms;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #261a1a15;
}
.hero .button {
  background: var(--gold);
  border-color: var(--gold);
  color: #111111;
}
.hero .button:hover {
  background: #f2d39f;
}
.text-link {
  display: inline-block;
  width: fit-content;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.text-link:hover {
  color: #a67939;
}
.hero .text-link {
  color: #ffffff;
}
.hero-visual {
  width: 100%;
  max-width: 405px;
  justify-self: center;
  padding: 29px;
  background: #ffffff;
  border: 1px solid #ddbe89;
  border-radius: 180px 180px 16px 16px;
  color: #382b1c;
  transform: rotate(3deg);
  box-shadow: 19px 22px 0 #ffffff05, 0 30px 60px #00000020;
  animation: brand-float 8s ease-in-out infinite;
}
.visual-heading {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 32px;
  font-size: 9px;
  letter-spacing: 1.9px;
}
.hero-visual img {
  width: 100%;
  mix-blend-mode: multiply;
  border-radius: 45%;
}
.visual-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 21px;
  border-top: 1px solid #dac8a9;
  font-size: 13px;
}
.round-label {
  display: grid;
  place-content: center;
  flex-shrink: 0;
  width: 65px;
  height: 65px;
  border: 1px solid #b98a44;
  border-radius: 50%;
  line-height: 1.3;
  font-size: 12px;
  text-align: center;
}
@keyframes brand-float {
  0%, 100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-7px) rotate(2deg);
  }
}
/* 04. Services: විස්තර නොවෙනස්ව, සරල cards තුනක් */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 44px;
}
.section-heading > p {
  max-width: 365px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 15px;
}
.service-grid, .work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 35px 29px;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: none;
  transition: box-shadow 250ms, border-color 250ms;
}
.service-card:hover {
  border-color: #caa56e;
  box-shadow: 0 15px 35px #4b391010;
}
.card-number {
  color: #937044;
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 35px;
}
.service-card p {
  font-size: 15px;
  color: var(--muted);
}
.service-card ul {
  padding: 0;
  margin: 5px 0 31px;
  list-style: none;
  font-size: 14px;
}
.service-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.service-card li::before {
  content: '+';
  color: #9d773d;
  margin-right: 10px;
}
.service-card .text-link {
  margin-top: auto;
}
.process-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 27px 0;
  margin-top: 25px;
  border-bottom: 1px solid var(--line);
}
.process-line > span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.process-line p {
  margin: 0;
  font-size: 15px;
}
.process-line b {
  font-weight: 400;
  padding-inline: 15px;
  color: #a88550;
}
/* 05. Our Work: දැනටමත් ඇති demo cards වල විස්තර වෙනස් නොවේ. */
#work {
  padding-top: 30px;
}
.work-card {
  padding: 10px;
  border-radius: 15px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 250ms;
}
.work-card:hover {
  border-color: #bfa170;
}
.work-art {
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border-radius: 8px;
}
.work-art > span:first-child {
  font-size: 10px;
  letter-spacing: 2px;
}
.work-art p {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -1px;
}
.art-one,
.art-two,
.art-three {
  background: #13243b;
  color: #ffffff;
}
.project-state {
  display: block;
  width: fit-content;
  border: 1px solid currentColor;
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 11px;
}
.work-copy {
  padding: 23px 14px 18px;
}
.work-copy h3 {
  font-size: 19px;
}
.work-copy p {
  color: var(--muted);
  font-size: 14px;
}
.tag {
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11px;
  background: #e8dbbf66;
}
/* 06. About: හැඳින්වීම සහ සම්බන්ධතා විස්තර */
#about {
  padding-top: 20px;
}
.about-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 65px;
  padding: 57px;
  background: #ffffff;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
}
.about-intro h2 {
  margin-bottom: 26px;
}
.about-intro > p:not(.eyebrow) {
  color: #6b6051;
}
.value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}
.value-tags span {
  border: 1px solid #dedede;
  border-radius: 99px;
  padding: 6px 10px;
  font-size: 11px;
}
.about-details {
  border-left: 1px solid #dedede;
  padding-left: 38px;
}
.about-symbol {
  display: block;
  font-size: 70px;
  line-height: 1;
  color: #a88045;
  margin-bottom: 26px;
}
.about-details h3 {
  font-family: Georgia, serif;
  font-size: 28px;
}
.about-details h3 small {
  display: block;
  font: 13px/1.5 'DM Sans', sans-serif;
  margin-top: 7px;
}
dl {
  margin: 28px 0 0;
}
dl div {
  border-top: 1px solid #dedede;
  padding: 14px 0;
}
dt {
  font-size: 12px;
  color: #756551;
  margin-bottom: 5px;
}
dd {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}
dd a:hover {
  text-decoration: underline;
}
/* 07. Contact: පවතින WhatsApp සහ email form එක */
#contact {
  padding-top: 15px;
}
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 57px;
  color: var(--cream);
  background: #080808;
  border-radius: 20px;
}
.contact-copy .eyebrow {
  color: #d1aa70;
}
.contact-copy h2 {
  font-size: clamp(36px, 4vw, 57px);
}
.contact-copy h2 em {
  color: var(--gold);
}
.contact-copy > p:not(.eyebrow) {
  color: #c8c8c8;
  margin-top: 27px;
}
.contact-email, .contact-phone {
  display: block;
  width: fit-content;
  margin-block: 14px;
  overflow-wrap: anywhere;
}
.contact-email {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.contact-note {
  font-size: 12px;
}
.contact-form {
  padding: 28px;
  background: #ffffff07;
  border: 1px solid #ffffff20;
  border-radius: 13px;
}
.contact-form h3 {
  font-size: 21px;
}
label {
  display: block;
  font-size: 13px;
  margin: 18px 0 8px;
}
input, select, textarea {
  display: block;
  width: 100%;
  color: #ffffff;
  background: #ffffff07;
  border: 1px solid #8f7e64;
  border-radius: 7px;
  padding: 12px 13px;
  font-size: 16px;
}
input::placeholder, textarea::placeholder {
  color: #c7bba9;
}
select option {
  background: #111111;
  color: #ffffff;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
.form-actions {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}
.button-gold {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.button-gold:hover {
  background: #f3d49f;
}
.button-outline {
  background: transparent;
  border-color: #89765a;
}
.button-outline:hover {
  background: #ffffff0a;
}
.form-note, #form-status {
  color: #cec0ad;
  font-size: 12px;
  line-height: 1.6;
  margin: 16px 0 0;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 0 38px;
}
footer .wordmark {
  font-size: 25px;
}
footer p, footer small {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
/* 08. වම් bar එක වෙනුවට scroll කිරීමේදී උඩින් පාවෙන navigation එක */
.side-nav {
  position: fixed;
  top: 14px;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 6px;
  border-radius: 99px;
  background: #fffffff2;
  box-shadow: 0 12px 34px #11111122;
  animation: nav-in 300ms ease both;
}
.side-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 99px;
  text-align: center;
  transition: *background* 180ms;
}
.side-nav a:hover {
  background: #eddfc8;
}
.side-nav a[aria-current] {
  background: var(--ink);
  color: var(--cream);
}
.side-nav .rail-label {
  position: static;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}
@keyframes nav-in {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
/* 09. Scroll reveal: animation අවශ්‍ය කොටස් පමණක් සැඟවී පසුව පෙන්වයි */
.reveal-pending {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-pending[data-direction='left'] {
  transform: translateX(-25px);
}
.reveal-pending[data-direction='right'] {
  transform: translateX(25px);
}
.reveal-pending[data-delay='1'] {
  transition-delay: 120ms;
}
.reveal-pending[data-delay='2'] {
  transition-delay: 240ms;
}
.reveal-pending.is-visible,
.reveal-pending:focus-within {
  opacity: 1;
  transform: none;
}
/* 10. කෙටි loading animation එක; JS නොතිබුණත් අවසන් වේ */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  justify-items: center;
  background: var(--cream);
  pointer-events: none;
  animation: loader-exit 350ms ease 650ms forwards;
}
.loader-mark {
  font: italic 70px/1.3 Georgia, serif;
  color: #a47839;
}
.intro-loader p {
  font: italic 23px/1.5 Georgia, serif;
}
.loader-track {
  width: 120px;
  height: 2px;
  background: #dfd0b9;
  overflow: hidden;
}
.loader-track span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform-origin: left;
  animation: track-in 650ms ease both;
}
@keyframes track-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes loader-exit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* 11. Tablet ප්‍රමාණයේ layout */
@media (max-width: 1050px) {
  .site-header {
    justify-content: center;
  }
  .hero {
    gap: 40px;
    padding: 65px 45px;
    min-height: 610px;
  }
  .wrap {
    width: calc(100% - 64px);
  }
  .service-grid, .work-grid {
    gap: 17px;
  }
  .service-card {
    padding: 28px 23px;
  }
  .work-art {
    padding: 24px;
    min-height: 275px;
  }
  .work-art p {
    font-size: 32px;
  }
  .about-panel, .contact-panel {
    padding: 37px;
    gap: 36px;
  }
  .about-details {
    padding-left: 26px;
  }
}
/* 12. Mobile: navigation එක සරලව wrap කර විශාල touch targets තබා ගනී */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 135px;
  }
  .site-header {
    width: calc(100% - 24px);
    padding: 23px 0 19px;
    gap: 18px;
  }
  .wordmark {
    font-size: 27px;
    text-align: center;
  }
  .top-nav {
    justify-content: center;
    gap: 2px;
  }
  .top-nav a {
    padding: 9px 10px;
    font-size: 13px;
  }
  .top-nav a:last-child {
    margin-left: 0;
    padding-inline: 12px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .page-section {
    padding-block: 60px;
  }
  #home {
    width: calc(100% - 20px);
    border-radius: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 47px 25px 48px;
    gap: 50px;
    min-height: 0;
  }
  .hero-copy {
    max-width: 590px;
  }
  h1 {
    font-size: clamp(43px, 10vw, 63px);
    letter-spacing: -1.6px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .hero-visual {
    max-width: 330px;
    padding: 23px;
  }
  .actions {
    gap: 22px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 23px;
    max-width: none;
  }
  .service-grid, .work-grid, .about-panel, .contact-panel {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 30px 26px;
  }
  .work-art {
    min-height: 275px;
    padding: 30px;
  }
  .work-art p {
    font-size: 39px;
  }
  .about-panel, .contact-panel {
    padding: 32px 23px;
    gap: 36px;
  }
  .about-details {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid #dedede;
  }
  .contact-form {
    padding: 23px 17px;
  }
  .process-line b {
    padding-inline: 5px;
  }
  .process-line p {
    font-size: 14px;
  }
  .side-nav {
    top: 10px;
    border-radius: 19px;
    padding: 5px;
    gap: 1px;
  }
  .side-nav a {
    padding: 9px 10px;
    flex: 1 1 auto;
    border-radius: 12px;
  }
  .side-nav .rail-label {
    font-size: 13px;
  }
  footer {
    justify-content: center;
    text-align: center;
    padding-bottom: 32px;
  }
  footer p {
    width: 100%;
  }
}
/* 13. අඩු motion කැමැත්ත සහ print කිරීම සඳහා සැකසුම් */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .intro-loader {
    display: none;
  }
  .reveal-pending {
    opacity: 1;
    transform: none !important;
  }
}
@media print {
  .intro-loader, .side-nav {
    display: none !important;
  }
  .reveal-pending {
    opacity: 1;
    transform: none !important;
  }
}
/* 14. Pure white background සහ නැවත glass header පෙනුම */
body {
  background: #ffffff;
}
.site-header {
  width: min(1280px, calc(100% - 48px));
  padding: 20px 27px;
  margin: 18px auto;
  gap: 20px;
  border: 1px solid #e7e7e7;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 30px #00000008;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.top-nav {
  padding: 5px;
  border: 1px solid #e8e8e8;
  border-radius: 99px;
  background: #f5f5f5;
}
.top-nav a {
  border-radius: 99px;
}
.top-nav a[aria-current] {
  background: #111111;
  color: #ffffff;
}
.top-nav a:hover,
.top-nav a:focus-visible {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 2px 10px #00000010;
}
.hero-visual {
  background: #ffffff;
}
.about-panel {
  border: 1px solid #e5e5e5;
  box-shadow: 0 16px 50px #00000005;
}
/* 15. Reference එකේ ආකාරයට සේවා වාසි හතරක තීරුව */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  margin-top: 32px;
  border: 1px solid #ededed;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 50px #0000000c;
}
.highlight-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 16px;
  border: 1px solid #eee3cd;
  border-radius: 16px;
  background: #ffffff;
}
.highlight-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #111111;
  color: var(--gold);
}
.highlight-icon svg {
  width: 25px;
  height: 25px;
}
.highlight-card strong {
  display: block;
  color: #87651e;
  font-size: 17px;
  line-height: 1.3;
}
.highlight-card p {
  margin: 6px 0 0;
  color: #626262;
  font-size: 12px;
  line-height: 1.5;
}
/* 16. Logo එක සහිත smart floating menu */
.side-nav {
  flex-wrap: nowrap;
  gap: 8px;
  padding: 7px 10px 7px 7px;
  border: 1px solid #e4e4e4;
  background: #ffffffed;
}
.side-nav .floating-brand {
  flex: 0 0 44px;
  min-width: 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dbc28c;
  border-radius: 50%;
  background: #ffffff;
}
.floating-brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}
.floating-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.side-nav a:hover,
.side-nav a:focus-visible {
  background: #ffffff;
  color: #111111;
  box-shadow: inset 0 0 0 1px #d6ac59;
}
/* 17. සියලුම buttons සහ links සඳහා ගැළපෙන hover effect */
.button {
  transition: background-color 180ms ease, color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}
.button:hover,
.button:focus-visible {
  background: #ffffff;
  color: #111111;
  border-color: #d6ac59;
  box-shadow: 0 7px 22px #00000017;
  transform: translateY(-3px);
}
.hero .button:hover,
.hero .button:focus-visible {
  background: #ffffff;
  color: #111111;
}
.text-link {
  transition: color 180ms ease, text-underline-offset 180ms ease;
}
.text-link:hover {
  color: #a07825;
  text-underline-offset: 9px;
}
/* 18. Black footer එක */
.site-footer {
  display: block;
  width: 100%;
  padding: 62px 0 24px;
  background: #080808;
  color: #ffffff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 1fr;
  gap: 65px;
  align-items: start;
}
.footer-brand .wordmark {
  display: inline-block;
  color: #ffffff;
  font-size: 30px;
}
.footer-brand p {
  margin-top: 19px;
  color: #bcbcbc;
  font-size: 14px;
}
.site-footer h3 {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 16px;
}
.footer-links a,
.footer-contact > a:not(.button) {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #d1d1d1;
  font-size: 14px;
  overflow-wrap: anywhere;
  transition: color 180ms;
}
.footer-links a:hover,
.footer-contact > a:hover {
  color: var(--gold);
}
.footer-cta {
  margin-top: 17px;
  border-color: var(--gold);
  background: var(--gold);
  color: #111111;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #ffffff25;
}
.footer-bottom small,
.footer-bottom > span {
  color: #bcbcbc;
  font-size: 12px;
}
/* 19. දකුණු පහළ රවුම් quick-action buttons */
.quick-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.quick-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid #d6ac59;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 6px 20px #00000022;
  transition: background-color 180ms, color 180ms, transform 180ms;
}
.quick-button svg {
  width: 23px;
  height: 23px;
}
.whatsapp-button {
  width: 54px;
  height: 54px;
  margin-left: -3px;
  background: var(--gold);
  color: #111111;
}
.quick-button:hover,
.quick-button:focus-visible {
  background: #ffffff;
  color: #111111;
  transform: translateY(-3px);
}
.quick-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 11px;
  border-radius: 6px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.quick-button:hover .quick-tip,
.quick-button:focus-visible .quick-tip {
  opacity: 1;
  visibility: visible;
}
/* 20. මුලින් page එක load වන විට hero කොටස මෘදුව මතුවේ */
.hero {
  animation: home-enter 700ms ease 750ms both;
}
@keyframes home-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 21. Cards සහ footer responsive සැකසුම් */
@media (max-width: 1150px) {
  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 24px);
    margin: 12px auto;
    padding: 19px 12px;
  }
  .top-nav {
    border-radius: 15px;
  }
  .top-nav a {
    border-radius: 10px;
  }
  .highlights {
    padding: 14px;
    gap: 12px;
  }
  .highlight-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 14px;
  }
  .highlight-card strong {
    font-size: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .site-footer {
    text-align: left;
    padding-bottom: 40px;
  }
  .footer-brand .wordmark {
    text-align: left;
  }
  .footer-bottom {
    padding-right: 48px;
  }
  .quick-actions {
    right: 10px;
    bottom: 14px;
    gap: 9px;
  }
  .quick-button {
    width: 44px;
    height: 44px;
  }
  .whatsapp-button {
    width: 48px;
    height: 48px;
    margin-left: -2px;
  }
  .side-nav {
    gap: 5px;
    padding: 6px;
  }
  .side-nav a {
    padding: 8px 9px;
  }
  .floating-links {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }
}
@media print {
  .quick-actions {
    display: none;
  }
}
/* 22. අලුත් palette එක: සුදු, navy, cream සහ උණුසුම් orange. */
:root {
  --cream: #ffffff;
  --ink: #142031;
  --gold: #ff962f;
  --muted: #596579;
  --line: #e5e9ed;
  --accent: #f47b20;
}
body {
  background: #ffffff;
  cursor: default;
}
h1 em, h2 em {
  color: #c45b14;
}
.eyebrow, .card-number {
  color: #a84c12;
}
.site-header {
  width: min(1320px, calc(100% - 40px));
  margin-block: 16px;
}
.top-nav {
  background: #f6eddf;
  border-color: #eadbc3;
}
.top-nav a[aria-current], .side-nav a[aria-current] {
  background: var(--ink);
  color: #ffffff;
}
.top-nav a:hover, .top-nav a:focus-visible,
.side-nav a:hover, .side-nav a:focus-visible {
  background: #ffffff;
  color: var(--ink);
}
/* 23. Full-width hero: image එක පිටුපස, text එක ඉදිරියෙන්. */
#home {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  background: #0c1724;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  animation: studio-arrive 1.8s cubic-bezier(.2,.65,.3,1) both;
}
#home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #07111ee6 0%, #07111ea6 38%, #07111e12 75%),
    linear-gradient(0deg, #07111eaa, transparent 40%);
  pointer-events: none;
}
.hero {
  width: min(1320px, calc(100% - 96px));
  margin: auto;
  min-height: max(680px, calc(100svh - 122px));
  padding: 76px 0 55px;
  grid-template-columns: 1.25fr .75fr;
  gap: 48px;
}
.hero-copy {
  max-width: 690px;
}
.hero h1 {
  font-size: clamp(52px, 5.1vw, 78px);
  text-shadow: 0 3px 30px #00000026;
}
.hero h1 em, .hero .eyebrow {
  color: #ffb36d;
}
.hero .lead {
  color: #e2e6ed;
  max-width: 490px;
}
.hero .small-note {
  color: #c1cbd6;
}
.hero .button, .footer-cta {
  background: var(--accent);
  color: #101a29;
  border-color: var(--accent);
  font-weight: 700;
}
.hero .text-link {
  color: #ffffff;
}
.hero .text-link:hover {
  color: #ffb36d;
}
.hero-visual {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 380px;
  justify-self: end;
  align-self: end;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid #ffffff35;
  background: #132033a8;
  color: #ffffff;
  transform: none;
  box-shadow: 0 15px 35px #00000020;
  animation: home-enter 900ms ease 1s both;
}
.hero-visual img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 15px;
  mix-blend-mode: normal;
}
.hero-visual p {
  margin: 8px 0 0;
  line-height: 1.5;
  font-size: 15px;
}
.visual-heading {
  display: block;
  padding: 0;
  color: #d6dfeb;
  font-size: 8px;
  letter-spacing: 1.3px;
}
.studio-star {
  margin-left: auto;
  color: #ffb36d;
  font-size: 35px;
}
@keyframes studio-arrive {
  from { opacity: .25; transform: scale(1.055); }
  to { opacity: 1; transform: scale(1); }
}
/* 24. Logo සහ නම වම් පැත්තේ ඇති දිග floating navigation bar එක. */
.side-nav {
  width: min(1240px, calc(100% - 40px));
  max-width: none;
  padding: 9px 14px;
  justify-content: space-between;
  gap: 24px;
  border-radius: 22px;
  border-color: #e9dfd0;
  background: #fffffff0;
}
.side-nav .floating-brand {
  display: flex;
  flex: 0 0 auto;
  gap: 11px;
  padding: 0 8px 0 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
}
.floating-brand img {
  border-radius: 12px;
}
.floating-brand-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}
.floating-brand-name small {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 500;
}
.floating-links {
  flex-wrap: nowrap;
  padding: 4px;
  border: 1px solid #eadbc3;
  border-radius: 99px;
  background: #f6eddf;
}
/* 25. වාසි හතරේ cards: hover කළ විට ඉහළට මතුවීම. */
.highlights {
  border: 0;
  padding: 0;
  margin-top: 36px;
  gap: 16px;
  box-shadow: none;
}
.highlight-card {
  padding: 25px 20px;
  border: 1px solid #e7eaf0;
  border-radius: 18px;
  box-shadow: 0 8px 25px #172c4706;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.highlight-card:hover {
  transform: translateY(-7px);
  border-color: #ffbb80;
  box-shadow: 0 16px 32px #b96f1715;
}
.highlight-icon {
  color: #ae4e0c;
  background: #fff0e1;
  transition: *background* 200ms, color 200ms, transform 200ms;
}
.highlight-card:hover .highlight-icon {
  color: #ffffff;
  background: #142031;
  transform: rotate(-5deg);
}
.highlight-card strong {
  color: #142031;
  font-size: 16px;
}
.highlight-card p {
  color: #596579;
}
.service-card, .work-card {
  border-color: #e4e9ef;
  box-shadow: 0 10px 35px #14203106;
}
.service-card:hover, .work-card:hover {
  border-color: #f6be91;
}
.art-one {
  background: #13243b;
  color: #ffffff;
}
.art-two {
  background: #fff0df;
  color: #52351e;
}
.art-three {
  background: #e9edf5;
  color: #223752;
}
.about-panel {
  background: linear-gradient(120deg, #ffffff 40%, #fff5e9);
}
.contact-panel {
  background: #111c2d;
}
.contact-copy h2 em, .contact-copy .eyebrow {
  color: #ffb36d;
}
.button:hover, .button:focus-visible {
  border-color: #eea871;
}
/* 26. Smart කළු footer: invitation, contact icons, social buttons. */
.site-footer {
  padding: 62px 0 25px;
  background: #080d16;
  color: #ffffff;
}
.footer-invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 40px;
  margin-bottom: 44px;
  border-bottom: 1px solid #ffffff20;
}
.footer-invitation .eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #f6b67f;
}
.footer-invitation h2 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -1px;
}
.footer-invitation h2 em {
  color: #ffb36d;
}
.footer-invitation .button {
  flex-shrink: 0;
  margin: 0;
  gap: 32px;
}
.footer-grid {
  grid-template-columns: 1.15fr .6fr 1fr;
  gap: 55px;
}
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}
.footer-wordmark img {
  border-radius: 13px;
  width: 48px;
  height: 48px;
}
.footer-wordmark small {
  display: block;
  margin-top: 8px;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #b5c0cf;
}
.footer-brand p {
  color: #aeb9c9;
  font-size: 14px;
}
.site-footer h3 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}
.site-footer .social-heading {
  margin: 22px 0 13px;
  color: #d2d9e3;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff25;
  border-radius: 12px;
  background: #ffffff08;
  color: #e7edf7;
  transition: transform 180ms, *background* 180ms, color 180ms;
}
.social-button svg {
  width: 18px;
  height: 18px;
}
.social-button:hover, .social-button:focus-visible {
  transform: translateY(-3px);
  color: #111c2d;
  background: #ffae68;
}
.social-button[aria-disabled="true"] {
  opacity: .5;
  cursor: default;
}
.footer-links a {
  color: #aeb9c9;
  transition: color 180ms, transform 180ms;
}
.footer-links a:hover {
  color: #ffb36d;
  transform: translateX(4px);
}
.footer-contact > a.contact-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 18px;
  font-size: 14px;
  color: #e0e7f0;
}
.contact-row small {
  display: block;
  color: #95a3b7;
  font-size: 9px;
  letter-spacing: 1.3px;
  margin-bottom: 3px;
}
.footer-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #ffb36d;
  background: #ff962f12;
  border: 1px solid #ff962f20;
}
.footer-icon svg {
  width: 19px;
  height: 19px;
}
.footer-contact > a:hover {
  color: #ffb36d;
}
.footer-bottom {
  border-top-color: #ffffff18;
}
.footer-bottom small, .footer-bottom > span {
  color: #95a3b7;
}
/* 27. Orange Gmail සහ නිල green WhatsApp වර්ණ සහිත quick buttons. */
.quick-actions {
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
}
.quick-button {
  border-color: #ffffff60;
}
.email-button {
  background: #f47b20;
  color: #ffffff;
}
.email-button:hover, .email-button:focus-visible {
  background: #d9610c;
  color: #ffffff;
}
.whatsapp-button {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}
.whatsapp-button svg {
  width: 27px;
  height: 27px;
}
.whatsapp-button:hover, .whatsapp-button:focus-visible {
  background: #128c4c;
  color: #ffffff;
}
/* 28. සැහැල්ලු native cursor එක. Text select කිරීම නවත්වන්නේ නැත. */
@media (pointer: fine) {
  body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M3 2L22 16L13 17L9 25Z' fill='%23ff962f' stroke='%23142031' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, default;
  }
  a[href], button, summary, select {
    cursor: pointer;
  }
  input, textarea, [contenteditable="true"] {
    cursor: text;
  }
}
/* 29. Tablet හා mobile තිරවල navigation, hero සහ footer. */
@media (max-width: 1050px) {
  .side-nav {
    gap: 12px;
  }
  .side-nav a {
    padding-inline: 12px;
  }
  .floating-brand-name {
    font-size: 17px;
  }
  .hero {
    gap: 20px;
    grid-template-columns: 1.3fr .7fr;
  }
  .hero-visual {
    padding: 16px;
    gap: 12px;
  }
  .hero-visual img {
    width: 48px;
    height: 48px;
  }
  .studio-star {
    display: none;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 150px;
  }
  .side-nav {
    top: 8px;
    width: calc(100% - 20px);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
  }
  .side-nav .floating-brand {
    align-self: flex-start;
    min-height: 32px;
  }
  .floating-brand img {
    width: 32px;
    height: 32px;
  }
  .floating-brand-name small {
    font-size: 7px;
    margin-top: 3px;
  }
  .floating-links {
    justify-content: space-between;
  }
  .side-nav .floating-links a {
    flex: 1 1 auto;
    min-height: 40px;
    padding: 8px 6px;
    border-radius: 99px;
  }
  .side-nav .rail-label {
    font-size: 11px;
    white-space: nowrap;
  }
  .hero {
    width: calc(100% - 48px);
    min-height: calc(100svh - 100px);
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 60px 0 35px;
  }
  #home::before {
    background: linear-gradient(90deg, #07111eed, #07111e91),
      linear-gradient(0deg, #07111eb0, transparent);
  }
  .hero h1 {
    font-size: clamp(45px, 8.5vw, 68px);
  }
  .hero-visual {
    justify-self: start;
    max-width: 310px;
  }
  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .highlight-card {
    padding: 19px 15px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-invitation {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-contact {
    min-width: 0;
  }
}
@media (max-width: 520px) {
  .site-header {
    width: calc(100% - 24px);
    margin: 12px auto;
  }
  .hero .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }
  .hero .eyebrow {
    letter-spacing: 1.2px;
    font-size: 9px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
  }
  .footer-links h3 {
    flex-basis: 100%;
    margin-bottom: 8px;
  }
  .footer-bottom {
    padding-right: 48px;
  }
  .quick-actions {
    right: 12px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-background, .hero-visual {
    animation: none;
  }
}
/* 30. මුල් screen එක පුරා hero image එක සහ ඒ මත header එක. */
.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header .wordmark {
  color: #ffffff;
}
.site-header .wordmark span {
  color: #f6c497;
}
.site-header .top-nav {
  background: #f6eddf;
  border-color: #eadbc3;
  box-shadow: 0 6px 24px #00000012;
}
#home .hero {
  min-height: 100svh;
  padding-top: 170px;
  padding-bottom: 64px;
}
#home .hero-background {
  object-position: center;
}
#home::before {
  background: linear-gradient(90deg, #07111ee6 0%, #07111e9c 40%, #07111e12 80%),
    linear-gradient(180deg, #07111e70 0%, transparent 30%, #07111e88 100%);
}
/* කුඩා screen එකේ header එකට ඉඩ තබා heading එක පහළින් පෙන්වයි. */
@media (max-width: 1050px) {
  #home .hero {
    padding-top: 205px;
  }
}
@media (max-width: 800px) {
  .site-header {
    width: calc(100% - 48px);
    padding: 22px 0;
  }
  #home .hero {
    min-height: 100svh;
    padding-top: 215px;
    padding-bottom: 36px;
    gap: 40px;
  }
  #home .hero-background {
    object-position: 62% center;
  }
  #home::before {
    background: linear-gradient(90deg, #07111ee6, #07111e80),
      linear-gradient(180deg, #07111e55, transparent 35%, #07111e99);
  }
}
@media (max-width: 520px) {
  .site-header {
    width: calc(100% - 32px);
    padding: 20px 0;
  }
  #home .hero {
    padding-top: 230px;
  }
}
/* 31. Desktop hero content එක කැපීම වැළැක්වීමට හිස් ඉඩ පමණක් අඩු කරයි. */
@media (min-width: 1051px) {
  #home .hero {
    padding-top: 100px;
    padding-bottom: 20px;
  }
}
/* 32. Desktop හි ඉල්ලූ තැන් දෙකේ පිහිටීම පමණක් සකස් කිරීම. */
@media (min-width: 1051px) {
  /* Brand නම මඳක් උඩට ගෙන hero eyebrow එකෙන් වෙන් කරයි. */
  .site-header > .wordmark {
    position: relative;
    top: -10px;
  }
  /* Email / WhatsApp buttons වලින් card එක වෙන් කිරීමට වමට ගනී. */
  #home .hero-visual {
    position: relative;
    left: -48px;
  }
}
/* 33. Contact section හි email සහ phone අසල ගැළපෙන icons. */
.contact-copy .contact-email,
.contact-copy .contact-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-block: 20px;
}
.contact-detail-text {
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-detail-text small {
  display: block;
  margin-bottom: 3px;
  color: #b8c4d5;
  font-size: 9px;
  letter-spacing: 1.4px;
}
.contact-copy .contact-email:hover,
.contact-copy .contact-phone:hover {
  color: #ffb36d;
}
/* 34. Footer අවසාන text එක quick buttons වලින් වෙන් කරයි. */
.footer-bottom {
  padding-right: 64px;
}
/* Process වචන හතර ටිකක් වමට ගැනීම */
@media (min-width: 761px) {
  .process-line > p {
    margin-right: 40px;
  }
}
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.service-card {
  min-height: 360px;
}
.service-card h3 {
  min-height: 60px;
}
.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}
.service-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid #d9dee5;
  border-radius: 999px;
  color: #697586;
  background: #f7f8fa;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.2;
}
.service-card-active {
  border-color: #f0b37a;
  box-shadow: 0 14px 38px #14203110;
}
.service-card-active:hover {
  border-color: #e88946;
  box-shadow: 0 18px 42px #14203118;
}
.active-status {
  border-color: #ffbb80;
  color: #a84c12;
  background: #fff2e7;
}
.service-card .text-link {
  white-space: nowrap;
}
@media (max-width: 1050px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 0;
  }
  .service-card h3 {
    min-height: 0;
  }
}
/* Visit Site button */
.work-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.work-card-footer .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid #d9dee5;
  border-radius: 999px;
  background: #ffffff;
  color: #172235;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    *background* 300ms ease,
    color 300ms ease,
    border-color 300ms ease,
    transform 300ms ease,
    box-shadow 300ms ease;
}
.work-card-footer .text-link:hover {
  background: #172235;
  color: #ffffff;
  border-color: #172235;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #17223518;
}
.work-card-footer .text-link:active {
  transform: translateY(0);
}
@media (max-width: 600px) {
  .work-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Make all project cards look like the first card */
.art-one,
.art-two,
.art-three {
  background: #13243b !important;
  color: #ffffff !important;
}

/* 36. ප්‍රධාන පිටුවට ගැළපෙන කළු, තැඹිලි සහ රන් loading තිරය. */
.intro-loader {
  background: #101010; color: #fff; padding: 28px; text-align: center;
  z-index: 10000; animation: loader-exit .5s ease 1.25s forwards;
}
.intro-loader .loader-mark {
  display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 28px;
  border: 1px solid #d6ac5960; border-radius: 22px;
  color: #edc67f; background: linear-gradient(135deg,#d6ac591c,#ffffff03);
  font: 26px Georgia, serif; box-shadow: 0 0 70px #d6ac5912;
}
.loader-brand { color: #d6ac59; font-size: 10px; letter-spacing: 4px; margin-bottom: 20px; }
.loader-title { font-size: clamp(28px,5vw,48px); line-height: 1.15; font-weight: 500; letter-spacing: -1px; }
.loader-title em { display: block; color: #edc67f; font-family: Georgia,serif; margin-top: 6px; }
.intro-loader .loader-track { width: 160px; height: 2px; background: #ffffff18; margin: 30px auto 16px; }
.intro-loader .loader-track span {
  width: 45%; background: linear-gradient(90deg,#ee873a,#edc67f);
  animation: welcome-sweep 1.2s ease-in-out infinite;
}
.intro-loader .loader-caption { color: #bcb7ae; font: 11px/1.7 'DM Sans',sans-serif; letter-spacing: 1px; margin: 0; }
@keyframes welcome-sweep { from { transform: translateX(-110%); } to { transform: translateX(330%); } }
/* දකුණු quick buttons වෙනුවෙන් ඉඩක් වෙන් කර text සහ cards වැසීම වළක්වයි. */
main > .wrap:not(#home), .site-footer > .wrap {
  width: min(1200px, calc(100% - 144px));
  margin-left: max(48px, calc((100% - 1200px) / 2));
  margin-right: 96px;
}
.site-footer .footer-bottom { padding-right: 0; }
@media (max-width: 760px) {
  main > .wrap:not(#home), .site-footer > .wrap {
    width: calc(100% - 100px - env(safe-area-inset-right));
    margin-left: 20px; margin-right: calc(80px + env(safe-area-inset-right));
  }
  #home .hero { width: calc(100% - 100px - env(safe-area-inset-right)); margin-left: 20px; margin-right: 80px; }
  .contact-grid > *, .footer-grid > *, .hero > * { min-width: 0; }
  .footer-contact > a.contact-row { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { .intro-loader { display: none; } }
