/* =====================================================================
   Refresh Inside Out — site styles
   Palette taken from the logo: teal → blue gradient on deep navy,
   with a warm grout-grey as the neutral so the page reads like tile
   and stone rather than generic SaaS white.
   ===================================================================== */

:root {
  --ink:        #0C2233;
  --ink-2:      #14374E;
  --body:       #3D5566;
  --teal:       #1E9C8E;
  --teal-deep:  #147F73;
  --blue:       #1E5E9C;
  --stone:      #EDF0F1;
  --stone-warm: #E4E0D9;
  --line:       #D9E0E3;
  --white:      #FFFFFF;
  --grad:       linear-gradient(102deg, #23A392 0%, #1E5E9C 100%);

  --shell:      1180px;
  --radius:     4px;
  --radius-lg:  10px;

  --f-display: "Outfit", "Trebuchet MS", sans-serif;
  --f-body:    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------------------------------------------------------------------
   Masthead
   --------------------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .7rem 0;
}
.brand img { width: 148px; height: auto; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--teal-deep); border-bottom-color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal-deep); border-bottom-color: var(--teal); }

.nav-call {
  background: var(--grad);
  color: #fff !important;
  padding: .65rem 1.15rem !important;
  border-radius: var(--radius);
  border-bottom: 0 !important;
  white-space: nowrap;
}
.nav-call:hover { filter: brightness(1.08); border-bottom-color: transparent !important; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: .65rem .7rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--ink); content: "";
}
.nav-toggle-bars::before { transform: translateY(-7px); }
.nav-toggle-bars::after  { transform: translateY(5px); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-call { text-align: center; margin-top: .85rem; }
  .masthead-inner { position: relative; }
}

/* ---------------------------------------------------------------------
   Hero — split: statement left, before/after comparison right
   --------------------------------------------------------------------- */
.hero {
  background: var(--ink);
  color: #C9DAE4;
  position: relative;
  overflow: hidden;
}
/* faint tile grid, a nod to the trade */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4.5rem 0 5rem;
}
.hero h1 { color: #fff; margin-bottom: .5rem; }
.hero-lede { font-size: 1.2rem; color: #B6CBD8; max-width: 46ch; }

.hero-badges {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem .5rem;
}
.hero-badges li {
  font-family: var(--f-display);
  font-size: .9rem;
  color: #D7E6EE;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  padding: .3rem .85rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Before / after slider ------------------------------------------------ */
.compare {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  background: #12303f;
  touch-action: none;
  user-select: none;
}
.compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.compare-after { clip-path: inset(0 0 0 var(--split, 50%)); }
.compare-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--split, 50%);
  width: 3px; background: #fff;
  transform: translateX(-1.5px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
.compare-handle::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%230C2233' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 7 4 12l5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.compare-range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
}
.compare-range:focus-visible + .compare-handle::after { outline: 3px solid var(--teal); outline-offset: 3px; }
.compare-label {
  position: absolute; bottom: .85rem;
  font-family: var(--f-display); font-size: .78rem;
  letter-spacing: .06em; color: #fff;
  background: rgba(12,34,51,.72);
  padding: .28rem .7rem; border-radius: 100px;
  pointer-events: none;
}
.compare-label.is-before { left: .85rem; }
.compare-label.is-after  { right: .85rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0 3.5rem; }
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s ease, background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.09); color: #fff; }

.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------------
   Section rhythm
   --------------------------------------------------------------------- */
.section { padding: 4.5rem 0; }
.section-tint { background: var(--stone); }
.section-ink  { background: var(--ink); color: #B9CDD9; }
.section-ink h2, .section-ink h3 { color: #fff; }

.section-head { max-width: 62ch; margin-bottom: 2.75rem; }
.section-head p { font-size: 1.1rem; }

/* Page banner for interior pages -------------------------------------- */
.banner {
  background: var(--ink);
  color: #B9CDD9;
  padding: 3.25rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--grad);
}
.banner h1 { color: #fff; margin-bottom: .35rem; }
.banner p { font-size: 1.1rem; max-width: 60ch; margin: 0; }

/* ---------------------------------------------------------------------
   Services — a list with a rule per row, not identical cards
   --------------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.service {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
}
.service h3 { margin-bottom: .35rem; }
.service p { font-size: 1rem; margin: 0; }
.service-mark {
  width: 30px; height: 3px; background: var(--teal);
  margin-bottom: 1rem;
}
@media (max-width: 820px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Process — genuinely a sequence, so it gets numbers
   --------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.step:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal);
}
.step h3 { margin-bottom: .3rem; font-size: 1.2rem; }
.step p { margin: 0; }

/* ---------------------------------------------------------------------
   Project cards (gallery + homepage teaser)
   --------------------------------------------------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2rem 1.75rem;
}
.project {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.project-figure { position: relative; aspect-ratio: 3 / 2; background: var(--stone); }
.project-figure img { width: 100%; height: 100%; object-fit: cover; }
.project-cat {
  position: absolute; top: .75rem; left: .75rem;
  font-family: var(--f-display); font-size: .78rem; font-weight: 600;
  background: rgba(12,34,51,.82); color: #fff;
  padding: .25rem .7rem; border-radius: 100px;
}
.project-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.22rem; margin-bottom: .4rem; }
.project-body h3 a { color: inherit; text-decoration: none; }
.project-body h3 a:hover { color: var(--teal-deep); text-decoration: underline; }
.project-meta {
  font-size: .92rem; color: #6D8494; margin: 0 0 .7rem;
}
.project-body p { font-size: 1rem; margin-bottom: 1.1rem; }
.project-more {
  margin-top: auto;
  font-family: var(--f-display); font-weight: 600;
  text-decoration: none; color: var(--teal-deep);
}
.project-more:hover { text-decoration: underline; }

/* Category filter ------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter {
  font-family: var(--f-display); font-size: .95rem; font-weight: 500;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: 100px;
  padding: .45rem 1.05rem; background: var(--white);
}
.filter:hover { border-color: var(--teal); color: var(--teal-deep); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Pagination ----------------------------------------------------------- */
.pager { display: flex; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 44px; text-align: center;
  padding: .55rem .8rem; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none;
  font-family: var(--f-display); color: var(--ink);
}
.pager .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------------------------------------------------------------
   Single project page
   --------------------------------------------------------------------- */
.article { padding: 3.5rem 0 4rem; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 3.5rem; }
.article-body { font-size: 1.09rem; }
.article-body p { max-width: 70ch; }
.article-cover {
  border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 2rem; background: var(--stone);
}
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.article-facts {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0 2.5rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.article-facts div { padding: .25rem 0; }
.article-facts dt {
  font-family: var(--f-display); font-size: .85rem; color: #6D8494;
}
.article-facts dd { margin: 0; font-family: var(--f-display); font-weight: 600; color: var(--ink); }

.photo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1rem; margin: 2.5rem 0; }
.photo-strip figure { margin: 0; }
.photo-strip img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.photo-strip figcaption { font-size: .92rem; color: #6D8494; padding-top: .4rem; }

.sidecard {
  background: var(--stone); border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem; position: sticky; top: 6rem;
}
.sidecard h2 { font-size: 1.25rem; }
.sidecard p { font-size: 1rem; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .sidecard { position: static; }
}

/* ---------------------------------------------------------------------
   Reviews
   --------------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.review {
  background: var(--white); border-left: 3px solid var(--teal);
  padding: 1.4rem 1.5rem;
}
.review blockquote { margin: 0 0 1rem; font-size: 1.03rem; color: var(--ink-2); }
.review cite { font-style: normal; font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.review span { display: block; font-size: .9rem; color: #6D8494; }
@media (max-width: 820px) { .reviews { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Stats strip
   --------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { border-left: 3px solid var(--teal); padding-left: 1.1rem; }
.stat strong {
  display: block; font-family: var(--f-display);
  font-size: 2.1rem; font-weight: 600; color: var(--ink); line-height: 1.1;
}
.section-ink .stat strong { color: #fff; }
.stat span { font-size: .98rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------------
   Two-column prose block (About page)
   --------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.split-media img { border-radius: var(--radius-lg); width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2.25rem; } }

.checklist { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.checklist li {
  position: relative; padding-left: 1.9rem; margin-bottom: .7rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------------
   Contact page
   --------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3.5rem; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-family: var(--f-display); font-weight: 600;
  color: var(--ink); margin-bottom: .35rem; font-size: 1rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--f-body); font-size: 1.02rem;
  padding: .75rem .85rem;
  border: 1px solid #C3CED4; border-radius: var(--radius);
  background: var(--white); color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); outline: 2px solid rgba(30,156,142,.28); outline-offset: 0;
}
.field-hint { font-size: .9rem; color: #6D8494; margin: .3rem 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.15rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.hp { position: absolute; left: -9999px; }

.notice {
  border-radius: var(--radius); padding: 1rem 1.15rem;
  margin-bottom: 1.75rem; font-size: 1rem;
}
.notice-ok   { background: #E4F4F0; border-left: 4px solid var(--teal); color: #14513F; }
.notice-bad  { background: #FBE9E7; border-left: 4px solid #C0392B; color: #7B2318; }
.notice ul { margin: .5rem 0 0; padding-left: 1.2rem; }

.contact-details { list-style: none; margin: 0; padding: 0; }
.contact-details li {
  border-bottom: 1px solid var(--line); padding: 1rem 0;
}
.contact-details strong {
  display: block; font-family: var(--f-display); font-size: .9rem;
  color: #6D8494; font-weight: 500; margin-bottom: .15rem;
}
.contact-details a { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; text-decoration: none; }

/* ---------------------------------------------------------------------
   Call to action band
   --------------------------------------------------------------------- */
.cta-band { background: var(--grad); color: #fff; padding: 3.25rem 0; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.1rem; margin-bottom: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band .btn {
  background: #fff; color: var(--ink); border-color: #fff;
}
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------------
   Empty state
   --------------------------------------------------------------------- */
.empty {
  border: 1px dashed #C3CED4; border-radius: var(--radius-lg);
  padding: 3rem 2rem; text-align: center;
}
.empty h2 { font-size: 1.35rem; }
.empty p { margin-inline: auto; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.footer { background: var(--ink); color: #93AEBE; padding: 3.5rem 0 1.5rem; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 2.5rem; padding-bottom: 2.5rem;
}
.footer-brand img { width: 160px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .98rem; max-width: 36ch; }
.footer-abn { font-size: .9rem; color: #7796A8; }
.footer-col h2 {
  font-size: 1rem; color: #fff; margin-bottom: .9rem; font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; font-size: .98rem; }
.footer-col a { color: #93AEBE; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.25rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-base p { margin: 0; font-size: .9rem; }
.footer-base a { color: #7796A8; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Subtle motion, with readable content before JavaScript runs. */
.experience-band { background:var(--ink,#0c2233); color:#fff; padding:2.2rem 0; }
.experience-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.experience-grid > div { display:flex; align-items:center; gap:1rem; }
.experience-grid strong { font-family:var(--f-display, sans-serif); font-size:clamp(2rem,4vw,3.3rem); color:#75d9cd; }
.experience-grid span { max-width:130px; line-height:1.3; }
.services { grid-template-columns:repeat(2,minmax(0,1fr)); }
.service, .project, .btn { transition:transform .25s ease,box-shadow .25s ease; }
.service:hover,.project:hover { transform:translateY(-4px); box-shadow:0 12px 30px #0c223314; }
.btn:hover { transform:translateY(-2px); }
@keyframes rise-in { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
.reveal-in { animation:rise-in .65s ease both; }
.hero-copy { animation:rise-in .7s ease both; }
.hero-media { animation:rise-in .85s ease both; }
@media(max-width:600px) { .services { grid-template-columns:1fr; } .experience-grid { gap:1.3rem; } .experience-grid > div { flex-direction:column; align-items:flex-start; gap:.2rem; } .experience-grid span { font-size:.85rem; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
/* Preserve shell gutters when section shorthand padding is applied. */
.masthead-inner, .hero-grid { padding-left:1.25rem; padding-right:1.25rem; }
.contact-details a, .footer-col a { overflow-wrap:anywhere; }
/* Real project photography */
.hero-feature { margin:0; position:relative; overflow:hidden; border-radius:14px; box-shadow:0 24px 60px #0003; }
.hero-feature > img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; object-position:center 58%; }
.hero-feature figcaption { position:absolute; bottom:0; left:0; right:0; padding:3rem 1.5rem 1.4rem; background:linear-gradient(transparent,#071e2dd9); color:#fff; font-family:var(--f-display); font-size:1.2rem; }
.hero-feature figcaption span { display:block; font-size:.65rem; letter-spacing:.19em; margin-bottom:.4rem; color:#9ce0d7; }
.service-photo { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:8px; margin-bottom:1.5rem; }
.service { overflow:hidden; }
.service:hover .service-photo { filter:brightness(1.035); }
.photo-strip img { width:100%; height:auto; object-fit:contain; max-height:none; }
.article-cover img { height:auto; max-height:none; object-fit:contain; }
@media(min-width:1000px) { .project-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:600px) { .hero-feature figcaption { font-size:1rem; padding:2rem 1rem 1rem; } }

.photo-strip img, .article-cover img { aspect-ratio:auto; }

/* Persistent phone shortcut */
.call-now-float {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.05rem;
  border-radius: 999px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 28px rgba(5, 27, 41, .34);
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.call-now-float:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(5, 27, 41, .42);
}
.call-now-float:focus-visible { outline-color: #fff; }
.call-now-icon { font-size: 1.15rem; }
.call-now-float strong { font-weight: 500; opacity: .9; }
@media (max-width: 520px) {
  .call-now-float { right: .8rem; bottom: .8rem; padding: .85rem 1rem; }
  .call-now-float strong { display: none; }
}
