/* Photricity 8: service, bio, contact, testimonials and quote page sections */

/* icon cards: the icon is a CSS mask, so editors only see headings and text */
.feature::before, .contact-card::before { content: ""; display: block; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 4px; background: #FFF1DC; }
.feature::after, .contact-card::after { content: ""; position: absolute; top: clamp(22px, 2.4vw, 32px); left: clamp(22px, 2.4vw, 32px); width: 48px; height: 48px;
  background: var(--amber-700); -webkit-mask: var(--ico) center / 26px 26px no-repeat; mask: var(--ico) center / 26px 26px no-repeat; pointer-events: none; }
.ico-responsive { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%224%22 width=%2214%22 height=%2211%22 rx=%221.5%22/%3E%3Cpath d=%22M6 19h6M9 15v4%22/%3E%3Crect x=%2217%22 y=%228%22 width=%225%22 height=%2211%22 rx=%221.2%22/%3E%3C/svg%3E"); }
.ico-fast { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 17a8 8 0 1 1 16 0%22/%3E%3Cpath d=%22M12 17l4.5-5.5%22/%3E%3Ccircle cx=%2212%22 cy=%2217%22 r=%221.2%22/%3E%3C/svg%3E"); }
.ico-seo { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2210.5%22 cy=%2210.5%22 r=%226%22/%3E%3Cpath d=%22M15 15l5.5 5.5%22/%3E%3C/svg%3E"); }
.ico-code { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 7l-5 5 5 5M16 7l5 5-5 5M13.5 5l-3 14%22/%3E%3C/svg%3E"); }
.ico-lock { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224.5%22 y=%2210.5%22 width=%2215%22 height=%2210%22 rx=%222%22/%3E%3Cpath d=%22M8 10.5V7.5a4 4 0 0 1 8 0v3M12 14.5v2.5%22/%3E%3C/svg%3E"); }
.ico-vector { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 19C5 11 11 5 19 5%22/%3E%3Crect x=%222.5%22 y=%2216.5%22 width=%225%22 height=%225%22 rx=%221%22/%3E%3Crect x=%2216.5%22 y=%222.5%22 width=%225%22 height=%225%22 rx=%221%22/%3E%3Cpath d=%22M5 5h6M13 19h6%22/%3E%3C/svg%3E"); }
.ico-phone { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6.5 3.5h3l1.5 4-2 1.3a11 11 0 0 0 6.2 6.2l1.3-2 4 1.5v3a2 2 0 0 1-2.2 2A17 17 0 0 1 4.5 5.7 2 2 0 0 1 6.5 3.5z%22/%3E%3C/svg%3E"); }
.ico-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M3.5 6.5l8.5 7 8.5-7%22/%3E%3C/svg%3E"); }
.ico-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0C18.5 15.4 12 21 12 21z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%222.3%22/%3E%3C/svg%3E"); }
.ico-social { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%226%22 cy=%2212%22 r=%222.5%22/%3E%3Ccircle cx=%2218%22 cy=%226%22 r=%222.5%22/%3E%3Ccircle cx=%2218%22 cy=%2218%22 r=%222.5%22/%3E%3Cpath d=%22M8.2 10.8l7.6-3.6M8.2 13.2l7.6 3.6%22/%3E%3C/svg%3E"); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { display: grid; align-content: start; gap: 12px; margin: 0; }
.feature h3 { font-size: var(--step-1); }
.feature p { color: var(--fg-2); font-size: 1rem; }
.feature .is-style-text-link { margin-top: 4px; }
@media (width < 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 640px) { .features { grid-template-columns: 1fr; } }

/* intro with project mosaic */
.intro-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro-copy { display: grid; gap: var(--space-4, 20px); }
.intro-copy > p:not(.is-style-eyebrow) { color: var(--fg-2); font-size: 1.0625rem; line-height: 1.65; }
.intro-copy a { color: var(--link); }
.intro-copy .wp-block-buttons { margin-top: 8px; }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mosaic > .wp-block-image { margin: 0; }
.mosaic img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--grey-100); box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 12px 28px -18px rgba(17,19,24,.3); }
.mosaic > :nth-child(even) { translate: 0 22px; }
@media (width < 960px) { .intro-grid { grid-template-columns: 1fr; } .mosaic > :nth-child(even) { translate: none; } }

/* bio page */
.values.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (width < 700px) { .values.pair { grid-template-columns: 1fr; } }
.ach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (width < 960px) { .ach-grid { grid-template-columns: 1fr; } }
.ach-grid .is-style-log > li { grid-template-columns: 4.5rem minmax(0, 1fr); }
.is-style-log a { color: var(--link); text-underline-offset: 3px; }
.photo-grid { columns: 3 240px; column-gap: 14px; }
.photo-grid > .wp-block-image { margin: 0 0 14px; break-inside: avoid; }
.photo-grid img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--grey-100); }
.photo-grid + .is-style-text-link { margin-top: 28px; }
@media (width < 600px) { .photo-grid { columns: 2; column-gap: 10px; } .photo-grid > .wp-block-image { margin-bottom: 10px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.contact-card { display: grid; align-content: start; gap: 10px; margin: 0; }
.contact-card h3 { font-size: var(--step-1); }
.contact-card .cm-value { color: var(--fg-2); font-size: 1rem; overflow-wrap: anywhere; }
.contact-card .cm-value a { color: var(--fg); font-weight: 600; font-size: 1.125rem; text-decoration: none; }
.contact-card .cm-value a:hover { color: var(--link); text-decoration: underline; }
@media (width < 1100px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 600px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.side-card { display: grid; gap: 12px; margin: 0; }
.side-card p { color: var(--fg-2); }
.side-card a:not(.wp-block-button__link) { color: var(--link); }
.side-card.is-quote { background: var(--night-950); border-color: var(--night-950); --fg: var(--night-100); --fg-2: var(--night-300); --link: var(--amber-300); --eyebrow: var(--amber-300); color: var(--night-100); }
.side-card.is-quote h3 { color: #fff; }
@media (width < 960px) { .contact-form-grid { grid-template-columns: 1fr; } }
.form-card { display: grid; gap: 14px; margin: 0; }
.form-card > p { color: var(--fg-2); }
.photricity-contact-form { display: grid; gap: 14px; margin-top: 8px; }
.photricity-contact-form .form-field { margin: 0; }
.photricity-contact-form .form-label, .photricity-contact-form label:not(.photricity-honeypot label) { display: block; font-weight: 600; margin-bottom: 6px; }
.photricity-contact-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea) { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--input-line, var(--grey-400)); background: var(--white, #fff); color: var(--grey-900); font-size: 1rem; }
.photricity-contact-form textarea { min-height: 160px; resize: vertical; }
.photricity-contact-form ::placeholder { color: var(--grey-500); opacity: 1; }
.photricity-contact-form :is(input, textarea, select):focus-visible { outline: none; border-color: var(--cyan-700); box-shadow: 0 0 0 3px rgba(14,116,144,.22); }
.photricity-contact-form .photricity-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.photricity-contact-form .photricity-submit-button { justify-self: start; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--amber-400); color: var(--night-950); font-weight: 700; cursor: pointer; box-shadow: 0 1px 0 rgba(17,19,24,.1), 0 6px 10px rgba(255,140,30,.3); }
.photricity-contact-form .photricity-submit-button:hover { background: var(--amber-300); }
.photricity-contact-form .photricity-submit-button:focus-visible { outline: 2px solid var(--cyan-700); outline-offset: 3px; }
:is(.photricity-form-error, .photricity-form-success) { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--grey-200); }

/* testimonials masonry */
.t-grid { columns: 3 300px; column-gap: 20px; }
.t-grid > .quote { break-inside: avoid; margin: 0 0 20px; display: grid; gap: 18px; }
.t-grid > .quote > p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.t-grid > .quote.big > p { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.5rem); }
.center-head .section-head { margin: 0 auto; text-align: center; justify-items: center; }
.center-head .section-head .wp-block-buttons { justify-content: center; margin-top: 8px; }

/* quote page */
.q-page { display: grid; gap: clamp(32px, 4vw, 48px); }
.q-intro { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; align-items: start; }
.q-next { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.q-next > li { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--fg-2); font-size: 1rem; line-height: 1.5; }
.q-next > li strong { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .8125rem; color: var(--amber-700); margin-bottom: 6px; }
.q-links { max-width: 760px; color: var(--fg-2); }
.q-links a { color: var(--link); }
@media (width < 960px) { .q-intro, .q-next { grid-template-columns: 1fr; } }
