/* ============================================================
   Option A: faithful recreation of the current angleseacf.ie homepage,
   rebuilt on the design system (css/styles.css) to current standards.
   Page-only styles. If the client picks Option A this becomes css/home.css.
   ============================================================ */

/* hero: the towers photo full width, the name and tagline on a panel at the left */
.a-hero { position: relative; isolation: isolate; min-height: clamp(540px, 62vw, 760px); display: flex; align-items: center; overflow: hidden; background: #DCE8F4; }
.a-hero__img { position: absolute; inset: 0; z-index: -2; }
.a-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 40%; transform: scaleX(-1); }
.a-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.55) 62%, rgba(255, 255, 255, 0.75) 100%); }
.a-hero__inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: var(--s-8) var(--gutter); display: flex; justify-content: flex-start; }
.a-hero__frame { position: relative; width: min(100%, 520px); }
.a-hero__frame::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid var(--gold-bright); z-index: 0; pointer-events: none; }
.a-hero__text { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(28px, 3.5vw, 48px); background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 4px solid var(--navy); box-shadow: 0 30px 60px -30px rgba(36, 44, 104, 0.55); }
.a-hero__text::after { content: ''; position: absolute; left: 0; top: -4px; width: 96px; height: 4px; background: var(--gold-bright); }
.a-hero__cities { font-size: 0.75rem; letter-spacing: 0.22em; }
.a-hero__sep { color: var(--gold); margin: 0 0.6em; }
.a-hero__rule { width: 72px; height: 3px; background: var(--gold-bright); }
.a-hero__tag { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--navy); }
.a-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-1); }
@media (max-width: 760px) {
  .a-hero { align-items: flex-end; }
  .a-hero::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 45%, rgba(255, 255, 255, 0.85) 75%); }
  .a-hero__inner { padding-top: 200px; padding-right: calc(var(--gutter) + 16px); }
  .a-hero__cities { letter-spacing: 0.14em; }
  .a-hero__cities::before { display: none; }
  .a-hero__sep { margin: 0 0.45em; }
}

/* centred section heads and bodies (current site) */
.a-center { text-align: center; max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.a-center .body { max-width: none; }
.a-rule { padding: var(--s-4) var(--gutter); }

/* about: heading, gold rule and the first paragraph as a lead, the other two side by side */
.a-about { display: flex; flex-direction: column; gap: var(--s-6); }
.a-about__rule { width: 72px; height: 3px; background: var(--gold-bright); }
.a-about__lead { max-width: 60ch; font-size: clamp(1.1875rem, 1.8vw, 1.375rem); color: var(--navy); }
.a-about__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); max-width: 1000px; margin: 0 auto; padding-top: var(--s-4); border-top: 1px solid color-mix(in oklab, var(--navy), transparent 82%); }
@media (min-width: 860px) { .a-about__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); } }
.a-about__cols .body { max-width: none; }

/* approach: the statement on a navy panel at the left, six numbered tiles on the right */
.a-approach { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: stretch; margin-top: var(--s-6); }
@media (min-width: 1024px) { .a-approach { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: var(--s-6); } }
.a-approach__lead { display: flex; flex-direction: column; justify-content: center; gap: var(--s-3); align-items: flex-start; padding: clamp(28px, 3.5vw, 44px); background: var(--navy); color: #FFFFFF; border-top: 4px solid var(--gold-bright); box-shadow: var(--shadow-lift); }
.a-approach__lead .t-h3 { color: #FFFFFF; }
.a-approach__rule { width: 56px; height: 3px; background: var(--gold-bright); }
.a-tiles .approach-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 230px; padding: var(--s-4) var(--s-3); border-top: 3px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease, background-color 0.25s ease; }
.a-tiles .approach-tile::before { content: ''; width: 40px; height: 2px; background: var(--gold-bright); transition: width 0.3s var(--ease); }
.a-tiles .approach-tile:hover { border-top-color: var(--gold-bright); background: #FFFFFF; }
.a-tiles .approach-tile:hover::before { width: 64px; }

/* services: four alternating panels; photo in a gold offset frame, card with a navy top edge and gold-ticked points */
.a-services { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 88px); margin: var(--s-6) 0; }
.a-services .svc__media { position: relative; aspect-ratio: 16 / 10; overflow: visible; background: none; }
.a-services .svc__media::before { content: ''; position: absolute; inset: -16px 16px 16px -16px; border: 2px solid var(--gold-bright); z-index: 0; }
.a-services .svc--flip .svc__media::before { inset: -16px -16px 16px 16px; }
.a-services .svc__media img { position: relative; z-index: 1; transition: transform 0.6s var(--ease); }
.a-services .svc:hover .svc__media img { transform: scale(1.02); }
.a-services .svc-card { position: relative; z-index: 2; align-items: flex-start; text-align: left; border-top: 4px solid var(--navy); }
.a-services .svc-card::before { content: ''; position: absolute; left: 0; top: -4px; width: 96px; height: 4px; background: var(--gold-bright); }
.a-services .svc-card__title { font-size: 1.1875rem; }
.a-services .svc-card__rule { width: 56px; height: 3px; background: var(--gold-bright); opacity: 1; }
.a-services .svc-card__body { max-width: 52ch; }
.a-services .svc-card__body { gap: 14px; }
.a-services .svc-card__body p + p { padding-top: 14px; border-top: 1px solid var(--line); }

/* in-house experience: slides of deal tombstones with dots (current site) */
.a-deals { margin-top: var(--s-6); }
.a-deals__slide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (min-width: 760px) { .a-deals__slide { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.a-deals .deal { background: #FFFFFF; border: 1px solid var(--line); border-top: 3px solid transparent; border-radius: 0; padding: var(--s-3) var(--s-2); height: 100%; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease; }
.a-deals .deal:hover { transform: translateY(-3px); box-shadow: var(--shadow-tile); border-top-color: var(--gold-bright); }
.a-deals .deal__logo { height: 88px; padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.a-deals .ach__track { padding: 6px 4px var(--s-3); }
.a-deals .ach__bar { background: var(--gold-bright); }
.a-deals .ach__progress { height: 3px; }
.a-deals__nav { display: flex; align-items: center; justify-content: center; gap: var(--s-2); margin-top: var(--s-4); }
.a-dots { display: flex; gap: 2px; }
.a-dot { width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.a-dot::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--navy); transition: background-color 0.2s ease; }
.a-dot.is-active::before { background: var(--navy); }
.a-dot:focus-visible { box-shadow: var(--focus-ring); border-radius: 50%; }

/* sectors: ten tiles; the gold icon in a ring, gold top edge and lift on hover */
.a-sectors { margin: var(--s-6) 0; gap: var(--s-2); }
.a-sectors .sector { position: relative; justify-content: center; gap: 16px; min-height: 200px; padding: var(--s-4) var(--s-2) var(--s-3); border-top: 4px solid transparent; box-shadow: var(--shadow-1); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease; }
.a-sectors .sector::after { content: ''; width: 32px; height: 2px; background: var(--gold-bright); transition: width 0.3s var(--ease); }
.a-sectors .sector:hover { transform: translateY(-4px); box-shadow: var(--shadow-tile); border-top-color: var(--gold-bright); }
.a-sectors .sector:hover::after { width: 56px; }
.sector__img { width: 72px; height: 72px; object-fit: contain; }
.a-sectors .sector__img { width: 84px; height: 84px; padding: 14px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--gold-soft); box-shadow: 0 0 0 6px #FFFFFF, 0 0 0 7px color-mix(in oklab, var(--gold), transparent 70%); }

/* contact: navy details panel beside a white form card */
.a-contact { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1100px; margin: var(--s-6) auto 0; box-shadow: var(--shadow-lift); }
@media (min-width: 960px) { .a-contact { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); } }
.a-contact__info { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(28px, 4vw, 48px); background: var(--navy); color: #FFFFFF; border-top: 4px solid var(--gold-bright); }
.a-contact__line { position: relative; display: flex; flex-direction: column; gap: 4px; padding-bottom: var(--s-2); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.a-contact__line:last-of-type { border-bottom: 0; }
.a-contact__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); }
.a-contact__info a { color: #FFFFFF; font-size: 1.125rem; text-decoration: none; }
.a-contact__info a:hover { color: var(--gold-bright); text-decoration: underline; }
.a-contact__form { background: #FFFFFF; padding: clamp(28px, 4vw, 48px); border-top: 4px solid var(--navy); }
.a-contact .cform { gap: var(--s-2) var(--s-3); }

/* footer: navy, white logo and menu on top, three offices and contact in four columns, legal line */
.a-footer { background: var(--navy); color: var(--text-on-dark-muted); border-top: 4px solid var(--gold-bright); padding: var(--s-8) 0 var(--s-4); }
.a-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-bottom: var(--s-4); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.a-footer__brand img { height: 64px; width: auto; }
.a-footer .footer__nav { justify-content: flex-start; gap: 0 22px; }
@media (min-width: 960px) { .a-footer .footer__nav { justify-content: flex-end; } }
.a-footer .footer__nav a, .a-footer .footer__legal a, .a-footer .footer__legal button { color: #FFFFFF; }
.a-footer .footer__nav a:hover, .a-footer .footer__legal a:hover, .a-footer .footer__legal button:hover { color: var(--gold-bright); }
.a-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); padding: var(--s-6) 0; }
@media (min-width: 640px) { .a-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .a-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.a-footer .footer__city { color: var(--gold-bright); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid rgba(229, 188, 85, 0.35); display: inline-block; }
.a-footer .footer__addr { color: var(--text-on-dark-muted); }
.a-footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.a-footer__contact a { display: inline-flex; align-items: center; min-height: 36px; color: #FFFFFF; text-decoration: none; }
.a-footer__contact a:hover { color: var(--gold-bright); text-decoration: underline; }
.a-footer .footer__legal { border-top-color: rgba(255, 255, 255, 0.14); color: var(--text-on-dark-muted); }
.a-footer .footer__credit { color: var(--text-on-dark-muted); }
.a-footer .footer__credit a { color: var(--text-on-dark-muted); }
.a-footer .footer__credit a:hover { color: var(--gold-bright); }
.a-footer a:focus-visible, .a-footer button:focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--gold-bright); }
.a-contact textarea.input { min-height: 104px; }
