/* dastudio.com.au: hand-written styles. Mobile first. Dark theme (Dec 2026); teal header/footer from the original theme. */
@font-face {
  font-family: "Raleway";
  src: url("/fonts/raleway-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --primary: #1a5d6e;
  --secondary: #09252d;
  --text: #e8e8e8;
  --muted: #a6a7ab;
  --bg: #1c1d20;
  --surface: #26272b;
  --field-border: #4b4c52;
  --focus: #5fb3c7;
  --line: rgba(255, 255, 255, .14);
  --gutter: 24px;
  --wide: 1318px;
  --font: "Raleway", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.6 var(--font);
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline-color: var(--focus); }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.align-center { text-align: center; }
.align-right { text-align: right; }

.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- header */
.site-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 30px 34px 20px;
  background: var(--primary);
  color: #fff;
  position: relative; z-index: 10;
}
.site-header.overlay { position: absolute; inset: 0 0 auto 0; background: transparent; }
.brand .logo { width: 120px; }
#site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 32px; flex-wrap: wrap; }
#site-nav a { text-decoration: none; font-weight: 400; letter-spacing: .01em; }
#site-nav a:hover, #site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
#site-nav a[lang] { font-size: 1.05em; }

.menu-toggle {
  background: none; border: 0; color: inherit; width: 44px; height: 44px; margin: -6px -10px 0 0;
  cursor: pointer; display: none;
}
.bars, .bars::before, .bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; margin: auto; position: relative;
  transition: transform .2s;
}
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }

@media (max-width: 781px) {
  .js .menu-toggle { display: block; }
  .js #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 8px 34px 20px; }
  .js .site-header.open #site-nav { display: block; }
  .js #site-nav ul { flex-direction: column; gap: 14px; }
  .open .bars { background: transparent; }
  .open .bars::before { transform: translateY(7px) rotate(45deg); }
  .open .bars::after { transform: translateY(-7px) rotate(-45deg); }
}
@media (min-width: 782px) {
  .brand .logo { width: 178px; }
}

/* ---------------------------------------------------------------- cover */
.cover {
  position: relative; display: flex; color: #fff; overflow: hidden;
  background: #444;
}
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.cover-inner { position: relative; z-index: 1; width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 150px var(--gutter) 80px; }
.cover h1, .cover h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); }
.cover p { max-width: 70ch; }
.cover .align-center { margin-inline: auto; }
.cover-banner { height: 141px; }
.cover-banner .cover-inner { padding: 0; }
@media (min-width: 782px) { .cover-banner { height: 163px; } }
.content > .cover:first-child { margin: 0 calc(50% - 50vw); }
/* Home hero: tall, headline in the middle (as on the live site) */
.home .content > .cover:first-child { min-height: min(86vw, 100vh); align-items: center; }
.home .content > .cover:first-child .cover-inner { padding: 120px var(--gutter) 60px; }
.home .content > .cover:first-child::after { background: rgba(0, 0, 0, .3); }
/* Hero crop: a little sky above the roof (owner marked the line on a 2000x978 screen). */
.home .content > .cover:first-child .cover-img { object-position: 50% 26%; }
.home .content > .cover:nth-of-type(2) { min-height: 500px; align-items: center; margin: 48px calc(50% - 50vw); }
.home .content > .cover:nth-of-type(2)::after { background: rgba(17, 17, 17, .4); }
.home .content > .cover:nth-of-type(2) h2 { text-transform: capitalize; }
/* "Crafting Unique Spaces": fixed-background parallax, as on the original site. The image
   is fixed to the screen and the section is a window onto it (clip-path clips fixed
   children). Pure CSS, so it scrolls on the compositor without jank. */
.home .content > .cover:nth-of-type(2) { clip-path: inset(0); }
.home .content > .cover:nth-of-type(2) .cover-img { position: fixed; height: 100vh; height: 100lvh; }
@media (prefers-reduced-motion: reduce) {
  .home .content > .cover:nth-of-type(2) .cover-img { position: absolute; height: 100%; }
}

/* ---------------------------------------------------------------- content */
.content { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 64px; }
.content > :not(.cover):first-child { margin-top: 48px; }
.content > .cover + *, .content > .cover + .visually-hidden + * { margin-top: 64px; }
.content > h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); font-weight: 700; margin-top: 1.4em; }
.content > h4 { font-size: 1rem; font-weight: 700; margin-top: 1.4em; }
.content > p { font-weight: 400; }
.narrow { max-width: 760px; }
.narrow h1 { margin-top: 64px; }

.columns { display: grid; gap: 32px 24px; margin: 0 0 32px; }
.columns .col > :last-child { margin-bottom: 0; }
@media (min-width: 782px) {
  .columns.cols-2 { grid-template-columns: 1fr 1fr; }
  .columns.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .columns.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 600px) and (max-width: 781px) {
  .columns.cols-4 { grid-template-columns: 1fr 1fr; }
}
/* Home service cards */
.home .columns.cols-4 h2 { font-size: 1.25rem; }
.home .columns.cols-4 p { font-size: .95rem; font-weight: 400; }
.home .columns.cols-4 figure { margin: 0 0 16px; overflow: hidden; border-radius: 12px; }
.home .columns.cols-4 figure img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s ease; }
.home .columns.cols-4 a:hover img, .home .columns.cols-4 a:focus-visible img { transform: scale(1.06); }

figure { margin: 0 0 24px; }
figcaption { font-size: .875rem; color: var(--muted); margin-top: 6px; }
.gallery { display: grid; gap: 24px 3px; margin: 0 0 32px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; }
.gallery.cols-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery.cols-2 figure, .gallery.cols-2 figure a { display: block; height: 100%; }
.gallery.cols-2 img { height: 100%; object-fit: cover; }
@media (min-width: 782px) { .gallery.cols-2 { gap: 24px; } }

img[data-zoom] { cursor: zoom-in; }

/* Projects */
.project-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; margin: 48px 0 16px; }
.project-head h1 { font-size: 1rem; font-weight: 700; margin: 0; }
.project .spec { margin: 0; font-weight: 400; }
.project > p { font-size: 1.125rem; font-weight: 400; }
.project > figure img { width: 100%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 16px; margin: 0 0 32px; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 0; }

/* Reviews (from Google, shown as text) */
.reviews ul { list-style: none; margin: 40px 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 782px) { .reviews ul { grid-template-columns: repeat(3, 1fr); } }
.reviews li { background: var(--surface); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; }
.reviews blockquote { margin: 0 0 12px; flex: 1; }
.reviews blockquote p { margin: 0; font-size: .95rem; font-weight: 400; }
.reviews blockquote p::before { content: "★★★★★"; display: block; color: #f6bb06; letter-spacing: 2px; margin-bottom: 8px; }
.reviews .who { margin: 0; font-size: .875rem; }
.reviews .who span { color: var(--muted); display: block; }

/* Contact block */
.columns.cols-2 > .col { background: var(--surface); padding: 16px; border-radius: 6px; }
.map iframe { width: 100%; height: 360px; border: 0; margin-top: 8px; }

/* ---------------------------------------------------------------- form */
.form { max-width: 560px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.form legend, .form .label { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.form .req { color: #ff7b7b; }
.form .row { display: grid; gap: 12px; }
.form input, .form textarea {
  width: 100%; max-width: 360px; font: inherit; font-weight: 400; padding: 10px 12px;
  border: 1px solid var(--field-border); border-radius: 3px; background: var(--surface); color: var(--text);
}
.form textarea { max-width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.form .sub { display: block; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.form .field { margin-bottom: 20px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .turnstile:not(:empty) { margin-bottom: 16px; }
.form .privacy { font-size: .8rem; color: var(--muted); font-weight: 400; }
.form button {
  font: inherit; background: #066aab; color: #fff; border: 0; border-radius: 3px; padding: 10px 16px; cursor: pointer;
}
.form button:hover { background: #055a91; }
.form button:disabled { opacity: .6; cursor: progress; }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status.ok { color: #5ad48a; }
.form-status.err { color: #ff8a80; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--primary); color: #fff; padding: 48px var(--gutter) 24px; }
.footer-cols { max-width: var(--wide); margin: 0 auto; display: grid; gap: 32px; }
@media (min-width: 782px) { .footer-cols { grid-template-columns: 1fr 1fr 1fr; } }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.f-brand .logo { width: 150px; margin-bottom: 8px; }
.f-badge .badge { width: 180px; filter: brightness(0) invert(1); }
.f-title { font-size: 1.05rem; }
.social { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--primary); }
.social a:hover { background: #e3eef1; }
.copyright { max-width: var(--wide); margin: 32px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .5); text-align: center; }

/* ---------------------------------------------------------------- lightbox */
.lightbox { border: 0; padding: 0; background: rgba(0, 0, 0, .92); width: 100vw; height: 100vh; max-width: none; max-height: none; color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox img { position: absolute; inset: 56px 16px; margin: auto; max-width: calc(100% - 32px); max-height: calc(100% - 112px); width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(0, 0, 0, .4); color: #fff; border: 0; font: 600 28px/1 var(--font); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .2); }
.lightbox .lb-close { top: 8px; right: 8px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; left: 16px; top: 18px; font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
