/* ==========================================================================
   Truecraft Property Services — site styles
   Ported from the Claude Design source "Truecraft Website.dc.html".
   Colour, type and spacing values are taken verbatim from that design; the
   runtime-driven breakpoints in the source are expressed as media queries here.
   ========================================================================== */

:root {
  --green: #4C8B3C;
  --green-dark: #3A6D2D;
  --green-mid: #86B36F;
  --green-pale: #9EC98A;
  --green-light: #A8C69A;

  --ink: #171E27;
  --ink-deep: #10161D;
  --ink-soft: #2E3742;
  --ink-link: #3A424D;

  --grey: #6B7480;
  --grey-warm: #5A636F;
  --grey-mid: #7A8590;
  --grey-cool: #AEB6C0;
  --grey-pale: #C3C9D1;
  --grey-faint: #D6DBE0;

  --stone: #F6F5F1;
  --stone-2: #F1F0EA;
  --stone-3: #EDECE7;
  --line: #E6E4DE;
  --line-2: #EDEBE5;
  --fill: #E8E6E0;
  --fill-2: #F0EEE9;
  --paper: #FAFAF8;
  --input-line: #DDDBD4;
  --dash: #C7C5BE;

  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --gutter: clamp(20px, 5vw, 60px);
  --sectionY: clamp(56px, 8vw, 100px);
  --nav-h: 92px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

h1, h2, h3, p, blockquote, figure { margin: 0; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.tc-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.tc-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: #fff;
  font: 600 15px/1 var(--sans);
}
.tc-skip:focus { left: 0; color: #fff; }

.tc-page { max-width: 100%; overflow-x: clip; }

@keyframes tcKenBurns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(0, -1.5%, 0); }
}
@keyframes tcFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.tc-btn--sm { padding: 13px 22px; font-size: 15px; line-height: 1; }
.tc-btn--lg { padding: 21px 38px; font-size: 18px; line-height: 1; }

.tc-btn--green { background: var(--green); color: #fff; }
.tc-btn--green:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.tc-btn--lg.tc-btn--green:hover { transform: translateY(-2px); }

.tc-btn--ghost { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.tc-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

.tc-btn--ink { background: var(--ink); color: #fff; align-self: flex-start; }
.tc-btn--ink:hover { background: #2A3542; color: #fff; transform: translateY(-1px); }

/* ── Navigation ───────────────────────────────────────────────────────── */

.tc-navwrap { position: sticky; top: 0; z-index: 60; }

.tc-nav {
  height: var(--nav-h);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.tc-nav.is-solid {
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 30, 39, .1);
  height: 84px;
}

.tc-nav__brand { display: flex; align-items: center; }

.tc-nav__logo {
  height: 66px;
  width: auto;
  display: block;
  opacity: 0;
  transition: opacity .35s ease, height .35s ease;
}
.tc-nav.is-solid .tc-nav__logo { opacity: 1; }

.tc-nav__links { display: flex; align-items: center; gap: 30px; }

.tc-nav__link {
  font: 500 15px/1 var(--sans);
  color: #fff;
  transition: color .35s ease, opacity .2s ease;
}
.tc-nav__link:hover { color: #fff; opacity: .65; }
.tc-nav.is-solid .tc-nav__link { color: var(--ink-link); }
.tc-nav.is-solid .tc-nav__link:hover { color: var(--ink-link); }

.tc-menubtn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: background .35s ease, border-color .35s ease;
}
.tc-menubtn span { width: 20px; height: 2px; background: #fff; display: block; }
.tc-nav.is-solid .tc-menubtn { background: var(--ink); border-color: var(--ink); }

.tc-menu {
  display: flex;
  flex-direction: column;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.tc-menu[hidden] { display: none; }

.tc-menu__link {
  padding: 17px 24px;
  font: 600 17px/1 var(--sans);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.tc-menu__link:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.tc-menu__link--call { color: var(--green-mid); border-bottom: 0; }
.tc-menu__link--call:hover { color: var(--green-light); }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.tc-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  margin-top: calc(var(--nav-h) * -1);
  overflow: hidden;
}

.tc-hero__media { position: absolute; inset: -6%; will-change: transform; }
.tc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: tcKenBurns 26s ease-in-out infinite alternate;
}

.tc-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 21, 27, .86) 0%,
    rgba(15, 21, 27, .34) 46%,
    rgba(15, 21, 27, .92) 100%);
}

.tc-hero__logo {
  position: absolute;
  top: clamp(22px, 5vw, 60px);
  left: clamp(22px, 5vw, 60px);
  height: clamp(140px, 20vh, 200px);
  width: auto;
  mix-blend-mode: screen;
  transition: opacity .3s ease;
}

.tc-hero__inner {
  position: relative;
  height: 100%;
  padding: clamp(240px, 30vh, 300px) clamp(22px, 5vw, 60px) 76px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 26px;
}

.tc-hero__title {
  font: 400 clamp(38px, 6.6vw, 110px)/1.02 var(--serif);
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

.tc-hero__lede {
  font: 400 24px/1.55 var(--sans);
  color: rgba(255, 255, 255, .82);
  max-width: 48ch;
  text-wrap: pretty;
}

.tc-hero__actions { display: flex; gap: 14px; padding-top: 6px; flex-wrap: wrap; }

.tc-hero__scroll {
  position: absolute;
  right: 60px;
  bottom: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: tcFloat 3.2s ease-in-out infinite;
}
.tc-hero__scroll span:first-child {
  font: 600 10px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  writing-mode: vertical-rl;
}
.tc-hero__scrollline {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .6), transparent);
}

/* ── Ticker banner ────────────────────────────────────────────────────── */

.tc-banner {
  padding: 20px var(--gutter);
  background: var(--ink);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.tc-banner__track { flex: 1; min-width: 0; overflow: hidden; }
.tc-banner__ticker { display: flex; width: max-content; will-change: transform; }
.tc-banner__ticker span {
  font: 500 15px/1.4 var(--sans);
  color: var(--grey-faint);
  white-space: nowrap;
}
.tc-banner__area {
  flex: none;
  font: 600 15px/1.4 var(--sans);
  color: var(--green-mid);
  white-space: nowrap;
}

/* ── Stats strip ──────────────────────────────────────────────────────── */

.tc-stats {
  padding: clamp(36px, 5vw, 56px) var(--gutter);
  background: var(--stone);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px 40px;
  border-bottom: 1px solid var(--line);
}
.tc-stat { display: flex; flex-direction: column; gap: 6px; }
.tc-stat__value { font: 700 30px/1 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.tc-stat__label { font: 400 14px/1.4 var(--sans); color: var(--grey); }

/* ── Section shell ────────────────────────────────────────────────────── */

.tc-section {
  padding: var(--sectionY) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 40px;
  scroll-margin-top: 100px;
}
.tc-section--light { background: #fff; gap: 44px; }
.tc-section--stone { background: var(--stone); }

.tc-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}
.tc-section__heading { display: flex; flex-direction: column; gap: 12px; }
.tc-section__aside {
  font: 400 16px/1.6 var(--sans);
  color: var(--grey-warm);
  max-width: 38ch;
}
.tc-section__aside--narrow { max-width: 34ch; }

.tc-eyebrow {
  font: 600 12px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
}
.tc-eyebrow--light {
  font-size: 15px;
  letter-spacing: .24em;
  color: var(--green-pale);
}

.tc-h2 {
  font: 700 clamp(29px, 4.2vw, 42px)/1.08 var(--sans);
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ── Services ─────────────────────────────────────────────────────────── */

.tc-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
  gap: 26px;
}
.tc-service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .35s ease;
}
.tc-service:hover { transform: translateY(-4px); }
.tc-service__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone-3);
}
.tc-service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.tc-service:hover .tc-service__media img { transform: scale(1.07); }
.tc-service__name { font: 700 18px/1.2 var(--sans); color: var(--ink); }
.tc-service__copy { font: 400 14px/1.5 var(--sans); color: var(--grey); }

/* ── Past work ────────────────────────────────────────────────────────── */

.tc-work {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.tc-workcard {
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s ease, transform .35s ease;
}
.tc-workcard:hover {
  box-shadow: 0 20px 44px rgba(23, 30, 39, .13);
  transform: translateY(-4px);
}
.tc-workcard__media { overflow: hidden; position: relative; }
.tc-workcard__media img,
.tc-workcard__media video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.tc-workcard__media video {
  background: var(--fill);
  /* A drag starting on the video must still scroll the page. pan-y tells the
     browser vertical panning is ours to keep, and on touch devices the video
     is purely decorative, so it takes no pointer events at all — otherwise it
     swallows the gesture. Desktop keeps them so the card still lifts on hover.
     If autoplay fails we add .has-controls and hand interaction back. */
  touch-action: pan-y;
}
@media (hover: none) {
  .tc-workcard__media video { pointer-events: none; }
  .tc-workcard__media video.has-controls { pointer-events: auto; touch-action: manipulation; }
}
.tc-workcard:hover .tc-workcard__media img { transform: scale(1.05); }
.tc-workcard__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  background: rgba(15, 21, 27, .72);
  color: #fff;
  font: 600 11px/1 var(--sans);
  letter-spacing: .14em;
}
.tc-workcard__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.tc-workcard__title { font: 700 17px/1.2 var(--sans); color: var(--ink); }
.tc-workcard__copy { font: 400 14px/1.5 var(--sans); color: var(--grey); }

/* ── Reviews ──────────────────────────────────────────────────────────── */

.tc-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.tc-review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  background: var(--stone);
  transition: transform .35s ease, background .35s ease;
}
.tc-review:hover { transform: translateY(-4px); background: var(--stone-2); }
.tc-review__mark { font: 400 30px/1 var(--serif); color: var(--green); }
.tc-review p {
  font: 400 16px/1.6 var(--sans);
  color: var(--ink-soft);
  flex: 1;
  text-wrap: pretty;
}
.tc-review__who {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font: 600 15px/1.3 var(--sans);
  font-style: normal;
  color: var(--ink);
}
.tc-review__meta { font: 400 13px/1.4 var(--sans); color: var(--grey-cool); }

.tc-review--dark { background: var(--ink); }
.tc-review--dark:hover { background: var(--ink); }
.tc-review--dark .tc-review__mark { color: var(--green-mid); }
.tc-review--dark p,
.tc-review--dark .tc-review__who { color: #fff; }

/* ── Google reviews card ──────────────────────────────────────────────── */

.tc-google {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 12px;
}
.tc-google__panel {
  padding: clamp(26px, 4vw, 40px);
  background: var(--stone);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.tc-google__brand { display: flex; align-items: center; gap: 11px; }
.tc-google__g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #E0DED8;
  font: 700 16px/1 var(--sans);
  color: #4285F4;
}
.tc-google__label { font: 600 15px/1 var(--sans); color: var(--ink); }
.tc-google__lede { font: 600 19px/1.4 var(--sans); color: var(--ink); }
.tc-google__note { font: 400 15px/1.5 var(--sans); color: var(--grey); }

.tc-google__feed {
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}
.tc-google__pending {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: #F1F4EE;
  border: 1px dashed #B9CDAE;
  font: 400 14px/1.4 var(--sans);
  color: var(--grey-warm);
}
.tc-google__pendingtag {
  font: 600 12px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}

/* ── Quote / contact ──────────────────────────────────────────────────── */

.tc-quote {
  padding: var(--sectionY) var(--gutter);
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  scroll-margin-top: 100px;
}
.tc-quote__intro { display: flex; flex-direction: column; gap: 22px; }
.tc-quote__title {
  font: 400 clamp(34px, 5vw, 52px)/1.06 var(--serif);
  color: #fff;
  text-wrap: balance;
}
.tc-quote__copy { font: 400 17px/1.65 var(--sans); color: var(--grey-cool); max-width: 40ch; }
.tc-quote__contact { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.tc-quote__phone { font: 600 20px/1.4 var(--sans); color: var(--green-mid); transition: color .25s ease; }
.tc-quote__phone:hover { color: var(--green-light); }
.tc-quote__email { font: 500 16px/1.4 var(--sans); color: var(--grey-faint); transition: color .25s ease; }
.tc-quote__email:hover { color: #fff; }

.tc-form {
  background: #fff;
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tc-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.tc-field { display: flex; flex-direction: column; gap: 7px; }
.tc-field__label {
  font: 600 12px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
}
.tc-input {
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--input-line);
  background: var(--paper);
  font: 400 15px/1 var(--sans);
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color .25s ease, background .25s ease;
}
.tc-input:focus { border-color: var(--green); background: #fff; }
.tc-select { padding: 0 10px; }
.tc-textarea {
  height: auto;
  padding: 12px 13px;
  line-height: 1.5;
  resize: vertical;
}
.tc-input.is-invalid { border-color: #C0392B; background: #FDF6F5; }

.tc-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  border: 1px dashed var(--dash);
  background: var(--paper);
  font: 500 14px/1 var(--sans);
  color: var(--grey-mid);
  cursor: pointer;
  text-align: center;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.tc-drop:hover { border-color: var(--green); background: #F4F7F1; color: var(--green); }

.tc-submit {
  height: 54px;
  border: none;
  background: var(--green);
  color: #fff;
  font: 600 16px/1 var(--sans);
  cursor: pointer;
  transition: background .25s ease, transform .2s ease;
}
.tc-submit:hover { background: var(--green-dark); transform: translateY(-1px); }
.tc-submit[disabled] { background: var(--green-dark); cursor: default; transform: none; }

.tc-form__status {
  font: 500 14px/1.5 var(--sans);
  color: var(--green-dark);
  min-height: 0;
}
.tc-form__status:empty { display: none; }
.tc-form__status.is-error { color: #C0392B; }

.tc-form__hint {
  margin-top: -6px;
  font: 400 13px/1.5 var(--sans);
  color: var(--grey-mid);
}

.tc-field__opt {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--grey-mid);
}

/* Bot trap — off-screen rather than display:none, which some bots skip. */
.tc-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile { min-height: 65px; }

/* ── Mobile call bar ──────────────────────────────────────────────────── */

.tc-callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 12px 16px;
  background: var(--green);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -6px 20px rgba(15, 21, 27, .22);
}
.tc-callbar span { font: 600 15px/1.3 var(--sans); color: #fff; }
.tc-callbar a {
  padding: 13px 20px;
  background: #fff;
  color: #2F5F24;
  font: 700 15px/1 var(--sans);
  white-space: nowrap;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.tc-footer {
  padding: 44px var(--gutter);
  background: var(--ink-deep);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.tc-footer__brand {
  font: 700 22px/1 var(--sans);
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 7px;
}
.tc-footer__brand span { color: var(--green-mid); }
.tc-footer__meta { font: 400 13px/1.5 var(--sans); color: var(--grey); }
.tc-footer__links { display: flex; flex-wrap: wrap; gap: 28px; }
.tc-footer__links a { font: 400 14px/1 var(--sans); color: var(--grey-pale); transition: color .25s ease; }
.tc-footer__links a:hover { color: #fff; }

/* ── Scroll reveal ────────────────────────────────────────────────────── */

.tc-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.tc-reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Breakpoints ──────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .tc-hero__scroll { display: none; }
}

@media (max-width: 959px) {
  .tc-nav { padding: 0 var(--gutter); }
}

@media (max-width: 859px) {
  .tc-nav__links { display: none; }
  .tc-menubtn { display: flex; }
  .tc-callbar { display: flex; }
  body { padding-bottom: 65px; }

  .tc-banner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tc-hero__lede { font-size: 19px; }
  .tc-hero__inner { padding-bottom: 56px; }
}

@media (max-width: 759px) {
  .tc-hero__title { white-space: normal; }
  .tc-hero { min-height: 560px; }
  .tc-hero__inner { padding-top: clamp(180px, 26vh, 260px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .tc-reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
