:root {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #222d27;
  background: #f6f3e9;
  --ink: #244b40;
  --line: #a5854d45;
  --header: clamp(54px, 9svh, 86px);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; background: radial-gradient(ellipse at 52% 52%, #fdfbf3, #f3efe2 82%); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #875923; outline-offset: 5px; }
header {
  min-height: var(--header); display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 0 clamp(18px, 5vw, 80px); max-width: 1800px; margin-inline: auto;
}
header a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.brand { gap: 9px; font-size: .95rem; font-weight: 750; letter-spacing: .18em; }
.brand img { object-fit: contain; }
nav { display: flex; gap: clamp(14px, 3vw, 40px); font-size: .9375rem; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
h1 { margin: 0; font-weight: 440; line-height: 1; letter-spacing: -.06em; }
.home {
  min-height: calc(100svh - var(--header));
  display: grid; grid-template-rows: auto auto; align-content: center; justify-items: center;
  padding: 5px 12px 18px; gap: clamp(2px, 2vh, 20px);
}
.home h1 { font-size: clamp(1.65rem, 4.9svh, 3.25rem); }
.constellation {
  position: relative; isolation: isolate; overflow: clip;
  width: min(91vw, 1060px, 146svh); height: min(76svh, 670px);
  min-height: 315px;
  --node: clamp(54px, min(15svh, 19vw), 112px);
  --core: clamp(100px, min(36svh, 31vw), 280px);
}
.paths, .paths i, .core, .sectors li { position: absolute; }
.paths { inset: 14% 12%; pointer-events: none; }
.paths i { inset: 12% -2%; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-18deg); }
.paths i:nth-child(2) { transform: rotate(18deg); border-color: #527e6e44; }
.paths i:nth-child(3) { transform: rotate(-45deg); inset: 4% 14%; }
.core {
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: var(--core); aspect-ratio: 1; border-radius: 50%;
  padding: 7px; border: 1px solid #b8a27d; background: #fbf6eb;
  box-shadow: 0 10px 45px #78664633; display: grid; place-items: center; overflow: hidden;
}
.core-image { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); border-radius: 50%; object-fit: cover; }
.core-brand {
  position: relative; display: flex; gap: 7px; align-items: center; padding: 7px 10px;
  background: #fcf9f1ee; border-radius: 60px; font-size: clamp(.72rem, 1.6vw, 1.08rem);
  font-weight: 750; letter-spacing: .16em;
}
.core-brand img { width: clamp(16px, 3vw, 27px); }
.sectors { list-style: none; margin: 0; padding: 0; }
.sectors li { left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.technologies { --x: 27%; --y: 14%; }
.energies { --x: 73%; --y: 14%; }
.ventures { --x: 88%; --y: 47%; }
.agency { --x: 73%; --y: 81%; }
.equitax { --x: 27%; --y: 81%; }
.maranatha { --x: 12%; --y: 47%; }
.sectors a {
  display: flex; align-items: center; flex-direction: column; gap: 5px;
  border-radius: 20px; text-decoration: none; font-size: clamp(.875rem, 1.75vw, 1.05rem);
  font-weight: 650; padding: 3px; white-space: nowrap;
}
.sectors img {
  display: block; width: var(--node); aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 3px solid #faf6ec; box-shadow: 0 0 0 1px #ab946967, 0 5px 20px #58452d28;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sectors a:hover img, .sectors a:focus-visible img { transform: scale(1.065); box-shadow: 0 0 0 2px #8a754c, 0 8px 24px #58452d40; }
.sectors span { background: #faf7ed; padding: 2px 5px; border-radius: 20px; }
.detail {
  min-height: calc(100svh - var(--header)); width: min(1160px, calc(100% - 56px)); margin: auto;
  padding-block: 18px 32px; display: grid; grid-template-columns: .9fr 1.15fr;
  align-items: center; gap: clamp(26px, 6vw, 94px);
}
.detail h1 { font-size: clamp(2.55rem, 6.4vw, 6rem); overflow-wrap: break-word; }
.detail p { max-width: 34ch; font-size: clamp(1rem, 1.9vw, 1.25rem); margin: 16px 0 14px; line-height: 1.48; color: #43584d; }
.enquire { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; color: var(--ink); font-weight: 650; }
.detail-visual {
  width: 100%; height: min(62svh, 610px); min-height: 115px; overflow: hidden;
  border-radius: 48% 48% 22px 22px; background: #31584a; border: 6px solid #fcf9ef;
  box-shadow: 0 0 0 1px #b7a07b80, 0 16px 40px #51422b29;
}
.detail-visual img { display: block; height: 100%; width: 100%; object-fit: cover; }
@media (max-width: 660px) and (orientation: portrait) {
  .constellation {
    width: 100%; height: min(73svh, 640px);
    --node: clamp(53px, min(11.5svh, 19vw), 90px);
    --core: min(37vw, 185px);
  }
  .technologies, .equitax { --x: 23%; }
  .energies, .agency { --x: 77%; }
  .ventures { --x: 84%; }
  .maranatha { --x: 16%; }
  .paths { inset: 12% 8%; }
  .paths i:first-child { inset: 3% 7%; }
  .paths i:nth-child(2) { inset: 5% 8%; }
  .detail { grid-template-columns: 1fr; align-content: center; gap: 14px; padding-block: 6px 24px; }
  .detail-visual { height: min(40svh, 420px); border-radius: 36% 36% 18px 18px; }
}
@media (max-height: 490px) and (orientation: landscape) {
  .home { grid-template-columns: .28fr 1fr; grid-template-rows: auto; align-items: center; padding: 0 20px 7px; }
  .constellation { width: min(100%, 149svh); height: calc(100svh - var(--header) - 8px); min-height: 195px; --node: clamp(36px, 11svh, 55px); --core: 29svh; }
  .sectors a { gap: 1px; }
  .detail { padding-block: 4px 10px; }
  .detail h1 { font-size: clamp(1.9rem, 9svh, 3rem); }
  .detail-visual { height: 65svh; }
}
@media (prefers-reduced-motion: reduce) { .sectors img { transition: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home { grid-template: auto / minmax(0, 1fr); }
.brand { width: 48px; justify-content: center; }
nav { gap: 10px; }
.icon-button, .detail-glyph {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  color: var(--ink); border: 1px solid #a5854d65; border-radius: 50%; background: #faf7ed;
}
.icon-button:hover { background: #e9eee4; border-color: #658478; }
.icon-button svg, .detail-glyph svg { width: 23px; height: 23px; }
.core-brand {
  width: 34%; aspect-ratio: 1; display: grid; place-items: center;
  padding: 0; border: 1px solid #faf7ed; border-radius: 50%;
  box-shadow: 0 4px 24px #222d2740;
}
.core-brand img { width: 55%; height: auto; }
.sectors .sector-image { position: relative; padding: 0; background: none; }
.sectors .sector-glyph {
  position: absolute; right: -4px; bottom: 0; display: grid; place-items: center;
  width: clamp(24px, 4svh, 36px); aspect-ratio: 1; padding: 0;
  color: var(--ink); border: 1px solid #a5854d65; box-shadow: 0 2px 8px #222d2725;
}
.sector-glyph svg { width: 57%; height: 57%; }
.detail-glyph { margin-bottom: 13px; }
@media (max-width: 660px), (max-height: 490px) {
  .detail-glyph { width: 36px; height: 36px; margin-bottom: 8px; }
  .detail-glyph svg { width: 19px; height: 19px; }
}
@media (max-width: 380px) and (orientation: portrait) {
  .detail h1 { font-size: 2.3rem; }
  .detail-visual { height: 35svh; }
}

.core .core-brand {
  width: auto; aspect-ratio: auto; padding: .43em .65em;
  font-size: clamp(1.15rem, 4vw, 3.4rem); line-height: 1; letter-spacing: .14em;
  color: #fff; border: 1px solid #fff8; background: #142c26b8;
}
nav { gap: clamp(5px, 1.5vw, 12px); }
.story, .contact-page {
  width: min(1180px, calc(100% - 44px)); margin-inline: auto;
  min-height: calc(100svh - var(--header)); padding-block: 10px 20px;
}
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(22px, 6vw, 80px); }
.story h1, .contact-page h1 { font-size: clamp(2.35rem, 5.4vw, 5.25rem); }
.story-copy p { max-width: 44ch; line-height: 1.45; margin: 12px 0; color: #43584d; }
.story-visual {
  position: relative; margin: 0; height: min(64svh, 615px);
  border: 5px solid #fffaf0; border-radius: 45% 45% 26px 26px; overflow: hidden;
  box-shadow: 0 0 0 1px #a5854d65, 0 16px 36px #51422b22;
}
.story-visual img, .topic-card img, .contact-sector img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-visual figcaption {
  position: absolute; right: 10px; bottom: 8px; background: #10261ee0; color: white;
  font-size: .75rem; padding: 4px 8px; border-radius: 14px;
}
.mail-link { display: inline-flex; gap: 7px; align-items: center; min-height: 36px; color: var(--ink); text-underline-offset: 3px; }
.mail-link svg { width: 19px; height: 19px; flex: none; }
.topic-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 5px; }
.topic-card {
  position: relative; min-height: 65px; height: min(14svh, 106px); overflow: hidden;
  border-radius: 12px; background: #244b40; color: white; text-decoration: none;
}
.topic-card span {
  position: absolute; inset: auto 0 0; padding: 7px 9px; background: #142c26df;
  font-size: .875rem; font-weight: 650;
}
.topic-card:hover span, .topic-card:focus-visible span { text-decoration: underline; }
.crumb, .topic-link { color: var(--ink); text-underline-offset: 4px; }
.crumb { display: inline-block; margin-bottom: 9px; font-size: .875rem; }
.facts { margin: 14px 0 5px; }
.facts div { border-top: 1px solid #a5854d45; padding-block: 7px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 2px 0 0; line-height: 1.3; color: #43584d; }
.contact-page { display: grid; align-content: center; gap: 15px; }
.contact-intro { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.contact-intro h1 { width: 100%; }
.contact-intro > a:last-child { text-underline-offset: 4px; }
.contact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.contact-grid li { min-width: 0; padding: 8px; background: #fffcf4; border: 1px solid #a5854d45; border-radius: 14px; }
.contact-sector { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 8px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-sector img { height: 42px; border-radius: 8px; }
.contact-grid .mail-link { font-size: .875rem; overflow-wrap: anywhere; }
@media (max-width: 660px) and (orientation: portrait) {
  .story { grid-template-columns: 1fr; align-content: center; gap: 8px; }
  .story h1, .contact-page h1 { font-size: clamp(1.95rem, 7.3vw, 3rem); }
  .story-visual { height: min(28svh, 245px); border-radius: 30% 30% 16px 16px; }
  .topic-page .story-visual { height: min(22svh, 215px); }
  .story-copy p, .facts dd { font-size: .9375rem; }
  .contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .contact-sector { grid-template-columns: 32px 1fr; gap: 5px; font-size: .84rem; }
  .contact-sector img { height: 32px; }
  .contact-grid .mail-link { font-size: .78rem; gap: 4px; }
  .contact-grid .mail-link svg { width: 13px; height: 13px; }
  .topic-card { height: min(13svh, 90px); }
}
@media (max-height: 500px) and (orientation: landscape) {
  .story h1, .contact-page h1 { font-size: clamp(1.8rem, 8svh, 3rem); }
  .story-visual { height: 58svh; }
  .facts { margin-top: 6px; }
  .facts div { padding-block: 3px; }
  .facts dd { font-size: .875rem; }
  .contact-page { gap: 5px; }
}

.story-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.story-actions button, .media-gallery button { cursor: pointer; }
.gallery-trigger { flex: none; }
.media-gallery {
  width: min(820px, calc(100% - 30px)); max-height: 86svh;
  padding: 0 16px 16px; border: 1px solid #a5854d65; border-radius: 22px;
  color: #222d27; background: #f6f3e9;
}
.media-gallery::backdrop { background: #10261db3; }
.gallery-bar {
  position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-block: 12px; background: #f6f3e9;
}
.gallery-bar h2 { margin: 0; font-size: 1.2rem; }
.gallery-bar button { font-size: 1.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 12px; background: #fffaf0; }
.gallery-grid img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.gallery-grid figcaption { padding: 8px 10px; font-size: .875rem; color: var(--ink); }
.topic-card.featured { grid-column: 1 / -1; height: min(11svh, 82px); min-height: 46px; }
.featured img { object-position: 50% 45%; }
.film { min-width: 0; margin: 0; }
.film video {
  display: block; width: 100%; max-height: 58svh; aspect-ratio: 16 / 9;
  background: #10261e; border-radius: 15px;
}
.film figcaption { margin-block: 9px 5px; color: #43584d; font-size: .875rem; line-height: 1.4; }
.story-copy .topic-link { display: inline-block; margin: 4px 10px 4px 0; }
@media (max-width: 660px) and (orientation: portrait) {
  .technologies-overview .story-visual { height: min(23svh, 190px); }
  .film-page { gap: 13px; }
}

.core-brand a { text-decoration: none; border-radius: 1rem; }
.core-brand:focus-within { outline: 2px solid #fff; outline-offset: 3px; }
.core-brand:hover { background: #142c26eb; }
.contact-grid li { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.contact-grid .mail-icon { flex: none; width: 44px; height: 44px; }
.contact-grid .mail-icon svg { width: 18px; height: 18px; }
.contact-intro .mail-icon { margin-inline-end: 2px; }
.story-visual .gallery-trigger {
  position: absolute; bottom: 12px; right: 12px; width: 52px; height: 52px;
  border-color: #fffafa66; color: white; background: #192f28eb;
  box-shadow: 0 3px 18px #0005; cursor: pointer;
}
.story-visual .gallery-trigger:hover { background: #264d40; }
.story-visual .gallery-trigger svg { width: 27px; height: 27px; }
.media-gallery {
  width: min(1050px, calc(100% - 24px)); max-height: min(93svh, 900px);
  padding: 12px; color: #f8f5eb; background: #15231d; border-color: #ffffff40;
}
.media-gallery::backdrop { background: #0c1814d9; backdrop-filter: blur(6px); }
.media-gallery .icon-button { color: white; background: #172a23f0; border-color: #ffffff70; }
.media-gallery .icon-button:hover { background: #385248; }
.media-gallery .gallery-close { position: absolute; z-index: 2; right: 19px; top: 19px; }
.gallery-stage { margin: 0; position: relative; background: #22342b; border-radius: 14px; overflow: hidden; }
.gallery-stage img { display: block; width: 100%; height: min(63svh, 650px); object-fit: contain; }
.gallery-stage figcaption { text-align: center; padding: 7px 12px 9px; font-size: .875rem; }
.gallery-prev, .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; padding: 3px; overflow-x: auto; }
.gallery-thumb {
  flex: 0 0 62px; height: 44px; padding: 0; border-radius: 7px;
  border: 2px solid transparent; background: #283c32; cursor: pointer; overflow: hidden;
}
.gallery-thumb[aria-current="true"] { border-color: #f5d39d; }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 540px) {
  .contact-grid .contact-sector { grid-template-columns: 1fr; }
  .contact-grid .contact-sector img { display: none; }
}
button:focus-visible { outline: 3px solid #b78546; outline-offset: 3px; }

/* Contact directory */
.contact-directory {
  width: min(880px, calc(100% - 32px));
  gap: clamp(10px, 2.3svh, 20px);
}
.contact-directory h1 { text-align: center; }
.contact-directory .contact-intro {
  display: flex; justify-content: space-between; flex-wrap: nowrap;
  padding: 6px 12px 6px 18px; border-radius: 15px;
  background: #e5ede4; color: #244b40; font-weight: 700;
}
.contact-directory .contact-intro .mail-icon { background: #244b40; color: white; }
.contact-directory .contact-intro .mail-icon:hover { background: #153a2f; }
.contact-directory .contact-grid { gap: 8px; }
.contact-directory .contact-grid li { padding: 5px 8px; }
.contact-directory .contact-sector {
  display: flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: .9rem; text-decoration: none;
}
.contact-directory .contact-sector:hover span { text-decoration: underline; }
.contact-directory .contact-sector img { display: block; width: 32px; height: 32px; border-radius: 50%; flex: none; }
.contact-directory .contact-grid .mail-icon { background: transparent; border-color: transparent; }
.contact-directory .contact-grid .mail-icon:hover { background: #e5ede4; }
@media (max-width: 720px) {
  .contact-directory .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 450px) {
  .contact-directory .contact-grid li { padding-inline: 6px 2px; }
  .contact-directory .contact-sector img { display: none; }
  .contact-directory .contact-sector { padding-left: 4px; }
}

/* FIYOM cool off-white palette */
:root { background: #f5f8fa; --line: #9cb4bd66; }
body { background: radial-gradient(ellipse at 52% 47%, #ffffff 0%, #f7fafb 60%, #f0f5f7 100%); }
.paths i:nth-child(2) { border-color: #81a5ae66; }
.sectors a > span:last-child { background: #f7fafb; }
.core, .sectors img, .story-visual { border-color: #fff; }
.icon-button, .sectors .sector-glyph { background: #f6fafb; }
.contact-directory .contact-grid li { background: #fff; }

/* About, business directory and 3D showcase */
.feature-layout {
  width: min(1080px, calc(100% - 36px)); margin-inline: auto;
  min-height: calc(100svh - var(--header)); display: grid; align-content: center;
  gap: clamp(20px, 4.5vh, 42px); padding-block: 8px 24px;
}
.feature-heading { text-align: center; }
.feature-heading h1 { font-size: clamp(2.15rem, 5.4vw, 4.7rem); }
.feature-heading p { margin: 12px 0 0; color: #43584d; line-height: 1.45; }
.feature-choices, .business-directory { display: grid; gap: clamp(10px, 2vw, 24px); }
.feature-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.business-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.feature-card {
  display: block; height: 100%; overflow: hidden; text-decoration: none; background: #fff;
  border: 1px solid #bacdd3; border-radius: 16px; box-shadow: 0 8px 24px #52727914;
}
.feature-card:focus-visible { outline-offset: 3px; }
.feature-card:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.feature-image, .business-mosaic { height: clamp(100px, 25vh, 220px); background: #edf3f4; }
.business-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.feature-image img, .business-mosaic img, .printing-stills img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-card h2 { margin: 12px 14px 5px; font-size: clamp(1rem, 2vw, 1.5rem); }
.feature-card p { margin: 0 14px 12px; color: #43584d; line-height: 1.35; font-size: .92rem; }
.feature-card h2:last-child { margin-bottom: 12px; }
.business-directory .feature-image { height: clamp(56px, 15vh, 145px); }
.printing-layout { gap: clamp(12px, 2.3vh, 24px); }
.printing-showcase { display: grid; grid-template-columns: minmax(0, 2.8fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.printing-showcase .film video { max-height: 52svh; }
.printing-stills { display: grid; gap: 7px; }
.printing-stills figure { margin: 0; }
.printing-stills img { height: clamp(55px, 12vh, 112px); border-radius: 9px; }
.printing-stills figcaption { padding: 3px 1px; font-size: .875rem; color: #43584d; }
.printing-contact { justify-self: start; font-weight: 650; color: #244b40; text-underline-offset: 4px; }
@media (max-width: 620px) {
  .feature-layout { gap: 14px; }
  .feature-image, .business-mosaic { height: clamp(80px, 19vh, 155px); }
  .feature-card h2, .feature-card p { margin-inline: 8px; }
  .business-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .business-directory .feature-image { height: clamp(40px, 10vh, 85px); }
  .business-directory .feature-card p { font-size: .82rem; }
  .printing-showcase { grid-template-columns: 1fr; gap: 5px; }
  .printing-stills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .printing-stills img { height: clamp(46px, 11vh, 85px); }
}
