/* Archi-Pix 3D Tours — layout matches bookpremise.com/3d-tours/,
   branded with Archi-Pix colors and fonts. Scoped to .ap3d. */
.ap3d{font-size:17px;line-height:1.6;
  --ap3d-primary:#548699;
  --ap3d-primary-dark:#2c4851;
  --ap3d-yellow:#f3e87a;
  --ap3d-accent:#a6bbc6;
  --ap3d-black:#000;
  --ap3d-ink:#111;
  --ap3d-muted:#4a4a4a;
  --ap3d-line:#e4e8ea;
  --ap3d-wash:#f4f7f8;
  --ap3d-white:#fff;
  --ap3d-max:1180px;
  --ap3d-font:Jost,Inter,Helvetica,Arial,sans-serif;
  --ap3d-display:Raleway,Inter,Helvetica,Arial,sans-serif;
  box-sizing:border-box;
  font-family:var(--ap3d-font);
  color:var(--ap3d-ink);
  background:var(--ap3d-white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
.ap3d *,.ap3d *::before,.ap3d *::after{box-sizing:border-box}
.ap3d a{color:inherit;text-decoration:none}
.ap3d a:hover{color:var(--ap3d-primary)}
.ap3d img{max-width:100%;height:auto;display:block}
.ap3d-wrap{width:min(100% - 40px,var(--ap3d-max));margin-inline:auto}

.ap3d-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:14.4px 24px;border-radius:4.44px;border:0;
  background:var(--ap3d-yellow);color:#000;
  font-family:var(--ap3d-font);font-weight:500;font-size:15.2px;
  letter-spacing:.04em;cursor:pointer;text-decoration:none;
  transition:filter .15s ease;
}
.ap3d-btn:hover{filter:brightness(.95);color:#000}
.ap3d-btn-lg{padding:16.8px 27.2px;font-size:16.8px}

.ap3d-display{
  font-family:var(--ap3d-display);font-weight:600;
  letter-spacing:.03em;line-height:1.05;text-transform:uppercase;
  margin:0;color:var(--ap3d-primary-dark);
}
.ap3d-eyebrow{
  display:block;font-size:11.52px;font-weight:600;
  letter-spacing:.18em;text-transform:uppercase;
  margin:0 0 16px;color:var(--ap3d-primary);
}

.ap3d-hero{
  padding:72px 0 40px;
  background:var(--ap3d-wash);
  border-bottom:1px solid var(--ap3d-line);
}
.ap3d-hero h1.ap3d-display{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  column-gap:0.22em;
  row-gap:0.08em;
  font-size:clamp(41.6px,6vw,70.4px);
  margin:0 0 12px;
  color:var(--ap3d-primary);
  line-height:1;
  max-width:none;
}
.ap3d-hero h1.ap3d-display .ap3d-byline{
  display:inline-flex;
  align-items:baseline;
  gap:0.18em;
  white-space:nowrap;
  flex-shrink:0;
  line-height:1;
}
.ap3d-hero h1.ap3d-display img{
  display:block;
  height:1.40em;
  height:1.79cap;
  width:auto;
  max-width:none;
  min-width:calc(1.79cap * 2804 / 880);
  aspect-ratio:2804 / 880;
  object-fit:contain;
  object-position:center center;
  /* 82px of 880 is the transparent pad below the 'uide' baseline.
     WebKit aligns a flex <img> to the content-box bottom, so a
     translateY by that pad drops the letters onto the text baseline
     without removing the pad that stops iOS from clipping the 'i'. */
  margin:0;
  padding:0;
  border:0;
  flex-shrink:0;
  overflow:visible;
  box-sizing:content-box;
  vertical-align:baseline;
  transform:translateY(calc(82 / 880 * 100%));
}
.ap3d-hero h1.ap3d-display,
.ap3d-hero h1.ap3d-display .ap3d-byline{overflow:visible}
@media (min-width:1100px){
  .ap3d-hero h1.ap3d-display{flex-wrap:nowrap;white-space:nowrap}
}

/* Keep the brand spelling "iGuide" inside uppercase headings and captions.
   Display titles use Raleway, which already has lowercase glyphs.
   The span stays in that heading font, at 800, slightly larger, with tighter
   tracking, so the mixed-case word has the same presence as on bookpremise.com. */
.ap3d .ap3d-iguide{
  text-transform:none;
}
.ap3d-display .ap3d-iguide{
  font-family:var(--ap3d-display);
  font-weight:800;
  font-style:normal;
  letter-spacing:.01em;
  font-size:1.12em;
  line-height:1;
}
.ap3d-hero p{margin:0;color:var(--ap3d-muted);max-width:52ch;font-size:16.8px}

.ap3d-section{padding:88px 0}
.ap3d-section-alt{background:var(--ap3d-wash)}
.ap3d-section-head{margin-bottom:40px}
.ap3d-section-head h2.ap3d-display{font-size:clamp(35.2px,5vw,54.4px);color:var(--ap3d-primary)}

.ap3d-split{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.ap3d-split p{margin:0 0 16px;color:var(--ap3d-muted);font-size:16.8px}
.ap3d-split p:last-child{margin-bottom:0}
.ap3d-split img{border-radius:8px;width:100%;aspect-ratio:4/3;object-fit:cover}

.ap3d-cards-6{display:grid;grid-template-columns:repeat(3,1fr);gap:18.4px;align-items:stretch;grid-auto-rows:1fr}
.ap3d-cards-6 .ap3d-card{height:100%;display:flex;flex-direction:column}
.ap3d-cards-3{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ap3d-card{
  background:#fff;border:1px solid var(--ap3d-line);
  border-radius:8px;padding:21.6px;
}
.ap3d-card h3{
  margin:0 0 10px;font-family:var(--ap3d-display);font-weight:700;
  font-size:24px;line-height:1.2;letter-spacing:.04em;text-transform:uppercase;
  color:var(--ap3d-primary-dark);
}
.ap3d-card p{margin:0;color:var(--ap3d-muted);font-size:16px}

.ap3d-siteplan{margin:44px auto 0;max-width:520px}
.ap3d-siteplan img{display:block;width:100%;height:auto;border-radius:8px;background:#fff;border:1px solid var(--ap3d-line)}

.ap3d-embed{position:relative;width:100%;aspect-ratio:16/10;background:#111;border-radius:8px;overflow:hidden}
.ap3d-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ap3d-embed-cap{margin:11.2px 0 0;font-size:11.52px;letter-spacing:.1em;text-transform:uppercase;color:var(--ap3d-muted);text-align:center}

.ap3d-lede{max-width:62ch;color:var(--ap3d-muted);font-size:16.8px;margin:0}
.ap3d-prose{max-width:70ch}
.ap3d-prose h2{margin:0 0 20px}
.ap3d-prose p{color:#333;margin:0 0 16px}
.ap3d-also{margin:32px 0 0;color:var(--ap3d-muted);font-size:15.2px}
.ap3d-also a{color:var(--ap3d-primary);text-decoration:underline;text-underline-offset:2px}
.ap3d-also a:hover{color:var(--ap3d-primary-dark)}

.ap3d-cta{background:var(--ap3d-primary-dark);color:#fff;text-align:center}
.ap3d-cta-inner{padding:80px 0;display:flex;flex-direction:column;align-items:center;gap:28px}
.ap3d-cta h2.ap3d-display{font-size:clamp(41.6px,7vw,73.6px);color:#fff}
.ap3d-cta h2 em{font-style:italic;font-weight:600;text-transform:none;letter-spacing:0;color:var(--ap3d-yellow);font-family:var(--ap3d-display)}

@media (max-width:960px){
  .ap3d-split{grid-template-columns:1fr}
  .ap3d-cards-6{grid-template-columns:repeat(2,1fr)}
  .ap3d-cards-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ap3d-embed{aspect-ratio:4/3}
}
@media (max-width:640px){
  .ap3d-cards-6{grid-template-columns:1fr;grid-auto-rows:auto}
  .ap3d-cards-3{grid-template-columns:1fr}
  .ap3d-section{padding:60px 0}
  .ap3d-section-head{margin-bottom:28px}
  .ap3d-hero{padding:50.4px 0 28px}
  .ap3d-cta-inner{padding:56px 0}
}
